Intro to Programming - AP CSP Unit 2 Review

Intro to Programming - AP CSP Unit 2 Review

9th - 12th Grade

20 Qs

quiz-placeholder

Similar activities

3.8  Mengevaluasi Perangkat Eksternal / Peripheral (SisKom)

3.8 Mengevaluasi Perangkat Eksternal / Peripheral (SisKom)

10th Grade

20 Qs

Security and Ethics

Security and Ethics

9th - 12th Grade

17 Qs

CIA Mid-Term Review 1

CIA Mid-Term Review 1

9th - 10th Grade

17 Qs

Một số khái niệm về lập trình và ngôn ngữ lập trình

Một số khái niệm về lập trình và ngôn ngữ lập trình

KG - 12th Grade

15 Qs

flowol week 3

flowol week 3

9th - 12th Grade

17 Qs

Coding Quiz

Coding Quiz

6th - 10th Grade

15 Qs

2.3.1 Graph Traversal & Path Finding Algorithms

2.3.1 Graph Traversal & Path Finding Algorithms

12th Grade - University

20 Qs

Mobile app development principles

Mobile app development principles

10th Grade

17 Qs

Intro to Programming - AP CSP Unit 2 Review

Intro to Programming - AP CSP Unit 2 Review

Assessment

Quiz

Computers

9th - 12th Grade

Medium

Created by

Victoria Craig

Used 93+ times

FREE Resource

AI

Enhance your content in a minute

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

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Chad has written the majority of his code in Scratch and is ready to start thinking of test cases to make sure that his program functions properly, and when issues arise, fix them. Chad is also going to show his program to his classmate and ask for any feedback or changes he could add to make his program better. This process is known as what?

Iterative Development Process

Debugging

Pseudocode

Program Detection

2.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Which of the below options would be the best set of instructions to give for a program designed in Scratch?

Make your way through the maze! Avoid the brain-eating zombies and be sure to collect the “hearts” for extra lives. Good Luck!

Dodge zombies, gain lives, all while trying to make it through the maze! Click start to begin your exciting adventure.

Click on the GREEN flag. Once the game starts, use the arrow keys to navigate your way through the maze. In your travels, collect the “hearts” for more lives and avoid being eaten by zombies.

Ready, set, RUN!!!!! Use your skills and intelligence to weave your way through the maze, avoiding obstacles and prove that you’ve got what it takes to survive!

3.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Which of the following would be the most appropriate name for a variable?

variable1

t

amountOfTimeRemainingInTheGame

time_left

4.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

Consider the image above.


Which of the following values is displayed if the user inputs the following list of values for each prompt:

1 2 3 4 5 6 7 8 9 15

3

4

5

6

5.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

Assuming that before this code is run, x = 1. What would be displayed at the end?

210

16

8

1

6.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

What condition will make the following an infinite loop?

y = -108

y ≠ -3

y ≥ 8

y < -53

7.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Media Image

If the variables onTime and absent both have the value false, what is displayed as a result of running the code segment?

Is anyone there?

Better late than never.

Hello. Is anyone there?

Hello. Better late than never.

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?

Discover more resources for Computers