Question: You never have to use the if-else-if statement because its logic can be coded with nested if-else statements.

Answer Choices:
True
False

Answer: False

 

Question: With the ________ methods, you can determine whether a string contains a value that can be converted to a specific data type before it is converted to that data type.

Answer Choices:
Int.Convert
Peek
TryParse
Preemptive

Answer: TryParse

 

Question: The ________ method can be used to determine whether one string is greater than or less than another string.

Answer Choices:
String.IsGreater
String.Equals
String.String
String.Compare

Answer: String.Compare

 

Question: For an || expression to be true, the expression on the left side of the || operator must be false.

Answer Choices:
True
False

Answer: False

 

Question: A ________ is an expression that can be evaluated as either true or false.

Answer Choices:
double expression
Boolean expression
classical expression
binary expression

Answer: Boolean expression

 

Question: A ________ decision structure provides only one alternative path of execution.

Answer Choices:
single-alternative
dual-alternative
multiple-alternative
unique-alternative

Answer: single-alternative

 

Question: The binary representation of the decimal number 212 is:

Answer Choices:
11101110
10110100
10110110
11010100

Answer: 11010100

 

Question: The C# language provides a set of operators known as ________, which you can use to create complex Boolean expressions.

Answer Choices:
logical operators
expressional operators
relational operators
Boolean operators

Answer: logical operators

 

Question: The mechanism used for flow control in TCP is:

Answer Choices:
CSMA/CD
Stop and wait
Three-way handshake

Answer: Three-way handshake

 

Question: Variables of the int data type are commonly used as flags.

Answer Choices:
True
False

Answer: True