Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Exam (elaborations)

Question Bank in line with Microsoft Visual C# 2012 An Introduction to Object-Oriented Programming, Farrell,5e

Rating
-
Sold
-
Pages
216
Grade
A+
Uploaded on
23-06-2024
Written in
2023/2024

looking for a unique way to study for your upcoming exams? We have the right solution for you? Buy the test bank for Microsoft Visual C# 2012 An Introduction to Object-Oriented Programming, Farrell,5e and get access to a heap of practice test questions written exclusively for your course. With many difficulty levels, you will be able to tackle any kind of problems your professor might ask in the exam. Buy the test bank now, and download it in a few seconds.

Show more Read less

Content preview

Chapter 1: A First Program Using C#




TRUE/FALSE



1. Machine language is expressed as a series of 1s and 0s.


ANS: T PTS: 1 REF: 2



2. C# programmers must use Pascal casing when creating method names to produce an executable
program.


ANS: F PTS: 1 REF: 5



3. The C# programming language was developed as an object-oriented and component-oriented
language.


ANS: T PTS: 1 REF: 9



4. When the keyword void is used in the Main() method header, it indicates that the Main()
method is empty.


ANS: F PTS: 1 REF: 13



5. The Visual Studio IDE gives you advanced features such as syntax coloring and automatic
statement completion.


ANS: T PTS: 1 REF: 29




MULTIPLE CHOICE

,1. Internally, computers are constructed from circuitry that consists of small on/off switches. The
most basic circuitry-level language that computers use to control the operation of those switches
is called ____.

a. syntax c. compiler

b. machine language d. program


ANS: B PTS: 1 REF: 2



2. A ____ programming language allows you to use a vocabulary of reasonable terms such as
“read,” “write,” or “add” instead of the sequence of on/off switches that perform these tasks.

a. high-level c. low-level

b. machine-level d. switch-level


ANS: A PTS: 1 REF: 2



3. Programmers use a computer program called a(n) ____ to translate their high-level language
statements into machine code.

a. prompt c. compiler

b. IDE d. JIT


ANS: C PTS: 1 REF: 3



4. The ____ behind any program involves executing the various statements and procedures in the
correct order to produce the desired results.

a. GUI c. methods

b. attributes d. logic


ANS: D PTS: 1 REF: 3

,5. To achieve a working program that accomplishes the tasks it is meant to accomplish, you must
remove all syntax and logical errors from the program. This process is called ____ the program.

a. debugging c. commenting out

b. compiling d. executing


ANS: A PTS: 1 REF: 3



6. When you write a(n) ____ program, you use your knowledge of a programming language to
create and name computer memory locations that can hold values, and you write a series of steps
or operations to manipulate those values.

a. object-oriented c. event-driven

b. component-oriented d. procedural


ANS: D PTS: 1 REF: 4



7. In programming languages, a variable is referenced by using a one-word name, which is called
a(n) ____, with no embedded spaces.

a. behavior c. identifier

b. bug d. attribute


ANS: C PTS: 1 REF: 4



8. For convenience, the individual operations used in a computer program often are grouped into
logical units called ____.

a. attributes c. classes

b. methods d. structures


ANS: B PTS: 1 REF: 5

, 9. When programmers adopt the style of capitalizing the first letter of all new words in an identifier,
even the first one, they call the style ____.

a. camel casing c. OOP casing

b. upper casing d. Pascal casing


ANS: D PTS: 1 REF: 5



10. A(n) ____ describes potential objects.

a. instance c. attribute

b. class d. state


ANS: B PTS: 1 REF: 7



11. A class describes the attributes and methods of every object that is a(n) ____, or example, of that
class.

a. property c. instance

b. interface d. state


ANS: C PTS: 1 REF: 7



12. ____ is the technique of packaging an object’s attributes and methods into a cohesive unit that
can be used as an undivided entity.

a. Encapsulation c. Inheritance

b. Polymorphism d. Interface


ANS: A PTS: 1 REF: 8



13. Programmers sometimes refer to encapsulation as using a ____.

Document information

Uploaded on
June 23, 2024
Number of pages
216
Written in
2023/2024
Type
Exam (elaborations)
Contains
Questions & answers
$37.49
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
TestBank4Textbooks Harvard Law School
View profile
Follow You need to be logged in order to follow users or courses
Sold
225
Member since
1 year
Number of followers
25
Documents
2967
Last sold
3 days ago
Practice tests and quizzes

You can find bunch of tests, quizzes, and practice exams for a lot of college-level textbooks and classes. We cover colleges in the U.S. , Canada and worldwide.

4.1

40 reviews

5
25
4
4
3
4
2
2
1
5

Trending documents

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions