Unit 2 Quiz

Unit 2 Quiz

10th Grade

62 Qs

quiz-placeholder

Similar activities

Unit 4 Conditional, variables, functions

Unit 4 Conditional, variables, functions

UNIT 2 VOCABULARY

UNIT 2 VOCABULARY

Code.org APCSP Unit 4 Quiz

Code.org APCSP Unit 4 Quiz

APCSP Unit 4 review 24-25

APCSP Unit 4 review 24-25

Unit 2 Quiz

Unit 2 Quiz

Assessment

Quiz

Computers

10th Grade

Medium

Created by

Emily De Leon

Used 23+ times

FREE Resource

AI

Enhance your content in a minute

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

62 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

What is a library in Computer Science?

A collection of books

A collection of If else statements

Modularity

A collection of procedures we can access and reuse

2.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

What are the 3 building blocks of Algorithms?

input, output, and processing
variables, functions, and loops
conditions, loops, and arrays
sequence, selection, and iteration

3.

MULTIPLE CHOICE QUESTION

45 sec • 2 pts

Media Image

See image

9

5

11

12

4.

MULTIPLE CHOICE QUESTION

45 sec • 2 pts

What are conditional statements?

Conditional statements are statements in programming that allow different actions to be taken based on different conditions or criteria.
Conditional statements are statements that are executed only once.
Conditional statements are statements that are used to repeat a block of code multiple times.
Conditional statements are statements that are used to define variables in programming.

5.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

What is another word for iteration?

loop
recursion
iteration
repetition

6.

MULTIPLE CHOICE QUESTION

45 sec • 2 pts

What is a global variable?

A global variable is a variable that can only be accessed within a specific function or block of code.
A global variable is a variable that is declared and used within a single function or method.
A global variable is a variable that is limited to a specific class or object.
A global variable is a variable that is accessible and can be used throughout the entire program, regardless of its scope.

7.

MULTIPLE CHOICE QUESTION

45 sec • 2 pts

What is a local variable? Also known as a script variable.

A local variable is a variable that is declared outside of any function or block and can be accessed from anywhere in the program.
A local variable is a variable that is declared with the 'global' keyword and can be accessed from any function or block.
A local variable is a variable that is declared inside a function or a block and can only be accessed within that function or block.
A local variable is a variable that is declared with the 'static' keyword and retains its value between function calls.

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?

Discover more resources for Computers