Exam Details

Subject c and data structures
Paper
Exam / Course m.sc. (se)
Department
Organization Alagappa University Distance Education
Position
Exam Date May, 2018
City, State tamil nadu, karaikudi


Question Paper

DISTANCE EDUCATION
M.Sc. Years Integrated) DEGREE EXAMINATION,
MAY 2018.
C AND DATA STRUCTURES
Time Three hours Maximum 100 marks
SECTION A — x 8 40 marks)
Answer any FIVE questions.
1. Explain with example about and statements.
2. Write short note on Macros and pre-processor.
3. Write a C program to sort N given numbers in ascending
order.
4. Explain the concept of array of pointer with C program.
5. Explain the ways of representing Stack. What are its
applications?
6. Discuss the linked representation of Binary tree.
7. What is string? Write a C program to find and replace a
given substring.
8. Explain about various fundamental data types in C.
Sub. Code
14
DE-4145
2
wk12
SECTION B — x 15 60 marks)
Answer any FOUR questions.
9. Explain various types of operators used in C program.
Give examples.
10. Explain the steps to create and process a data file.
Explain with a program.
11. Illustrate with C program the operations of doubly linked
list.
12. Define Queue. Explain the operations performed on
Queue with algorithm.
13. Write a C program to pass an array to a function.
Explain the recursion with example C program for
'Tower of Hanoi'.
14. Explain about 'nested if structure with example
C program.
Discuss about the 'switch' statement. Give example.
15. Write short note on
Structure and Union.
Dynamic Memory Allocation.
———————


Subjects

  • c and data structures
  • digital computer fundamentals