Filters
Question type

Study Flashcards

The ____________________ operator evaluates to true when its operands are considered to have the same value.

Correct Answer

verifed

verified

Which takes precedence when the two are combined in a single statement: AND or OR?


A) OR
B) AND
C) whichever comes first
D) whichever comes last

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

Correct Answer

verifed

verified

____ are diagrams used in mathematics and logic to help describe the truth of an entire expression based on the truth of its parts.


A) Text tables
B) Truth tables
C) Results tables
D) Yes/No tables

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

Correct Answer

verifed

verified

In _______________ evaluation, the computer always skips the second comparison when using an AND operator if the first comparison is false.

Correct Answer

verifed

verified

short-circ...

View Answer

When you combine AND and OR operators within the same statement, the AND operators take precedence.

A) True
B) False

Correct Answer

verifed

verified

Computer circuitry consists of two-state on/off switches, often represented by 1 or 0.

A) True
B) False

Correct Answer

verifed

verified

When using the OR operator, an action is taken when at least one of the comparisons evaluates to true.

A) True
B) False

Correct Answer

verifed

verified

Usually, a comparison operator is used to compare values of different data types.

A) True
B) False

Correct Answer

verifed

verified

An AND decision can be constructed using a ____ decision.


A) nested
B) stacked
C) combined
D) dual

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

Correct Answer

verifed

verified

Only a few decisions you make in a computer program involve evaluating a Boolean expression.

A) True
B) False

Correct Answer

verifed

verified

In a flowchart or in pseudocode, you can use the symbol that mathematicians use to mean "not equal," which is ____.


A) an equal sign with an octagon over it
B) an equal sign with a circle around it
C) an equal sign with a slash after it
D) an equal sign with a slash through it

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

Correct Answer

verifed

verified

To perform a(n) ____________________, make comparisons using either the lowest or highest value in each range of values.

Correct Answer

verifed

verified

You might say that a path that can never be traveled in a program is a(n) ____________________ path.

Correct Answer

verifed

verified

An expression in which two constants are compared is called a(n) ____________________ expression.

Correct Answer

verifed

verified

In a(n) ____________________ condition, you ask multiple questions before an outcome is determined.

Correct Answer

verifed

verified

When you use a(n) ____________________ operator, only one of the conditions in an expression must be true for the resulting action to take place.

Correct Answer

verifed

verified

Most programming languages support a NOT operator, which reverses the meaning of a Boolean expression.

A) True
B) False

Correct Answer

verifed

verified

In a(n) ____________________ decision, more than one condition must be true for an action to take place.

Correct Answer

verifed

verified

When you need to ask multiple questions before an outcome is determined, you must create a ____.


A) dual condition
B) compound condition
C) large condition
D) coordinated condition

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

Correct Answer

verifed

verified

When structures are "on top of" each other, they are known as ____________________ structures.

Correct Answer

verifed

verified

Showing 21 - 40 of 50

Related Exams

Show Answer