Y9 Subroutines L3 AFL

Y9 Subroutines L3 AFL

8th Grade

10 Qs

quiz-placeholder

Similar activities

Small Basic Mid Point Review

Small Basic Mid Point Review

6th - 12th Grade

8 Qs

Python (Selection)

Python (Selection)

8th - 10th Grade

13 Qs

Scratch Lesson 2

Scratch Lesson 2

6th - 8th Grade

6 Qs

Y8 Hwk 4: Subroutines

Y8 Hwk 4: Subroutines

8th Grade

11 Qs

Python programming -recap

Python programming -recap

7th - 10th Grade

12 Qs

Scratch Lesson 3

Scratch Lesson 3

6th - 8th Grade

7 Qs

Algorithms and Flowol

Algorithms and Flowol

7th - 8th Grade

13 Qs

Python - Objective 1.1

Python - Objective 1.1

7th - 8th Grade

11 Qs

Y9 Subroutines L3 AFL

Y9 Subroutines L3 AFL

Assessment

Quiz

Computers

8th Grade

Medium

Created by

Naomi Bailey

Used 3+ times

FREE Resource

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

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?