AP Computer Science Principles Unit 4 Review

AP Computer Science Principles Unit 4 Review

9th Grade - University

15 Qs

quiz-placeholder

Similar activities

CodeHS Python Unit 3 Quiz Review

CodeHS Python Unit 3 Quiz Review

9th - 12th Grade

20 Qs

Python Baics

Python Baics

10th - 11th Grade

20 Qs

II CSM A & B

II CSM A & B

University

15 Qs

IF & CASE Conditional Statements

IF & CASE Conditional Statements

9th - 12th Grade

15 Qs

Csd Iii Unit

Csd Iii Unit

3rd - 12th Grade

20 Qs

Unit 1 Quiz - Bootstrap: Algebra

Unit 1 Quiz - Bootstrap: Algebra

6th - 12th Grade

10 Qs

AP CSA Unit 1 & 2 Review

AP CSA Unit 1 & 2 Review

9th - 12th Grade

10 Qs

C++ Quiz

C++ Quiz

University

20 Qs

AP Computer Science Principles Unit 4 Review

AP Computer Science Principles Unit 4 Review

Assessment

Quiz

Computers, Other

9th Grade - University

Medium

Created by

Madelyn L.

Used 53+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is an expression?

A reference to a value or expression that can be repeatedly used throughout a program.

A combination of both values and operators that evaluate to one value

A named group of programming instructions that is also referred to as a “procedure”.

2.

FILL IN THE BLANK QUESTION

45 sec • 1 pt

A _____________ evaluates to true or false

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

When coding, it is best to avoid using __________ or the code may be confusing.

Global variables

Conditionals

Functions

Local variables

4.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

Global variables are _____________ and ___________________. (Choose 2)

Temporary

Can be used anywhere in your code

Permanent

Can only be used in the section of code they were created in

5.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

Local variables are _______ and __________. (Choose 2)

Permanent

Can only be used in the section where it was created

Can be used anywhere in your code

Temporary

6.

FILL IN THE BLANK QUESTION

45 sec • 1 pt

_________ keep your code from getting cluttered.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A function is...

A named group of programming instructions. Also referred to as a “procedure”.

A combination of operators and values that evaluates to a single value.

A reference to a value or expression that can be used repeatedly throughout a program.

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?