
Unit 4: Variables, Conditionals, & Functions (2)

Flashcard
•
Computers
•
9th - 12th Grade
•
Hard
Wayground Content
FREE Resource
Student preview

32 questions
Show all answers
1.
FLASHCARD QUESTION
Front
When is a compound condition using the logic operator AND true?
Back
When both of the conditions are true
2.
FLASHCARD QUESTION
Front
Which are examples of Boolean operators? Options: AND, OR and NOT, Greater than (>), less than (<) and equal to (=), Multiplication (*), subtraction (-), addition (+) and division (/), Picking random numbers
Back
AND, OR and NOT
3.
FLASHCARD QUESTION
Front
Which are examples of relational operators? Options: AND, OR and NOT, Greater than (>), less than (<) and equal to (=), Multiplication (*), subtraction (-), addition (+) and division (/), Picking random numbers
Back
Greater than (>), less than (<) and equal to (=)
4.
FLASHCARD QUESTION
Front
Which of the following is FALSE regarding ELSE IF statements?
You add an ELSE IF when you have another condition you want to check.
You are limited to only one ELSE in your code
Each condition in an ELSE IF is checked from top to bottom
The final ELSE clause is executed if all the previous conditions evaluated to false.
Back
You are limited to only one ELSE in your code
5.
FLASHCARD QUESTION
Front
Which of the following statements regarding AND/OR operators are FALSE? true && true --> true, true && false --> true, false || true --> true, false || false --> false
Back
true && false --> true
6.
FLASHCARD QUESTION
Front
Which of the following statements regarding AND/OR/NOT operators are TRUE? Options: !(true) = true, true || true = false, false && true = true, false || true = true
Back
false || true = true
7.
FLASHCARD QUESTION
Front
Based on the following, determine whether the expression !(season== “Summer”) is TRUE or FALSE:
var season= “Spring”;
Back
True
Create a free account and access millions of resources
Similar Resources on Wayground
29 questions
Math and Boolean Expressions

Flashcard
•
9th - 12th Grade
23 questions
Python - Conditional Statements

Flashcard
•
9th - 11th Grade
21 questions
AP CSP Unit 7: Parameters, Returns, and Libraries

Flashcard
•
9th - 12th Grade
23 questions
Strep Throat Review

Flashcard
•
9th - 12th Grade
25 questions
Intro to CS Unit 3 Review

Flashcard
•
9th - 12th Grade
25 questions
Computer Science True/False Review

Flashcard
•
9th - 12th Grade
21 questions
Python Basics

Flashcard
•
9th - 12th Grade
27 questions
CodeHS Unit 1

Flashcard
•
9th - 12th Grade
Popular Resources on Wayground
12 questions
Unit Zero lesson 2 cafeteria

Lesson
•
9th - 12th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
20 questions
Lab Safety and Equipment

Quiz
•
8th Grade
13 questions
25-26 Behavior Expectations Matrix

Quiz
•
9th - 12th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
20 questions
Introduction to Desktop Computer Systems

Quiz
•
9th - 12th Grade
14 questions
Inputs and Outputs: Computer Science Intro

Lesson
•
5th - 9th Grade
10 questions
Computer Hardware and Input/Output Devices

Interactive video
•
6th - 10th Grade