AP Computer Science Principles Unit 4 Review

AP Computer Science Principles Unit 4 Review

9th Grade - University

15 Qs

quiz-placeholder

Similar activities

PYTHON PROGRAMMING POP QUIZ ON TOPIC 2!

PYTHON PROGRAMMING POP QUIZ ON TOPIC 2!

University

10 Qs

AP CSP Unit 5 Review: Lists, Loops and Traversals

AP CSP Unit 5 Review: Lists, Loops and Traversals

9th - 12th Grade

19 Qs

Java Conditions and If Statements

Java Conditions and If Statements

10th Grade

10 Qs

C++ Switch Statement

C++ Switch Statement

University

15 Qs

Unit 3 Extended Understanding

Unit 3 Extended Understanding

12th Grade

10 Qs

Python - Chpt 1 - Review

Python - Chpt 1 - Review

9th - 12th Grade

15 Qs

Interactive Animations and Games from Code.org

Interactive Animations and Games from Code.org

3rd - 12th Grade

20 Qs

C TEST

C TEST

University

13 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?