2020 April s6 Database Practical Assignment
2020 April s6 Database Practical Assignment
QUESTION ONE:
(a) Load Database management software and create a database called HAMZAN COIN.
(01mk).
(b) Design a data table basing on the guidelines given in the table below and save the
table as CAR TABLE 1 (05mks).
(ii) Include a form header of 2 lines (one below the other) reading as follows.
(01mk)
(d) Enter the records below using the form which you created in (c) above.
(04mks)
1
Brand Manufacture Car ID Body 4-wheel Date Out Client
name r name Colour drive name
(e) (i) create a report for the table and save it as TABLE 1 REPORT.
(f) Include a report footer of your name and personal number (1mk)
(g) Create a Query showing all fields for the those cars manufactured by
TOYOTA and they are 4-wheel drive cars and save it as Toyota cars
(2mks)
2
QUESTION TWO:
As a student of ICT you have been appointed as a Database Assistant and assigned the
following:
(a) Create a Database called Estate Agency in a single table using appropriate data types.
(b) Create a table in design view and name it Estate.
Required:
(i) In the Estate table, Set Ref as a Primary Key
(ii) Design a Data Entry Form based on the Estate Table and name it Estates
Data Entry Form
(iii) Using the Data Entry form created, enter the records in the ruled table above.
(iv) Create a Query to filter out all houses with small gardens, name it Small
Query.
(v) Create another query to filter out houses costing above 70M and name it
High Cost Houses
(vi) Create a report grouped by Area. Name it Estate Report.
3
QUESTION THREE:
(a) A survey made on Uganda’s social media has revealed that Uganda has a
(b) Design a table with the following information and set Station No. as the
(c) Use a form to populate the table and name the Form Stars.
(d) Design a query called Decoder to show stations viewed on Star Times.
(e) Create a query that shows programmes on UBC Station whose viewers are less than
10,000,000. Save the query as Viewers.
4
(f) Create a query to display programmes shown on NTV and Bukedde only. Name it TV.
(g) Generate a report using fields; Programme Name, Key Character and Decoder Type and
name it Station Report.
(h) Generate another report from the Station Table with all fields with grouping Levels based
on Station Name and name it Final Report.
QUESTION FOUR
(h) Create a form from the discounted fee query showing all details and save it as
Patients Form. (02mks).
5
QUESTION FIVE
Your country is about to hold a referendum and the electoral Commission is looking for a
good database administrator. You have contacted to design and test your database with the
following records.
(d) Create a query displaying all fields. Use it to calculate the net Pay. Name it Net Pay.
(04mks)
(e) Create another query displaying only female Voters, name it females only. (2mks)
(f) Create a query for all male voters born before 1980. Name it Aged Males. (3mks)
(g) Create a report displaying all fields from the table above. Name it all voters. (2mks)
6
QUESTION SIX
The table below represents SD employee Payroll. Study it and answer the questions that
follow.
ID EMPLOYEE BASIC
SEX AGE DEPARTMENT ALLOWANCES
NUMBER NAME SALARY
ASIIMWE
U12 F 52 COMPUTER 300000 20000
RUTH
TUGUME
U13 M 41 HISTORY 620000 32000
LEONARD
TUSHABE
U14 M 43 CONOMICS 320000 50000
ROBERT
NAMBI
U15 F 36 MATHS 450000 62000
TRACE
(a) Use a database Management software to create a database for SD Employees. Save it
as SD database. (01mk)
(b) Design a table and enter the given data. Save it as Employee Table (08mks)
(c) Use a query to filter out all female employees with their details. Save it Female
Query. (03mks)
(d) (i) Generate a report from the employee table and save it as Employee Report.
(02mks)
(ii) Add a header to the Report as SD EMPLOYEE PAYROLL and footer as
your name and personal number. (02mks)
(c) Use a Query to filter out employees who are between 40 and 50 years of age.
Save it as Aged. (03mk)