CMU CS1 Unit 2 review
Quiz
•
Computers
•
9th - 12th Grade
•
Hard
Mary Needham
Used 2+ times
FREE Resource
Student preview

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
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade