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: True
Question: Port addresses identify:
Answer Choices:
The source host on the network
None of the above
The destination host on the network
The application on the host
Answer: The application on the host
Question: Under no circumstances are both sets of conditionally executed statements executed in an if-else statement.
Answer Choices:
True
False
Answer: True
Question: The equality operator is one = symbol.
Answer Choices:
True
False
Answer: False
Question: If the expression is true, the ! operator returns false, and if the expression is false, the ! operator returns true.
Answer Choices:
True
False
Answer: True
Question: The ________ operator is the logical NOT operator, which is a unary operator that takes a Boolean expression as its operand and reverses its logical value.
Answer Choices:
<=
||
!
&&
Answer: !
Question: The ________ operator is the logical OR operator, which takes two Boolean expressions as operands and creates a compound Boolean expression that is true when either of the subexpressions is true.
Answer Choices:
||
&&
!
<=
Answer: ||
Question: In C#, you use the if statement to write a single-alternative decision structure.
Answer Choices:
True
False
Answer: True
Question: If the expression on the left side of the || operator is true, the expression on the right side is not checked.
Answer Choices:
True
False
Answer: True
Question: Multiplexing at the Transport layer enables:
Answer Choices:
Both of the above
None of the above
Multiple hosts to share a common physical medium
Multiple applications or the host to share a common network connection
Answer: Multiple applications or the host to share a common network connection
Question: Using CIDR, and organization that needs 2,000 IP addresses is best served by a:
Answer Choices:
/22 address block
/24 address block
/21 address block
/20 address block
Answer: /21 address block
Question: One character in the hexadecimal notation represents ____ bits.
Answer Choices:
2
4
6
8
Answer: 4
Question: Which one of the following operators is the best choice when determining if a number is outside a range?
Answer Choices:
&&
||
<=
=
Answer: ||
Question: IP provides:
Answer Choices:
Error-free delivery
Priority delivery
Guaranteed delivery
Best effort delivery
Answer: Best effort delivery
Question: A(n) ________ is a set of statements that execute in the order that they appear.
Answer Choices:
ordered structure
sequence structure
command structure
control structure
Answer: sequence structure
Question: Which one of the following expressions determines if the value of the balance variable is equal to zero?
Answer Choices:
balance != 0
0=balance
balance==0
0= balance
Answer: balance==0
Question: The ________ operator is the logical AND operator, which takes two Boolean expressions as operands and creates a compound Boolean expression that is true only when both subexpressions are true.
Answer Choices:
<=
||
!
&&
Answer: &&
Question: A regular Ethernet address (MAC address) has ____ bits.
Answer Choices:
32
16
48
96
Answer: 48