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

Use these filters to find papers

  Question
0
List the difference between function overloading and overriding This question has 0 answers so far.
0
Differentiate between the new and malloc(). Can delete be used to free memory allocated usihg the malloc()? This question has 0 answers so far.
0
Explain the procedure to overload the pre-increment and post-increment operators with suitable examples. This question has 0 answers so far.
0
Write a function to return the division of two complex numbers.The real part and imaginary part could be int, float or double. This question has 0 answers so far.
0
Write the characteristics of inline functions. List the differences between inline functions and macros. This question has 0 answers so far.
0
What are the abstract classes? Give example. This question has 0 answers so far.
0
What are the static data members? Explain and give a suitable example. This question has 0 answers so far.
0
Explain the differences between abstraction and encapsulation. This question has 0 answers so far.
0
What is structured programming? How is it different from the object oriented programming? This question has 0 answers so far.
0
Write a program to calculate the roots of any quadratic equation dealing complex roots also and printing them in appropriate form. This question has 0 answers so far.
0
Differentiate between the run time memory management in C++from c. 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. 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 find addition of two times using operator overloading Fore.g.t1-t2-t3. or tl=27+t2; must be valid statements. In the second statement 27 seconds are added to 12. 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. Overload the operator>to compare two times. Thus, t1>t2 or11>35 can be compared resulting the result true or false 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 print the time in the format hh:mm:ss This question has 0 answers so far.
0
How are the C++ objects created using new stored in the memory? This question has 0 answers so far.
0
Write a program to multiply two matrices. Both matrices order will be entered through keyboard and are created accordingly at run time. The matrix containing multiplication is also created at run time. Use the constructors and destructors. This question has 0 answers so far.
0
Write a program in C++ to illustrate the concept of metaclass. This question has 0 answers so far.
0
Give the advantages of the reference variables over the pointer variables. Under which situation they should be avoided? This question has 0 answers so far.
0
What are the nameless objects? Why are they used in C++? This question has 0 answers so far.
0
Discuss the ways so that a class can't be inherited by any means. This question has 0 answers so far.
0
Name the operators and their symbols which can't be overloaded in C++ This question has 0 answers so far.
0
Explain the nested classes with suitable example. This question has 0 answers so far.
0
What is this pointer? What happens on the statement: delete this; in a class. Write a program demonstrating the use of this pointer. This question has 0 answers so far.
0
What is a copy constructor? Explain with example, This question has 0 answers so far.
0
Write a program to support the following statements over strings in C++ (1) int p="xyz"; to store the length 3 of "xyz" into p. This question has 0 answers so far.
0
Write a program to support the following statements over strings in C++ s1 ="hello" +s2; to find concatenation of "hello" and s2 into s1. This question has 0 answers so far.
0
Write a program to support the following statements over strings in C++ S1=-1s2; to find reverse of s2 into s1. This question has 0 answers so far.
0
Explain the try/catch structure in C++ and its variants from the exception class. . This question has 0 answers so far.
0
Discuss the hierarchy of stream class. This question has 0 answers so far.
0
Write a program using class for opening text file and replacing all lowercase letters to uppercase and vice versa leaving other characters intact. This question has 0 answers so far.
0
Explain the persistent objects. This question has 0 answers so far.
0
Differentiate between the multilevel and multiple inheritances. This question has 0 answers so far.
0
Explain the syntax and working of any six file functions in stream classes. This question has 0 answers so far.
0
Give five main advantages of object-oriented programming Describe each advantage by giving a suitable example. This question has 0 answers so far.
0
Describe the usage of const in C++. This question has 0 answers so far.
0
Give an example of a generic class. Explain it. This question has 0 answers so far.
0
What is the difference between a default constructor and a copy constructor? This question has 0 answers so far.
0
How are virtual functions implemented in C++? This question has 0 answers so far.
0
What is multiple inheritance? What are its advantages and disadvantages? This question has 0 answers so far.
0
Why should inline functions be used instead of plain old #define macros? This question has 0 answers so far.
0
Give an example in the form of code to explain the use of a template. This question has 0 answers so far.
0
Why is debugging required? Give suitable examples to justify it. This question has 0 answers so far.
0
What is Exception handling. What are its uses? This question has 0 answers so far.
0
Write a C++program to show the concept of inheritance. This question has 0 answers so far.
0
Wirite short notes on Information hiding. This question has 0 answers so far.
0
Wirite short notes on Abstraction (with suitable examples/program). This question has 0 answers so far.
0
What is polymorphism? How can run time polymorphism be implemented? How is late binding related to it? Give suitable examples. This question has 0 answers so far.
0
Give short notes on Dynamic memory allocation. This question has 0 answers so far.
0
Give short notes on Fánctional decomposition. This question has 0 answers so far.
0
Create a class called student. Allow multiple constructors in the class. Include methods to generate report card of marks obtained in 5 subjects. The program should run and display the results for atleast 20 students. The program should use the concept of dynamic memory allocation. This question has 0 answers so far.
0
Give short note on garbage collection in C++ 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 in C++ to show the concept of metaclass. This question has 0 answers so far.
0
How are C++ objects laid out in memory? 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
Write short notes on Method and Parametric polymorphism. This question has 0 answers so far.
0
Write short notes on Differences between overloading and overriding. This question has 0 answers so far.
0
Write a class linked queries in C++. This class should have functions for adding or deleting an item from the queue after necessary checks. The inked queue is not to be implemented using arrays. This question has 0 answers so far.
0
Give difference between composition and classification hierarchy using suitable code This question has 0 answers so far.
0
Give a code in C++to show the concept of operator overloading. This question has 0 answers so far.
0
Name three operators that cannot be overloaded. Give their symbols in C++ also This question has 0 answers so far.
0
Write a genere swap macro in CA macro which can swap any type of data (ie.int, char,font struct etc.) This question has 0 answers so far.
0
Write short notes on Namespaces and their advantages. This question has 0 answers so far.
0
Write short notes on Difference between muslevel and multiple inheritance This question has 0 answers so far.
0
Write short notes on Persistant objects. This question has 0 answers so far.
0
Write a program in C++ to show the concept of exception handing how do we change the string length of an array of char to prevent memory leaks even someone throws an exception? This question has 0 answers so far.
0
Write short notes on file open( ) and close( ) syntax This question has 0 answers so far.
0
Write short notes on Streams and its types. This question has 0 answers so far.
0
Write short notes on Utility of generic class. This question has 0 answers so far.
0
What is the purpose of copy constructor? This question has 0 answers so far.
0
Differentiate between the compile time binding and run-time binding. This question has 0 answers so far.
0
Consider the definition of the following function template: Template X wow (X x, Xy) (return x+y;) Find and explain the output of the following statements:- cout << wow (5,7) << endI; This question has 0 answers so far.
0
Consider the definition of the following function template: Template X wow (X x, Xy) (return x+y;) string sl sunny"; string 2-day"; cout< This question has 0 answers so far.
0
Write a recursive function to multiply two positive integers using m and n using repeated additions. This question has 0 answers so far.
0
List differences between virtual classes and virtual functions. This question has 0 answers so far.
0
What are namespaces? What are their advantages? This question has 0 answers so far.
0
What are virtual destructors? Explain and give a suitable example. This question has 0 answers so far.
0
List differences between free()/delete pair and mallocl()/calloc() pair. This question has 0 answers so far.
0
What are abstract classes? Explain their advantages. How are they created? Show by suitable example, This question has 0 answers so far.
0
How does the const differ in C++ from C? This question has 0 answers so far.
0
Explain the volatile keyword of C++ with suitable example. This question has 0 answers so far.
0
Explain the initialization list method for initialization of class datamembers through the constructors. 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- (i) Constructors and destructors for this class. 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- Overload the + operator to find the concatenation of strings s1 and s2 into string s3 by the statement s3=s1+s2; 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- Overload the operatorto compare two strings in the statement: if (s1 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- Show() method to print the strings right aligned on the screen. This question has 0 answers so far.
0
Differentiate between aggregation and composition with suitable examples. 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 the method and syntax for calling constructors of base classes in multilevel inheritances with suitable example. Take at least two levels of inheritance. This question has 0 answers so far.
0
Create a matrix class Dynamically create a matrix of order mxn. This question has 0 answers so far.
0
Create a matrix class To read the elements into it through the keyboards. This question has 0 answers so far.
0
Create a matrix class to multiply two matrices of orders mxn and nxp. This question has 0 answers so far.
0
Create a matrix class to initialize one matrix from another matrix using the copy constructor. This question has 0 answers so far.
0
Create a matrix class to delete a matrix explicitly using the destructor. This question has 0 answers so far.
0
Create a matrix class to print a matrix on the display. This question has 0 answers so far.
0
Discuss methods to overload the unary, pre-increment++ and post-increment++ operators. This question has 0 answers so far.
0
Explain the nested classes with suitable example: This question has 0 answers so far.
0
What is this pointer? What happens on the execution of the statement: delete this, in a class. Write a program demonstrating the use of this pointer. This question has 0 answers so far.
0
Discuss the ways to convert one object into another object. This question has 0 answers so far.
0
Design classes called polar and rectangle for representing a point in polar and rectangle systems. Support data conversion functions to support statements such as: rectangle rl, r2; polar pl, p2; rl=pl, p2=r2; This question has 0 answers so far.
0
Explain the exception handling mechanism of C++. This question has 0 answers so far.
0
Discuss the ostream, istream and other stream classes starting with ios class. This question has 0 answers so far.
0
Write a program using class for opening text file and counting the words and lines in it. This question has 0 answers so far.
0
Explain the persistent objects. This question has 0 answers so far.
0
Write a generic class to sort n items into ascending order. Items are read through the keyboard. This question has 0 answers so far.
0
Explain the working of seekg(), seekp0, tellpl. tellp(), read(), write(),bad(), good() functions in stream classes. This question has 0 answers so far.
0

a) How does new operator in C++ is different from dynamic allocation functions in C? 

