Exam Details

Subject data structures using ‘c’
Paper
Exam / Course b.sc.computer science
Department
Organization Alagappa University Distance Education
Position
Exam Date May, 2016
City, State tamil nadu, karaikudi


Question Paper

DISTANCE EDUCATION
B.Sc. (Computer Science) DEGREE EXAMINATION,
MAY 2016.
DATA STRUCTURES USING C
(2007 onwards)
Time Three hours Maximum 100 marks
Answer any FIVE questions.
All questions carry equal marks.
20 100)
1. Discuss the formatted and unformatted output
statements of C with example.
Define the following terms
Constant
Variable.
Also list out rules for naming a variable.
2. What is the need for function? Discuss the function
declaration and accessing method of a function.
Define Array. Explain the multidimensional array
with an example.
3. Explain method of declaring, initialization and
accessing a variable through pointers.
Write a program for arranging n numbers in
ascending order.
Sub. Code
14
DE-3396
2
wk12
4. Describe the operations of stack and implement
stack using an array in a program.
Write a C program to find nCr value with recursive
factorial function using the formula


r n r
nC n r
.
5. What is Linked List? Explain the working of singly
linked list with example.
Discuss the concept of Binary trees in detail.
6. What is Queue? Explain the implementation of
queue with array.
Explain the following statements with examples
break
continue
goto
7. Explain the structure concept in with simple
example program.
Write a note on various branching statement with
examples.
8. Explain how elements of an array can be accessed
using pointers.
Write a program for multiplying two matrices.



Subjects

  • data structures using ‘c’
  • digital computer fundamentals
  • lab-i (c and data structures)