Form 5 Computer Science
Form 5 Computer Science
Form 5 Computer Science
HOLIDAY PACKAGE
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
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
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.