
AP CSP: Checkpoint 1
Quiz by Praise
Feel free to use or edit a copy
includes Teacher and Student dashboards
Measure skillsfrom any curriculum
Tag the questions with any skills you have. Your dashboard will track each student's mastery of each skill.
- edit the questions
- save a copy for later
- start a class game
- automatically assign follow-up activities based on students’ scores
- assign as homework
- share a link with colleagues
- print as a bubble sheet
- Q1
What is a program?
A sequence of numbers used in computing
A set of instructions that tells our computer to do something
A type of computer hardware
A single line of code that performs a specific action
120s - Q2
What does a statement in programming refer to?
A set of rules that a program must follow
A single line of code that tells a computer to perform a specific action
A paragraph describing the program's purpose
A sequence of instructions that solves a problem
120s - Q3
Which of the following best describes a code segment?
A single statement in a program
A sequence of steps to solve a problem
A group of statements that work together to perform a specific action
A method that takes arguments
120s - Q4
What is an algorithm?
A sequence of instructions that can be used to solve a problem
A single line of code in a program
A method call with arguments
A comment explaining how a code segment works
120s - Q5
What is meant by 'sequencing' in programming?
The act of writing code in a specific language
The method of breaking down a complex problem into smaller parts
The process of debugging a program
The act of completing the action described by a statement in the order in which it is given within a program
120s - Q6
What does the term 'decomposition' refer to in problem-solving?
Sequencing the execution of a program
Breaking down a complex problem into smaller subgoals and steps
Documenting the code with comments
Writing a program from start to finish without breaks
120s - Q7
Which of the following describes a method call?
A single line of code that solves a problem
A group of statements that execute in sequence
A command that contains an object, a method, and an argument
A comment explaining the program’s purpose
120s - Q8
What is the purpose of documentation in a program?
To execute a sequence of instructions
To create method calls with arguments
To describe how code segments work, often by writing comments
To organize the code into segments
120s - Q9
What role does an argument play in a method call?
It contains information that describes how an action will be performed
It provides documentation for the method
It defines the object that will perform the action
It is the action the object performs
120s - Q10
How is the execution of statements typically carried out in a program?
Bottom to top, left to right
Right to left, top to bottom
Top to bottom, left to right
In any order determined by the programmer
120s - Q11
What are the two types of numeric data types in Python?
Integers and Floats
Strings and Substrings
Integers and Characters
Floats and Booleans
120s - Q12
Which of the following is an example of a float?
-2
2.3
100
2663
120s - Q13
Which of these is not an integer?
-4
2663
36.33
100
120s - Q14
Which of the following best describes a string in Python?
A sequence of characters often used to represent text
A sequence of numbers
A method for counting integers
A type of numeric data
120s - Q15
What must be used to enclose a sequence of characters when creating a string in Python?
Brackets [ ]
Quotation mark " "
Parentheses ( )
Curly braces { }
120s