CSC JUNE 2021 Group 3
CSC JUNE 2021 Group 3
Do all the tasks ( Task 1, Task 2 and Task 3) SPECIFIED IN THIS QUESTION PAPER.
Examine the text below and answer the questions that follow.
The spread and Adoption information and communication technology (ICTs) throughout the country
was phenomenal in the early 2000s, and Bangoh District was not left behind. More people than ever
are today using the following ICTs:
Radio
Smart phones
Television, etc.
However, only relatively few people have reliable access to the internet because of the high cost. Even
with this limitation, mobile phone technology is revolutionizing the technology landscape and today, is
by far the fastest growing ICT in the country.
Smart Telecoms was the first mobile provider in with a fair coverage in Bangoh. New way Telecom and
Big Brains Communications followed later, and all three are currently doing well in terms of coverage
and stability.
Formerly, TV signals were only possible via satellite. But today, many antennas have been raised
around the community and TV signals are available both terrestrially and by satellite. Even cable TV
operators are doing good business.
The table below indicates the level of usage of ICT tools in Bangoh District.
1. Launch a word processor. Set the page orientation to portrait, and the page size to A4. Type the given
passage. You are not required to place a border around the passage.
2. Format the heading of the passage as follows:
a) Font size: 18
b) Font name: Arial
c) Alignment: Centre
d) Case: Upper case
3. Format the rest of the text as follows:
a) Font size: 13
b) Line spacing: 1.5
c) Alignment: Full justification
d) Font name: Times New Roman
The worksheet below shows the prices of the various items in local supermarkets. Study it and answer the
questions that follow.
Supermarkets
Lowcosts PicknPay Greenshop Rainbow
Items
1. Launch your spreadsheet software. Enter and format the data as shown. (4 marks)
2. Select the range containing the prices and format them to display numbers as currency (2 marks)
3. Format the fonts in the merged cell as follows: Times New Roman, bold, and 16 point size (2 marks)
4. Type the label “Total” in cell B7. Then insert a formula to calculate the total amount of sales
by Low cost supermarket in cell C7. Copy the formula to corresponding adjacent cells to compute
the total sales for the other 3 supermarkets. (2 marks)
5. Write in the space below, the formula in cell F7 after the copy procedure above is done. (1 marks)
6. Type the label Average in cell G3. Then insert a formula to calculate the average cost of milk in cell G4.
Copy the formula to the cell in range G5:G7. (2marks)
7. Write in the space below, the formula in cell G7 after the copy procedure above is done. (1marks )
8. Select the range B3:G7, and format the cells in the range to have simple borders. (2marks)
9. Create a column chart using the entries in the range B3:F6, with prices on vertical axis and
supermarkets in the horizontal axis. For each supermarket, a separate vertical bar should be drawn for
each item.
In the modular arithmetic, when we divide two whole numbers, the result is a whole number (the dividend)
and another whole number (the remainder). For example, 7/3 gives a dividend of 2 and a remainder of 1. In
programming, two operators are used to do the division (e.g., “/” and”%” in C, “div” and “mod” in Pascal).
Examples
C Pascal
7/3 = 2 7 div 3 = 2
7%3 = 1 7 mod 3 = 1
The C and Pascal programs below perform the same task using modular arithmetic. Select any of them and
answer the questions that follow.
C Program
#include <stdio.h>
int main (void) {
int i,m,km,num;
i = 1;
while ( I ,= 3) {
char c = getchar ( ) ;
Program Numbers;
var i ,m ,km, num: integer;
BEGIN
I := 1;
while i <= 3 do
begin
Writeln ( ‘ i = ‘ , i);
write ( ‘ Enter the number of metres : ‘ );
readln (num) ;
km := num div 1000;
m := num mod 1000;
writeln ( num, ‘m is equivalent to ‘ , km, ‘km and ‘, m, ‘m’);
writeln;
i :=n +1;
End;
readln;
END.
1. Launch either a C or a Pascal program development environment. And key in the corresponding program.
Compile the program. If any errors, keep the correcting and compiling until all the errors are corrected.
Save as task 1.
2. Run the program and provide 25, 300 and 4500 when prompted for a number, pressing the <Enter> key
after each number is entered. Write the output you observe.
-----------------------------------------------------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------------------------------------------------
3. State what the program is designed to do
------------------------------------------------------------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------------------------------------------------------
4. The keyword “while”, which is used in the program is an example of which programming construct?
Explain how the stated program works.
Programming construct:----------------------------------------------------------------------------------------------------------
Explanation:
---------------------------------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------------------------------
5. Save your work as Task 2.
6. Print your work.