
SUBROUTINE 101
Authored by Odin Thor
Computers
9th Grade
Used 6+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
FILL IN THE BLANKS QUESTION
1 min • 1 pt
Write the code to call this subroutine.
the parameter must be "helen"
(a)
2.
FILL IN THE BLANKS QUESTION
1 min • 1 pt
Write the code to call this subroutine.
code should check if someone is a millennial.
(a)
3.
FILL IN THE BLANKS QUESTION
1 min • 1 pt
Write the code to call this subroutine.
The subroutine should check what user entered (INPUTTED) against the correct password secret.
(a)
4.
FILL IN THE BLANKS QUESTION
1 min • 1 pt
Write the line of code to call this subroutine.
Call subroutine with 5, 7
(a)
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What term is used to describe data passed into/out of a program?
Variable
Loop
Constant
Parameter
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Leo wants to create a subroutine that will roll a dice. Which syntax is correct?
def dice roll ():
def diceroll ()
def diceroll ():
def diceroll []:
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
If the user inputs "Connolly"into surname and "Luke" into first what would be output?
Error
Connolly Luke
Luke Connolly
Connolly Luke Connolly Luke
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 Microsoft
or continue with
%20(1).png)
Apple
Others
Already have an account?