Study your flashcards anywhere!

Download the official Cram app for free >

  • Shuffle
    Toggle On
    Toggle Off
  • Alphabetize
    Toggle On
    Toggle Off
  • Front First
    Toggle On
    Toggle Off
  • Both Sides
    Toggle On
    Toggle Off
  • Read
    Toggle On
    Toggle Off
Reading...
Front

How to study your flashcards.

Right/Left arrow keys: Navigate between flashcards.right arrow keyleft arrow key

Up/Down arrow keys: Flip the card between the front and back.down keyup key

H key: Show hint (3rd side).h key

A key: Read text to speech.a key

image

Play button

image

Play button

image

Progress

1/12

Click to flip

12 Cards in this Set

  • Front
  • Back
Four basic control structures:
sequence
selection
loop
sub-program
Logical expressions
assertions that C++ evaluates to determine whether they are true or false
True is a ____________ value
non-zero
False is a ____________ value
zero
___________ ___________ test the relationship between values
Relational operators
T/F - Relational operators can be used to compare arithmetic expressions AND strings
True!
==, !=, <, >, <=, and >= are examples of ___________ ___________.
relational operators
For && to be true, && requires _______ statment(s) to be true
both
For || to be true, || requires _______ statment(s) to be true
one
What level is !, unary +, unary -
1
What are the 3 types of if statments
if, if-then-else, nested if
A selection control structure that operates similar to nested ifs
Switch statment