0% found this document useful (0 votes)
116 views4 pages

2011 Kcse Computer Studies Questions P2

The document discusses a survey on employment data from three tables: an employee table with details like name, year of birth, employee ID, employer ID, and job category; an employment type table with job categories and descriptions; and an employers table with employer ID and name. It provides instructions to create a database from these tables, establish relationships between the tables, use forms to enter data, and generate reports to display employee names, ages, employers for those over 30 in 2012 and mean age.

Uploaded by

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

2011 Kcse Computer Studies Questions P2

The document discusses a survey on employment data from three tables: an employee table with details like name, year of birth, employee ID, employer ID, and job category; an employment type table with job categories and descriptions; and an employers table with employer ID and name. It provides instructions to create a database from these tables, establish relationships between the tables, use forms to enter data, and generate reports to display employee names, ages, employers for those over 30 in 2012 and mean age.

Uploaded by

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

4.11.2 Ecolebooks.

com
Computer Studies Paper 2 (451/2)

l The data in the tables below was extracted from a survey data on employment.

Table 1: EMPLOYEE TABLE

NAME YEAR OF EMPLOYEE ID EMPLOYER ID JOB CATEGORY


BIRTH NO.
ERIC 1980 13144 01 GK4
FRED 1970 11100 04 GK3
JANE 1984 14010 02 GK1
BRIAN 1976 12110 05 GKl
ANNE 1973 11410 03 GK2
CATE 1968 10570 04 GK3
ALI 1990 11040 05 GK3
JANET 1998 15978 03 GK2
PETER 1992 17192 02 GK4
MARV 1993 18965 05 GK4

Table 2: EMPLOYMENT TYPE

JOB CATEGORY JOB DESCRIPTION


GKl CASUAL
GK2 TEMPORARY
GK3 CONTRACT
GK4 PERMANENT

Table 3: EMPLOYERS TABLE

EMPLOYER ID EMPLOYER NAME


01 WASIKE
02 MUMBUA
03 OMWOYO
04 OLOISHIRO
05 MWANYUMBA

463
DOWNLOAD MORE RESOURCES LIKE THIS ON ECOLEBOOKS.COM
Ecolebooks.com
(a) () Create a database named "EMPLOYMENT" to store the data above.
(14 marks)

(ii) Create relationships between the tables. (4/% marks)

(iii) Use forms to enter data into the tables. (10 marks)

(b) (i Generate a report to display the Name, year of birth, age and employer's name
for the employees who will be over 30 years old by the year 2012.
(10 marks)

(ii) Compute the mean age of employees on the report you created in b() above.
(2 marks)

(c) () Create a query to display the employees and their job description. Save the
query as "EMPTYPE. (3 marks)

(ii) Create a pie chart based on the query in c() above to display the proportions
of employees in various job descriptions. Save the report as CHART.
(3 marks)
(d) Print the:

(i) three tables;


(ii) two reports;
(iii) output of query results for EMPTYPE. (3 marks)
2 (a) Create a folder. The name of the folder should be the last three digits of your index
number. Type the document below exactly as it appears using a word processing
package and save it as LANGUAGE in the folder created. (15 marks,
DATABASE LANGUAGES

In the early years of database usage, they were accessed by writing programs in a high
level procedural language such as COBOL. This required the skills of an experienced
programmer who had a thorough knowledge of database design as well as familiarity
with a language. As a result, access to databases was limited to those with procedural
language skills.

Modern databases can be accessed through easy-to-use query languages. Query


languages are similar to English and require little programming knowledge. Commands
entered through a computer terminal direct the machine to:
Search files
Make comparison
Generate reports
The utility of databases has greatly expanded because of query languages, even the users
can easily access complex databases, searching out specific pieces of data and generating
reports quickly and easily. Databases can be configured as follows; as single user
database, multi-user database and as distributed database.

464
DOWNLOAD MORE RESOURCES LIKE THIS ON ECOLEBOOKS.COM
Ecolebooks.com
For exam ple, a distributed configuration structure is shown below:

Database

(b) Save a copy of the document created above as "FINAL LANGUAGE" in the
folder created in (a) above and use it to answer part s (c) and (d).
(1 mark)

(c) () Format the heading "DATABASE LANGUAGES" as follows: (5 marks)

Alignment: Centre
Font style: Bold and underline
Font size: 16
Font type: Arial

(ii) Drop the first letter of the paragraph starting with the word "Modern" by four
lines. (3marks)

(iii) Apply bullets to the list starting with the statement "Search files".
(2 marks)

(iv) Convert the paragraph starting with "The utility of..." to two columns.
(2 marks)
(v) Set the page margins as follows:

(I) Top= 0.7" (1.78)cm


(II) Left = 09(2.29cm) (2 marks)

(vi) Set the paragraph starting with "In the early..." such that the text is evenly
aligned along both left and right margins. (1 mark)

(vii) Correct the spelling errors. (I mark)


(viii) Set the line spacing of the paragraph starting with the word "The utility..." to
1.5. (2 marks)

465
DOWNLOAD MORE RESOURCES LIKE THIS ON ECOLEBOOKS.COM
Ecolebooks.com
(ix) Move the first paragraph to come after the drawing. (2 marks)

(x) insert the following in the footer: (4 marks)

• A line of length 6" (15.24cm) Jong.


• Your name and index number.
(d) (i) Create a table at the end of the document created in (b) above and enter the
following data: (3marks)

# DBMS APPLICATION AREAS ESTIMATE COST

l MSACCESS Small Enterprises 24,000


2 Oracle Corporate Enterprises 1.000.000
3 MySQL Medium Enterprises 500

(ii) Enter the heading "EXAMPLES OF DATABASES" as the entire first row of the
table. (3marks

(iii) Use a formula to find the average estimate cost of the DBMS applications in the
table.

(iv) Save the document. (2 marks,

(e) Print the documents; LANGUAGE and FINAL LANGUAGE.


(2 marks'

466
DOWNLOAD MORE RESOURCES LIKE THIS ON ECOLEBOOKS.COM

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy