AP CSP Worksheet 2

AP CSP Worksheet 2

9th - 12th Grade

10 Qs

quiz-placeholder

Similar activities

HTML & Google Site Seatwork

HTML & Google Site Seatwork

12th Grade

10 Qs

Komputer

Komputer

10th Grade

15 Qs

Cyber Security Homework 1

Cyber Security Homework 1

7th - 9th Grade

15 Qs

Kuis Dadakan ;)

Kuis Dadakan ;)

10th Grade - University

15 Qs

Паскаль. Основные команды

Паскаль. Основные команды

8th - 11th Grade

10 Qs

ICT as Social Change

ICT as Social Change

12th Grade

10 Qs

Evaluasi Materi Integrasi Aplikasi Office

Evaluasi Materi Integrasi Aplikasi Office

10th Grade

15 Qs

สอบย่อย ครั้งที่ 1 (BC.2/2)

สอบย่อย ครั้งที่ 1 (BC.2/2)

11th Grade

10 Qs

AP CSP Worksheet 2

AP CSP Worksheet 2

Assessment

Quiz

Computers

9th - 12th Grade

Practice Problem

Medium

Created by

Thomas Maher

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

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

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is the BEST example of abstraction?

A program that has Karel place a ball in each corner

A main function that is used to list all the steps of a program

A loop that has Karel move in a 2 by 2 square

A function that allows Karel to turn right

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Why do we use abstraction?

Abstraction helps us to make our programs run faster

Abstraction helps us to make our programs longer

Abstraction helps us manage program complexity

All of these choices

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which statement about API (Application Programming Interface) is most accurate?

APIs help making programming easier by using abstraction to provide building blocks for developers

APIs are only used by software engineers to develop programming languages

APIs replace the need for documentation in a program

All of the these options.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

The AP CSP exam uses the following to repeat a block of statements n times:

Almost There ... Almost There ... Almost There ... Made it!

Almost There ... Almost There ... Almost There ... Made it!

Almost There ... Made it! Almost There ... Made it! Almost There ... Made it!

Almost There ... Made it! Almost There ... Made it! Almost There ... Made it!

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Given the following grid, which of the following programs will move Karel to the gray square and face the same direction he is currently facing?

Media Image
Media Image
Media Image
Media Image

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

In the AP CSP pseudocode language, DISPLAY(expression) displays the expression followed by a space.

Given the following program, and AGE is equal to 18, what will the program print?

You are old enough to vote

You are old enough to vote You are not old enough to vote

You are old enough to vote You are old not enough to vote

You are not old enough to vote

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Given the following programs, which of the following will result in Keep it up! being displayed?

88 or 89 will display Keep it up!

89 or 90 will display Keep it up!

90 or 91 will display Keep it up!

Only 90 will display Keep it up!

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?