• We need your support!

    We are currently struggling to cover the operational costs of Xtremepapers, as a result we might have to shut this website down. Please donate if we have helped you and help make a difference in other students' lives!
    Click here to Donate Now (View Announcement)

IGCSE COMPUTER STUDIES

Messages
4
Reaction score
2
Points
13
I did , Did you get the letter H for the LED question?
Yes. It was H. Phew :)

Did anyone get the answer '1718 files' for the memory size question? And for the last question, is this correct?

highest = 0
for s = 1 to 3000
input marks
if marks > highest then highest = marks
average = marks / 8
print average
next s

print highest
 
Messages
22
Reaction score
38
Points
23
ahhhh wait this is the one I had

for student 1 to 30000
input ex1, ex2, ex3, ex4, ex5, ex6, ex7, ex8
average=(ex1+ex2+ex3+ex4+ex5+ex6+ex7+ex8)/8
if average > highest then highest = average
print average
next student

print highest
 
Messages
4
Reaction score
2
Points
13
ahhhh wait this is the one I had

for student 1 to 30000
input ex1, ex2, ex3, ex4, ex5, ex6, ex7, ex8
average=(ex1+ex2+ex3+ex4+ex5+ex6+ex7+ex8)/8
if average > highest then highest = average
print average
next student

print highest

I wrote that at first but the question said 'inputs all the marks for 8 examinations' so i thought it would be input once rather than 8 times. Hope its okay. :whistle:

And what about the memory size question?
 
Last edited:
Top