GoConqr has a new look! Let us know what you think.

Quiz

Chapter 5 multiple choice review

Naina Minhas 17 questions

Take the quiz

Questions in this quiz (17)

  1. 1How many times will the following loop iterate?
    For j = 1 To 5 Step 2
    Display j
    End For
    1. Afive
    2. Btwo
    3. Cthree
    4. Dfour
  2. 2 How many times will the following loop iterate?
    Set k = 1
    Do
    Display k
    Set k = k + 1
    Until k > 1
    1. A1
    2. B2
    3. C5
    4. D4
  3. 3Which loop is specifically designed to initialize test and increment a counter variable?
    1. ADo-While
    2. BDo-Until
    3. CFor
    4. DWhile
  4. 4A _____ -controlled loop repeats a specific number of times.
    1. ABoolean
    2. Bcondition
    3. Cdecision
    4. Dcount
  5. 5How many times will the following loop iterate?
    Set k = 1
    While k < = 5
    Display k
    End While
    1. A1
    2. B5
    3. CInfinite
    4. D3
  6. 6A ______-controlled loop uses a true/false condition to control the number of times that it repeats.
    1. ABoolean
    2. Bcondition
    3. Cdecision
    4. Dcount
  7. 7The While loop is a ____ type of loop.
    1. Apretest
    2. Bposttest
    3. Cprequalified
    4. Dpost iterative
  8. 8A(n) ____ variable keeps a running total.
    1. Asentinel
    2. Bsum
    3. Ctotal
    4. Daccumulator
  9. 9To ___________ a variable means to decrease its value.
    1. AIncrement
    2. BInitialize
    3. CReference
    4. DDecrement
    5. ENegate
  10. 10In a count-controlled loop the counter performs _______ action(s).
    1. Aone
    2. Btwo
    3. Cthree
    4. Dfour
    5. Efive

Information

Description
Computer Science Quiz on Chapter 5 multiple choice review, created by Naina Minhas on 16/10/2022.
Language
English
Views
3
Rating
No ratings yet
Rate this quiz
Rate this quiz

Feedback

What is it about?

What do you think of the new look?

How do you like it?