Search Header Logo

M04 Quiz (SDEV 120)

Authored by Jackie Adams

Computers

University

Used 4+ times

M04 Quiz (SDEV 120)
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A _______________ expression has one of two values: true or false.

Georgian

Selective

Barbarian

Boolean

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In a selection, the statements in an else clause execute _______________.

only after the statements in the if clause execute

when the tested condition is true

always

when the tested condition is false

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

An expression that uses a greater-than operator evaluates as true when _______________.

the right operand is greater than the left operand

either operand is greater than the other

the right operand is equal to the left operand

the left operand is greater than the right operand

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A trivial Boolean expression is one that _______________.

always has the same value

is always false

is always true

uses only two operands

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

If x <= y is true, then _______________.

x = y is true

x >= y is false

x > y is false

y <= x is true

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

If j <> k is true, then _______________.

j = k is true

j > k is true

j < k might be true

both j > k and k > j are true

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In an AND condition, the most efficient technique is to first ask the question that _______________.

uses a named constant

is least likely to be true

contains the most operands

is most likely to be true

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?