Flat 50% off on all training & certification courses. Limited time offer Explore courses

Use these filters to find papers

  Question
8
Consider an example of declaring the examination result. Design three classes: Student, Exam and Result. The student class has data members such as those representing the roll number, name etc.Create the class Exam by inheriting the student class. The Exam class adds data members representing the marks scored in six subjects. Derive the Result from Exam class and its own data members such as total marks. Write an interactive program to model this relationship. This question has 2 answers so far.
4

Explain data hiding and encapsulation with an example.

This question has 0 answers so far.
2

Explain how to resolve ambiguity in multiple inheritances with an example.

This question has 0 answers so far.
2

Write a C++ program to illustrate the following:

(i) Overload binary operator

(ii) Overload unary operator

This question has 0 answers so far.
2

Explain different C++ compilers.

This question has 2 answers so far.
1

Write a C++ program to illustrate the following stream functions:

is_open(), get() and put(). 

This question has 0 answers so far.
1

What are features of Object Oriented Programming?

This question has 2 answers so far.
1

Explain difference between Procedural Programming and Object Oriented Programming,

This question has 2 answers so far.
1

What is difference between C and C++

This question has 2 answers so far.
1

What is difference between early an late binding?

This question has 1 answers so far.
0
What is the difference between base and derived class? How data members and member functions of a base class can be accessed by derived class? This question has 0 answers so far.
0
How garbage collection does takes place in C++? Illustrate with an example. This question has 0 answers so far.
0
Give code for a template and explain its functionality. This question has 0 answers so far.
0
Design a class from which only one object can be created. If more than one object is created then the program should terminate. This question has 0 answers so far.
0
Write short note on persistent objects. This question has 0 answers so far.
0
Differentiate between compile time binding and run-time binding. This question has 0 answers so far.
0
Describe the usage of const in C++. This question has 0 answers so far.
0
How are Virtual functions are implemented in C++? This question has 0 answers so far.
0
What are characteristics of inline functions. List the differences between inline functions and macros. This question has 0 answers so far.
0
What are namespaces? What are their advantages? This question has 0 answers so far.
0
What is structured programming? How it is different from the object oriented programming? This question has 0 answers so far.
0
What is the principle reason of passing arguments by Reference? Explain with a C++ code. This question has 0 answers so far.
0
Can a programmer free () pointers allocated with new? Can he delete pointers allocated with malloc()? Explain. This question has 0 answers so far.
0
Explain the volatile keyword of C++ with a suitable example. This question has 0 answers so far.
0
Explain the concept of Dynamic binding with the help a program. This question has 0 answers so far.
0
Explain returning by reference concept by using a suitable example. This question has 0 answers so far.
0
How one can achieve information hiding in C++? Explain. This question has 0 answers so far.
0
Write a program in C++ to illustrate the concept of meta class. This question has 0 answers so far.
0
Write a program to find the sum of two numbers using friend function; when first number is the data member of one class and the second is of another class. This question has 0 answers so far.
0
Write short note on Default arguments and how these are used in function call? This question has 0 answers so far.
0
How do we allocate multidimensional array using new? This question has 0 answers so far.
0
Write a program using classes to multiply two complex numbers. Include multiple constructors as necessary. Also incorporate the concept of returning objects. objects (6.5) This question has 0 answers so far.
0
Write a program using classes to multiply two complex numbers. Include multiple constructors as necessary. Also incorporate the concept of returning objects. objects (6.5) This question has 0 answers so far.
0
Write down the syntax for defining a member function outside the class specification. How these functions can be made inline? This question has 0 answers so far.
0
Discuss ambiguity in multiple inheritance. How ambiguity can be resolved in multiple inheritance? Illustrate with a proper example. This question has 0 answers so far.
0
Discuss the methods to overload an operator in C++, Write CH programs to overload unary minus(-) with each methods. This question has 0 answers so far.
0
Write short note on pure virtual functions. Also discuss the need of pure virtual functions. This question has 0 answers so far.
0
Write short note on composition v/s classification hierarchies. This question has 0 answers so far.
0
Write a program to convert an int datatype to a class datatype(class should be of your choice). (Use typo conversion from built-in datatype to class datatype.) This question has 0 answers so far.
0
What are file modes/open mode bits? What is their significance in C++ file handling programs? This question has 0 answers so far.
0
Write a generic class to sort n items in descending order. Values should be entered by using keyboard. This question has 0 answers so far.
0
Write short note on stream and its types. This question has 0 answers so far.
0
Explain try/catch structure in C++ and its variant from the exception class. This question has 0 answers so far.
0
Write a program using class to open a text file and replacing all the vowels in lower case into upper case and vice-versa leaving other character as it is. Also count the number of vowels. This question has 0 answers so far.
0
Difference between C and C++. This question has 0 answers so far.
0
Explain the features of OOP. This question has 0 answers so far.
0
Explain Data Hiding Concept in OOPs. This question has 0 answers so far.
0
Give an example of new and delete operators. This question has 0 answers so far.
0
Explain Aggregation. This question has 0 answers so far.
0
Difference between Early binding and Late binding This question has 0 answers so far.
0
Difference between classification and composition This question has 0 answers so far.
0
What is Abstract Class explain This question has 0 answers so far.
0
Give an example of Template Class This question has 0 answers so far.
0
Give an Example of Destructor This question has 0 answers so far.
0
Explain Function Overloading with example? This question has 0 answers so far.
0
Explain Constructor with example? This question has 0 answers so far.
0
Explain Virtual Function with example ? This question has 0 answers so far.
0
Explain Template Function with example? This question has 0 answers so far.
0
Explain Benefits of OOPS? This question has 0 answers so far.
0
Explain C++ Garbage collection with example? This question has 0 answers so far.
0
Explain Multiple Inheritance with example? This question has 0 answers so far.
0
Explain Namespaces with example? This question has 0 answers so far.
0
Give an example of try and catch block. This question has 0 answers so far.
0
Write a short note on Default arguments and how these are use in function call? This question has 0 answers so far.
0
Difference between Multiple and Multilevel Inheritance with example? This question has 0 answers so far.
0
Example an example of Unary Operator Overloading? This question has 0 answers so far.
0
Explain Command line arguments with example? This question has 0 answers so far.
0
Explain Friend Function with example? This question has 0 answers so far.
0
Explain free() and malloc() with example ? This question has 0 answers so far.
0
Explain Parametric Polymorphism with example? This question has 0 answers so far.
0
Difference Between Overloading and Overriding functions? This question has 0 answers so far.
0
Explain different types of Exceptions in C++? This question has 0 answers so far.
0
Discuss ambiguity in multiple Inheritance explain with example? This question has 0 answers so far.
0
what is pure virtual function explain with example? This question has 0 answers so far.
0
what are the file modes / open mode bits? Explain with example? This question has 0 answers so far.
0
What is generic class explain with example ? This question has 0 answers so far.
0
Write a short note on stream and its types? This question has 0 answers so far.
0
How Errors can be handled during file operations explain with example? This question has 0 answers so far.
0
What is the difference between base and derived class? how data members and member functions of a base class can be accessed by derived class? This question has 0 answers so far.
0
How garbage collection does takes place in C++? Illustrate with an example. This question has 0 answers so far.
0
Give code for a template and explain its functionality. This question has 0 answers so far.
0
Design a class from which only one object can be created. If more than one object is created then the program should terminate. This question has 0 answers so far.
0
Write short note on persistent objects. This question has 0 answers so far.
0
Differentiate between compile time binding and run-time binding, This question has 0 answers so far.
0
Describe the usage of const in C++. This question has 0 answers so far.
0
How are Virtual functions are implemented in C++? This question has 0 answers so far.
0
What are characteristics of inline functions. List the differences between inline functions and macros. This question has 0 answers so far.
0
What are namespaces? What are their advantages? This question has 0 answers so far.
0
What is structured programming? How it is diferent from the object oriented programming? This question has 0 answers so far.
0
What is the principle reason of passing arguments by Reference? Explain with a C++code. This question has 0 answers so far.
0
Can a programmer freel() pointers allocated with new? Can he delete pointers allocated with malloc()? Explain. This question has 0 answers so far.
0
Explain the volatile keyword of C++ with a suitable example. This question has 0 answers so far.
0
Explain the concept of Dynamic binding with the help a program. This question has 0 answers so far.
0
Explain returning by reference concept by using a suitable example. This question has 0 answers so far.
0
How one can achieve information hiding in C++? Explain. This question has 0 answers so far.
0
Write a program in C++ to illustrate the concept of meta class. This question has 0 answers so far.
0
Write a program to find the sum of two numbers using friend function; when first number is the data member of one class and the second is of another class. This question has 0 answers so far.
0
Write short note on Default arguments and how these are used in function call? This question has 0 answers so far.
0
How do we allocate multidimensional array using new? This question has 0 answers so far.
0
Write a program using classes to multiply two complex numbers. Include multiple constructors as necessary. Also incorporate the concept of returning objects. This question has 0 answers so far.
0
Write down the syntax for defining a member function outside the class specification. How these functions can be made inline? This question has 0 answers so far.
0
Discuss ambiguity in multiple inheritance. How ambiguity can be resolved in multiple inheritance? Illustrate with a proper example, This question has 0 answers so far.
0
WriteDiscuss the methods to overload an operator in C++, write C++programs to overload unary minus(-) with each methods. This question has 0 answers so far.
0
Write short note on pure virtual functions. Also discuss the need of pure virtual functions. This question has 0 answers so far.
0
Write short note on composition v/s classifichon hierarchies. This question has 0 answers so far.
0
Write a program to convert an int datatype touches datatype(class should be of your choice). [Use type conversion from built-in datatype to class datatype.) This question has 0 answers so far.
0
What are file modes/open mode bits? What is their significance in C++ file handling programs? This question has 0 answers so far.
0
Write a generic class to a n items in descending order Values should be entered by using keyboard. This question has 0 answers so far.
0
Write short note on stream and its types. This question has 0 answers so far.
0
Explain try/catch structure in C++ and its variant from the exception class, This question has 0 answers so far.
0
Write a program using class to open a text file and replacing all the vowels in lower case into upper case and vice-versa leaving other character as it is. Also count the number of vowels. This question has 0 answers so far.
0
Briefly explain the Pure virtual function. This question has 0 answers so far.
0
Briefly explain the Differentiate between OOP and Procedural programming. This question has 0 answers so far.
0
Briefly explain the Inline functions. This question has 0 answers so far.
0
Briefly explain the Garbage Collection. This question has 0 answers so far.
0
Briefly explain the Early v/s Late Binding. This question has 0 answers so far.
0
Briefly explain the Nested Classes. This question has 0 answers so far.
0
Briefly explain the This pointer. This question has 0 answers so far.
0
Briefly explain the Static data member. This question has 0 answers so far.
0
Briefly explain the Copy constructor. This question has 0 answers so far.
0
Briefly explain the Protected keyword. This question has 0 answers so far.
0
Define encapsulation and prove how it allows us to achieve data. Hiding giving an example code. This question has 0 answers so far.
0
Why did people change over from structured programming to object oriented programming? This question has 0 answers so far.
0
Describe the usage of const in C++. This question has 0 answers so far.
0
Explain the use of volatile keyword in C++. This question has 0 answers so far.
0
How input and outputs are taken/displayed in C++? Differentiate between the input and outputs operators in C and C++. This question has 0 answers so far.
0
What is meant by dynamic initialization of objects? Why is it needed?How is it accomplished? Illustrate. This question has 0 answers so far.
0
Create a String class to create empty strings or create strings from other strings passed as argument to its constructor. Memory allocation for creation and disposal of strings will be dynamic. The string class will have one char pointer to point the string and member length to hold the length of this string. Write the Constructor and destructors for this class. Show method to print the strings right aligned on the screen. This question has 0 answers so far.
0
What is the principal reason of passing arguments by references?Explain with the help of example. This question has 0 answers so far.
0
Create a time class to perform following operations over time(hh:mm:ss) using 24 hrs clock. To create or initialize any object of type time using constructors. To print the time in the format hh:mm:ss. This question has 0 answers so far.
0
WAP to overload binary + operator to concatenate two objects of user defined class String. This question has 0 answers so far.
0
Discuss various ambiguities in Multiple Inheritance and also explain.how they can be overcome in C++. This question has 0 answers so far.
0
Explain the concept of function overloading. Write a program to demonstrate function overloading for function swap ()to swap values corresponding to different data types using C++ code. This question has 0 answers so far.
0
Define generic function and generic class, also give their syntax. This question has 0 answers so far.
0
Write a template class to sort n items in descending order. The values should be entered by user. This question has 0 answers so far.
0
Explain how compiler processes call to class template. This question has 0 answers so far.
0
Can we have template class with more than one type of argument?Explain with help of an example. This question has 0 answers so far.
0
Explain Merits and Demerits of C++. This question has 0 answers so far.
0
What is an object? Explain with an example. This question has 0 answers so far.
0
What is a class? Explain different access modifiers in a class. This question has 0 answers so far.
0
Explain Abstract class. This question has 0 answers so far.
0
Explain Container class This question has 0 answers so far.
0
Explain This pointer This question has 0 answers so far.
0
Explain Static data members and member functions. This question has 0 answers so far.
0
Explain Encapsulation. This question has 0 answers so far.
0
Explain Data hiding. This question has 0 answers so far.
0
Explain Polymorphism This question has 0 answers so far.
0
Difference between object oriented programming and procedure programming and also explain the structure of C++. This question has 0 answers so far.
0
What is virtual function? Write rules for virtual function. Explain with example. This question has 0 answers so far.
0
What is a friend function? Merits & Dements of Friend funetion. Explain with example . This question has 0 answers so far.
0
What is inline member function? Why we declare a member function as inline. Explain with example. This question has 0 answers so far.
0
Explain function prototyping with example, This question has 0 answers so far.
0
Explain function overloading with example. This question has 0 answers so far.
0
What is Constructor?example. What is constructor ? Explain various types of Constructor with example. This question has 0 answers so far.
0
Explain composition v/s classification hierarchies? This question has 0 answers so far.
0
Explain new operator with respect to C++ with examples. This question has 0 answers so far.
0
Explain destructor with respect to C++ with examples. This question has 0 answers so far.
0
Give a programming example that overloads--operator with its use. This question has 0 answers so far.
0
Which operators cannot be overloaded? Write steps to overload operator so that it can add two complex numbers. This question has 0 answers so far.
0
What does inheritance means in C++? What are different forms of inheritance? Give an example of each. This question has 0 answers so far.
0
What are the differences between pointers to constant and constant pointers? This question has 0 answers so far.
0
List and explain in brief various functions required for random access file operations. Illustrate with an example, how 'endl' and 'setw' manipulator works. This question has 0 answers so far.
0
What is the difference between opening a file with constructor and opening a file with open() function. This question has 1 answers so far.
0
Explain with example how can a template class be created. This question has 0 answers so far.
0
Explain Generic function and Generic class. This question has 0 answers so far.
0
What is Exception handling? Explain types of exception handling and explain suitable examples. This question has 0 answers so far.
0
In what way destructor is different from a delete operator? Explain with example. This question has 0 answers so far.
0
Write a short note on type casting? Explain with example. This question has 0 answers so far.
0
Define Namespaces? Explain with example. This question has 0 answers so far.
0
Briefly discuss different techniques of using polymorphism in C++.Explain. This question has 0 answers so far.
0
What are the functions available in C++ to manipulate the file pointers? Explain. This question has 0 answers so far.
0
What are the different data types available in C++? Explain. This question has 0 answers so far.
0
Explain encapsulation and data hiding features of C++. This question has 0 answers so far.
0
Explain the persistent objects in C++. This question has 0 answers so far.
0
Explain garbage collection in C++. This question has 0 answers so far.
0
Explain ambiguity in multiple inheritances. This question has 0 answers so far.
0
Compare meta class and abstract class. This question has 0 answers so far.
0
Explain multiple catch statement used in exception handling. This question has 0 answers so far.
0
Compare macros and inline functions. This question has 0 answers so far.
0
Explain the features of procedure oriented programming. This question has 0 answers so far.
0
Explain the features of C and C++ programming languages. This question has 0 answers so far.
0
Compare features of various C++ compilers. This question has 0 answers so far.
0
Write a program to illustrate new and delete operators in C++. This question has 0 answers so far.
0
Explain this pointer. Give an illustration. This question has 0 answers so far.
0
Write a program to illustrate static function and static variable in a class. This question has 0 answers so far.
0
Write a C++ program to illustrate Friend Class. This question has 0 answers so far.
0
Write a program to illustrate operator overriding. This question has 0 answers so far.
0
Explain parametric polymorphism. This question has 0 answers so far.
0
Write a C++ program to overload the -- operators. This question has 0 answers so far.
0
Write a C++ program to overload the ++ operators. This question has 0 answers so far.
0
Write a C++ program to overload the {= operators. This question has 0 answers so far.
0
Write a C++ program to illustrate overloading of template functions. This question has 0 answers so far.
0
Explain early binding and late binding. This question has 0 answers so far.
0
Write a program to illustrate error handling in file operations. This question has 0 answers so far.
0
Explain the working of exception handling in C++. This question has 0 answers so far.
0
Write a C++ program to illustrate virtual base class. This question has 0 answers so far.
0
Write short note on Class aggregation This question has 0 answers so far.
0
Write short note on Virtual function. This question has 0 answers so far.
0
Write short note on STL libraries in C++ This question has 0 answers so far.
0
Write short note on Namespace This question has 0 answers so far.
0
Write short note on Generic programming This question has 0 answers so far.
0

(a) What is object-oriented paradigm? Explain the various features of object oriented paradigm?

This question has 0 answers so far.
0

(b) What is the difference between members functions defined inside and outside the body of a class?

This question has 0 answers so far.
0

(a) Define operator overloading. Write a program in C++ to subtract two complex numbers using operator overloading.

This question has 0 answers so far.
0

(b) Explain how base class member function can be invoked in a derived class if the derived class also has a member function with the same name.

This question has 0 answers so far.
0

(a) What are friend functions and friend classes? Discuss the relation of friend function with public and protected data members of the class.

This question has 0 answers so far.
0

(b) Overload new and delete operators to manipulate objects of any assumed class. 

This question has 0 answers so far.
0

(b) What is an inheritance? What are the different visibility modes supported by C++. Explain with example.

This question has 0 answers so far.
0

(a) What is template function in C++? Write a program for template function overloading. 

This question has 0 answers so far.
0

(b) Write a program that reads content from one file and copies that content in another file. 

This question has 0 answers so far.
0

(a) What are exceptions? What are the differences between synchronous and asynchronous exceptions? 

This question has 0 answers so far.
0

 (b) What is a standard template library (STL)? Explain the term sequence containers and associative containers. 

This question has 0 answers so far.
0

Attempt the following questions:-

(a) What kind of things can become objects in OOPS? 

This question has 0 answers so far.
0

Attempt the following questions:-

(b) Define private, public and protected data members of the class with example?

This question has 0 answers so far.
0

Attempt the following questions:-

(c) What do you mean by dynamic binding? How it is useful in C++?

This question has 0 answers so far.
0

Attempt the following questions:-

(d) Distinguish between data abstraction and data encapsulation.

This question has 0 answers so far.
0

Attempt the following questions:-

(e) Describe with examples, the uses of enumeration data types.

This question has 0 answers so far.
0

Attempt the following questions:-

(f) Differentiate between constructor and destructor?

This question has 0 answers so far.
0

Attempt the following questions:-

(g) How do the following statements differ? (i) char * const p; (ii) charconst *P;

This question has 0 answers so far.
0

Attempt the following questions:-

(h) When do we declare any member of a class as static?

This question has 0 answers so far.
0

Attempt the following questions:-

(i) What is a parameterized constructor? Explain using example.Explain using example.

This question has 0 answers so far.
0

Attempt the following questions:-

(j) Define operators which cannot be overloaded?

This question has 0 answers so far.
0

(a) Define the terms:

    (i) Destructor 

This question has 0 answers so far.
0

(a) Define the terms:

    (ii) Abstract Class

This question has 0 answers so far.
0

(a) Define the terms:

  (iii) Virtual function  

This question has 0 answers so far.
0
Explain the features of C and C++ programming languages. This question has 0 answers so far.
0

Explain the features of macros and inline functions. 

This question has 0 answers so far.
0

Give the syntax of defining a class.

This question has 0 answers so far.
0

Explain various types of inheritance. 

This question has 0 answers so far.
0
Difference between Early binding and Late binding This question has 0 answers so far.
0

 Explain virtual base class with an illustration.

This question has 0 answers so far.
0

Explain the features of generic programming.

This question has 0 answers so far.
0

Explain namespace. Give an example.

This question has 0 answers so far.
0

Explain various types of exceptions.

This question has 0 answers so far.
0

Compare the feature of structured programming language and object oriented programming language. 

This question has 0 answers so far.
0

Explain the features of inheritance and exception handling used in object oriented programming languages.

This question has 0 answers so far.
0

Explain the features of C++ environment:

(i) C++ Compilers

(ii) Testing a C++ program

This question has 0 answers so far.
0

Explain the features of C++ environment:

(i) C++ Compilers

(ii) Testing a C++ program

This question has 0 answers so far.
0
Write a program to illustrate new and delete operators in C++. This question has 0 answers so far.
0

Explain various types of polymorphism.

This question has 0 answers so far.
0

Mention any four standard libraries used in C++.

This question has 0 answers so far.
0

Write a C++ program to illustrate the default constructor, parametric constructor and copy constructor.

This question has 0 answers so far.
0

Explain the role of friend functions in C++.

This question has 0 answers so far.
0

Explain the following:-

(i) Abstract class and meta class

(ii) Data members and member functions

(iii) This pointer

This question has 0 answers so far.
0
Explain function overloading with example. This question has 0 answers so far.
0

Explain the role of constructors and destructors in C++.

This question has 0 answers so far.
0

Write a C++ program to illustrate the following: 

(i) Call by value

(ii) Call by reference

This question has 0 answers so far.
0

Write a C++ program to illustrate the following:

(i)overloading of member functions and

(ii) overriding of member functions. 

This question has 0 answers so far.
0

Write a C++ program to illustrate virtual functions.

This question has 0 answers so far.
0

Give an example to illustrate aggregation and composition. 

This question has 0 answers so far.
0

Explain the access mechanism of public, private and protected related to inheritance.

This question has 0 answers so far.
0
Write a C++ program to illustrate overloading of template functions. This question has 0 answers so far.
0

Explain the features of persistent objects. Give an example.

This question has 0 answers so far.
0

Give the syntax of write() and read() functions using in file streams.

This question has 0 answers so far.
0
Explain Template Function with example? This question has 0 answers so far.
0

Write a C++ program to illustrate try, throw and catch statements.

This question has 0 answers so far.
0

 Answer  the following:

a) Explain the use of new and delete operator using example.

