0% found this document useful (0 votes)
18 views1 page

Structured Programming

The document outlines a structured programming assessment for the Department of ICT and Computing for the May-August semester of 2025. It includes questions on data structures, pointers in C, algorithms, advantages of C language, data types, variable differentiation, sorting methods, the main function's role, and primary data types in C. Each question is assigned specific marks, indicating their importance in the assessment.

Uploaded by

leonmusyoki8
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)
18 views1 page

Structured Programming

The document outlines a structured programming assessment for the Department of ICT and Computing for the May-August semester of 2025. It includes questions on data structures, pointers in C, algorithms, advantages of C language, data types, variable differentiation, sorting methods, the main function's role, and primary data types in C. Each question is assigned specific marks, indicating their importance in the assessment.

Uploaded by

leonmusyoki8
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

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)

You might also like