Exam Details

Subject programming in c
Paper
Exam / Course b.c.a. computer applications
Department
Organization alagappa university
Position
Exam Date November, 2017
City, State tamil nadu, karaikudi


Question Paper

B.C.A. DEGREE EXAMINATION, NOVEMBER 2017
First Semester
Computer Application
PROGRAMMING IN C
(CBCS 2011 onwards)
Time 3 Hours Maximum 75 Marks
Part A (10 X 2 20)
Answer all questions.
1. What is a token? Give an example.
2. What are the types of expressions available in
3. How will you initialize a matrix?
4. Write any four string handling functions in C.
5. Define function.
6. How will you access the members of a structure?
7. Write any two advantages of pointer.
8. Write a pointer expression for the equation

9. What is the difference between an ASCII file and binary
file?
10. What is the purpose of compiler control directives?
Sub. Code
1BCA1C1
AFC-10369
2
Ws5
Part B 5 25)
Answer all questions choosing either or
11. Explain the operators in C with example.
Or
Explain else-if ladder statement with an example.
12. Write a C program to count the number of
characters in the given string without using string
handling functions.
Or
Explain 2D arrays with an example.
13. Write a C program to calculate the factorial of a
given number using recursion.
Or
Explain with an example how will you initialize a
structure.
14. Write a C program to find the biggest of three
numbers using pointers.
Or
Write a C program to find the smallest number in
an array using pointers.
15. Explain command line argument with a program.
Or
Explain various file opening modes.
AFC-10369
3
Ws5
Part C 10 30)
Answer any three questions.
16. Explain any two loop statements available in C with
example.
17. Write a C program to multiply two matrices, if possible.
18. Write a C program to print the pay slip of an employee
using array of structures. (Assume your own data).
19. Explain pointers to structure with an example.
20. Explain the steps to open and close a file with example.
————————


Subjects

  • allied – data mining and warehousing
  • allied – office automation
  • allied — programming in c
  • c and data structure
  • computer networks
  • computer system architecture and design
  • computersystemarchitectureanddesign
  • data mining and data warehousing
  • database management systems
  • elective –– linux programming
  • elective — computer graphics
  • elective: mobile communications
  • java programming
  • programming in c
  • programming in c++
  • software engineering
  • visual programming
  • web design technology