
Chapter 5 APCSP

Quiz
•
Computers
•
9th - 12th Grade
•
Medium
Alexis Galt
Used 29+ times
FREE Resource
28 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What shape would be drawn with this algorithm?
A triangle with side length 100
A five-sided star
A pentagon with side length 100
A rectangle with side length 500
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How could you change this algorithm with parameters to draw any regular polygon with any side length?
I. Replace the 100 with a parameter for side length
II. Replace the 5 with a parameter for number of sides
III. Replace the 72 with 360 divided by parameter for number of sides
I and II
I, II, and III
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
This procedure should draw a square with side legth L, but it has a bug. How can you fix it?
Change the 90 to "get L"
Change the 50 to "get L"
Change the 4 to "get L"
Change the 90 and the 50 to "get L"
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What code should be added to the procedure so that increment(x) adds x to the variable z?
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Define a procedure named procTwoParams that multiplies its two parameters and assigns the result to the global variable Z.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which code would successfully navigate the robot to the shaded square?
moveAndTurn(1, 2)
moveAndTurn(3, 5)
moveAndTurn(0, 3)
moveAndTurn(3, 1)
moveAndTurn(6, 3)
moveAndTurn(3, 1)
moveAndTurn(2, 1)
moveAndTurn(5, 1)
moveAndTurn(2, 1)
moveAndTurn(2, 1)
moveAndTurn(5, 3)
moveAndTurn(2,0)
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which is a procedure that would NOT take a parameter?
A procedure that greets your user by name
A procedure that draws a line segment of a certain length
A procedure that doubles a number
A procedure that resets all of your global variables to 0
Create a free account and access millions of resources
Similar Resources on Wayground
25 questions
A2 CS General Knowledge Quiz

Quiz
•
12th Grade
30 questions
BULAN VOTEK - ASAS SAINS KOMPUTER TINGKATAN 3

Quiz
•
10th Grade
23 questions
Latihan Jelang UAS I XI

Quiz
•
11th Grade
30 questions
Kuis Pola Berpikir

Quiz
•
10th Grade
25 questions
MIDTERM - BOOLEAN PRACTICE

Quiz
•
12th Grade
25 questions
ASK Bab 3 F3

Quiz
•
9th - 12th Grade
25 questions
Algorithms - python (GCSE)

Quiz
•
10th - 12th Grade
30 questions
CS Unit1 : Problem Solving

Quiz
•
10th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
10 questions
1.2 OSI & TCP IP Models Quiz

Quiz
•
10th Grade
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
30 questions
Introduction to Computers

Quiz
•
8th - 9th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade
13 questions
Problem Solving Process

Quiz
•
9th - 12th Grade
20 questions
Hardware vs. Software Quiz

Quiz
•
7th - 10th Grade
10 questions
Understanding Algorithms with Pseudocode and Flowcharts

Interactive video
•
9th - 12th Grade