Form 5 Computer Science

Download as pdf or txt
Download as pdf or txt
You are on page 1of 3

COMPUTER SCIENCE

HOLIDAY PACKAGE

1. (a) Define the term information system. 2 marks


(b) Explain 3 major tasks carried out in system analysis stage. 3 marks
(c) Explain 3 tasks that are carried out during system implementation. 3 marks

2. (a) Explain four elements of information systems. 2 marks


(b) Explain the meaning of relational database query 1 marks
(c) Use the following entity set with its attributes to answer the questions

I. Represent entity set into its equivalent relation table, 2 marks


II. Write SQL query to create students database table, 1 marks
III. Write SQL insert data into students table 2 marks
IV. Write SQL query required to retrieve data from students table. 2 marks
3.
a) Mention what are the four main language or platform used for website-design?
4 marks
b) Mention three best image format that can be used in website 3 marks
c) Identify three software that can be used for website development 3 marks
d) What is the difference between website and webpage? 2marks

4.
a) (a) What is the purpose of using iostream header file? 2 mark
b) What is the use of cin >> and cout<< in c++? 2 marks
c) Explain the concept of bus topology and its advantages 3 marks
d) (b) Describe types of transmission media by giving examples for each type.
3marks
5. (a) convert hexadecimal number B2916 to its decimal equivalent, 2 marks
(b) Convert 101.111102 to its decimal equivalent. 2 marks
(c) Use Boolean laws of algebra to prove the Boolean expression A+ AB = A+ B.
2 marks

6.
a. Describe three methods that a programmer can use to make C++ code understood
to allow the computer engineer to maintain it. 3 marks
b. Explain the importance of break at the end of each switch…case statement. 2
marks
c. Write a C++ program that reads numbers entered by a user and a program should
be able to find their sum and print the average of the numbers. 3 marks

7. From the table below we have one big table. Put the table in normalized form. Ie
1NF,2NF AND 3NF 6 marks

OID = Order ID, O_Date= Order Date,


CID = Customer ID, C_Name = Customer Name, C_State = Customer’s State,
PID = project id, P_Desc =Project Name, P_Price = Product Price, Qty = Quantity
Purchased
Note: 7, 5, 4 means three Product IDs. Similarly, 1, 1, 5 means three Quantities.

Functional Dependencies are:


OID -> O_Date CID -> C_Name PID -> P_Desc PID -> P_Price OID -> CID CID ->
C_State PID and OID -> Qty

8.
a) Describe three steps for planning and creating Visual Basic project 3 marks
b) Mention four control structures supported by visual basic, 2 marks
c) Explain why is it necessary to choose Standard.Exe file command from the file menu
when creating a Visual Basic project, 2 marks

9.
a) Explain four common features of Graphical User Interface (GUI) available in Microsoft
word. 2 marks
b) Differentiate SUM from SUMIF functions as used in Microsoft excel. 2 marks
c) Write the syntax of SUM and SUMIF functions. 2 marks
d) Write the functions required to find the total amount from north region of the given sales
table. 2 marks

10. (a) describe four symbols used in a flowchart diagram 4 marks


(b) Differentiate pseudocode from algorithm. 1 marks

SECTION B
Answer two questions only (each carries 10 marks)
11. Describe eight stages of program development in their respective order
12. Explain how the computer hardware and software including communications and
networking have made automation to be possible in our daily life by referring to eight
areas.
13. Describe eight factors to be considered for successful Website Development.

You might also like