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

IV/BCA/401 Student's Copy
2 0 1 8
4th Semester
BACHELOR OF COMPUTER APPLICATIONS
Paper BCA-401
Object-oriented Programming in
Old Course
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
1. Tick the correct answer in the brackets provided 1×10=10
The process of building new classes from existing one is called
encapsulation
inheritance
polymorphism
abstraction
In it allows compiler to insert arguments in a function call if it is
not specified, it is
pass by value
pass by address
default argument
default function
/559 1 Contd.
Which of the following functions is performed by a constructor?
Construct a new class
Construct a new object
Construct a new function
Initialize an object
Run-time polymorphism is done by
operator overloading
function overriding
static binding
function overloading
Which of the following operators cannot be overloaded?




A function that is expanded in line when it is invoked is
'called' function
function definition
inline function
macrodefinition
Which of the following is not the member of class?
Static function
Virtual function
Const function
Friend function
An exception is caused by
a compile time error
a run-time error
a logical/syntax error
a hardware problem
IV/BCA/401 2 Contd.
A destructor takes
zero argument
one argument
two arguments
All of the above
A pure virtual function is declared by
virtual void display
virtual void display
virtual void display (void)
void display (void)
2. State whether the following statements are True or False by putting a
Tick mark 1×5=5
In the operator is known as insertion operator.
When an exception is not caught, the program is aborted.
We can have virtual destructors but not virtual constructors.
A variable can have multiple references.
There are any numbers of instances of an abstract class can be
created.
SECTION—B
Marks 10
Answer the following questions 2×5=10
1. What do you mean by dynamic binding? How is it useful in OOP?
2. What is a stream? What are the stream classes?
3. Explain about pointer.
4. What is function prototype? Give an example.
5. What is an abstract class? When do we make a class virtual?
IV/BCA/401 3 Contd.
PART B—DESCRIPTIVE
Marks 50
The figures in the margin indicate full marks for the questions
1. Write the characteristics of OOP. 4
Explain the following terms 6
Namespace
Scope resolution operator
Input and output operators
OR
Describe the major parts of a program. 4
Explain the basic concepts of object-oriented programming. 6
2. Explain the concept of call by reference with a suitable example
using class. 6
Explain the storage classes in 4
OR
Explain the concept of overloaded functions with an example. 6
What is inline function? When will you make a function inline and why? 4
3. What is a constructor? Explain with a suitable example. 1+5
Differentiate between shallow copy and deep copy. 4
OR
What is operator overloading? Write the general form of an operator
function. 1+4
Write a CPP program to illustrate the use of copy constructors. 5
4. What is destructor? Write any three characteristics of destructor. 1+3
Write a program to show how the unary plus operator is overloaded. 6
OR
Explain different types of inheritance with diagram. 4
Write a CPP program to illustrate the concept multiple inheritance. 6
5. What is friend function? Explain with an example. 1+5
Explain the concept of pointer to object with an example. 4
OR
What is a template? Write a program to explain function template. 1+5
What is a file? Explain various file mode options in 1+3


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