Computer Science cmp502 Problem Solving Using Computers
Computer Science cmp502 Problem Solving Using Computers
a) What are the different types of input and output devices of a Computer System? 5
b) What is a Function? Write the syntax of function declaration, function definition and
function call. 5
c) What are Arrays? Explain the declaration, initialization and accessing elements of
one dimensional array. 5
http://www.ycmouonline.com
3. Solve any four sub-questions.
e) Define a Structure. Create a structure complex with members real, image initialise
the structure. 5
d) Draw a Flow Chart to display the factorial of a number entered through the keyboard.
5
KA17-1052 P131/CMP502/EE/20170113 : 2
http://www.ycmouonline.com