Search Header Logo

Y9 Subroutines L3 AFL

Authored by Naomi Bailey

Computers

8th Grade

Used 3+ times

Y9 Subroutines L3 AFL
AI

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.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

What Python code is used to output a message to the user?

print()

def

return

output

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Media Image

What is the name of the subroutine in this program?

number

double

timesTwo

return

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Media Image

On what line is mySubroutine called (run)?

1

2

3

4

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Media Image

On what line is mySubroutine defined (created)?

1

2

3

4

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Media Image

What is the output of this program?

mySubroutine

message

return

Hi

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What statement is used to pass a value back to the main program from a subroutine without outputting it?

return

print()

def

pass

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the first output of this program?

Ciao

Hello

Bonjour

Hallo

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?