0% found this document useful (0 votes)
16 views2 pages

Programing Set 1

The document outlines the National Exam for the Higher National Diploma 2024 session in Programming, detailing the structure and content of the exam. It consists of four sections: Algorithms, Structured Programming, Object-Oriented Programming (OOP), and Web Programming, each with specific questions and marks allocation. The exam emphasizes key programming concepts, algorithm development, and web technologies.

Uploaded by

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

Programing Set 1

The document outlines the National Exam for the Higher National Diploma 2024 session in Programming, detailing the structure and content of the exam. It consists of four sections: Algorithms, Structured Programming, Object-Oriented Programming (OOP), and Web Programming, each with specific questions and marks allocation. The exam emphasizes key programming concepts, algorithm development, and web technologies.

Uploaded by

paguemic
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

RÉPUBLIQUE DU CAMEROUN REPUBLIC OF CAMEROON

Paix –Travail -Patrie Peace-Work-Fatherland


-------- ------------
MINISTÈRE DE L’ENSEIGNEMENT SUPÉRIEUR MINISTRY OF HIGHER EDUCATION
--------- ------------
COMMISSION NATIONALE D’ORGANISATION DES EXAMENS NATIONAL COMMITTEE FOR THE ORGANIZATION OF
NATIONAUX ET CONCOURS NATIONAL EXAMS AND COMPETITIVE ENTRANCE
EXAMINATIONS

NATIONAL EXAM OF HIGHER NATIONAL DIPLOMA 2024 SESSION

Specialty/Option: HWM PAPER: PROGRAMMING

Code Nature of Paper Duration Credit value Total


HWM18 WRITTEN 3Hours 5 100
Instructions: Answer all questions

Section A: Algorithm Duration: 45 Minutes


1. What are the importance of algorithm in programing? 2marks
2. List and explain the three basic structures of an algorithm. 5marks
3. What is the difference between pseudo code and flowchart? 2 marks
4. Write out the following algorithms: 6 marks
a. An algorithm to display the greatest of three integers
b. An algorithm to print hello ten times
c. An algorithm to calculate the average of n integers
5. what is data structures with example, is it the same as array and variable, if yes or no, say why and how
to process array elements of any size of your choice. 5marks

Section B: Structured programming


Duration: 45minutes

1. What are pointers? what are their uses? 5marks


2. Why is c programing a structured programing language? 5marks
3. Write a program using, for loop to print ten integers zero to nine. 5marks
4. Write a c program to calculate the area of a cycle. 10 marks

Section C: OOP (Object oriented programming)


1
Duration: 45Minutes

1. What is OOP 2marks


2. Write basic concepts of OOPS? 5marks
3. Differeciate between a class and an object 5marks
4. Differeciate between encapsulation and polymorphism 3marks
5. Write a C++ program to print even and old numbers 10marks

Section D: Web Programing


Duration: 45 Minutes

1. State the difference between span tag and dive tag in HTML5. 5marks
2. Explain how can you refer to CSS file in the web pags. 5marks
3. How can you center an element vertically and horizontally using CSS. 5marks
4. What are CSS box model contents. 5marks
5. What is the scope in javascrpt. 5marks

You might also like