Filters
Question type

Study Flashcards

A Do Until…Loop structure allows you to specify that an action should repeat until:


A) a specific condition becomes true
B) a specific condition becomes false
C) a specific condition becomes either true or false
D) None of the above

E) B) and D)
F) None of the above

Correct Answer

verifed

verified

Program control is best defined as:


A) the degree of control a program has over the computer on which it's executed
B) the line of code that is executing at a given time
C) the order in which a series of statements is executed
D) None of the above.

E) A) and D)
F) A) and C)

Correct Answer

verifed

verified

Which of the following are examples of control statements?


A) If…Then
B) If…Then…Else
C) While…End While
D) All of the above

E) A) and D)
F) C) and D)

Correct Answer

verifed

verified

A repetition statement allows you to specify that an action should be repeated,depending on the value of:


A) a statement
B) a variable
C) a control structure
D) a condition

E) A) and B)
F) None of the above

Correct Answer

verifed

verified

What kind of language is pseudocode?


A) a hybrid language of all .NET languages
B) an informal language used to develop algorithms
C) a language used to translate from C++ to Visual Basic
D) None of the above.

E) A) and C)
F) A) and B)

Correct Answer

verifed

verified

What marks the end of a Do While…Loop repetition statement?


A) End While
B) End Do While
C) Loop
D) End Loop

E) A) and B)
F) None of the above

Correct Answer

verifed

verified

Using top-down,stepwise refinement properly results in pseudocode that can be naturally evolved into a Visual Basic program.

A) True
B) False

Correct Answer

verifed

verified

A Form's default Button is the one that will be pressed when the user presses the Enter key and is specified by setting the Form's __________ property to the appropriate Button.


A) DefaultButton
B) SetButton
C) AcceptButton
D) EnterButton

E) A) and D)
F) None of the above

Correct Answer

verifed

verified

The off-by-one syntax error is frequently caused by using an incorrect relational operator in a loop's condition.

A) True
B) False

Correct Answer

verifed

verified

a - = 3 can also be represented by the expression a = a - 3.

A) True
B) False

Correct Answer

verifed

verified

Logic errors prevent a program from compiling successfully and can cause a running program to produce incorrect results.

A) True
B) False

Correct Answer

verifed

verified

The three types of selection statements are:


A) If…Then,For…Next and Select…Case
B) If…Then,For…Next and Select..Case
C) If…Then,If…Then…Else and While
D) If…Then,If…Then…Else and Select…Case

E) None of the above
F) A) and B)

Correct Answer

verifed

verified

D

Placing a space character between the symbols that compose an abbreviated arithmetic assignment operator improves readability.

A) True
B) False

Correct Answer

verifed

verified

Having many levels of nesting improves program readability.

A) True
B) False

Correct Answer

verifed

verified

A While…End While statement allows the programmer to specify that an action should repeat while:


A) a specific condition remains False
B) a specific condition remains True
C) a specific condition remains either True or False
D) None of the above.

E) All of the above
F) B) and D)

Correct Answer

verifed

verified

Counter-controlled repetition is also known as:


A) definite repetition
B) indefinite repetition
C) multiple-repetition structure
D) double-repetition structure

E) B) and D)
F) All of the above

Correct Answer

verifed

verified

The phrase nested control statement refers to a control statement:


A) above a control statement
B) within a control statement
C) below a control statement
D) beside a control statement

E) A) and B)
F) A) and C)

Correct Answer

verifed

verified

Which of the following is not included in an activity diagram for a control structure?


A) transition arrows
B) attributes
C) action states
D) decision symbols

E) A) and B)
F) C) and D)

Correct Answer

verifed

verified

B

How many times is the body of the loop below executed? How many times is the body of the loop below executed?   A) 19 B) 20 C) 21 D) 0


A) 19
B) 20
C) 21
D) 0

E) A) and B)
F) All of the above

Correct Answer

verifed

verified

D

Which of the following is true?


A) Pseudocode is used to specify the variables needed by the program.
B) Pseudocode compiles into machine code.
C) Pseudocode is used to describe executable statements that will eventually be translated by the programmer into a program.
D) Pseudocode is executed on a computer.

E) All of the above
F) B) and C)

Correct Answer

verifed

verified

Showing 1 - 20 of 73

Related Exams

Show Answer