Subroutines Python

Subroutines Python

10th Grade

8 Qs

quiz-placeholder

Similar activities

J277 - 2.2 - Functions in Python

J277 - 2.2 - Functions in Python

10th Grade - University

10 Qs

Python: Functions and Parameters

Python: Functions and Parameters

9th - 12th Grade

10 Qs

Functions

Functions

9th - 12th Grade

11 Qs

Python Quiz - 4

Python Quiz - 4

4th - 11th Grade

10 Qs

Functions and Procedures

Functions and Procedures

10th - 11th Grade

10 Qs

Intro to Python Final

Intro to Python Final

9th - 12th Grade

13 Qs

10 ԹԳՀԳ 2-րդ կիսամյակ ամփոփիչ գրավոր աշխատանք/ֆունկցիաներ/

10 ԹԳՀԳ 2-րդ կիսամյակ ամփոփիչ գրավոր աշխատանք/ֆունկցիաներ/

10th Grade

10 Qs

Boolean and If-Else Practice

Boolean and If-Else Practice

9th - 12th Grade

11 Qs

Subroutines Python

Subroutines Python

Assessment

Quiz

Computers

10th Grade

Medium

Created by

CALUM WOODHEAD

Used 19+ times

FREE Resource

8 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image
What will print?
nothing
5
6
an error message

2.

MULTIPLE CHOICE QUESTION

1 min • 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 []:

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a function?

A section of code that will return a value

A section of code that will return nothing

A section of code that will return a command

None of the above

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a Procedure?

A section of code that will return a value

A section of code that will return nothing

A section of code that will return a command

None of the above

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct way to start a procedure?

def

Def

define

(def)

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a subroutine?

Function

Procedure

Parameter

Functions and Procedures

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a benefit of using Subroutines?

More efficient

Takes longer to write

The code looks better

The program executes better

8.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What must go at the end of defining a Procedure?

():

[]:

()

: