X

CS6301 Programming & Data Structures Question Bank : dmice.ac.in

Name of the College : DMI College OF Engineering
Subject : Programming And Data Structures
Website : dmice.ac.in
Document type : Question Bank

Download Programming And Data Structures Question Paper 1 : https://www.pdfquestion.in/uploads/dmice.ac.in/363-CS6301.doc

Download Programming And Data Structures Question Paper 2 https://www.pdfquestion.in/uploads/dmice.ac.in/354-01AUG14_SEM3-Civil%20.pdf

DMI Programming & Data Structures Question Paper

CS6301 – PROGRAMMING AND DATA STRUCTURES II :
UNIT-I :

PART-A

** What are the basic concepts of OOPS?
** What are objects and class?

Related : DMI College OF Engineering Crystal Physics B.E Question Bank : www.pdfquestion.in/2794.html

** What is encapsulation and data abstraction?
** Give any four advantages of OOPS.
** Give the difference between class and structure.
** What is a scope resolution operator?
** State the advantages of new and delete over malloc ( ) and free( ) functions
** What is the need for initialization of objects using constructors?
** Explain the multiple meanings of the operators << and >> in C++ and their precedence
** What are manipulators?
** What do you mean by enumerated data type?


** What is the difference between pointer and reference?
** What is an inline function and write some situations where inline expansion may not work
** Justify the need for static data members and member function?
** How the objects are used as function argument?
** Define pointers to member
** Define constructor and give its characteristics
** Distinguish default and parameterized constructor.
** Define destructor. Illustrate
** Define Friend function with its rule.

PART-B

** Explain the idea of Classes, Data abstraction and encapsulation. [8]
** Write a C++ program that inputs two numbers and outputs the largest number using class. [8]
** Consider a Bank Account class with Acc No. and balance as data members. Write a C++ program to implement the member functions get_Account_Details ( ) and display_Account_Details (). Also write a suitable main function. [10]
** Write a C++ program to explain how the member functions can be accessed using pointers. [6]
** What are the characteristics of constructor functions? Explain the various types of constructors and destructors. Illustrate with example programs [16]
** Write a C++ program to multiply two matrices and print the result. [8]
** Write a C++ program to generate Fibonacci using Copy Constructor. [8]
** Explain Friend Function with example. [8]
** Write a C++ program to construct student mark list for three subjects. Write the program to display name, rollno, marks, avg and total. Use class and objects. [8]
** Distinguish between call by value, call by pointer and call by reference in C++ [8]
Write short notes on
i. Static Member function
ii. This Pointer and references [8]
** Explain the basic concepts of object-oriented programming with an example program. [16]
** Explain in detail the storage classes in C++ using example [16]
Write a C++ program that
(i) Calculates and prints the sum of the integers from 1 to 10
(ii) To calculate x raised to the power y. [16]
** Explain Inline function with example [10]
** Write a C++ program that asks will ask for a temperature in Fahrenheit and display it. [6]

Categories: Data Structures
Tags: dmice.ac.in
Anusha:

View Comments (1)

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