ReviewEssays.com - Term Papers, Book Reports, Research Papers and College Essays
Search

Programming

Essay by   •  December 23, 2010  •  Exam  •  888 Words (4 Pages)  •  886 Views

Essay Preview: Programming

Report this essay
Page 1 of 4

Question 1 (1 point)

True/false evaluation is "natural" from the computer's perspective because computer circuitry consists of two states.

a. True

b. False

Save answer

Bottom of Form

Question 2 (1 point)

It is considered trivial to compare two constants.

a. True

b. False

Save answer

Bottom of Form

Question 3 (1 point)

The logical AND is usually a binary operator that requires a complete Boolean expression on each side.

a. True

b. False

Save answer

Bottom of Form

Question 4 (1 point)

An AND decision is when one condition must be met or some other condition must be met for the event to take place.

a. True

b. False

Save answer

Bottom of Form

Question 5 (1 point)

You should never ask a question if there is only one possible answer or outcome.

a. True

b. False

Save answer

Bottom of Form

Question 6 (1 point)

When you combine AND and OR operators, the OR operators take precedence.

a. True

b. False

Save answer

Bottom of Form

Question 7 (1 point)

A case structure allows you to substitute a series of selections.

a. True

b. False

Save answer

Bottom of Form

Question 8 (1 point)

Some programs require multiple decisions to produce the correct output.

a. True

b. False

Save answer

Bottom of Form

Question 9 (1 point)

The part of the decision that executes when the tested condition is false is the __________ decision.

a. if

b. then

c. else

d. then-else

Save answer

Bottom of Form

Question 10 (1 point)

Each programming language supports its own set of __________ operators that express Boolean tests.

a. logical comparison

b. arithmetic

c. logic

d. organization

Save answer

Bottom of Form

Question 11 (1 point)

A compound, or AND, decision requires a __________ decision.

a. if

b. or

c. nested

...

...

Download as:   txt (5 Kb)   pdf (107 Kb)   docx (11.9 Kb)  
Continue for 3 more pages »
Only available on ReviewEssays.com