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 Applications
PROGRAMMING IN C
(CBCS 2014 onwards)
Time 3 Hours Maximum 75 Marks
Part A (10 X 2 20)
Answer all questions.
1. What are qualifiers?
2. State the purpose of including Stdio.h file in a program.
3. What is zero-based addressing?
4. What does the following statement define int emplist

5. What for "returns" is used in
6. Differentiate a structure from an array.
7. What are the operators exclusively used with pointers?
8. When *P1 =12 and P2 evaluate the expression
4 P2/P1 10.
9. Give the general format of a file pointer declaration.
10. Give the two forms of file inclusion.
Sub. Code
4BCA1C1
AFF-4585
2
WS3
Part B X 5 25)
Answer all questions, choosing either or
11. Explain the structure of a C program.
Or
Explain the if-else structure with an example.
12. How two dimensional arrays are declared and
initialized?
Or
Write a program to choose the largest/nearest to the
largest/smallest/nearest to the smallest of the given
n numbers.
13. State the rules that should be followed while
defining user-defined function.
Or
Compare structure with Union.
14. Explain pointers to functions.
Or
Write a program to reverse the string using
pointers.
15. Explain the functions fread( and fwrite(
Or
Write the advantages of preprocessors.
AFF-4585
3
WS3
Part C X 10 30)
Answer any three questions.
16. "C is rich in operators". Justify this statement.
17. Write a program to remove the duplicate elements in an
array.
18. Develop a structure called date with the members day,
month and year and display the date after reading.
19. Explain pointer to an array using an example.
20. Explain conditional compilation with suitable examples.
————————


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