Exam Details

Subject c and data structure
Paper
Exam / Course m.sc.computer science and information technology
Department
Organization alagappa university
Position
Exam Date November, 2017
City, State tamil nadu, karaikudi


Question Paper

M.Sc. DEGREE EXAMINATION, NOVEMBER 2017
First Semester
Computer Science and Information Technology
C AND DATA STRUCTURE
(CBCS 2014 onwards)
Time: Three Hours Maximum: 75 Marks
Part A (10 X 2 20)
Answer all questions.
1. Define constant.
2. List out the various types of expressions.
3. State the uses of break statement.
4. Write the syntax of else-if… ladder statement in C.
5. How do you create a character array?
6. What is meant by string?
7. Define Union.
8. List the difference between Structure and Union.
9. Specify the methods to open a file in C.
10. Define Pointers.
Sub. Code
4MCI1C2
AFF-4985
2
Ws3
Part B X 5 25)
Answer all the questions.
11. Describe the general structure of a C program.
Or
Write a C program to find the greatest of three
numbers.
12. Explain the different forms of branching statements
in C.
Or
Write a program to print the numbers 1 to 100
using do…While loop.
13. Explicate any string manipulation functions
available in C.
Or
Write a C program for addition of two matrices.
14. Portrait the benefits of user defined functions.
Or
Write a C program to create a structure for students
information.
15. Briefly explain the different types of file operations.
Or
Write a program to swap two integers using
pointers.
AFF-4985
3
Ws3
Part C 10 30)
Answer any three questions.
16. Illustrate the operators available in C with the examples.
17. Describe the various looping statements in C with sample
program.
18. Write a C program to sort an array of integers in
ascending order.
19. Elaborate the concepts of union with a suitable program.
20. Write C program to read last n characters from the file.
————————


Other Question Papers

Subjects

  • .net technology
  • c and data structure
  • computer fundamentals and architecture
  • computer networks
  • computer science
  • data base technology
  • data structure and algorithms
  • database technology
  • digital computer fudamentals
  • elective : computer oriented numerical methods
  • elective : computer oriented numericalmethods
  • elective : operating system
  • elective – computer graphics
  • elective – digital image processing
  • elective – resource management technique
  • elective –– computer graphics
  • elective –– computer system architecture
  • elective –– multimedia and its applications
  • elective — applied mathematics for
  • elective — computer oriented numerical methods
  • elective — fundamentals of grid and cloud computing
  • elective — information security
  • elective — microprocessor and assembly language programming
  • elective — soft computing
  • elective — web technology
  • elective: data mining andwarehousing
  • java programming
  • principles of compiler design
  • principles of information technology
  • programming in c
  • software engineering
  • visual programming