0% found this document useful (0 votes)
54 views

DBASE

The document describes a school database with student details and performance information stored in two tables. It provides instructions to: 1) Create a new database called STUDENTS with two tables - DETAILS and PERFORMANCE - with appropriate fields, data validation, and a relationship between the tables. 2) Use forms to enter data and create queries to extract specific student information based on criteria like name or year of KCPE. 3) Format and print outputs like a form, query results, performance table, and report using different orientations.

Uploaded by

Rainbow ICT
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
54 views

DBASE

The document describes a school database with student details and performance information stored in two tables. It provides instructions to: 1) Create a new database called STUDENTS with two tables - DETAILS and PERFORMANCE - with appropriate fields, data validation, and a relationship between the tables. 2) Use forms to enter data and create queries to extract specific student information based on criteria like name or year of KCPE. 3) Format and print outputs like a form, query results, performance table, and report using different orientations.

Uploaded by

Rainbow ICT
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

Question One

A school keeps its students details in a computer database. The information below contains
details obtained from two tables of database. Study the tables and answer the following
questions.

DETAILS
NAMES KCPE MARKS ADMNO Year Of KCPE DORMITORY

Tom Jose 250 2030 2011 Ruvuma

Okoth Rao 356 2031 2012 Zaire

Ken Otieno 412 2032 2012 Tana

Dan Muoso 205 2033 2011 Ruvuma

Adan Hassan 400 2034 2010 Zaire

Ahmed Kubasu 185 2035 2011 Tana

Mutai Jemo 289 2036 2012 Ruvuma

Mutua Sarafi 300 2037 2012 Zaire

Muesh Linda 426 2038 2011 Tana

Viena Oscar 405 2039 2010 Zaire

Violet Kadija 336 2040 2012 Tana

PERFORMANCE

ADMNO ENGLISH MATHS KISWAHILI COMPUTER

2030 59 48 56 83

2031 56 36 48 76

2032 29 25 59 80

2033 88 79 65 67

2034 70 29 62 91

2035 39 46 24 68
2036 82 78 18 84

2037 54 75 19 46

2038 69 54 46 87

2039 53 96 75 24

2040 74 20 49 50

a) Create a new database called STUDENTS.


(2marks)
b) Design two tables: DETAILS and PERFORMANCE with the following properties in their
fields:
Validate the ADMNO entry to exactly four characters, three characters for KCPE MARKS
and DORMITORY names each to start with capital letter.
(4marks)
c) Using appropriate primary and foreign keys create a relationship between the two tables and
enforce referential integrity. (4
marks)
d) Create and use forms to enter data into tables. (12 marks)
e) Create a query that would extract students whose name starts with letter “A” and save it as
“Names”
(4marks)
f) Create a query that would display ADMNO, NAME, ENGLISH, MATHS, KISWAHILI and
COMPUTER and calculate the totals of the four subjects, sort the totals in descending order.
Save it as “MARKS”
(4marks)
g) Create a query that would display only those students who sat their KCPE in 2012 and reside
in Tana dormitory, save the query as “Tanas”
(3marks)
h) Using the performance table, compute the average for ENGLISH field, standard deviation
for MATHS field and Variance for KISWAHILI field to be displayed on the same table.

(3marks)
(i) Create a form to display all fields of details table with the following:

(7marks)
− Layout:-tabular

− Style:-opulent
− Title:-Dform

− Add two form controls to “print” and “close” the form.


j) Create a report with the title “Excellent” using the query “MARKS” above. (2marks)
k) Print:
i) Dform in portrait while the query “MARKS” in landscape

(2marks)
ii) Performance table (2marks)
Report excellent (1mark)

You might also like