Académique Documents
Professionnel Documents
Culture Documents
1. A teacher needs to obtain the places of students according to the marks they obtained for the mid-
term test. To create a computer program for this purpose there are two ways of creating an
algorithm.
i) Draw a flow chart to calculate the total sum of the marks first, then calculate the
average and from that calculate the places of the student.
ii) Write the pseudo code for the above flow chart.
iii) If we use visual basic software to make a simple calculator to add 2 numbers, draw a
suitable program interface for it.
iv) Label the suitable names for Command buttons, Labels, and Text boxes in it.
( Example: lblCal )
v) Write the VB code for the command button to add the two numbers in the above
program.
m%no
q O
a Y%u
S d,a - www.apepanthiya.com 2013
Following Questions from G.C.E. ordinary level examination past
papers. (Source rights: Department of Examinations Sri Lanka)
Following flow chart is to display the average, maximum and the minimum marks of the
students from their subject marks. Write the suitable pseudo code for this flow chart.
m%no
q O
a Y%u
S d,a - www.apepanthiya.com 2013
m%nqoaO Y%Sud,a - www.apepanthiya.com 2013