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

BTEC Level 3 Nat Ext Dip in Computing - Unit 2.1 Hardware and Software

BTEC Level 3 Nat Ext Dip in Computing - Unit 2.1 Hardware and Software

11th - 12th Grade

10 Qs

EmTech Q2 Post Test 2

EmTech Q2 Post Test 2

11th Grade

15 Qs

CSS background, border

CSS background, border

11th Grade

10 Qs

conditional constructs in Java

conditional constructs in Java

10th Grade

10 Qs

Internet

Internet

7th - 10th Grade

10 Qs

Accessing the Internet

Accessing the Internet

9th - 10th Grade

15 Qs

Grade 11 Term 4 Practice 2

Grade 11 Term 4 Practice 2

11th Grade

10 Qs

Los periféricos del computador

Los periféricos del computador

1st Grade - Professional Development

9 Qs

AP Computer Science Principles - Unit 4: Variables, Conditionals

AP Computer Science Principles - Unit 4: Variables, Conditionals

Assessment

Quiz

Computers

9th - 12th Grade

Practice Problem

Medium

Created by

Mister Swagner

Used 141+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?