Search Header Logo
[igCS] 2020 PM 23

[igCS] 2020 PM 23

Assessment

Presentation

Computers

10th Grade

Easy

Created by

Andy tsui

Used 1+ times

FREE Resource

8 Slides • 7 Questions

1

[igCS] 2020 PM 23

Baguette ordering system

Slide image

2

Analyze the problem

  • Study the material and highlight important points

3

Multiple Choice

How many sizes of baguette is available

1

2

2

3

3

4

4

5

4

Multiple Choice

How many fillings are available?

1

1

2

4

3

5

4

6

5

Multiple Choice

How many salad you can add in a bread?

1

1

2

2

3

3

4

4

5

5

6

Open Ended

It said data must be validated on entry. Suggest the most appropriate validation rule for inputting type of bread.

7

Open Ended

What is the most appropriate validation for bread size? Explain.

8

Design

  • Determine the modules in the program

  • Determine the flow of the program

  • Design how the Input and Output should look like

  • Data storage (variable in this case)

  • Validation types

  • Test Plan

9

Let's draw a structural diagram

A structural diagram break down the problem in smaller, simpler modules

10

Open Ended

List the Major modules in the tasks.

11

The main flow of the program

In flow chart

12

Design the Input/Output (User interface) for taking ONE order

Task 1

13

Design a data dictionary for Task 1

  • It should include: name of the variable, data type, validation rule / format, description, example data

  • Draw in a table

  • Pay extra attention on how to store the salad as number of salad is not fixed

14

Open Ended

After the customer confirms the order, the order will be given an unique order number. How will that order number generated?

15

We need to store the order for the next two tasks

  • Use Parallel Arrays

  • i.e. a few same sized array to store different fields of the data

  • We can use the array index as order number (unique)

[igCS] 2020 PM 23

Baguette ordering system

Slide image

Show answer

Auto Play

Slide 1 / 15

SLIDE