pencil-icon
Build your own quiz

Computers

10th -

12thgrade

Image

CS II C++ Chapter 4

28
plays

19 questions

Show Answers
See Preview
  • 1. Multiple Choice
    30 seconds
    1 pt

    The default section of a switch statement performs a similar task as the ________ portion of an if/else if statement.

    conditional

    break

    trailing else

    All of these

    None of these

  • 2. Multiple Choice
    30 seconds
    1 pt
    Image

    What is the value of donuts after the following code executes?

    12

    10

    0

    1

  • 3. Multiple Choice
    30 seconds
    1 pt
    Image

    Given that, x = 2, y = 1, and z = 0, what will the following cout statement display?

    answer = 0

    answer = 1

    answer = 2

    None of these

  • Answer choices
    Tags
    Answer choices
    Tags

    Explore all questions with a free account

    Already have an account?