Quiz 3

Lakukan tugas rumah & ujian kamu dengan baik sekarang menggunakan Quizwiz!

Decision structures and selection structures are completely different.

False

The OR operator will evaluate to True only if both subexpressions are also True.

False

The first line of a case structure starts with the word CASE, followed by the test expression.

False

The short-circuit evaluation is always performed with all expressions that contain any logical operators.

False

A decision structure will produce unpredictable results if the programmer does not use proper indentation in the pseudocode.

False

An If-Then-Else statement must be used to write a single alternative decision structure.

False

In an expression with an OR operator, it does not matter which subexpression is True for the compound expression to be True.

True

In many languages the == operator determines whether one variable has the same value as another variable.

True

A nested decision structure can achieve the same logic as a case structure.

True

A nested decision structure can be used to test more than one condition.

True


Set pelajaran terkait

MC101 - Ch 9 Online & Mobile Media

View Set

Pre-Assessment: Accounting Information Systems (QNO1) (PQNO)

View Set

Personality Psychology Chapter 11

View Set

position, velocity, acceleration

View Set

What does the symbol represent? R.E.

View Set

Toddler NCLEX, Toddler, Preschool-passp

View Set

Exam FX Life Insurance Test Questions

View Set