0% found this document useful (0 votes)
318 views4 pages

CG Oral Question

This document contains titles and questions on a variety of computer science topics including object-oriented programming concepts like constructors, destructors, encapsulation, and inheritance. It also includes topics related to C++ like function overloading, operator overloading, templates, and file input/output. Additional sections discuss computer graphics algorithms like line drawing, circle drawing, scan line filling, and 2D transformations. The final section covers fractals and curves.

Uploaded by

Amit Sangale
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC or read online on Scribd
0% found this document useful (0 votes)
318 views4 pages

CG Oral Question

This document contains titles and questions on a variety of computer science topics including object-oriented programming concepts like constructors, destructors, encapsulation, and inheritance. It also includes topics related to C++ like function overloading, operator overloading, templates, and file input/output. Additional sections discuss computer graphics algorithms like line drawing, circle drawing, scan line filling, and 2D transformations. The final section covers fractals and curves.

Uploaded by

Amit Sangale
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC or read online on Scribd
You are on page 1/ 4

TITLE: Creation & Deletion of Objects from Bag

1.What is constructor? Explain different types of constructor?

2.What is a default constructor?

3.What is data encapsulation?

4.What are the access privileges in C++? What is the default access level?

5.What is the difference between delete and delete []?

6.Explain different features of OOP?

7.What is destructor?

8.What is static data member?

TITLE: Friend function and function overloading

1.What is the difference between function overloading and function overriding?

2.What is friend function?

3.What is mean by inline function?

4.When you will make a function inline? Why?

TITLE: String operations using operator overloading

1. What is operator overloading?

2. Why is it necessary to overload an operator?

3. How to overload the insertion & extraction operator

4. How many arguments are required in the definition of an overloaded unary


operator?

5. What are the different between global and local data?


TITLE: Multiple Inheritance

1.What is inheritance?

2.What is multiple inheritance? What are its advantages and disadvantages?

3.What is the difference between public, protected, and private members of a


class?

TITLE: Virtual Function

1.What is polymorphism?

2.What is the difference between non-virtual and virtual functions?

3.What is a pure virtual function?

4.What is an abstract base class?

5.What is a virtual base class?

6.When do we make a class virtual?

7.How is polymorphism achieved at a) compile time, b) run time?

8.Why do we need virtual function?

TITLE: File Operations

1.What is stream?

2.Explain file handling in c++?

3.Whar are input & output streams?

4.Describe the various cases available for file poeration?

5.What is a file mode? Explain each mode?

6.Explain file pointer?


TITLE: Templates

1. What is generic programming? How it is implemented in c++?

2. What is template?

3. Distinguish between function overloading and function template?

TITLE: Line drawing

1. Explain DDA line drawing algorithm?

2. Explain Bresehnam’s Algorithm?

3. What is anti-aliasing? How it is implemented in line drawing?

4. What is pixel?

5.
TITLE: Circle Drawing

1. Explain DDA algorithm for circle generation?

2. Explain Bresehnam’s circle drawing Algorithm?

3. What is anti-aliasing? How it is implemented in line drawing?

4. What is pixel?

5.
TITLE: Scan Line

1. What are the steps involved in filling a polygon using the scan line method?

2. Explain flood fill Algorithm?


TITLE: 2 D Transformations

1. What is 2D sharing?

2. Explain Translation?

3. Explain Rotation & scaling?

4. How do you perform shear in two dimensions?

TITLE: Fractals

1. What is fractal?

2. How are fractals generated?

3. Explain Bezier-curve?

4. Explain Hilbert’s curve?

You might also like