Exam Details

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


Question Paper

B.C.A. DEGREE EXAMINATION, APRIL 2018.
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 an Identifier? Give example.
2. What are the branching statements available in
3. What is the difference between an array and a variable?
Give example.
4. Write any Two String handling functions in C. Give
example.
5. What is the advantage of a Function?
6. Define Recursion.
7. What is a Pointer? Give an example
8. How will you initialize a pointer? Give an example.
9. What is the difference between a Random access file and
a Sequential file?
10. Write any two compiler directives.
Sub. Code
1BCA1C1
AFC-10668
2
Ws20
Part B x 5 25)
Answer all questions, choosing either or
11. Explain the various types of expressions in C with
example.
Or
Explain the operators in C with example.
12. Write a C program to reverse a given string.
Or
Write a C program to find the sum of even numbers
in the array.
13. Explain Nesting of function with an example.
Or
Explain union with an example.
14. Write a C program to interchange two numbers
using a function and pointer.
Or
Explain pointers arithmetic with an example.
15. Explain the various file opening modes.
Or
Explain command line argument with an example.
AFC-10668
3
Ws20
Part C x 10 30)
Answer any three questions.
16. Write a C program to check whether the given number is
prime or not a prime.
17. Explain the string handling functions in C with example.
18. Write a C program to calculate the total mark obtained
by a student using array of structures. (Assume your own
data).
19. Explain pointer to structure with an example.
20. Write a C program to store the employee details into a
file. [assume your own data].
—————————


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