Subprograms

Subprograms

9th Grade

10 Qs

quiz-placeholder

Similar activities

LOOPS

LOOPS

7th - 9th Grade

10 Qs

Boolean and If-Else Practice

Boolean and If-Else Practice

9th - 12th Grade

11 Qs

Unit 6 Review

Unit 6 Review

9th - 12th Grade

10 Qs

CodeHS 3.1 - 3.3

CodeHS 3.1 - 3.3

9th - 12th Grade

12 Qs

Quiz Kelas 9 Bab 6 (Pemecahan Masalah Komputasi dgn Subprogram)

Quiz Kelas 9 Bab 6 (Pemecahan Masalah Komputasi dgn Subprogram)

9th Grade

10 Qs

soal sumatif 3 kelas 9

soal sumatif 3 kelas 9

9th Grade

15 Qs

Informatika 2 Kelas 9

Informatika 2 Kelas 9

9th Grade

10 Qs

AP Computer Science Principles Unit 3

AP Computer Science Principles Unit 3

9th - 12th Grade

10 Qs

Subprograms

Subprograms

Assessment

Quiz

Computers

9th Grade

Hard

Created by

Amanda Ram

Used 6+ times

FREE Resource

10 questions

Show all answers

1.

FILL IN THE BLANK QUESTION

1 min • 1 pt

What is another word for Subprograms?

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is an argument?

The value passed to the subprogram.

A subprogram that does not return a value.

The variable in the subprogram that receives the value passed.

A subprogram that returns a value.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a parameter?

The value passed to the subprogram.

A subprogram that does not return a value.

The variable in the subprogram that receives the value passed.

A subprogram that returns a value.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Complete the following sentence by choosing the correct (most appropriate) word from below


"To get a subprogram to run, we have to ________ it from somewhere in the program

RUN

CALL

PERFORM

EXECUTE

5.

MULTIPLE CHOICE QUESTION

2 mins • 3 pts

Media Image
Which of the following best describes the order in which these lines are processed in Python?
4, 1, 2
4, 2, 1
1, 2, 3, 4
3, 1, 2

6.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

Which of the following are advantages of using subprograms?

(Select all that apply)

They make code easier to read

They make code easier to debug

Reduces duplicate code within a program

Allows code to be "reused" by different programmers

7.

LABELLING QUESTION

1 min • 2 pts

Label the parts of the subprogram in line 1 and line 6.

a
b
argument
parameter

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?