1(a) What is a flat file database? (01 mark)
(b) Mention any two advantages of using electronic database system (02 marks)
(c) State two characteristics of a good database design (02 marks)
2.(a). Explain the following field properties as used in database design. (04 marks)
(i).Caption
(ii).Input mask
(b). Give one requirement of a good primary key field in a database table. (01 Mark)
3. (b) A property owner uses a database to store data about houses he sells. The table shows part of the database.
Reference number | Air conditioner | Garden | Number of Bedroom | Price (million Shs) |
L2132 | Y | N | 3 | 170 |
L4323 | N | Y | 2 | 130 |
L1232 | N | Y | 3 | 158 |
L4321 | N | N | 4 | 210 |
L5643 | Y | Y | 4 | 335 |
L3423 | N | Y | 5 | 400 |
L2342 | Y | Y | 4 | 285 |
(ii) Give the names of the fields that contain Boolean data type. (01 mark)
Identify the field type of the reference number field. (01 mark)
(iv) Give two validation checks that could be carried out on the reference number field. (01 mark)
(v) Which field should be the primary key of the database table? (01 mark)
4.(a) (i) What a wild card is in database management system. (01 mark)
(ii) Importance of a wildcard in a query criterion (01 mark)
(iii) Naming examples of frequently used wildcards. (01 mark)
(b) Give two advantages of using a primary key in a database. (02 marks)
5. Create a database for Jinja Bridal Car Hire Ltd saved as bridal and carry out the following tasks. (20 marks)
Employee_Name | Sex | Date_of_Birth | Car_Type | Employee_ID | Remarks |
Kalambe Daphine | F | 1980, 11 – 18 | Premio | JBCH-200 | Good work |
Sanjay Hussein | M | 1978, 02 – 27 | Benz | JBCH-010 | |
Kapalaga Michael | M | 1984, 10 – 30 | Premio | JBCH-001 | Experienced |
Nabukera Joan | F | 1991, 11 – 30 | Premio | JBCH-019 | Time keeper |
Sentongo Philip | M | 1962, 01 – 10 | Wish | JBCH-180 | |
Muwanguzi Vivian | F | 1973, 04 – 01 | Premio | JBCH-150 | Co-opertive |
Kato William | M | 1950, 06 – 02 | Wish | JBCH-090 | Experienced |
Walugembe Alex | M | 1992, 06 – 14 | Benz | JBCH-060 | Time keeper |
Okello Stephen | M | 1982, 01 – 31 | Wish | JBCH-065 | Eratic |
Instructions:
(a). Design a table saved as drivers to hold the above data.
(b). Using appropriate field, assign a primary key.
(c). Design a form having a sky-blue background colour, footer of your name you will use to populate the table. Save the form as Data Entry.
(d). Design three queries that will return workers who:
(i). have no remarks against their records. Save the query as Not Appraised.
(ii). drive Car_Type that is not a Wish. Save the query as Not Wish.
(iii). celebrate birth day in the month of January. Save the query as Born Jan.
(e). Create a report to return drivers who drive a premio Car_Type. Save the report as Premio.
(f) Create a report having all the records on one sheet. Save the report as All. The report should have the following details:
(i). A good red line boarder.
(ii). Count of the records it holds
(iii). Group and sort your records in order of car_type
(iv). Add a title: MOTO VEHICLES INFORMATION REPORT size 24
(g) Add Header as Your Name and Your Gender as Footer on the report
(h) Add an image on your report to serve as a logo
(h) Print your queries and report only.
6. Using any data base management system load file called 20xxxCoMpany. Mdb and use it to answer the following questions. Any changes made should be saved. (20 marks)
4(a) what are your roles as citizen of Uganda? (b) Each and every individual in…
3(a) why do we political Eduction in the New Uganda curriculum? (b) Explain the roles…
2(a) Describe the creation story in relation to the origin of man. (b) Explain why…
Leave a Comment