AP Computer Science Principles - Unit 4: Variables, Conditionals

AP Computer Science Principles - Unit 4: Variables, Conditionals

9th - 12th Grade

10 Qs

quiz-placeholder

Similar activities

Wrong Answers Only CSP

Wrong Answers Only CSP

9th - 12th Grade

10 Qs

Basic Programming Terminology Quiz

Basic Programming Terminology Quiz

10th Grade

10 Qs

Basic Programming Concepts

Basic Programming Concepts

9th Grade

15 Qs

JavaScript Control Structures Basic

JavaScript Control Structures Basic

12th Grade

11 Qs

Grade 10 Python Quiz

Grade 10 Python Quiz

10th Grade

10 Qs

AP Test words

AP Test words

11th Grade

10 Qs

Python Boolean

Python Boolean

11th - 12th Grade

11 Qs

Unit 2.2 Programming Techniques MCQs L1

Unit 2.2 Programming Techniques MCQs L1

10th Grade

15 Qs

AP Computer Science Principles - Unit 4: Variables, Conditionals

AP Computer Science Principles - Unit 4: Variables, Conditionals

Assessment

Quiz

Computers

9th - 12th Grade

Medium

Created by

Mister Swagner

Used 135+ times

FREE Resource

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?
a) Expression
b) Comparison operator
c) Logical operator
d) Function call

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Q2. What is the name for a sequence of characters enclosed in quotation marks?
a) Expression
b) Comparison operator
c) Variable
d) String

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?
a) Assignment operator
b) Comparison operator
c) Logical operator
d) Function

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?
a) Variable
b) Boolean value
c) String
d) Expression

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?
a) Comparison operator
b) Logical operator
c) Assignment operator
d) Function call

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?
a) Function
b) Function call
c) Conditional statement
d) Variable

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?