EGR 1400 Study Exam 1 Oakland University | UPDATED Questions
with 100% Verified Answers
Question:
control structure
Answer:
A logical design that controls the order in which statements execute.
Question:
sequence structure
Answer:
A set of statements that execute in the order that they appear.
Question:
decision structure
Answer:
Execute statements only under certain circumstances.
Question:
if-else
Answer:
Will execute one block of statement if its Boolean expression is true or another block if
its Boolean expression is false.
Question:
AND
Answer:
&&
Question:
OR
Answer:
||
,Question:
NOT
Answer:
!
Question:
AND operator
Answer:
Both subexpression must be true for the compound expression to be true.
Question:
OR operator
Answer:
One or both subexpression must be true for the compound expression to be true.
Question:
NOT operator
Answer:
It negates (reverses) the value to its opposite one.
Question:
<
Answer:
Less than
Question:
>
Answer:
Greater than
Question:
>=
Answer:
, Greater than or equal to
Question:
<=
Answer:
Less than or equal to
Question:
==
Answer:
equal to
Question:
!=
Answer:
not equal to
Question:
flag
Answer:
A variable that signals when some condition exists in the program
Question:
String.Compare
Answer:
Compares two strings
Question:
TryParse
Answer:
Can prevent exceptions caused by users entering invalid data, but it does not check the
integrity of the data.
Question:
with 100% Verified Answers
Question:
control structure
Answer:
A logical design that controls the order in which statements execute.
Question:
sequence structure
Answer:
A set of statements that execute in the order that they appear.
Question:
decision structure
Answer:
Execute statements only under certain circumstances.
Question:
if-else
Answer:
Will execute one block of statement if its Boolean expression is true or another block if
its Boolean expression is false.
Question:
AND
Answer:
&&
Question:
OR
Answer:
||
,Question:
NOT
Answer:
!
Question:
AND operator
Answer:
Both subexpression must be true for the compound expression to be true.
Question:
OR operator
Answer:
One or both subexpression must be true for the compound expression to be true.
Question:
NOT operator
Answer:
It negates (reverses) the value to its opposite one.
Question:
<
Answer:
Less than
Question:
>
Answer:
Greater than
Question:
>=
Answer:
, Greater than or equal to
Question:
<=
Answer:
Less than or equal to
Question:
==
Answer:
equal to
Question:
!=
Answer:
not equal to
Question:
flag
Answer:
A variable that signals when some condition exists in the program
Question:
String.Compare
Answer:
Compares two strings
Question:
TryParse
Answer:
Can prevent exceptions caused by users entering invalid data, but it does not check the
integrity of the data.
Question: