Exam Details

Subject object oriented programming in c++
Paper
Exam / Course bachelor of computer applications
Department
Organization Mizoram University
Position
Exam Date 2018
City, State mizoram,


Question Paper

III/BCA/304 Student's Copy
Professional Course Examination, November 2018
3rd Semester
BACHELOR OF COMPUTER APPLICATIONS
Course BCA-304
Object-oriented Programming in
Revised
Full Marks 75
Time 3 hours
PART A—OBJECTIVE
Marks 25
The figures in the margin indicate full marks for the questions
SECTION—A
Marks 15
Tick the correct answer in the brackets provided 1×10=10
1. How many access specifiers are present in
One
Two
Three
Four
/369 1 Contd.
2. Which of the following header file includes definition of cin and cout
istream.h
ostream.h
iomanip.h
iostream.h
3. Which of the following keywords is used to overload an operator?
Operator
Public
Overload
Friend
4. Which one of the following is not a valid reserved keyword in
Public
Implicit
Private
Explicit
III/BCA/304 2 Contd.
5. Which one of the following is not a type of constructor?
Copy constructor
Default constructor
Friend constructor
Parameterized constructor
6. Which one of the following symbols is used to create multiple inheritance?
Dot
Comma
Space
Semicolon
7. Which of the following STL containers stores the elements continuously (in
adjacent memory locations)?
std::vector
std::list
std::map
std::set
III/BCA/304 3 Contd.
8. Which of the following cannot be used with the keyword virtual?
Class
Member function
Constructor
Destructor
9. Which one of the following forms is correct in the throwing mechanism?
Throw (exception)
Throw exception
Throw
All of the above
10. A pointer pointing to a variable that is not initialized is called
null pointer
void pointer
empty pointer
dangling pointer
III/BCA/304 4 Contd.
Indicate whether the following statements are True or False by putting
a Tick mark in the brackets provided 1×5=5
1. An array of objects is stored inside the memory in the same way as a
multidimensional array.
T F
2. Functions and operators overloading are examples of run-time
polymorphism.
T F
3. Overloaded operators can be overridden.
T F
4. In multilevel inheritance, the constructors are executed in order of
inheritance.
T F
5. A virtual function cannot be a friend of another class.
T F
SECTION—B
Marks 10
Answer the following questions 2×5=10
1. What is pure virtual function? Give an example.
2. What is type casting in Give an example.
3. What is command-line argument?
4. What is exception? How is it handled in
5. What is scope resolution operator?
III/BCA/304 5 Contd.
PART B—DESCRIPTIVE
Marks 50
The figures in the margin indicate full marks for the questions
1. What is meant by data binding? Give example. 4
Explain the basic concepts of object-oriented programming. 6
OR
Describe the basic structure of program. 4
Explain the following terms 6
Data types in
Control structures in
Tokens and keywords
2. What is function in Explain about the call-by-reference with an
example. 6
Explain the concept of inline function with an example. 4
OR
What is function overloading? Write a program to illustrate function
overloading. 5
What is friend function? Explain with an example. 5
3. Explain about the copy constructor with a suitable example. 6
Write the characteristics of constructor. 4
OR
Write a program to illustrate how the unary minus operator is
overloaded. 6
What is operator overloading? Write the operators that cannot be
overloaded in 4
III/BCA/304 6 Contd.
4. Explain different types of inheritance. 4
Write a program to illustrate the concept of multiple inheritance. 6
OR
Write a program to illustrate the concept of virtual functions. 6
Write a program to illustrate the use of this pointer. 4
5. Explain the stream classes for console I/O operations. 5
Explain about getline( and write( functions in 5
OR
Write a program to demonstrate the concept of rethrowing an
exception. 5
What is template? Explain the three key components of STL. 5


Other Question Papers

Subjects

  • accounting and financial management
  • analysis and design of algorithms
  • artificial intelligence
  • assembly language programming
  • c++ programming
  • computer graphics and multimedia
  • computer network security
  • computer networking
  • computer organization and architecture
  • data mining and warehousing
  • data structure using c
  • database management systems
  • digital computer fundamentals
  • english language & communication skills
  • environment and ecology
  • fundamentals of tcp/ip
  • gui programming
  • internet and e-commerce
  • introduction to computer architecture and organisation
  • introduction to e-governance
  • introduction to information technology
  • introduction to java programming
  • introduction to programming language through c
  • it acts and cyber laws
  • java programming
  • management information systems
  • mathematics – iii (numerical analysis)
  • mathematics –ii (discrete mathematics)
  • mathematics-i (bridge course)
  • microprocessors
  • networking—i
  • object oriented programming in c++
  • operating systems
  • operation research
  • oracle laboratory
  • pc applications and internet technology
  • personality and soft skills development
  • programming in c
  • programming language through c
  • programming with vb 2010 with mini project
  • project work
  • quality management and control
  • simulation and modeling
  • software engineering
  • software project management
  • system analysis and design
  • tally erp 9.0
  • theory of computing
  • unix and shell programming