Search Header Logo
Subprograms

Subprograms

Assessment

Presentation

Computers

9th - 10th Grade

Medium

Created by

Calum Gordon

Used 21+ times

FREE Resource

9 Slides • 12 Questions

1

Subprograms

Functions and Procedures

media

2

media

3

media

4

Multiple Select

Question image

In this lesson I am going to learn to ... ?

1

Create functions

2

Create procedures

3

Use separation of concerns

4

Work as part of a team

5

Multiple Choice

Main difference between a function and a procedure?

1

Functions return somethng while Procedures don't

2

Procedures return somethng while Functions don't

3

Procedures are longer than functions

4

Functions are more complicated than Procedures

6

media

7

Multiple Choice

Which is the best definition of a 'subprogram'?

1

A small independent computer program

2

A piece of code that can not run independently of a main program

3

A badly written piece of code

4

A named block of code that usually carries out a single action or returns a result

8

Multiple Select

Select all the valid reasons for using subprograms ...

1

To take advantage of previously written and tested blocks of code

2

To able to easily reuse a block of code sevevral times

3

To provide structure to a program

4

To allow different programmers to work on seperate parts of a program

9

media

10

Multiple Choice

Which symbol is NOT a valid one in a flowchart?

1
2
3
4

11

media

12

Multiple Choice

Which is correct the flowchart symbol for calliing a subprogram?

1
2
3
4

13

media

14

Fill in the Blank

The point at which each part of a program interacts with another part is called the _________

15

Multiple Select

Select all the advantages of having a 'separation of concerns' in a programming team.

1

Different programmers can work on different modules

2

Individual modules can be developed and tested independently from the main program

3

More efficient use of programmers time

4

Final program will run faster

16

Multiple Choice

Question image

Why do you think subprograms are also known as 'black boxes'?

1

Because they have a top, middle and bottom

2

Because the internal functioning of the subprogram is not relevant to the programmer

3

Because nobody understands how they work

4

Because it sounds like a cool name

17

media

18

media

19

Multiple Select

Question image

In this lesson I have learned to ...

1

Create functions and procedures

2

Use separation of concerns

3

c

4

d

20

Open Ended

Question image

Thinking Hard

Reduce the key argument in today’s lesson into exactly 12 words...

(press Shift+Enter to take a new line ...)

21

Poll

Question image

How much of this lesson have you understood?

None of it

Some of it

Most of it

All of it

Subprograms

Functions and Procedures

media

Show answer

Auto Play

Slide 1 / 21

SLIDE