Exam Details

Subject c++ with class libraries (cpp)
Paper
Exam / Course mca(integrated)
Department
Organization Gujarat Technological University
Position
Exam Date May, 2017
City, State gujarat, ahmedabad


Question Paper

1
Seat No.: Enrolment
GUJARAT TECHNOLOGICAL UNIVERSITY
MCA Integrated SEMESTER- IV • EXAMINATION SUMMER 2017
Subject Code:4440601 Date: 06/05/2017
Subject Name: WITH CLASS LIBRARIES
Time: 10:30 am to 1:00 pm Total Marks: 70
Instructions:
1. Attempt all questions.
2. Make suitable assumptions wherever necessary.
3. Figures to the right indicate full marks.
Q.1

Answer the following:
07
A static member function can access only the members of the class.
Function overloading implements type of polymorphism.
State an operator that cannot be overloaded in
A class containing at least one pure virtual function is called
In the keyword "new" is a/an
RTTI stands for
If a class does not contain any user defined constructor, then a default constructor is provided by the

Answer the following:
What is a reference variable? Explain its use along with appropriate example.
04
What is data hiding? How is it accomplished in
03
Q.2

What is Object Oriented Programming List the features of OOP and explain any two in detail.
07

What is a friend function? Explain its syntax and use along with appropriate example.
07
OR

Write a short note on inline functions.
07
Q.3

What is a constructor? Explain the syntax and use of various types of constructor along with appropriate example.
07

What is operator overloading? State different ways of overloading unary and binary operators and explain any one in detail with appropriate example.
07
OR
Q.3

What is a template? State its types. Design a function of your choice using template.
07

What is type conversion? Explain how basic type is converted into user-defined (class) type along with appropriate example.
07
Q.4

What is an exception? Explain in detail, the mechanism of exception handling in along with appropriate example.
07

What is inheritance? State various types of inheritance. Explain any two in detail along with appropriate diagram and syntax.
07
OR
Q.4

What is dynamic (or runtime) polymorphism? How is it different from static polymorphism? Explain how dynamic polymorphism is implemented using appropriate example.
07

What is a virtual base class? Explain in detail with an appropriate example.
07
2
Q.5

What are manipulators? Write a code for a manipulator that would display a floating point value in a width of 15 characters, display exactly two digits after the decimal point, and always show the sign of the value (whether positive or negative).
07

Write a short note on namespace.
07
OR
Q.5

What is a binary file? Explain how an object of a class can be written to a binary file along with appropriate example.
07

What is STL? Describe various components of STL in detail.
07



Other Question Papers

Subjects

  • advanced c programming (adv – c)
  • advanced python
  • basic mathematics for it
  • big data
  • c++ with class libraries (cpp)
  • communication skills - ii
  • communication skills-1
  • cyber security and forensics (csf)
  • data analytics with r
  • data structure
  • database management systems
  • discrete mathematics for computer science (dmcs)
  • environmental studies
  • fundamentals of computer
  • fundamentals of database management systems
  • fundamentals of networking
  • fundamentals of programming – i
  • fundamentals of web
  • information security
  • java programming
  • machine learning
  • management information systems (mis)
  • mobile programming
  • network security
  • operating system
  • operations research
  • python (py)
  • software engineering
  • software testing
  • statistical methods
  • uml & object oriented modeling
  • web development tools