Professional Documents
Culture Documents
ICT USS -USA-CC2 11_11_2023
ICT USS -USA-CC2 11_11_2023
Name: _________________________________________________________________________________________
I. EVALUATION OF RESOURCES
Page 1 of 2
II. EVALUATION OF COMPETENCES
1. Consider the algorithm below and answer the questions that fellows
1) Start
2) Read the radius of the circle, r
3) Area =3.14*r*r
4) Display Area
5) Stop
a. Convert this algorithm to a C code. 5 marks
__________________________________________________________________________________
__________________________________________________________________________________
__________________________________________________________________________________
__________________________________________________________________________________
__________________________________________________________________________________
__________________________________________________________________________________
__________________________________________________________________________________
__________________________________________________________________________________
__________________________________________________________________________________
__________________________________________________________________________________
__________________________________________________________________________________
__________________________________________________________________________________
__________________________________________________________________________________
__________________________________________________________________________________
__________________________________________________________________________________
__________________________________________________________________________________
__________________________________________________________________________________
__________________________________________________________________________________
__________________________________________________________________________________
b. Identify the control structure used in the algorithm above. 1 mark
__________________________________________________________________________________
c. Identify the variable used in the algorithm above and give the general syntax to declare a variable
2 marks
__________________________________________________________________________________
__________________________________________________________________________________
__________________________________________________________________________________
d. What is the suitable data type that can be used in the program above? Give the format Specifier of this
data type. 2 marks
__________________________________________________________________________________
__________________________________________________________________________________
__________________________________________________________________________________
GOOD LUCK!!!!!!!!!!!!
Page 2 of 2