b) Explain namespace with example.

c) What is this pointer? Explain with example.

d) Explain Stream classes for file operations.

e) Explain aggregation in OOP with example.

f) Differentiate between compile time and runtime polymorphism.

This question has 12 answers so far.
0

Explain C++ standard Libraries

This question has 2 answers so far.
0

What are different applications of OOP?

This question has 2 answers so far.
0

What are C++ abstract classes? Explain with example.

This question has 2 answers so far.
0

Write C++ program to illustrate constructor overloading.

This question has 2 answers so far.
0

What is difference between constructor and destructor?

This question has 2 answers so far.
0

What are friend functions? Illustrate with code. Why  they are not preferred?

This question has 2 answers so far.
0

What is copy constructor? Explain with example.

This question has 2 answers so far.
0

Explain data hiding and encapsulation with example,

This question has 4 answers so far.
0

Explain difference between Private, Public and Protected Access Mechanism with respect to Inheritance.

This question has 2 answers so far.
0

What are different types of Inheritence?

This question has 2 answers so far.
0

Write a code to overload Unary operator.

This question has 2 answers so far.
0

Explain Virtual base class with suitable example?

This question has 2 answers so far.
0

Write a code to overload binary operator?

This question has 2 answers so far.
0

How is an exception handled in C++?

This question has 2 answers so far.
0

What is generic programming? How it is implemented in C++?

This question has 2 answers so far.
0

Explain and write syntax of put() and get()  functions.

This question has 2 answers so far.