Exam Details
Subject | programming in c | |
Paper | ||
Exam / Course | m.sc.computer science and information technology | |
Department | ||
Organization | alagappa university | |
Position | ||
Exam Date | April, 2018 | |
City, State | tamil nadu, karaikudi |
Question Paper
M.Sc. DEGREE EXAMINATION, APRIL 2018.
First Semester
Computer Science and Information Technology
PROGRAMMING IN C
(CBCS 2017 onwards)
Time 3 Hours Maximum 75 Marks
Part A (10 x 2 20)
Answer all questions.
1. Distinguish between constant and variable.
2. Illustrate the use of ternary operator.
3. Why is an array called a data structure?
4. How is a string stored in an array?
5. Define Recursion.
6. Differentiate between an array and structure.
7. What is a pointer variable?
8. How is a pointer initialized?
9. What is the use of ftell function?
10. What is dynamic memory allocation? How does it help
building complex programs?
Sub. Code
7MCI1C2
AFS-0660
2
Ws20
Part B x 5 25)
Answer all questions, choosing either or
11. Explain the structure of a C program.
Or
What are the arithmetic and logical operators
available in Give examples.
12. What is a dynamic array? How is it created? Give a
typical example of use of dynamic array.
Or
Write a C program to check the given string is
palindrome or not.
13. Write a C program to find the factorial of a given
number using recursion.
Or
Explain the usages of structure in C.
14. Explain the uses of pointers in C.
Or
Write a C program to reverse the string using
pointers.
15. Explain how defining, opening and closing a file are
carried out in C with examples.
Or
Describe the role of the C preprocessor.
AFS-0660
3
Ws20
Part C x 10 30)
Answer any three questions.
16. What are the control structures available in Explain
any two of them.
17. Write a C program to arrange the given names in an
alphabetical order.
18. What are the categories of functions? Explain with
examples.
19. Write a C program using pointers to read in an array of
integers and print its elements in reverse order.
20. Suppose a file contains student's records with each record
containing name and age of a student. Write a C program
to read these records and display them.
——————————
First Semester
Computer Science and Information Technology
PROGRAMMING IN C
(CBCS 2017 onwards)
Time 3 Hours Maximum 75 Marks
Part A (10 x 2 20)
Answer all questions.
1. Distinguish between constant and variable.
2. Illustrate the use of ternary operator.
3. Why is an array called a data structure?
4. How is a string stored in an array?
5. Define Recursion.
6. Differentiate between an array and structure.
7. What is a pointer variable?
8. How is a pointer initialized?
9. What is the use of ftell function?
10. What is dynamic memory allocation? How does it help
building complex programs?
Sub. Code
7MCI1C2
AFS-0660
2
Ws20
Part B x 5 25)
Answer all questions, choosing either or
11. Explain the structure of a C program.
Or
What are the arithmetic and logical operators
available in Give examples.
12. What is a dynamic array? How is it created? Give a
typical example of use of dynamic array.
Or
Write a C program to check the given string is
palindrome or not.
13. Write a C program to find the factorial of a given
number using recursion.
Or
Explain the usages of structure in C.
14. Explain the uses of pointers in C.
Or
Write a C program to reverse the string using
pointers.
15. Explain how defining, opening and closing a file are
carried out in C with examples.
Or
Describe the role of the C preprocessor.
AFS-0660
3
Ws20
Part C x 10 30)
Answer any three questions.
16. What are the control structures available in Explain
any two of them.
17. Write a C program to arrange the given names in an
alphabetical order.
18. What are the categories of functions? Explain with
examples.
19. Write a C program using pointers to read in an array of
integers and print its elements in reverse order.
20. Suppose a file contains student's records with each record
containing name and age of a student. Write a C program
to read these records and display them.
——————————
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