Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

baisc cmpsc questions, need help 1. _______ separates the case label from the co

ID: 648339 • Letter: B

Question

baisc cmpsc questions, need help

1. _______ separates the case label from the code that will execute if the case label matches the controlling expression.

A) A colon
B) An underscore
C) The break keyword
D) A semicolon

2.

The correct syntax for a default case is _______?

A) defalut case
B) default
C) default case:
D) default:

3. A function definition is made up of _______.

A) a function header
B) a function body
C) a function name
D) All of the above.

4. How many values can a return statement return to a caller?

A) zero
B) one
C) any number
D) Both a and b.

Explanation / Answer

1. _______ separates the case label from the code that will execute if the case label matches the controlling expression.

A) A colon

2. The correct syntax for a default case is _______?

D) default:

3. A function definition is made up of _______.

D) All of the above.

4. How many values can a return statement return to a caller?

D) Both a and b.