AP CSP Boolean Logic 2

Quiz
•
Computers
•
9th - 12th Grade
•
Medium
Michael Toepper
Used 18+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Given the procedure:
What will be displayed after the following statement is executed?
DISPLAY ( adjustCount (11) + adjustCount (16) )
28
32
33
35
2.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Two grids are show. Each grid contains a robot represented as a triangle. Both robots are initially facing left. Each robot can move into a white or gray square, but cannot move into a black region.
For each grid, the program below is intended to move the robot to the gray square. The program uses the procedure Goal_Reached ( ), which evaluates to true if the robot is in the gray square and evaluates to false otherwise.
Grid I only
Grid II only
Both grid I and grid II
Neither grid I nor grid II
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Consider the code segment above.
If the variables onTime has the value of true and absent has the value false, what is displayed as a result of running the code segment?
Hello.
Is anyone there?
Hello. Is anyone there?
Hello. Better late than never.
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
The diagram shows a circuit with three gates, where the output from two AND gates are sent into an OR gate. The circuit has four inputs (A, B, C, D), two for each AND gate.
If the final output is 0, what is a possible state of the inputs A/B/C/D?
Choose 1 answer.
A = 0, B = 0, C = 0, D = 0
A = 1, B = 1, C = 0, D = 1
A = 0, B = 1, C = 1, D = 1
A = 1, B = 0, C = 1, D = 1
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
The diagram shows a circuit composed of two logic gates labeled OR and AND. Each gate takes two inputs and produces a single output.
If the input A is false and input C is true, which of the following best describes the output of the AND gate?
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.
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
The diagram shows a circuit with three gates, where the output from two AND gates are sent into an OR gate. The circuit has four inputs (A, B, C, D), two for each AND gate.
If the final output is 0, what is a possible state of the inputs A/B/C/D?
Choose 1 answer.
A = 1, B = 0, C = 1, D = 0
A = 1, B = 1, C = 0, D = 1
A = 0, B = 1, C = 1, D = 1
A = 1, B = 0, C = 1, D = 1
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Y9 Python Inputs

Quiz
•
9th Grade
10 questions
Drawing techniques

Quiz
•
10th Grade
6 questions
Code.org CSP Unit 4 Review

Quiz
•
9th - 12th Grade
10 questions
Output Devices

Quiz
•
7th - 9th Grade
9 questions
KELAS VII A

Quiz
•
7th Grade - University
12 questions
OCR J277 2.4 Boolean Logic MCQ (Quiz 1)

Quiz
•
10th - 11th Grade
15 questions
IGCSE CS INPUT DEVICES

Quiz
•
9th - 11th Grade
10 questions
BTEC DIT C1 LAB - Project Requirements

Quiz
•
10th - 11th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

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

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

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

Interactive video
•
6th - 10th Grade
10 questions
1.2 OSI & TCP IP Models Quiz

Quiz
•
10th Grade
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
30 questions
Introduction to Computers

Quiz
•
8th - 9th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade
13 questions
Problem Solving Process

Quiz
•
9th - 12th Grade
20 questions
Hardware vs. Software Quiz

Quiz
•
7th - 10th Grade
10 questions
Understanding Algorithms with Pseudocode and Flowcharts

Interactive video
•
9th - 12th Grade