Search Header Logo

Computer Programming Quiz 4

Authored by Vivian Mendoza

Computers

University

Used 5+ times

Computer Programming Quiz 4
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

14 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

You use the case structure only when a series of decisions is based on a single expression.

True

False

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In any comparison, the two values compared can be either variables or constants.

True

False

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Any decision can be made using combinations of just two types of comparisons: equal and not equal.

True

False

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Most programming languages allow you to ask two or more questions in a single comparison.

True

False

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A short-circuit evaluation is where each part of an expression is evaluated only as far as necessary to determine whether the entire expression is true or false.

True

False

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The NOT operator is a binary operator, meaning it takes two operands.

True

False

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A ____ expression is one that represents only one of two states, usually expressed as true or false.

Boolean

compound

Unicode

dual

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?