

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
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]