
AP Computer Science Principles - Unit 4: Variables, Conditionals
Authored by Mister Swagner
Computers
9th - 12th Grade
Used 144+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Q1. Which of the following is a value that can be assigned to a variable?
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Q2. What is the name for a sequence of characters enclosed in quotation marks?
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Q3. Which of the following is a binary operator that compares two values and returns a Boolean value?
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Q4. What is the name for a variable that can have only two possible values: true or false?
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Q5. Which of the following is a binary operator that combines two Boolean values and returns a Boolean value?
a) Comparison operator
b) Assignment operator
c) Logical operator
d) Function call
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Q6. Which of the following is a symbol used to assign a value to a variable?
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Q7. What is the name for a programming construct that executes different code based on a condition?
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?