Exam 5: Control Statements: Part 1

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

Floating-point numbers contain a fractional part and can be represented by the data type.

(Multiple Choice)
4.8/5
(32)

The cast operator is formed by enclosing a type name in braces.

(True/False)
4.9/5
(41)

Which of the following is not a benefit of "goto-free programs"

(Multiple Choice)
5.0/5
(37)

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

(True/False)
4.8/5
(26)

The while statement is an example of a sequence structure.

(True/False)
4.8/5
(33)

What kind of language is pseudocode

(Multiple Choice)
4.9/5
(31)

is C#'s only ternary operator.

(Multiple Choice)
4.8/5
(37)

How many times is the body of the loop below executed Int counter = 1; While (counter > 20) { // body of loop Counter = counter + 1; }

(Multiple Choice)
4.9/5
(37)

The first operand of the ternary operator is the condition.

(True/False)
4.9/5
(38)

When instance variables of the simple types are declared in a class,they're automatically assigned default values unless specified otherwise by the programmer.Variables of type bool and String are given null by default;everything else is assigned 0.

(True/False)
4.8/5
(23)

Which of the following is a type of control structure

(Multiple Choice)
4.8/5
(39)

A flag value should not be a legitimate data entry value.

(True/False)
4.9/5
(34)

Which of the following is not one of the three phases that a program is typically split into using pseudocode

(Multiple Choice)
4.8/5
(35)

What capability does if…else provide that if does not

(Multiple Choice)
4.7/5
(38)
Showing 81 - 94 of 94
close modal

Filters

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