ECDL Python Lesson 11 subroutines

ECDL Python Lesson 11 subroutines

6th - 12th Grade

30 Qs

quiz-placeholder

Similar activities

GCSE Revision Paper 2 (1)

GCSE Revision Paper 2 (1)

9th - 12th Grade

34 Qs

subroutines

subroutines

12th Grade

28 Qs

Python Functions and Parameters Review

Python Functions and Parameters Review

9th - 12th Grade

29 Qs

Programming Basic Concepts

Programming Basic Concepts

12th Grade

30 Qs

Variable Types, Functions Review

Variable Types, Functions Review

9th - 12th Grade

26 Qs

Python Vocab

Python Vocab

9th - 12th Grade

34 Qs

Python

Python

5th - 9th Grade

32 Qs

9.2 Assessment Python

9.2 Assessment Python

9th Grade

28 Qs

ECDL Python Lesson 11 subroutines

ECDL Python Lesson 11 subroutines

Assessment

Quiz

Computers

6th - 12th Grade

Medium

Created by

Monica Tele

Used 10+ times

FREE Resource

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What would the output be for the following program if the user enters 4 and 6?

10

14

16

error

2.

MULTIPLE CHOICE QUESTION

30 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

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

John wants to create a subroutine in python that will roll a dice. Which is the correct method below?

DEFINE diceroll:INTEGER

def diceroll[]:

def diceroll():

def diceroll:

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Norah wants to print her multiplication equation of 12 x 12. What code should she add below?

print (multiply)

a = 12

b = 12

answer = a * b

print(multiply(12, 12))

print(multiply(12 * 12))

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

"Declaration" refers to...

Storing data in variables

Creating variables

Repeating sections of code

Checking a condition to see which piece of code to run next

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

"Iteration" refers to...

Storing data in variables

Creating variables

Repeating sections of code

Checking a condition to see which piece of code to run next

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A loop within a loop is...

Definite iteration

Indefinite iteration

Nested iteration

Reverse Polish iteration

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?