SUBROUTINE 101

SUBROUTINE 101

9th Grade

10 Qs

quiz-placeholder

Similar activities

Chapter 7: System life cycle

Chapter 7: System life cycle

9th - 11th Grade

15 Qs

operators(part-1)

operators(part-1)

9th Grade

10 Qs

2025 python class first quiz

2025 python class first quiz

9th Grade - University

10 Qs

Python Intro

Python Intro

8th - 9th Grade

10 Qs

Python List

Python List

4th Grade - University

15 Qs

Programming Constructs

Programming Constructs

5th - 11th Grade

10 Qs

LA5.C5: Branching and Subroutines

LA5.C5: Branching and Subroutines

9th Grade - University

14 Qs

SUBROUTINE 101

SUBROUTINE 101

Assessment

Quiz

Computers

9th Grade

Practice Problem

Medium

Created by

Mr Massett

Used 6+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

10 questions

Show all answers

1.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Media Image

Write the code to call this subroutine.

the parameter must be "helen"

2.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Media Image

Write the code to call this subroutine.

code should check if someone is a millennial.

3.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Media Image

Write the code to call this subroutine.

The subroutine should check what user entered (INPUTTED) against the correct password secret.

4.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Media Image

Write the line of code to call this subroutine.

Call subroutine with 5, 7

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

Media Image

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

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?