

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
A computer programming CAT from Mount Kenya University, focusing on programming methodology. Questions cover compiler functions, differences between constants and variables, programming approaches, flowchart symbols, header files, program development life cycle phases, factors measuring programming language popularity, the purpose of the main() function in C, procedural language features, programming language specification and implementation, and algorithm design using flowcharts and pseudo code. This assessment evaluates students' understanding of fundamental programming concepts and problem-solving skills. The test assesses knowledge of basic programming concepts and the ability to apply them to solve problems, testing both theoretical understanding and practical application of programming principles.
Typology: Lecture notes
1 / 3
This page cannot be seen from the preview
Don't miss anything!


Programming (Mount Kenya University)
BIT 2201 Programming Methodology CAT Virtual Mode Instructions: Attempt all the questions DATE: Oct 2021 TIME: 1HR Question One a)Outline four functions of a compiler. [2 marks] b)Explain the di昀昀erence between a constant and a variable in computer programming. [2 marks] c)Explain using examples the two main approaches or methodologies that can be used in computer programming. [2 marks] d)Name and explain three symbols that are used in 昀氀owcharts, when designing a solution to a given computer problem. [3 marks] e)Explain the term header 昀椀le and describe one type of a header 昀椀le. [2 marks] f)Discuss three main phases of program development life cycle. [3 marks] Question Two a)) Outline four factors that measure the popularity of a programming language.[4marks] b)) Explain the purpose of the main( ) function in a C program. [2 marks]