Search Header Logo

L6 subprograms warmup

Authored by Gyorgy Denes

Computers

12th Grade

Used 2+ times

L6 subprograms warmup
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

11 questions

Show all answers

1.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

The purpose of a subprogram in programming is to...

(more than 1 answers possible)

make testing easier

allow programmers to work on different problems in parallel

make code longer and less readable.

enable the reuse of code

2.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Which Python keyword allows you to create a new subprogram?

3.

FILL IN THE BLANK QUESTION

1 min • 1 pt

A subprogram that does not return any values is called a...

4.

FILL IN THE BLANK QUESTION

1 min • 1 pt

A subprogram that returns some value is called a...

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Is this a function or a procedure?

function

procedure

both

neither

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Is this a function or a procedure?

function

procedure

both

neither

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Given the following code, which line will be executed first?

1

6

13

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?