WHILE Question
November 7th, 2008Write a structured algorithm which prompts the user to read the scores for a number of batsmen who played in a cricket match and the number of extras made by the team. Calculate and output the total runs made by the team. The data is terminated by 9999
If you did this one already, create your own and solve it
The WHILE Construct
October 31st, 2008 An initial value for the condition
WHILE [condition] DO
[Instructions which are to be repeated]
ENDWHILE
Try this: Write an algorithm to calculate and print the average age of three students terminated by 999
Looping - The FOR Construct
October 24th, 2008The For Construct
FOR <variable> = <starting> TO <ending> DO
<instructions to be carried out>
ENDFOR
Create your own algorithm question & solve it as well….
World Teachers’ Day - October 5th 2008
October 4th, 2008Every day, in millions of classrooms around the world, the universal endeavour of teaching and learning takes place. The gift of literacy is passed from one generation to the next, along with love of learning and thirst for knowledge. When knowledge is shared, skills are gained and lives can be changed.
October 5 is World Teachers’ Day, a day set aside by the world community to celebrate teachers and the central role they play in nurturing and guiding infants, children, youth and adults through the life-long learning process.
The GBSS expresses grateful thanks to all its teachers both past & present.
Use this forum to express your appreciation to a teacher / teachers it will printed out and presented to them. (not limited to present teachers)
Programming Questions
September 19th, 20081. Explain the difference between the following:
a. Logic and syntax error
b. Source and object code
c. Compiling and executing
d. Machine language and assembly language
e. While loop and For loop
IF Construct
September 19th, 20081. Read the temperature. If temperature (temp) is 25º, output ‘Room temperature’
2. Read a number N; if N is greater than 500, add 50 to the number. Print the number.
3. Input the score of a person; if the score is greater than 65, output ‘Pass’, otherwise output ‘Fail’.
Find Amount Due
September 10th, 2008Write a program to ask the user to enter price & quantity of an item. The program should also compute and display the amount due.
GBSS Mourns
September 9th, 2008GBSS Mourns the lost of Shem Charles. He was a student at Form 5S2. We express deep sympathoy to his family, friends & love ones. May he rest in peace.
Fours Years Since Ivan
September 7th, 2008well, after all that I got a new lab out of it.
Thank God my house was solid, so I didnt have much to worry about