Multiple Choice
Identify the
letter of the choice that best completes the statement or answers the question.
|
|
1.
|
A(n)
____ is a collection of statements or steps that solve a problem and need to be converted into a
language that the computer understands in order to perform one or more tasks. a. | algorithm | c. | program | b. | identifier | d. | parameter | | | | |
|
|
2.
|
A(n)
____ is a logically ordered set of statements used to solve a problem. a. | identifier | c. | variable | b. | algorithm | d. | parameter | | | | |
|
|
3.
|
A(n)
____ is a program included with an executable application that acts as the translator between the
program and the computer by converting program statements one by one into a language the computer
understands. a. | IDE | c. | constructor | b. | interpreter | d. | endless loop | | | | |
|
|
4.
|
A(n)
____ is a program that reads all statements from a program and converts them into a computer
language. a. | event | c. | compiler | b. | object | d. | control structure | | | | |
|
|
5.
|
A(n)
____ is a programming language that resembles more what a computer can understand rather than a
human a. | low-level
language | c. | event
handler | b. | high-level language | d. | postcondition loop | | | | |
|
|
6.
|
The
____ is the lowest-level language that is directly understood by a computer. a. | object oriented
language | c. | assembly
language | b. | constructor | d. | machine language | | | | |
|
|
7.
|
A(n)
____ resides between the lowest-level language and a higher-level language; it assigns letter codes
to each machine language instruction. a. | machine language | c. | class | b. | constructor | d. | assembly
language | | | | |
|
|
8.
|
A(n)
____ reads assembly language code and converts it into machine language. a. | control
structure | c. | event
handler | b. | assembler | d. | identifier | | | | |
|
|
9.
|
A(n)
____ is a programming language that is more human-friendly or more natural for humans to
read. a. | assembly
language | c. | high-level
language | b. | machine language | d. | interpreter | | | | |
|
|
10.
|
The
term ____ refers to the spelling and grammar used within a programming language. a. | interpreter | c. | declaration | b. | syntax | d. | event | | | | |
|
|
11.
|
Which
of the following terms describes a software development interface that incorporates all of the
necessary tools needed to write, compile, and distribute programs? a. | Integrated
development environment | b. | Object oriented programming | c. | Variable
initialization | d. | Hungarian notation | | |
|
|
12.
|
Which
of the following terms describes a readable description of an algorithm written in human
language? a. | Encapsulation | c. | Concatenation | b. | Variable initialization | d. | Pseudocode | | | | |
|
|
13.
|
A(n)
____ is used to identify a certain location and value in the computer memory. a. | control
structure | c. | constructor | b. | variable | d. | event | | | | |
|
|
14.
|
A(n)
____ is a statement that associates an identifier with a variable. a. | attribute | c. | variable | b. | endless loop | d. | declaration | | | | |
|
|
15.
|
The
storage requirement for the int data type in Java is ____. a. | 2
bytes | c. | 6
bytes | b. | 4 bytes | d. | 8 bytes | | | | |
|
|
16.
|
The
process of combining or joining strings into one value is known as ____. a. | concatenation | c. | nesting | b. | instantiation | d. | inheritance | | | | |
|
|
17.
|
Assigning a value to a variable at declaration is called ____. a. | startup | c. | concatenation | b. | variable initialization | d. | shortcut notation | | | | |
|
|
18.
|
____
is a style of programming that involves representing items, things, and people as objects rather than
basing the logic around actions. a. | Object-oriented programming | c. | Variable initialization | b. | Assembly
programming | d. | Polymorphism | | | | |
|
|
19.
|
A(n)
____ is a template or mold used for defining new object types along with their properties and
behavior. a. | compiler | c. | method | b. | event | d. | class | | | | |
|
|
20.
|
A(n)
____ is a self-contained entity that consists of both data and procedures. a. | constructor | c. | object | b. | method | d. | parameter | | | | |
|
|
21.
|
____
is the process of creating an object based upon a class. a. | Inheritance | c. | Instantiation | b. | Concatenation | d. | Variable initialization | | | | |
|
|
22.
|
A(n)
____ is a special class function/method used for creating or instantiating an
object. a. | event
handler | c. | expression | b. | constructor | d. | function | | | | |
|
|
23.
|
The
term ____ is used to describe the work performed by an object. a. | method | c. | property | b. | event | d. | class | | | | |
|
|
24.
|
A(n)
____ is an action or occurrence that is recognized by a class. a. | identifier | c. | variable | b. | event | d. | scope | | | | |
|
|
25.
|
____
is the process of providing more class functionality by creating more specific classes based on
generic classes. a. | Variable
initialization | c. | Inheritance | b. | Encapsulation | d. | Polymorphism | | | | |
|