ZIMBABWE
MINISTRY OF HIGHER AND TERTIARY EDUCATION,
SCIENCE AND TECHNOLOGY DEVELOPMENT
HIGHER EDUCATION EXAMINATIONS COUNCIL
(HEXCO)
© NATIONAL CERTIFICATE,
IN
INFORMATION TECHNOLOGY
SUBJECT: Programming Using C++ PAPER NO: 317/18/S02A
(Theory)
DURATION: 3 Hours
Answer Booklet
INSTRUCTIONS TO (PAPER No,
(0: 317/18/S02A - PROGRAMMING USING C++ (THEORY)
Q
ESTION 1
Giving reasons, indicate whether each of the following is a valid or
invalid identifier
i) class
i) private
iii) false
iv) college
v) stud Id (10 marks)
b) Write Pseudocode to determine the students final grade and indicate
whether it is a pass or a fail. The final grade is calculated as the average of
two marks. (10 marks)
DN 2
Evaluate the following expressions given that @ = 10 and b = 5
al
jj atab;
e il) c= (a