How To Exam?

a knowledge trading engine...


Alagappa University 2007 M.C.A C and DATA STRUCTURES - Question Paper

Thursday, 21 February 2013 01:30Web



Time : 3 hours Maximum : 100 marks
ans any 5 ques..
All ques. carry equal marks.

1. (a) Define the character set of C. (5)
(b) How to use puts and gets functions in C? (15)

2. (a) With examples show how constants and variables are declared and used in C. (10)
(b) Write a program in C to add all the even numbers lying ranging from one and 100 (both numbers inclusive)(10)

3. (a) How to access a function in C? (10)
(b) Write a program in C to obtain the value of the factorial n where n is a integer (Using recursion). (10)

4. (a) Explain the concept of C preprocessor. (10)
(b) Write a program in C to multiply 2 matrices of order (3 ? 3). (10)

5. (a) How to pass the pointers to function? (10)
(b) Write a program in C to show how a data file can be created. (10)

6. (a) Define structures. (5)
(b) How a data file can be opened and closed? discuss with examples. (15)

7. (a) What is a Queue? How it differs from a stack? (10)
(b) Write a program in C to do the subsequent operations in stack.
(i) PUSH
(ii) POP (10)

8. (a) Define a Binary Tree. Show how it is to be represented. (10)
(b) Write a program in C to show how to add a node in the middle of the single linked list. (10)



( 0 Votes )

Add comment


Security code
Refresh

Earning:   Approval pending.
You are here: PAPER Alagappa University 2007 M.C.A C and DATA STRUCTURES - Question Paper