Professional Documents
Culture Documents
FC11322 Computer Applications
FC11322 Computer Applications
FACULTY OF GEOMATICS
1 a. Development environment of C program has 6 phases. List all of them. (30 Marks)
b. List four (04) IDEs for C programming. (20 Marks)
c. Which of Determine whether each of the following are valid identifiers? If not
provide reason.
i. helloworld
ii. double
iii. Loop
iv. Age123
v. integer
vi. hit man
vii. this_pc
viii. num|1
ix. height
x. 36variable
(50 Marks)
2 a. Differentiate pre increment operator and post increment operator in C. (20 Marks)
b. What is the different between = and == in C? (15 Marks)
c. Compare and contrast while, do while and for loops with the aid of syntax or
example in C. (45 Marks)
d. List down four (04) different types of user-defined functions in C. (20 Marks)
3. a. Write a C program to identify the largest integer from three user inputs (100 Marks)
Page 1 of 1