placeholder image to represent content

Test 1 Review

Quiz by Alex Roque

Our brand new solo games combine with your quiz, on the same screen

Correct quiz answers unlock more play!

New Quizalize solo game modes
10 questions
Show answers
  • Q1
    What is the result of the following C++ operation if the variable FirstName has a value of “John”? (FirstName == “JohN”)
    JohN
    TRUE
    FALSE
    1
    120s
  • Q2
    Which of the following numbers is the representation of the following 01010001
    81
    83
    80
    128
    300s
  • Q3
    You use a(n)_________ to write a single alternative decision structure.
    if-call
    if
    if-while
    goto
    120s
  • Q4
    A(n) _________ loop has no way of ending and repeats until the program is interrupted
    Indeterminate
    timeless
    Infinite
    Interminable
    120s
  • Q5
    What is the total number of iterations in a nested loop that has…. Outer loop: for (int x = 1; x < 5; x++) Inner Loop: for (int y =0; y <4; y++)
    16
    5
    20
    4
    120s
  • Q6
    Which of the following statements correctly reads input into the variable named value
    cout << “Enter the data”; cin >> value;cout << “Enter the data”; cout >> value;
    cout << “Enter the data”; cin > value;
    cout << “Enter the data”; cin = value;
    120s
  • Q7
    Which is the data type used to stor a single character in a variable?
    letter
    character
    alpha
    char
    120s
  • Q8
    This type of loops executes at least once and evaluated the expression after
    pretest
    condition-controlled
    count-controlled
    posttest
    120s
  • Q9
    What is a valid way to create a constant?
    const double Num = 3;
    Const double Num = 3;
    Constant double Num = 3;
    & double Num = 3;
    120s
  • Q10
    To convert a C++ program to machine level assembly, we must use a
    assembler
    executable
    compiler
    debugger
    120s

Teachers give this quiz to your class