
CMU CS1 Unit 2 review
Authored by Mary Needham
Computers
9th - 12th Grade
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
7 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In the code below, what is 'c' an example of?
parameter
argument
function
variable
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a legal name for a variable?
def
None
redLabel
5stars
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following are the parameter(s) of this sayHello function?
color
labelSize
sayHello has arguments, not parameters
color and labelSize
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following would be a legal function call for the given code?
sayHello(20, 'blue')
sayHello(20, 60)
sayHello('white', 40)
sayHello('yellow', 'pink')
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How many shapes are drawn according to this code?
2
3
6
9
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which properties of the Star below correspond to a value of 200 and 250 respectively?
h.radius and h.points
h.centerX and h.centerY
h.centerX and h.radius
h.points and h.radius
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which properties of the Star below correspond to a value of 40 and 6 respectively?
h.radius and h.points
h.centerX and h.centerY
h.centerX and h.radius
h.points and h.radius
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?
Popular Resources on Wayground
8 questions
Spartan Way - Classroom Responsible
Quiz
•
9th - 12th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
14 questions
Boundaries & Healthy Relationships
Lesson
•
6th - 8th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
3 questions
Integrity and Your Health
Lesson
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
9 questions
FOREST Perception
Lesson
•
KG
20 questions
Main Idea and Details
Quiz
•
5th Grade
Discover more resources for Computers
10 questions
Navigating Digital Citizenship and Online Safety
Interactive video
•
6th - 10th Grade
20 questions
Computer / Internet Companies
Quiz
•
9th Grade
10 questions
Exploring the Basics of Google Sheets
Interactive video
•
9th Grade
10 questions
Exponent Rules
Quiz
•
9th - 12th Grade
20 questions
JavaScript - Karel
Quiz
•
9th - 10th Grade