CS1_Unit 5: Functions Test Review
Quiz
•
Computers
•
9th - 10th Grade
•
Easy
VIRENA MERLA
Used 19+ times
FREE Resource
Enhance your content in a minute
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What do you call the condition that stops recursion?
return
base case
stop
recurse
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What keyword is used to halt a function and go back to the calling code?
stop
base case
quit
return
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output when stairs = 0?
Up a step!
No more steps.
Up a step!
No more steps.
0 steps
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Every time you _ a function, the indented statements are run.
return
use
call
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the asterisk * do in a function argument?
allows more than one argument to be passed
creates a comment in the argument
assigns a default value to the argument
gives an error
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of countdown(3)
4
3
2
1
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which statement is a correct way to call the function?
makeASandwich("strawberry jelly")
makeSandwich("strawberry jelly")
makeAsandwich("strawberry jelly")
makeASandwich(jelly)
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
20 questions
BÀI KTTX SỐ 2
Quiz
•
9th Grade
15 questions
Informatika 9
Quiz
•
9th Grade
15 questions
Q1 W1 M1 PRE-TEST
Quiz
•
10th Grade
20 questions
OCR J275 Hardware Part B
Quiz
•
10th Grade
18 questions
School Mangement System ICT 0417 IGCSE
Quiz
•
10th - 12th Grade
20 questions
Latihan Soal Administrasi Infrastruktur Jaringan XII TKJ
Quiz
•
10th - 12th Grade
17 questions
Ergonomics and Keyboard
Quiz
•
9th Grade
20 questions
Pemrograman Dasar 3
Quiz
•
9th - 12th Grade
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
