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

Quiz

Chapter 4 review

Naina Minhas 17 questions

Take the quiz

Questions in this quiz (17)

  1. 1A _____ structure can execute a set of statements only under certain circumstances.
    1. Asequence
    2. Bcircumstantial
    3. Cdecision
    4. DBoolean
  2. 2A case structure is a ___________ alternative decision structure.
    1. ASingle
    2. BDual
    3. CMultiple
    4. DSingle or dual
  3. 3Which structure is a logical design that controls the order in which a set of statements executes?
    1. AControl
    2. BSequence
    3. CModule
    4. DTerminal
  4. 4A compound Boolean expression created with the _____ operator is true only if both of its subexpressions are true.
    1. AAND
    2. BOR
    3. CNOT
    4. DBOTH
  5. 5 What two logical operators perform short-circuit evaluation?
    1. AAND and OR
    2. BNOT and OR
    3. CAND and NOT
    4. DAll of these
  6. 6Which operator is used to determine that the operands are not exactly of the same value?
    1. A=
    2. B!
    3. C=!
    4. D==
    5. Enone of these
  7. 7 The _______ symbol indicates that some condition must be tested in a flowchart.
    1. ARectangle
    2. BParallelogram
    3. COval
    4. DDiamond
  8. 8You use a(n) _____ statement in pseudocode to write a single alternative decision structure.
    1. ATest-Jump
    2. BIf-Then
    3. CIf-Then-Else
    4. DIf-Call
  9. 9A _____ is a Boolean variable that signals when some condition exists in the program.
    1. Aflag
    2. Bsignal
    3. Csentinel
    4. Dsiren
  10. 10Consider the following statement: A store is giving a discount of 30% for all purchases of over $100. Which of the following is not the appropriate structure to use to program the statement?
    1. ASelection
    2. BDecision
    3. CSequence
    4. DControl

Information

Description
Computer Science Quiz on Chapter 4 review, created by Naina Minhas on 15/10/2022.
Language
English
Views
5
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?