DEPARTMENT OF ICT AND COMPUTING
MAY-AUGUST SEMESTER
YEAR 2025
MODULE II
CAT 2
UNIT:STRUCTURED PROGRAMMING
CERTIFICATE
CODE:1920/203
1. Define "Data Structure" in the context of programming. (2 Marks)
2. Explain the core concept of a "pointer" in C and how it relates to memory
addresses. (2Marks)
3. Define algorithm and give THREE properties of an algorithm (4 marks)
4. Explain THREE advantages of C language (3marks)
5. Discus three data types in C giving an example for each (3marks).
6. Differentiate between local variable and Global variable as used in C
programming (4 marks)
7. Differentiate between "Bubble Sort" and "Selection Sort" in terms of their basic
approach to sorting an array. (4 Marks)
8. What is the role of the main() function in a C program? (2 Marks)
9. Identify two (2) primary data types in C and provide one example of a value that
each can hold. (6 Marks)