Model Paper-Software Development
Model Paper-Software Development
I. Define an Algorithm?
II. State the usage of if statement in computer programming?
III. Write algorithms to solve the problems given below.
a) Gross pay depends on the pay rate and the number of hours worked per week.
However, if you work more than 45 hours, you get paid time-and-a-half for all
hours worked over 40. Write algorithm to compute gross pay given pay rate and
hours worked.
b) A number divisible by 2 is considered an even number, while a number which is
not divisible by 2 is considered an odd number. Write pseudo-code to display first
N odd/even numbers.
c) Find the minimum number of given numeric array
I. What is file handling in computer programming? State two operations in file handling.
Question 6