Computers

9th -

12thgrade

Image

C++

46
plays

13 questions

Show Answers
See Preview
  • 1. Multiple Choice
    1 minute
    1 pt

    int x = 1;

    while(x < 6)

    {

    x = x + 2;

    }

    cout<<x;

    1

    5

    6

    7

  • 2. Multiple Choice
    1 minute
    1 pt

    int x = 10;

    while(x < 6)

    {

    x = x - 2;

    }

    cout<<x;

    2

    5

    6

    10

  • 3. Multiple Choice
    1 minute
    1 pt

    int x = 1;

    while(x > 6)

    {

    x = x + 2;

    }

    cout<<x;

    1

    5

    6

    7

  • Answer choices
    Tags
    Answer choices
    Tags

    Explore all questions with a free account

    Already have an account?