COMPPP2QNS (Edited)
COMPPP2QNS (Edited)
……………
School: ………………………………………………………………………………
Instructions to candidates
1. Type your name and Index number at the right hand corner of each print out.
2. Write your name and Index number on the CD provided.
3. Write the name and version of the software used for each question attempted
in the answer sheet
4. Answer all the questions
5. Passwords should not be used while saving in the CD provided.
6. All answers must be saved in your CD provided.
7. Arrange your printouts and staple them together 8. Hand in all the printouts
and the CD used
9. This paper consists of 4 printed pages.
10.Candidates should check the question paper to ascertain that all the pages
are printed as indicated and that no questions are missing.
Question 1
The tables below, STUDENT, SUPERVISOR and SUPERVISIONS are extracts of records kept in Bondo
University for project supervisions.
(h) Create a query named Balance to display student name, Gender, project fee balance per
student, given that the total project fee is Ksh.50000. (4marks)
(i) Create a query named Balance2 to display students’ Names, project title whose fee balance
is above Ksh.20000. (4marks)
(j) Use Make table query to create a table called StudentSupervisor. The table should have the
following fields Student Number, Supervisor Number , Supervisor Name and Project
(4marks)
(k) Create a report named Supervision to display Students Names, Project Title, names of
supervisor, and supervision Dates. The records in the report should be grouped by students’
Name and the number of supervisions by each student should be displayed. (4marks)
(l) Title the report as supervision per lecturer. (2marks)
(m) Print the following:
Tables: Student and StudentSupervisor (2marks)
Queries: Balance And Balance2 (2marks)
REPORT: Supervision (1mark)
. Question 2
A B C D E F G H I
1 TOWN JAN FEB MARCH APRIL MAY JUNE JULY AUG
2 MALINYA 43 38 16 33 43 26 32 36
3 MUSOLI 14 26 22.5 7.3 26 31 16 24
4 BUKURA 16 19 29 33 41 21 17 15
5 KHWISERO 18 34 17 41 36 41 18 16
6 CHAVAKALI 22 25 28 36 24 36 19 18
(a) Enter the data in a work book and save as supermarket. (6marks)
(b) Validate cells B2 :I6 to accepts values between 0 and 80 (2marks)
(c) Insert two blank rows at the top of the worksheet and type the heading
“SUPERMARKERT SALES AS AT 2023” in the first blank row. (2marks)
(d) Type the heading “SALES IN DOLLARS” in the second row using red font color .(2mark)
(e) Merge and center data in the cells containing each of the headings. (4marks)
(f) Determine the town with the highest sales. Show the result in cell Al4 (1mark)
(g) Show the monthly; Total and mean sales in rows below respectively. (4 marks)
(h) Type 139.13 in cell B20 convert total sales for each town in dollars to KSHS using the rate
of 139.13 as typed in cell B20. Show the result in column K.(6marks)
(i) Set all the values in Column K to 3 decimal places. (2marks)
(j) Name the worksheet as KSHS. (2marks)
(k) Using total values sold for each town in dollars give remarks based on the following:
(4marks)
Above 250 “Good Sales”
Between 200 and 250 “Fair sales”
Below 200 “More effort required”
(l) Use a valid function to award positions according to sales volume in dollars.(2marks)
(m)Apply the following border specifications on the table (4marks)
Vertical line color red and line style is dotted line
Horizontal line color green and style is Double line
(n) On a new sheet called pie represent monthly average sales for the towns in a pie chart.
Show the percentage values and the months in each segment of the pie chart. (5marks)
(o) Shade each segment with a different line format to distinguish each month.(1mark)
(p) Print the worksheet and the pie chart. (2mark)