
AP CSP 3.5 Boolean Expressions Pt. 2
Authored by Herman Galioulline
Computers
9th - 12th Grade
Used 11+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
5 questions
Show all answers
1.
MULTIPLE SELECT QUESTION
2 mins • 1 pt
Directions: For the question or incomplete statement below, two of the suggested answers are correct. For this question, you must select both correct choices to earn credit. No partial credit will be earned if only one correct choice is selected. Select the two that are best in each case.
Which of the following Boolean expressions are equivalent to the expression
num ≥ 15
Select two answers.
(num > 15) AND (num = 15)
(num > 15) OR (num = 15)
NOT (num < 15)
NOT (num < 16)
2.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
In a certain country, a person must be at least 16 years old to drive a car and must be at least 18 years old to vote. The variable age represents the age of a person as an integer.
Which of the following expressions evaluates to true if the person is old enough to drive but not old enough to vote, and evaluates to false otherwise?
I. (age ≥ 16) AND (age ≤ 18)
II. (age ≥ 16) AND (NOT(age ≥ 18))
III. (age < 18) AND (NOT(age < 16))
II only
I and II only
I and III only
II and III only
3.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
(onFloor1 AND callTo2) AND (onFloor2 AND callTo1)
(onFloor1 AND callTo2) OR (onFloor2 AND callTo1)
(onFloor1 OR callTo2) AND (onFloor2 OR callTo1)
(onFloor1 OR callTo2) OR (onFloor2 OR callTo1)
4.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
The output will be true no matter what the value of input B is.
The output will be false no matter what the value of input B is.
The output will be true if input B is true; otherwise it will be false.
The output will be false if input B is true; otherwise it will be true.
5.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Input A must be true.
Input A must be false.
Input A can be either true or false.
There is no possible value of input A that will cause the circuit to have the output true.
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
10 questions
Grade 9 Pre-Test AY 2023-2024
Quiz
•
9th Grade
10 questions
Informatics Overview
Quiz
•
12th Grade
10 questions
Asesmen awal BAB 1 kelas 9
Quiz
•
9th Grade
10 questions
ภาษาไพทอน
Quiz
•
10th Grade
10 questions
Y8 Recap
Quiz
•
7th - 9th Grade
10 questions
Computer Fundamentals
Quiz
•
2nd - 10th Grade
10 questions
J808 LO1.1 Evaluation Phase
Quiz
•
10th Grade
10 questions
Javascript & Client side scripting
Quiz
•
10th - 12th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
29 questions
Alg. 1 Section 5.1 Coordinate Plane
Quiz
•
9th Grade
22 questions
fractions
Quiz
•
3rd Grade
11 questions
FOREST Effective communication
Lesson
•
KG
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade