Skip to main content
Back

Decision and Repetition Structures in Programming

Study Guide - Practice Questions

Test your knowledge with practice questions generated from your notes

  • #1 Multiple Choice
    Which of the following best describes a decision structure in programming?
  • #2 Multiple Choice
    Given the following code, what will be the value of x after execution if y = 20? $\text{if } y == 20:\newline\quad x = 0$
  • #3 Multiple Choice
    Which relational operator would you use to check if variable $a$ is not equal to variable $b$?

Study Guide - Flashcards

Boost memory and lock in key concepts with flashcards created from your notes.

  • Decision Structures and Boolean Logic
    21 Questions
  • Repetition Structures
    17 Questions