X

CS6301 Programming & Data Structure B.E Question Bank : srividyaengg.ac.in

Name of the College : Sri Vidya College of Engineering & Technology
University : Anna University
Department : Computer Science and Engineering
Subject Code/Name : CS6301-Programming & Data Structure –II
Degree : B.E
Year : II
Semester : III
Document Type : Question Bank
Website : srividyaengg.ac.in

Downloads :
https://www.pdfquestion.in/uploads/sr…8-QB104311.pdf
https://www.pdfquestion.in/uploads/sr…8-QB104312.pdf
https://www.pdfquestion.in/uploads/sr…8-QB104313.pdf

Sri Vidya Programming & Data Structure Question Paper

Unit-I

Object Oriented Programming Fundamentals :
Part-A :
1. Define object oriented programming
2. Define Object.
3. Define Class.

Related : Sri Vidya College of Engineering & Technology CS6302 Database Management Systems B.E Question Bank : www.pdfquestion.in/1572.html

4. Define Encapsulation.
5. Define Data Hiding.
6. Define Data Abstraction.
7. Define Data Members.
8. Define Constructor.
9. List the Types of Constructor.
10. Define Static Member.
11. List the storage class in C++.


12. List out the operators used in pointer concepts.
13. Define Pointer Variable.
14. What is the use of Scope resolution operator.
15. What is call by reference and address
16. State the Advantages of Default Argument.
17. Define Constant members.
18. Define Copy Constructor.
19. Difference between Copy Constructor and Assignment Constructor.
20. Define this pointer.

Part-B :
1. Explain the basic features of Object oriented programming in C++.(16)
2. Difference between Struct and Class in also illustrate with Example.(8)
3. Explain briefly about Constructor and it types with suitable Example.(16)
4. Explain about Storage Classes in C++ with Examples(16).
5. Explain about static members with suitable example.(8).
6. Explain the following (8)
i) Pointer object.
ii) this pointer.
7.Explain about call by reference and return by reference with C++ Programs(16)
8.Write a C++ program to get and display employee details using class and object.(16)
9.Write a C++ program to get and display student details using static members.(16)
10.Write a C++ program to use destructor and constructor in C++.(10)

Unit-II

Object Oriented Programming Concepts :
Part-A :
1.What is String iterator?
2. Define String Constructor.
3.List the String Errors.
4.Define Copy Constructor.
5.Define Polymorphism
6.List the types of polymorphism.
7.What is function overloading?
8.Define operator overloading.
9.List the operator cannot overload in C++.
10.List the Advantage and disadvantage of operator overloading.
11.How we achieve dynamic memory allocation in C++?
12.What is nested Class?
13.Define inheritance.
14.List the types of inheritance.
15.Difference between multi level and multiple inheritance.
16.Define Virtual Function.
17.Define pure Virtual function.
18.What is Virtual table.?
19.What is Virtual Destructor?
20.How to implement default argument with Virtual function.

Part-B :
1.Explain briefly about Copy Constructor with example program in C++.
2.Explain briefly about Inheritance with example program in C++.
3.Explain about the function overloading with suitable example program in C++.
4.Explain the syntax of operator overloading.How many arguments are needed in the definition of an overloaded binary operator with and without friend function and give example
5.Explain about the operator overloading through friend function with example program.
6.Write a C++ program to add two complex number using operators overloading.
7.Explain about nested class with suitable example.
8.Explain briefly about virtual function with suitable example program

UNIT-III

C++ Programming Advanced Features :
PART-A :
1. Define Abstract class.
2. Define Exception Handling.
3. Define STL
4. List the types of STL components.
5. What is Container and its types.
6. What are the advantages of using container.
7. Difference between sequence and sorted associative container.
8. What is iterator.
9. What is the use of allocator.
10. What is meant by adaptors container? give Example.
11. Define template.
12. List the types of Template.
13. What are the advantages of Template.
14. What is parameterized class.
15. List the various file modes in the C++
16. What is file pointer.?
17. Give a syntax reading a binary file.
18. Give a syntax for writing a binary file.
19. List the types to open the binary file.
20. List the types to close the binary file.

PART-B :
1. Explain the Exceptional handling with suitable diagram and example.
2. Explain briefly about template concepts.
3. Explain briefly about File Handling in C++..
4. Write a C++ program to implement linked list concept using template.
5. Explain about Iterator with suitable example.
6. Explain about function adapters with suitable example.
7. Explain about allocator with suitable example.
8. Write a C++ program to sort the data using template.
9. Define a template class stack and implement all possible functionality of a stack.
10. Write a program to implement a Random Access File.

Jency:
www.pdfquestion.in © 2022 Contact Us   Privacy Policy   Site Map