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

Python Basics Quiz

Python Basics Quiz

9th Grade

15 Qs

Unit 6 Quiz - Bootstrap: Algebra

Unit 6 Quiz - Bootstrap: Algebra

6th - 12th Grade

11 Qs

Grade 10 Python Quiz

Grade 10 Python Quiz

10th Grade

10 Qs

Alice 2 - Chapter 3

Alice 2 - Chapter 3

7th - 12th Grade

10 Qs

AP Test words

AP Test words

11th Grade

10 Qs

Boolean Logic, Algebra and Operators - QUIZ

Boolean Logic, Algebra and Operators - QUIZ

11th Grade

12 Qs

Wrong Answers Only CSP

Wrong Answers Only CSP

9th - 12th Grade

10 Qs

1.1.3 CSE Conditionals and Event-driven Programming

1.1.3 CSE Conditionals and Event-driven Programming

9th - 12th Grade

8 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 138+ 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?