Python functions and procedures

Python functions and procedures

10th - 11th Grade

8 Qs

quiz-placeholder

Similar activities

hardware and software(g3)

hardware and software(g3)

2nd - 10th Grade

10 Qs

Latihan Soal PTS Kelas 6 Semester 1

Latihan Soal PTS Kelas 6 Semester 1

10th Grade

10 Qs

Microcontroller

Microcontroller

11th Grade - University

10 Qs

MODULE 9 PRE-TEST

MODULE 9 PRE-TEST

10th Grade

10 Qs

ZOOM QUIZ

ZOOM QUIZ

1st - 12th Grade

10 Qs

loop while/do while

loop while/do while

7th - 12th Grade

10 Qs

Pemograman Dasar Kelas X TKJ 2020

Pemograman Dasar Kelas X TKJ 2020

10th Grade

10 Qs

1.8 Open Source & Closed Source TRUE or FALSE

1.8 Open Source & Closed Source TRUE or FALSE

10th Grade

10 Qs

Python functions and procedures

Python functions and procedures

Assessment

Quiz

Computers

10th - 11th Grade

Practice Problem

Hard

Created by

Dean Whittle

Used 25+ times

FREE Resource

AI

Enhance your content in a minute

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

8 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which one of these is NOT a reason to use a subroutine?

Small, so easy to write, test and debug

Can be saved as separate modules so can be used in other programs

Can be used repeatedly within a program

Automatically adds comments in to the program

2.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Which type of subroutine is used to perform a specific task?

3.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Which type of subroutine is used to return a result?

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What type of subroutine is this?

Function

Procedure

5.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Media Image

What is the name of this subroutine?

6.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Media Image

What is the parameter that is being input in to this subroutine?

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which one of these is used to put a value into the memory for use elsewhere in the program?

print

import

return

output

8.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these command words is used to tell the program to use a variable outside of the subroutine?

print

return

global

def