This question has 0 answers so far.
0

b) How static member is different from a non static member?

This question has 0 answers so far.
0

c) What do you mean by an abstract class?

This question has 0 answers so far.
0

d) What is an online function? How is it different form a macro?

This question has 0 answers so far.
0

e) How does C++ support data abstraction?

This question has 0 answers so far.
0

f) What do you mean by a generic data type?

This question has 0 answers so far.
0

g) Explain the role of reference variable with suitable example.

This question has 0 answers so far.
0

h) What do you mean by the name space concept?

This question has 0 answers so far.
0

i) What do you mean by base address of an array? Can you access the content of an array by incrementing the base address value?

This question has 0 answers so far.
0

j) What is type casting and when is it used?

This question has 0 answers so far.
0

a) Write a C++ code to store 6 integer numbers using dynamic memory allocation approach. 

This question has 0 answers so far.
0

Write a program to print the following output

1

22

333

4 4 4 4

This question has 0 answers so far.
0

a) Write a function for multiplication of two matrices. 

This question has 0 answers so far.
0

b) Explain various object oriented features

This question has 0 answers so far.
0

a) What is a friend function? Write its merits and demerits.

This question has 0 answers so far.
0

b) Write a program that will add two time values measured in terms of hours and minutes. 

This question has 0 answers so far.
0

