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
Second Semester
Computer Application
PROGRAMMING IN
(CBCS 2011 onwards)
Time 3 Hours Maximum 75 Marks
Part A (10 X 2 20)
Answer all questions.
1. Define Encapsulation.
2. What is the use of break statement?
3. What is the difference between static member function
and non static member function?
4. What is the purpose of Destructor?
5. What is Direct Base class and Indirect Base class?
6. Write any Four stream classes.
7. What is a Binary File?
8. How will you open a file?
9. What is a class Template?
10. What is the difference between an Exception and an
Error?
Sub. Code
1BCA2C1
AFC-10370
2
Wk 11
Part B X 5 25)
Answer all questions, choosing either or
11. Explain the operators in with example.
Or
Explain switch statement with an example.
12. Explain Dynamic constructor with an example.
Or
Explain the characteristics of a Constructor.
13. Explain formatted console I/O operations.
Or
Explain Pointer to derived class with an example.
14. Explain File pointers and their manipulators with
example.
Or
Explain Command-Line argument with a program.
15. Explain the exception handling model with an
example.
Or
Explain exceptions in operator overloaded functions
with an example.
AFC-10370
3
Wk 11
Part C X 10 30)
Answer any three questions.
16. Write a program to print the first 20 prime numbers
using while loop.
17. Explain friend function with a program.
18. Explain virtual base class with a program.
19. Write a program to store the students details in a
file using write(
20. Write a program to find the sum two numbers
int, float and char types) using function.
————————


Other Question Papers

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