Shared Flashcard Set

Details

Intro Prgrm Logic Quiz 4
Chapter 4
10
Computer Science
Undergraduate 2
01/27/2017

Additional Computer Science Flashcards

 


 

Cards

Term
A selection structure consists of a(n) __________ __________ together with one or more blocks of statements. (separate each word with a space)
Definition
test condition
Term
The reciprocal of 0 is __________
Definition
0
Term
Logical operators are used to create __________ conditions from given __________ conditions.(Use a comma and a space to separate your responses)
Definition
compound, simple
Term
The multiple-alternative selection structure that does not use an If-Then-Else clause is the __________ or __________ statement. (separate each word with a comma and space)
Definition
Case, Switch
Term
A statement which checks to see if the value of the expression on the left side is the same as the value of the expression on the right side is an example of the use of the __________ operator.
Definition
comparison
Term
A(n) __________ __________ is used to summarize the actions of the logical operators. (separate each word with a space)
Definition
truth table
Term
A dual-alternative selection structure is also known as a(n) __________ structure.
Definition
If-Then-Else
Term
The order of operations for __________ __________ is NOT first, then AND, then OR. (separate each word with a space)
Definition
logical operators
Term
In the hierarchy of the order of operations (relational, logical, arithmetic), __________ operations are performed last.
Definition
logical
Term
Including statements in a program to check for improper data during execution of the program is known as __________ programming.
Definition
defensive
Supporting users have an ad free experience!