











Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!












Summative Feedback: Resubmission Feedback:
1.2. Scenario of the chosen system
Figure 1: Example about Algorithm 1.3. Algorithm
Figure 2: Definition about Algorithm
Figure 4: Example about debugging tool
2.1. Hierarchy diagram:
Figure 5: Hierarchy diagram 2.2. Flowchart
Figure 6: Flowchart for menu
3.2. Code for program Figure 7: Code for program
3.3. Test and debug
Figure 8: Display menu
Figure 9: Display the price entered Press 2 to display the sale price:
Test case number Subjects to be inspected Pre-condition Step to take Input data Expected output Actual output Status Image 1 Input price entered Price entered is an integer +Press a a Input the number of price entered: a Input the number of price entered: a Please input again! Fail (Figure 13) 2 Input price entered Price entered is an integer +Press 3 3 Input the number of price entered: 3 Input the number of price entered: 3 Pass (Figure 14) 3 Input your choice Choice=x|| 0<x<5|| x is an integer +Press 5 5 Choose your selection: 5 Choose your selection: 5 Please Input from 1 to 4! Fail (Figure 15) 4 Input your choice Choice=x|| 0<x<5|| x is an integer +Press a a Choose your selection: a Choose your selection: a Please Input number! Fail (Figure 16) Table 1: Testing data case Figure 14: Input price entered Fail
Figure 15: Input price entered Pass Figure 16: Input your choice Fail Figure 17: Input your choice Fail