CIS 110 MIDTERM
CIS 110 Midterm
1.
After a
programmer plans the logic of a program, the next step is ____.
2.
Computer
programmers often refer to memory addresses using ____ notation.
3.
A(n) ___ is a
named memory location whose value can vary.
4.
Before a
programmer plans the logic of the program, he or she must ____.
5.
Typically, a
programmer develops a program’s logic, writes the code, and ____ the program,
receiving a list of syntax errors.
6.
The repetition
of a series of steps is called a(n) ____.
7.
The major
difference between the two main programming styles in use today is the ____.
8.
A(n) ____ is a
program that you use to create simple text files.
9.
A(n) ____ tells
the user what to enter.
10.
Many programming
languages use the term ____ to refer to the marker that is used to
automatically recognize the end of data in a file.
11.
The case
structure is a variation of the ____ structure.
12.
The following
pseudocode is an example of a ____ structure.
13.
Fill in the
blank in the following pseudocode:
if someCondition is true then
do oneProcess
____
do theOtherProcess
if someCondition is true then
do oneProcess
____
do theOtherProcess
14.
Placing a
structure within another structure is called ____ structures.
15.
In older
languages, you could leave a selection or loop before it was complete by using
a ____ statement.
16.
A loop must
return to the ____ question at some later point in a structure.
17.
if-else examples
can also be called ____ because they contain the action taken when the tested
condition is true and the action taken when it is false.
18.
You can use an
____ statement to clearly show where the actions that depend on a decision end.
19.
As programs
become larger and more complicated, the need for good planning and
design ____ .
design ____ .
20.
A specific
numeric value is often called a(n) ____.
21.
An ____ is most
often represented by a three-sided box that is connected to the step it
references by a dashed line.
22.
When you write programs,
you work with data in three different forms: ____.
23.
The mainline
logic of almost every procedural computer program consists of these three
distinct parts: ____ .
24.
In most
programming languages, before you can use any variable, you must include a ____
for it.
25.
When the
variable starts with a lowercase letter and any subsequent word begins with an
uppercase letter, this is called ____.
26.
Fractional
numeric variables that contain a decimal point are known as ____ variables.
27.
Declaring a
starting value for a variable is known as ____ the variable.
28.
The process of
naming program variables and assigning a type to them is called ____ variables.
29.
The ____ dictate
the order in which operations in the same statement are carried out.
30.
A variable’s
unknown value is commonly called ____.
31.
Depending on the
programming language being used, modules are also known as ____ .
32.
Most programming
languages allow you to ask two or more questions in a single comparison by
using a(n) ____ operator that joins decisions in a single statement.
33.
When you combine
AND and OR operators, the ____ operators take precedence,
meaning their Boolean values are evaluated first.
meaning their Boolean values are evaluated first.
34.
For maximum
efficiency, a good rule of thumb in an AND decision is to ____.
35.
C#, C++, C, and
Java use the symbol ____ as the logical OR operator.
36.
A(n) ____
decision is a decision in which at least one of two conditions must be true for
an action to take place.
37.
A(n) ____
decision is a decision in which two conditions must be true for an action to
take place.
38.
Usually, ____ variables
are not considered to be equal unless they are identical.
39.
The ____ sign
means “greater than.”
40.
You can use
____ for clarity and to override the default order of operations.
No comments:
Post a Comment