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

f4 Paper 3

The document is an examination paper for the Engineer Nyamz Academy's Ordinary Level Computer Science course, specifically for Form 4. It includes practical questions on programming, database creation, and web design, with a total of 100 marks available. Candidates are instructed to submit both hard and soft copies of their answers, and the paper outlines specific tasks related to coding, database management, and webpage design.

Uploaded by

tinasherufudza18
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)
17 views4 pages

f4 Paper 3

The document is an examination paper for the Engineer Nyamz Academy's Ordinary Level Computer Science course, specifically for Form 4. It includes practical questions on programming, database creation, and web design, with a total of 100 marks available. Candidates are instructed to submit both hard and soft copies of their answers, and the paper outlines specific tasks related to coding, database management, and webpage design.

Uploaded by

tinasherufudza18
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

Engineer Nyamz

ENGINEER NYAMZ ACADEMY


END OF YEAR EXAMINATIONS 2020
Ordinary Level

FORM 4
COMPUTER SCIENCE 4021/3
Paper Practical 2 hours 30 minutes

Term 1 Paper
TIME 2 hours 30 minutes
Additional materials:
CD

TIME 2 hours 30 minutes INSTRUCTIONS TO CANDIDATES

1. Insert your name, Class and school name as a header.


2. Answer all questions.
3. Indicate software you use for each question.
4. All answers must be printed.
5. Submit both the hard copy and soft copy of your answers.
INFORMATION TO THE CANDIDATE

1. This paper consists of question on:


Programming [50] marks
Database [30] marks
Web design [20] marks
Paper total is [100] marks
2. The number of marks is given in brackets [ ] at the end of each question or part question.
_________________________________________________________________________
This question paper consists of 2 printed pages.
Copyright: Computer Science Department 2020

©Engineer Nyamz
[Turn over
Engineer Nyamz

Programming (50 marks]

1. Design an interface and write a code that prompts a user to enter his/her name then, the

output will be shown e.g.

“Welcome to Engineer Academy ‘name entered’.” [15]

2. Given that the retail Selling Price is 115% of the wholesale cost of a product, design an

interface and write a program that accepts, any cost of a product and calculates the selling

giving output.

Selling Price = * Product cost [15]

3. Design a Visual Basic Program which will accept the Principal, Interest Rate and Time using

textboxes. The program is supposed to compute the Interest and present the Future Value

based on simple Interest on a text box. Names and captions are required for controls.

Interest = (Principal *Rate * Time)

100 [20]
Engineer Nyamz

Database [50 marks]

4. (a) Create a database named Property with the following tables.


Property Table
Brochure ID Property Type Number of Number of Garden Garage Price In $
Bedrooms Bathrooms
A01 Apartment 2 2 No Yes $750,000
A09 Apartment 2 1 No No $100,000
A16 Apartment 1 1 No No $450,000
B17 Bungalow 7 4 Yes Yes $399,000
H10 House 4 2 Yes No $95,000
H13 House 3 2 Yes No $150,000
H23 House 3 1 No Yes $250,000
H46 House 2 1 Yes Yes $175,000

Agent Table
Agent ID First Name Surname
PS1 John Muriti
PS2 Engineer Nyamz
Ps3 Peter Jones

Property Rented Table


Rent ID Agent ID Brochure ID
1 PS2 H13
2 PS1 H46
3 PS1 A09
4 PS3 B17
5 PS1 A01
6 PS3 H23
7 PS1 A16
8 PS1 H10

Print the tables and Establish the relationship among the tables in (a). Print the
screenshot of the result. [15]
Engineer Nyamz

(b) Create a form using Property table and name it Property form. [4]

(c) Using Property table in (a), create a query of the Property type House that have more
than 2 bedrooms and more than 1 bathroom
Name it “Property selected.” [4]

(d) Produce a report from Property table in (a) sorted in ascending order of the price and
the total of all the property should be displayed. Name it “Property report.” [3]

(e) Using tables in (a), create a query that returns the First Name and Surname of all
Agents who have rented a property.
Name it “Rented property.” [4]

Web designing [20marks]

5. Design a webpage for Engineer Nyamz Supermarket with the following details.

(a) Main page


Welcome to Engineer Nyamz Supermarket
Were everyone is a winner
Insert a relevant picture

(b) Marketing page


Marketing team of 3 people names in an ordered list
3 products in an unordered list
(c) Create Link from the main page to the Marketing page

[20]

You might also like