You are on page 1of 2

Lab Exercise 1 : Flowcharting

Question : Suppose we want to associate noise loudness measured in decibels


with the effect of the noise. The following table shows the relationship between
noise levels and human perception of noises.
Loudness in decibels
(db)
50 0r lower
51 - 70
71 - 90
91 110
Above 110

Perception
Quiet
Intrusive
Annoying
Very annoying
Uncomfortable

Rubrics for Lab Exercise 1 Solution :


Details
Start and Stop
Input
Output
Process:
Test db <=
Test db <=
Test db <=
Test db <=
Above 110

50
70
90
110

Correct use of symbols


Correct use of flowlines
Comments

Marks
2
2
2

2
2
2
2
2

2
1
1

Solution:
Start

Read db

db <= 50

db decibel
true

Perception =
Quiet

fals
db <= 70

true

Perception =
Intrusive

fals
db <= 90

true

Perception =
Annoying

fals
db <= 110

fals
Perception =
Uncomfortable

Print Perceception

Stop

true

Perception = Very
annoying

You might also like