Chapter 1 Programming Quiz
Machine language is expressed as a series of 1s and 0s.
C# programmers must use Pascal casing when creating method names to produce an executable program.
The C# programming language was developed as an object-oriented and component-oriented language.
When the keyword void is used in the Main() method header, it indicates that the Main() method is empty.
The Visual Studio IDE gives you advanced features such as syntax coloring and automatic statement completion.
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 ____ 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.
Programmers use a computer program called a(n) ____ to translate their high-level language statements into machine code.
The ____ behind any program involves executing the various statements and procedures in the correct order to produce the desired results.
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.
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.
In programming languages, a variable is referenced by using a one-word name, which is called a(n) ____, with no embedded spaces.
For convenience, the individual operations used in a computer program often are grouped into logical units called ____.
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(n) ____ describes potential objects.
A class describes the attributes and methods of every object that is a(n) ____, or example, of that class.
____ is the technique of packaging an object’s attributes and methods into a cohesive unit that can be used as an undivided entity.
Programmers sometimes refer to encapsulation as using a ____.
____ provides the ability to extend a class so as to create a more specific class.
____ represent(s) information that a method needs to perform its task.
The ____ method displays output on the screen and positions the cursor on the next line.
A(n) ____ is a construct that acts like a container to provide a way to group similar classes.
void and static are examples of C# predefined ____.
____ are nonexecuting statements that you add to document a program.
After you write and save a program, you must ____ it into intermediate language.
A method ____ includes the method name and information about what will pass into and be returned from a method.
A computer ____________________ is a set of instructions that you write to tell a computer what to do.
Named computer memory locations are called ____________________ because they hold values that might vary.
When programmers do not capitalize the first letter of an identifier but do capitalize each new word, they call the style ____________________.
The ____________________ of an object are the features it “has.”
____________________ describes the ability to create methods that act appropriately depending on the context.
Adding when you should be multiplying
ed
The ability to extend a class to create a more specific class
The rules of a high-level programming language
The description of interaction between a method and an object
Any combination of spaces, tabs, and carriage returns (blank lines)
Any combination of spaces, tabs, and carriage returns (blank lines)
The value of an object’s attributes at any point in time
A series of characters that will be used exactly as entered
The line on which you type a command in a system that uses a text interface