Log in
Sign up for FREE
arrow_back
Library

AP CSP Unit 1 Quiz 1

star
star
star
star
star
Last updated over 5 years ago
10 questions
1
1
1
1
1
1
1
1
1
1
Question 1
1.

Question 2
2.

Question 3
3.

Question 4
4.

Question 5
5.

Question 6
6.

Question 7
7.

Question 8
8.

Question 9
9.

Question 10
10.

Which of the following terms best describes the process of suppressing complex details of a
system and presenting a simplified version with just the relevant details?
Abstraction
Programming
Creativity
Free Thinking
A programmer completes the user manual for a video game she has developed and realizes
she has reversed the roles of “goats” and “sheep” throughout the text.
Consider the programmer’s goal of changing all occurrences of “goats” to “sheep” and all
occurrences of “sheep” to “goats.” The programmer will use the fact that the word “foxes”
does not appear anywhere in the original text.

Which of the following algorithms can be used to accomplish this?
First, change all occurrences of “goats” to “sheep”, and then change all occurrences of
“sheep” to “goats”.
First, change all occurrences of “goats” to “sheep,” then change all occurrences of
“sheep” to “foxes” and then change all occurrences of “foxes” to “goats”.
First, change all occurrences of “goats” to “foxes,” then change all occurrences
of “sheep” to “goats” and then change all occurrences of “foxes” to “sheep”.
First, change all occurrences of “goats” to “foxes,” then change all occurrences of
“foxes” to “sheep” and then change all occurrences of “sheep” to “goats”.
Chad has written the majority of his code in Scratch and is ready to start running his program
using a variety of carefully chosen conditions to see if it functions properly in all these cases.
Which of the following software development terms best describes this process?
Testing
Debugging
Implementing
Maintaining
The owner of a pet store wants to determine how many fish she can keep in a given
aquarium before the population becomes too overcrowded for the fish to survive. Rather than
risking the lives of actual fish, she decides to simulate an aquarium with a program in order to
determine its maximum capacity. Which of the following would NOT be a useful factor to include
when modeling the properties of the simulated tank and fish population?
The color of the fish
The size of the tank
The size of the fish
The amount of food in the tank
Which of the following statements about low-level languages are true?
Select TWO answers:
They are very rarely ambiguous
They are generally less readable by humans than other languages
They are difficult for machines and humans to parse
They are relatively easy for humans to write
The process by which computer programs are designed, developed and tested in repeated cycles is known as the:
iterative development process
visual programming language
Central Processing Unit (CPU)
abstraction
A process or set of instructions to be followed in calculations or other problem solving operations is an:
ambiguity
algorithm
iteration
abstraction
Uncertainty or being open to more than one interpretation is known as:
sequencing
iteration
ambiguity
algorithm
The processor or brains of the computer where calculations take place and instructions from programs are carried out is known as the:
abstraction
iterative development process
Central Processing Unit (CPU)
visual programming language
The process of source code being translated into machine code is known as:
abstraction
binary
compilation
iteration