
AP CSP Unit 4 Vocab Variables, Conditionals, and Functions
Authored by Eric York
Information Technology (IT)
9th Grade
Used 3+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
12 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a variable in programming?
A data type that is either true or false
A combination of operators and values that evaluates to a single value
An ordered sequence of characters
A named reference to a value that can be used repeatedly throughout a program
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which operator allows a program to change the value represented by a variable?
Comparison Operator
Assignment Operator
Function Call
Logical Operator
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a Boolean value?
An ordered sequence of characters
A command that executes the code within a function
A named group of programming instructions
A data type that is either true or false
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a logical operator?
Assignment Operator
==
Function Call
AND
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a function in programming?
A named group of programming instructions
A data type that is either true or false
A combination of operators and values that evaluates to a single value
An ordered sequence of characters
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does a comparison operator do?
Executes the code within a function
Indicates a Boolean expression
Changes the value of a variable
Evaluates to a single value
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is an expression in programming?
A combination of operators and values that evaluates to a single value
A command that executes the code within a function
A named reference to a value
A data type that is either true or false
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?