L6 subprograms warmup

L6 subprograms warmup

12th Grade

11 Qs

quiz-placeholder

Similar activities

Test, Track and Trace

Test, Track and Trace

10th - 12th Grade

15 Qs

Intro To Comp Sci: U1 L4

Intro To Comp Sci: U1 L4

9th - 12th Grade

10 Qs

1.2.4. Types of Programming Language

1.2.4. Types of Programming Language

12th Grade

12 Qs

SMBCAE XII

SMBCAE XII

12th Grade

15 Qs

Python Definitions

Python Definitions

10th - 12th Grade

12 Qs

Codecombat Computer Science

Codecombat Computer Science

9th - 12th Grade

15 Qs

PYTHON(LIBRARIES)

PYTHON(LIBRARIES)

12th Grade

10 Qs

10 question quiz on identifying and correcting errors

10 question quiz on identifying and correcting errors

9th - 12th Grade

10 Qs

L6 subprograms warmup

L6 subprograms warmup

Assessment

Quiz

Computers

12th Grade

Easy

Created by

Gyorgy Denes

Used 2+ times

FREE Resource

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

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?