
Parameters and Return Review
Authored by Sarah Chapa
Computers
9th - 12th Grade
Used 99+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
19 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the parameter?
hasVowel
str
lower
true
false
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What is the name of the function?
hasVowel
str
lower
true
false
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the argument for pigify?
updateScreen
statement
text
str
list
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
8 % 2 =
0
1
2
3
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
5 % 2 =
0
1
2
3
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
7 % 3 =
0
1
2
3
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which code segment results in "true" being returned if a number is odd? Replace "MISSING CONDITION" with the correct code segment.
num % 2 == 0;
num % 0 == 2;
num % 1 == 0;
num % 2 == 1;
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?