AP CSP Semester 1 Practice

AP CSP Semester 1 Practice

Assessment

Flashcard

Computers

9th - 12th Grade

Hard

Created by

Quizizz Content

FREE Resource

Student preview

quiz-placeholder

80 questions

Show all answers

1.

FLASHCARD QUESTION

Front

How many times will this loop iterate?

Back

6

2.

FLASHCARD QUESTION

Front

Which are true regarding high-level and low-level programming languages?
I. High-level can be more abstract
II. Low-level is harder to find errors
III. High-level is more easily understood by humans.

Back

I, II, and III

3.

FLASHCARD QUESTION

Front

How many binary digits are needed to write the decimal number 999?

Back

10

4.

FLASHCARD QUESTION

Front

Which of the following is an example of abstraction? Writing a function for code you repeat often, Using logic symbols like < and >, Numbers are converted from one base to another, There is an error in the code

Back

Writing a function for code you repeat often

5.

FLASHCARD QUESTION

Front

Which of the following tasks would best be accomplished by a LOOP? Options: Drawing a circle of any size on the screen, Drawing a hexagon (6 sided shape), Drawing out the letters of the word "HELLO", Determining whether a number is odd or even

Back

Drawing a hexagon (6 sided shape)

6.

FLASHCARD QUESTION

Front

Why are parameters useful when programming?

Back

Parameters allow for more flexible, generalized behaviors in functions.

7.

FLASHCARD QUESTION

Front

Finding and fixing problems in your algorithm or program

Back

debugging

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?