EXAM

LIST OF :

1. ICT QUESTION TRIAL SPM 2013 - SECTION B

2. SPM ICT ANALYSIS


EXAMPLE

PROGRAMMING QUESTION 

SECTION C [14 marks] TRIAL SPM 2010 K.LANGAT

31.  (a) Psedudocode or flow chart

Pseudocode
Mula
                        Diskaun = 0.05
                        Masukkan harga barangan
                        Harga baru = harga barangan – (harga barangan * diskaun)
                        Paparkan harga baru
            Tamat
           
OR



J  2 Terminators – 1 mark, input – 1 mark, process – 1 mark, output – 1 mark

(b)   Discount because it is fixed for every item.
J  1 mark for Discount, 1 mark for justification

            Variable – harga barangan // harga baru // any relevant answer.
J  1 variable – 1 mark only

No comments:

Post a Comment