AP Computer Science Principles Unit 4 Review

AP Computer Science Principles Unit 4 Review

9th Grade - University

15 Qs

quiz-placeholder

Similar activities

Python

Python

University

15 Qs

Ch 4

Ch 4

University

16 Qs

JAVA FUNDAMENTALS

JAVA FUNDAMENTALS

University

12 Qs

CMU CS Academy Unit 3.2.1 Boolean Expressions Part 0

CMU CS Academy Unit 3.2.1 Boolean Expressions Part 0

9th Grade

15 Qs

End of Unit 3 Quiz Review

End of Unit 3 Quiz Review

6th - 12th Grade

14 Qs

Boolean Logic

Boolean Logic

9th - 10th Grade

20 Qs

Foundations of Programming

Foundations of Programming

9th - 10th Grade

18 Qs

JAVA FUNDAMENTALS

JAVA FUNDAMENTALS

9th - 12th Grade

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?