Exam 4: Introduction to Problem Solving and Control Statements

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

The If…Then selection statement performs an action if a condition is true or skips the action if the condition is false

(True/False)
4.8/5
(39)

None of the guard conditions associated with a decision symbol may be false.

(True/False)
4.8/5
(34)

Pseudocode is most comparable to which of the following languages?

(Multiple Choice)
4.8/5
(37)

Integer division may yield a non-integer result.

(True/False)
4.8/5
(40)

To place a new item in a ListBox,call the Items property's Add method.

(True/False)
4.8/5
(37)

Which statement is false?

(Multiple Choice)
4.7/5
(33)

Variables that store totals should typically be initialized to zero before being used in a program.

(True/False)
4.8/5
(28)

Which of the following correctly represents the expression a = a + 3?

(Multiple Choice)
4.8/5
(44)

When the number of repetitions is known before a loop begins executing,it is most appropriate to use____________________ .

(Multiple Choice)
4.9/5
(37)

Pseudocode helps you conceptualize a program during the design process.

(True/False)
4.9/5
(32)

Which of the following is a type of control structure?

(Multiple Choice)
4.8/5
(37)

The Do While…Loop statement behaves differently than the While…End While statement.

(True/False)
4.9/5
(39)

Which statement is true?

(Multiple Choice)
4.9/5
(43)

In an activity diagram,the merge symbol has the same shape as what other symbol?

(Multiple Choice)
4.8/5
(37)

Control statements cannot be placed inside other control statements.

(True/False)
4.7/5
(23)

Failure to provide the body of a Do Until…Loop structure with an action that eventually causes the condition to become false creates an infinite loop.

(True/False)
4.8/5
(33)

What is typically the most difficult part of solving a problem on a computer?

(Multiple Choice)
4.8/5
(29)

When you know how many times a loop will execute in advance,a _______ loop should be used.

(Multiple Choice)
4.8/5
(37)

What does the expression x \= 10 do?

(Multiple Choice)
4.8/5
(30)

Pseudocode must be written in an editor capable of understanding it and the language to which it pertains.

(True/False)
4.8/5
(37)
Showing 41 - 60 of 73
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)