Title: Module 03 Quiz Decisions
Course: Advance C# > Section: Module 03

Q: You can combine as many AND and OR operators in an expression as needed.
- True
- False
A: True

Q: When creating a flowchart or pseudocode representation of a task, a ____ structure is one in which one step follows another unconditionally.
- single-decision
- dual-decision
- branched
- sequence
A: sequence

Q: A(n) ____ statement is used to make a single-alternative decision.
- switch
- fork
- if
- if-else
A: if

Q: In C#, a ____ is a collection of one or more statements contained within a pair of curly braces.
- switch
- block
- sequence structure
- decision structure
A: block

Q: If you have a dual-alternative decision (you want to perform one action when a Boolean expression evaluates as true and an alternate action when it evaluates as false), you can use a(n) ____ statement.
- if-else
- if
- switch
- fork
A: if-else

Q: You can use the conditional ____ operator within a Boolean expression to determine whether two expressions are both true.
- OR
- AND
- XOR
- NOT
A: AND

Q: You can use the conditional ____ operator when you want some action to occur even if only one of two conditions is true.
- AND
- OR
- XOR
- NOT
A: OR

Q: In a switch statement, the keyword ____ is followed by one of the possible values that might equal the switch expression.
- case
- default
- break
- switch
A: case

Q: The optional keyword ____ is used prior to any action that should occur if the test expression does not match any case.
- break
- switch
- default
- else
A: default

Q: The NOT operator is written as ____.
- &
- &&
- <>
- !
A: !

Q: Programmers often use ____________________, a tool that helps them plan a program’s logic by writing plain English statements.
A: pseudocode

Q: A(n) ____________________ is similar to pseudocode, but you write the steps in diagram form, as a series of shapes connected by arrows.
A: flowchart / Activity Diagram