0% found this document useful (0 votes)
13 views2 pages

Computer Science cmp502 Problem Solving Using Computers

Hii

Uploaded by

dixitprajakta8
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
Download as pdf or txt
0% found this document useful (0 votes)
13 views2 pages

Computer Science cmp502 Problem Solving Using Computers

Hii

Uploaded by

dixitprajakta8
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
Download as pdf or txt
Download as pdf or txt
You are on page 1/ 2

P131/CMP502/EE/20170103

Time : 3 Hours Marks : 80


Instructions :
1. All Questions are Compulsory.
2. Each Sub-question carry 5 marks.
3. Each Sub-question should be answered between 75 to 100 words. Write every questions
answer on separate page.
4. Question paper of 80 Marks, it will be converted in to your programme structure marks.

1. Solve any four sub-questions.

a) What are the different types of input and output devices of a Computer System? 5

b) Differentiate between Flow Chart and Algorithm. 5

c) Write a note on primary and secondary data types of C language. 5

d) Explain the difference between while and do while loop. 5

e) Write the syntax of if else construct and explain its working. 5

2. Solve any four sub-questions.

a) State the different generations of Computer Language. Explain why C is termed as


middle level language. 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

d) Explain any 5 string functions. 5

e) Explain the different types of storage classes in C. 5

KA17-1052 P131/CMP502/EE/20170113 : 1 (P.T.O.)

http://www.ycmouonline.com
3. Solve any four sub-questions.

a) What is a Union? Explain with suitable example. 5

b) What is a Pointer? What is the use of pointer in C? 5

c) Explain gets() and puts() functions with example. 5

d) Write a note on pointer arithmetic. 5

e) Define a Structure. Create a structure complex with members real, image initialise
the structure. 5

4. Solve any four sub-questions.

a) Write the general syntax of a switch construct. Explain its working. 5

b) Explain recursive function with an example. 5

c) Write a function to swap two variables, call the function by value. 5

d) Draw a Flow Chart to display the factorial of a number entered through the keyboard.
5

e) Explain Array of structure with an example. 5



KA17-1052 P131/CMP502/EE/20170113 : 2

http://www.ycmouonline.com

You might also like