Search Header Logo
2.1.3 Thinking procedurally

2.1.3 Thinking procedurally

Assessment

Presentation

Computers

12th Grade

Practice Problem

Easy

Created by

Roy Duguid

Used 3+ times

FREE Resource

18 Slides • 6 Questions

1

media

2

media

Teams> Component 2 > Thinking Procedurally > Complete Do Now

3

media

4

media

5

Open Ended

Define decomposition:

6

media

7

media

8

media

9

media

10

Draw

Number the order you think this would be executed:

11

media

12

Categorize

Options (17)

Programs are more easily and quickly written

Large programs are broken down into subtasks/subroutines that are easier to program and manage

Each subroutine (i.e. module) can be individually tested

Modules can be re-used several times in a program

Frequently used modules can be saved in a library and used by other programs

Modularisation improves code readability and maintainability

It allows for parallel development, enabling multiple programmers to work on different modules simultaneously

Changes in one module can be made with minimal impact on other modules

Increased complexity in program structure

Overhead of managing multiple modules

Potential for performance issues due to inter-module communication

Learning curve for new developers unfamiliar with modular design

Dependency management can become cumbersome

Modules may become too interdependent, negating benefits

Initial setup time for modular architecture can be high

Debugging can be more challenging due to module interactions

  • Several programmers can simultaneously work on different modules, shortening development time​

Organize these options into the right categories

Benefits of modularisation
Not Beneficial

13

media

14

media

15

Draw

A public library needs a program to manage its book collection, member accounts, and borrowing history. The program will allow the library to add, update, and remove books and members, and record the borrowing and returning of books, including late fees. Produce a structure diagram to show a top-down design of the program with at least three stages of refinement.

16

Draw

Produce a structure diagram to show top-down modular design for a mobile phone solution. For the purpose of this exercise, assume a very simple mobile phone, focusing on main features such as making calls, sending text messages, using the contact list, etc. Ignore all the many features available on a modern smartphone.

17

Draw

A school wants a program to manage its pupils’ details. In one part of the program, the school will keep a record of all pupils in the school, including when they joined and when they applied, and remove the pupil when they leave the school. In another part of the program, the school wants to keeps a record of each pupil’s attendance. In a third part, the school wants to track the funds it receives from the LEA for each pupil and where the money is being spent. Produce a structure diagram to show a top-down design of the computer program, with at least three stages of step-wise refinement.

18

media

19

media

20

media

21

media

22

media

23

media

24

media
media

Show answer

Auto Play

Slide 1 / 24

SLIDE