
AP CSP Unit 1
Authored by Shane Stockman
Computers
9th - 12th Grade
Used 106+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
40 questions
Show all answers
1.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Which of the following best describe examples of abstraction?
Select two answers.
A series of steps for creating a model airplane is laid out in a clear order, with specific instructions in great detail for completing each step.
Several developers are working on a program together. In order to complete the work efficiently, they split the program up into several parts, and each work on a section, testing as they proceed. When code is complete they add it to a master program.
A sheet of music for guitar is written as a series of chords (e.g C, Am, G7). Each of these represents multiple notes which are played simultaneously on different strings of a guitar.
A developer writing a program for calculating properties of shapes uses a variable pi to store a decimal approximation of the number π (~3.14159). They use this variable whenever they need to use the number π to calculate an area or volume.
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Rick is in charge of a team developing a program which will be used by businesses to control stock. The team has already consulted with potential clients and developed an idea of what inputs will be required and the likely outputs that will be produced from these inputs. Which of the following should Rick and his team do next?
Write segments of code in different languages to see which language will be most suitable for the job.
Plan the structure of the program and determine how the major algorithms will work.
Make a list of bugs which will occur during development and propose ways these could be fixed.
Decide on the schedule for updates and maintenance of the code.
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which of the following is a simplified but equivalent Boolean expression to the following:
(X > 0 AND X ≤ 20) OR (X > -5 AND X < 15)`
(X < -5) AND (X ≥ 20)
(X > 0) AND (X < 15)
(X < 0) AND (X > 15)
(X > -5) AND (X ≤ 20)
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Consider constructing an algorithm for a robot that can only perform the following three predefined operations.
MOVE_FORWARD ( ): The robot moves one square forward in the direction it is facing.
ROTATE_LEFT ( ): The robot rotates in place 90 degrees counterclockwise (i.e., makes an in-place left turn).
ROTATE_RIGHT ( ): The robot rotates in place 90 degrees clockwise (i.e., makes an in-place right turn).
Which of the following algorithms could successfully cause the robot to trace out a “T”-shaped path as drawn above?
Step 1: MOVE_FORWARD ( )
Step 2: ROTATE_LEFT ( )
Step 3: ROTATE_LEFT ( )
Step 4: MOVE_FORWARD ( )
Step 5: ROTATE_RIGHT ( )
Step 6: MOVE_FORWARD ( )
Step 1: MOVE_FORWARD ( )
Step 2: MOVE_FORWARD ( )
Step 3: ROTATE_LEFT ( )
Step 4: MOVE_FORWARD ( )
Step 5: MOVE_FORWARD ( )
Step 6: ROTATE_RIGHT ( )
Step 7: ROTATE_RIGHT ( )
Step 8: MOVE_FORWARD ( )
Step 1: MOVE_FORWARD ( )
Step 2: MOVE_FORWARD ( )
Step 3: ROTATE_RIGHT ( )
Step 4: MOVE_FORWARD ( )
Step 5: ROTATE_RIGHT ( )
Step 6: ROTATE_RIGHT ( )
Step 7: MOVE_FORWARD ( )
Step 1: MOVE_FORWARD ( )
Step 2: MOVE_FORWARD ( )
Step 3: ROTATE_LEFT ( )
Step 4: ROTATE_LEFT ( )
Step 5: MOVE_FORWARD ( )
Step 6: ROTATE_RIGHT ( )
Step 7: MOVE_FORWARD ( )
Step 8: MOVE_FORWARD ( )
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Jama is creating a program which calculates the square roots of whole numbers. The program will store the results of each square-root as a variable. Which of the following data-types would be best used for this variable?
int
bool
string
float
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Roxanne is writing a program which will be used to display information to passengers on a flight. Some of the variables she will use for her program are as follows.
speed - the current speed of the airplane relative to the ground in meters per second
passengers - the number of passengers on-board the plane
destination - the name of the destination airport of the flight
Which of the following correctly describes the types which would be best used for each of these variables?
speed - string, passengers - int, destination - float
speed - float, passengers - string, destination - int
speed - float, passengers - int, destination - string
speed - int, passengers - float, destination - string
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which of the following describes algorithmic solutions to problems:
I. A set of step by step instructions for assembling a piece of furniture.
II. A flowchart used to make important decisions on which actions to take in an emergency situation
III. A recipe for baking a cake with detailed numbered steps to follow
I, II, and III
I and III only
II and III only
I and II only
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
45 questions
TryOut Ujian Sekolah Pengetahuan - TIK SMP N 1 JEPARA
Quiz
•
12th Grade
44 questions
Movies
Quiz
•
2nd Grade - Professio...
40 questions
Remidi DKV1
Quiz
•
10th Grade
40 questions
Pemrograman1
Quiz
•
10th Grade
35 questions
naprawa podzespołów i systemu operacyjnego
Quiz
•
9th - 12th Grade
39 questions
ข้อสอบโลกดาราศาสตร์
Quiz
•
10th Grade
38 questions
Cyber 1 Module 1 Review
Quiz
•
10th Grade
40 questions
ULANGAN HARIAN DASAR DESAIN GRAFIS
Quiz
•
10th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade