AP CSP Unit 4 Vocab Variables, Conditionals, and Functions

AP CSP Unit 4 Vocab Variables, Conditionals, and Functions

9th Grade

12 Qs

quiz-placeholder

Similar activities

Y10 Computer Literacy

Y10 Computer Literacy

9th Grade

15 Qs

Understanding Variables and Constants

Understanding Variables and Constants

9th Grade

10 Qs

Scratch intro

Scratch intro

4th Grade - University

14 Qs

Conhecimentos sobre o App Inventor

Conhecimentos sobre o App Inventor

9th Grade - University

10 Qs

Python Data Types and Operations Quiz

Python Data Types and Operations Quiz

9th Grade

11 Qs

Profesi dan Peran Informatika

Profesi dan Peran Informatika

9th - 12th Grade

10 Qs

2.3 Programming Data Review

2.3 Programming Data Review

9th - 12th Grade

16 Qs

4.1 Kod Arahan

4.1 Kod Arahan

1st Grade - University

16 Qs

AP CSP Unit 4 Vocab Variables, Conditionals, and Functions

AP CSP Unit 4 Vocab Variables, Conditionals, and Functions

Assessment

Quiz

Information Technology (IT)

9th Grade

Hard

Created by

Eric York

FREE Resource

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

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?