Get premium membership and access questions with answers, video lessons as well as revision papers.
- Mwalimu savings society (MSS) Pays 5% interest on shares exceeding 100,000 shillings and 3% on shares that do not meet this target. However, no interest...(Solved)
Mwalimu savings society (MSS) Pays 5% interest on shares exceeding 100,000 shillings and 3% on shares that do not meet this target. However, no interest is paid on deposits in the member’s MSS bank account
a) Design a pseudo code for a program that would:
i) Prompt the user for shares and deposit of particular members
ii) Calculate the interest and total savings
iii) Display the interest and total savings on the screen for particular members of the society.
b) Draw a flowchart for the above pseudo code.
Date posted: April 16, 2019. Answers (1)
- Michael deposits 1,000 in a bank at an interest rat of 10% per year. At the end of each year, the interest earned is added...(Solved)
Michael deposits 1,000 in a bank at an interest rat of 10% per year. At the end of each year, the interest earned is added to the amount on deposit and this becomes the new deposit for the next year.
Develop a pseudo code to determine the year in which the amount accumulated first exceeds 2,000. Also for each year, print the year (starting from 1), the deposit, the Interest earned, and the total accumulated at the end of the year.
Date posted: April 16, 2019. Answers (1)
- Write a pseudo code that reads temperature for each day in a week, in degree Celsius, converts the Celsius into Fahrenheit and then calculate the...(Solved)
Write a pseudo code that reads temperature for each day in a week, in degree Celsius, converts the Celsius into Fahrenheit and then calculate the average weekly temperatures. The program should output the calculated average in degrees Fahrenheit.
Date posted: April 16, 2019. Answers (1)
- Draw a flowchart for a program that is to prompt for N numbers, accumulate the sum and them find the average. The output is the...(Solved)
Draw a flowchart for a program that is to prompt for N numbers, accumulate the sum and them find the average. The output is the accumulated totals and the average.
Date posted: April 16, 2019. Answers (1)
- With aid of a pseudo code, design an algorithm that would:
- Prompt the user to enter two number X and Y
- Divide X by Y....(Solved)
With aid of a pseudo code, design an algorithm that would:
- Prompt the user to enter two number X and Y
- Divide X by Y. However, if the value of Y is 0, the program should display an error message “Error: Division by zero”.
Date posted: April 16, 2019. Answers (1)
- Draw a simple flowchart diagram showing:
IF….THEN…. selection(Solved)
Draw a simple flowchart diagram showing:
IF….THEN…. selection
Date posted: April 16, 2019. Answers (1)
- Define the term ARRAY as used in computer programming.(Solved)
Define the term ARRAY as used in computer programming.
Date posted: April 16, 2019. Answers (1)
- List four selection control structures used in writing a program.(Solved)
List four selection control structures used in writing a program.
Date posted: April 16, 2019. Answers (1)
- Define the term selection to program control structures.(Solved)
Define the term selection to program control structures.
Date posted: April 16, 2019. Answers (1)
- Give two benefits of structured programming.(Solved)
Give two benefits of structured programming.
Date posted: April 16, 2019. Answers (1)
- List any two characteristics of Structured programming.(Solved)
List any two characteristics of Structured programming.
Date posted: April 16, 2019. Answers (1)
- Define the term structured programming.(Solved)
Define the term structured programming.
Date posted: April 16, 2019. Answers (1)
- State three types of control structures used in programming.(Solved)
State three types of control structures used in programming.
Date posted: April 16, 2019. Answers (1)
- Describe three types of program documentation in reference to programming.(Solved)
Describe three types of program documentation in reference to programming.
Date posted: April 16, 2019. Answers (1)
- Give one advantage of pseudo codes over flowcharts.(Solved)
Give one advantage of pseudo codes over flowcharts.
Date posted: April 16, 2019. Answers (1)
- State any four rules/guidelines that should be followed when drawing program flowcharts.(Solved)
State any four rules/guidelines that should be followed when drawing program flowcharts.
Date posted: April 16, 2019. Answers (1)
- State two requirements during computer program testing.(Solved)
State two requirements during computer program testing.
Date posted: April 16, 2019. Answers (1)
- Name the stages of a program development in their logical sequence.(Solved)
Name the stages of a program development in their logical sequence.
Date posted: April 16, 2019. Answers (1)
- Give two advantages of compiling a program rather than interpreting.(Solved)
Give two advantages of compiling a program rather than interpreting.
Date posted: April 16, 2019. Answers (1)
- Define a Language translator.(Solved)
Define a Language translator.
Date posted: April 16, 2019. Answers (1)