100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Exam (elaborations)

Redefine Your Study Habits with the [Microsoft Visual C# 2012 An Introduction to Object-Oriented Programming, Farrell,5e] 2024 Test Bank

Rating
-
Sold
-
Pages
216
Grade
A+
Uploaded on
27-07-2023
Written in
2022/2023

Unlock your academic potential with the Test Bank for [Microsoft Visual C# 2012 An Introduction to Object-Oriented Programming, Farrell,5e]. Offering practice exam questions that closely resemble official exams, and providing the detailed answers, the bank is your strategic tool to pass the class. Get ready to make the academic year of a year of remarkable achievement.

Show more Read less











Whoops! We can’t load your doc right now. Try again or contact support.

Document information

Uploaded on
July 27, 2023
Number of pages
216
Written in
2022/2023
Type
Exam (elaborations)
Contains
Questions & answers

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 ____.

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.
PracticeExams my own
View profile
Follow You need to be logged in order to follow users or courses
Sold
316
Member since
2 year
Number of followers
194
Documents
3272
Last sold
1 month ago
ExamPrepZone

4.1

41 reviews

5
25
4
4
3
7
2
2
1
3

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