AP CSP Boolean Logic 6
Quiz
•
Computers
•
9th - 12th Grade
•
Practice Problem
•
Hard
Michael Toepper
Used 4+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE SELECT QUESTION
1 min • 1 pt
Trace the code and plot the movements of the robot for the 3 scenarios.
If the robot is directed to move onto a black square, it “crashes” and the program ends.
Choose the scenario(s) that results in a "crash."
Note that there may be multiple answers to this question.
Choose all answers that apply:
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
A game programmer uses this nested conditional in their online Four Square game.
When mouseX is 173 and mouseY is 199, what will be the value of currentSquare?
1
2
3
4
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Trace the code and plot the movements of the robot for the 3 scenarios.
If the robot is directed to move onto a black square, it “crashes” and the program ends.
Choose the scenario that results in a "crash."
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
In the program below, the initial value of x is 0 and the initial value of y is -2.
What is displayed as a result of running the program?
Foxtrot
Hotel
November
Yankee
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Given the above procedure:
What will be displayed after the following statement is executed?
DISPLAY ( adjustCount (11) + adjustCount (16) )
28
32
33
35
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
One way to understand Boolean operations is to make a truth table of all the possible inputs and outputs.
Select the Logic Gate that matches the truth table.
AND
OR
NAND
NOR
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
The following circuit takes two inputs, sends each input through a NOT gate, and then sends those outputs through an AND gate. This circuit is logically equivalent to the NOR logic gate, a common gate in computers.
Select the output column that correctly completes out the truth table for the circuit:
0
0
1
0
0
1
0
0
1
0
0
0
0
0
0
1
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
14 questions
Intro to Robotics
Quiz
•
9th Grade
15 questions
Coding Quiz
Quiz
•
6th - 10th Grade
15 questions
Virtual Private Server
Quiz
•
12th Grade
10 questions
POST TES INFORMATIKA BAB 2
Quiz
•
9th Grade
10 questions
Pengenalan Perwakilan Data
Quiz
•
12th Grade
12 questions
Q2 WEEK 3 PRACTICE QUIZ #2
Quiz
•
9th Grade
10 questions
Recap: Introduction to Python
Quiz
•
10th Grade
10 questions
Computer System
Quiz
•
8th - 9th Grade
Popular Resources on Wayground
7 questions
History of Valentine's Day
Interactive video
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
15 questions
Valentine's Day Trivia
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
Discover more resources for Computers
10 questions
Exploring Valentine's Day with Charlie Brown
Interactive video
•
6th - 10th Grade
18 questions
Valentines Day Trivia
Quiz
•
3rd Grade - University
20 questions
El Verbo IR Practice
Quiz
•
9th Grade
20 questions
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade
10 questions
Valentine's Day History and Traditions
Interactive video
•
6th - 10th Grade
20 questions
Graphing Inequalities on a Number Line
Quiz
•
6th - 9th Grade
20 questions
Exponent Properties
Quiz
•
9th Grade
21 questions
Presidents Day Trivia
Quiz
•
6th - 12th Grade
