Which of the following is the BEST example of abstraction?
AP CSP Worksheet 2

Quiz
•
Computers
•
9th - 12th Grade
•
Medium
Thomas Maher
Used 1+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
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
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
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?
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
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
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
Similar Resources on Quizizz
15 questions
AP CSP Exam Review: Big Idea 3

Quiz
•
8th - 10th Grade
10 questions
21-22 Algorithms KS3

Quiz
•
9th Grade
9 questions
401.Week1-2

Quiz
•
9th Grade
15 questions
JavaScript Knowledge & Skills

Quiz
•
9th - 12th Grade
8 questions
AP CSP Unit 3 Simple Review

Quiz
•
9th - 12th Grade
15 questions
Introduction to Java

Quiz
•
10th Grade
15 questions
Searches

Quiz
•
9th Grade
12 questions
Computer Science

Quiz
•
3rd - 12th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Computers
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
20 questions
Chapter 3 - Making a Good Impression

Quiz
•
9th - 12th Grade
20 questions
Inequalities Graphing

Quiz
•
9th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University