a) What is a copy constructor? Explain with suitable example.

This question has 0 answers so far.
0

b) Write a program that overloads an unary minus operator. 

This question has 0 answers so far.
0

What do you mean by polymorphism? Explain various types of polymorphismwith suitable example.

This question has 0 answers so far.
0

Write a template function that finds maximum value in an array which is passed to it as an argument. 

This question has 0 answers so far.
0

b) Explain multiple inheritance with suitable example.

This question has 0 answers so far.
0

a) How exception handling is performed in C++?

This question has 0 answers so far.
0

b) Write a C++ program that displays the content of a file. 

This question has 0 answers so far.
0

Write a program that reads

Guru Gobind Singh Indraprastha Univeristy

from the keyboard into five separate string objects and then concatenates them into a new string using append() function. 

This question has 0 answers so far.
0

(a) What is the purpose of unery scope resolution operator?

(b) Compare the notions of struct and class in C++,

(c) Write short note on Static member functions.

(d) Differentiate between Object Oriented and procedural approach of programming

(e) Distinguish between composition and classification hierarchies.

(f) Write a short note on copy constructor.

(g) Give a C++ code/program to explain the use of array of objects.

(h) Can we access the private date members through friend functions? I yes, then explain

(i) Differentiate between Overloading and Overriding

(j) Name four operators that cannot be overloaded Give their symbols also.

This question has 0 answers so far.
0

(a) Write short notes on the following-

(i) Abstruction

(ii) Dynamic Binding 

This question has 0 answers so far.
0

(b) What Dynamic memory allocation? How can we achieve Dynamic memory allocation in C++? 

This question has 0 answers so far.
0

(a) Discuss inline functions with a suitable example. Also, discuss the situations in which compiler ignore the request of making a function inline.

This question has 0 answers so far.
0

b) Explain the initialization list method for initialization of class data members through, the constructor.

This question has 0 answers so far.
0

'(c) Write short notes on Functional and data decomposition.

This question has 0 answers so far.
0

(a) Write short on garbage collection in C++.

This question has 0 answers so far.
0

(b) Explain the concept of abstract classes. Give a program to explain this concept.

This question has 0 answers so far.
0

 (c) Write short note on Nested Classes.

This question has 0 answers so far.
0

(a) Create a class rared emplayee. Allow multiple constructors in the class. Create methods to generate salary and sales report of each employee using these constructors. The program should run and also display the details of atleast of 5 employees.[ Note: choose appropriate data members].

This question has 0 answers so far.
0

(b) Flow are C++ objects laid out in memory?

This question has 0 answers so far.
0

(c) Write short note or Function prototype.

This question has 0 answers so far.
0

(a) Write a C++ program to overload "+" operator to concatenate two strings.

This question has 0 answers so far.
0

(b) Explain the concept of aggregation with a suitable example.

This question has 0 answers so far.
0

(c) Write short note on method and parametric polymorphism.

This question has 0 answers so far.
0

(a) Discuss the ways to convert one object into another object.

This question has 0 answers so far.
0

(b) What is this pointer? What happens on the statement: delete this, in a class?

This question has 0 answers so far.
0

(c) Explain the concept of hybrid inheritance in detail. Illustrate with a suitable example. 

This question has 0 answers so far.
0

(a) What is polymorphism? How can run time polymorphism be implemented? How is late binding related to it? Illustrate with a suitable example. 

This question has 0 answers so far.
0

(b) Discuss the hierarchy of stream class.

This question has 0 answers so far.
0

(c) Explain the persistent objects.

This question has 0 answers so far.
0

(a) Explain the working of seekg(), seckp(), tellp() tell(), read(), write(), bad(), good() functions with example.

This question has 0 answers so far.
0

(b) Write short note on utility of generic classes.

This question has 0 answers so far.
0

(c). Write a program to swap two numbers using template function.

This question has 0 answers so far.