AP CSP Unit 1 Quiz 1

Last updated about 5 years ago
10 questions
1

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?

1

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?

1

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?

1

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?

1

Which of the following statements about low-level languages are true?
Select TWO answers:

1

The process by which computer programs are designed, developed and tested in repeated cycles is known as the:

1

A process or set of instructions to be followed in calculations or other problem solving operations is an:

1

Uncertainty or being open to more than one interpretation is known as:

1

The processor or brains of the computer where calculations take place and instructions from programs are carried out is known as the:

1

The process of source code being translated into machine code is known as: