Exam Details

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


Question Paper

1
Seat No.: Enrolment
GUJARAT TECHNOLOGICAL UNIVERSITY
MCA SEMESTER- IV EXAMINATION WINTER 2018
Subject Code: 4440601 Date: 29/11/2018
Subject Name: with class libraries
Time: 02:30 P.M. to 5:00 P.M. 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 questions:-
Write short note on member function and static function.
Differentiate between pointer to object and call by reference.
07
04
03

Define following terms with example
Default parameter
Local class
typeid
07
02
02
03
Q.2

Write down various types of constructors in with the help of suitable example.
07

Differentiate between following
call by reference and return by reference.
const volatile and static function.
07
03
04
OR

Explain all types of inheritance along with access modifier with suitable example.
07
Q.3

Compare function overloading and function overriding with the help of suitable example.
07

Differentiate between function template and class template along with example.
07
OR
Q.3

Write a program to create user define data type Rational {numerator, denominator} and overload and operator to read, print a rational number and add two rational number respectively.
07

Answer the following questions
Compare text file and binary file.
Write down various file opening modes.
07
04
03
Q.4

What is the need of exception handling? Explain try, catch and throw with the help of suitable example.
07

Answer the following questions
Explain namespace, nested namespace and unnamed namespace with the help of suitable example.
Write an example of creating user define manipulator.
07
04
03
OR
Q.4

What is RTTI? Explain dynamic_cast and typeid with the help of suitable example.
07

Write down various applications of standard template library.
07
2
Q.5

Write down features of Object oriented programming.
07

Answer the following questions
Explain this pointer and virtual destructor in detail.
Write down an example to overload operator.
07
04
03
OR
Q.5

What is the importance of member initialization list and destructor? Explain with the help of suitable example.
07

Create a abstract class Shape having pure virtual function area ().Override area function in derived class Circle and Triangle. Demonstrate sample test cases in main function.
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