10CS36: Object Oriented Programming with C++

Similar documents
Preface to the Second Edition Preface to the First Edition Brief Contents Introduction to C++ p. 1 A Review of Structures p.

Object Oriented Programming with c++ Question Bank

SRM ARTS AND SCIENCE COLLEGE SRM NAGAR, KATTANKULATHUR

MaanavaN.Com CS1203 OBJECT ORIENTED PROGRAMMING DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING

Object Oriented Programming

KLiC C++ Programming. (KLiC Certificate in C++ Programming)

Syllabus of C++ Software for Hands-on Learning: This course offers the following modules: Module 1: Getting Started with C++ Programming

VALLIAMMAI ENGINEERING COLLEGE

The Foundation of C++: The C Subset An Overview of C p. 3 The Origins and History of C p. 4 C Is a Middle-Level Language p. 5 C Is a Structured

RAJIV GANDHI COLLEGE OF ENGINEERING AND TECHNOLOGY DEPARTMENT OF INFORMATION TECHNOLOGY OBJECT ORIENTED PROGRAMMING QUESTION BANK UNIT I 2 MARKS

M.C.A DEGREE EXAMINATION,NOVEMBER/DECEMBER 2010 Second Semester MC 9222-OBJECT ORIENTED PROGRAMMING (Regulation 2009)

Welcome to Teach Yourself Acknowledgments Fundamental C++ Programming p. 2 An Introduction to C++ p. 4 A Brief History of C++ p.

CHAPTER 1 Introduction to Computers and Programming CHAPTER 2 Introduction to C++ ( Hexadecimal 0xF4 and Octal literals 031) cout Object

JAYARAM COLLEGE OF ENGINEERING AND TECHNOLOGY Pagalavadi, Tiruchirappalli (An approved by AICTE and Affiliated to Anna University)

C++ (Non for C Programmer) (BT307) 40 Hours

Jayaram college of Engineering and Technology, Pagalavadi. CS2203 Object Oriented Programming Question Bank Prepared By: S.Gopalakrishnan, Lecturer/IT

Get Unique study materials from

And Even More and More C++ Fundamentals of Computer Science

OBJECT ORIENTED PROGRAMMING USING C++ CSCI Object Oriented Analysis and Design By Manali Torpe

Interview Questions of C++

END TERM EXAMINATION

Short Notes of CS201

CS201 - Introduction to Programming Glossary By

Course Text. Course Description. Course Objectives. StraighterLine Introduction to Programming in C++

Absolute C++ Walter Savitch

Lesson Plan. Subject: OBJECT ORIENTED PROGRAMMING USING C++ :15 weeks (From January, 2018 to April,2018)

CS 6456 OBJCET ORIENTED PROGRAMMING IV SEMESTER/EEE

CS201 Latest Solved MCQs

C++ for System Developers with Design Pattern

Quiz Start Time: 09:34 PM Time Left 82 sec(s)

Preface... (vii) CHAPTER 1 INTRODUCTION TO COMPUTERS

CS 162, Lecture 25: Exam II Review. 30 May 2018

XII- COMPUTER SCIENCE VOL-II MODEL TEST I

Advanced C++ Programming Workshop (With C++11, C++14, C++17) & Design Patterns

Object Oriented Programming. Solved MCQs - Part 2

C++ Important Questions with Answers

Object Oriented Programming. Assistant Lecture Omar Al Khayat 2 nd Year


I BCS-031 BACHELOR OF COMPUTER APPLICATIONS (BCA) (Revised) Term-End Examination. June, 2015 BCS-031 : PROGRAMMING IN C ++

CS201 Some Important Definitions

Cpt S 122 Data Structures. Course Review Midterm Exam # 2

Problem Solving with C++


An Object Oriented Programming with C

B.C.A 2017 OBJECT ORIENTED PROGRAMMING USING C++ BCA303T MODULE SPECIFICATION SHEET

Introduction to Programming Using Java (98-388)

Question Paper Code : 97044

Practical C++ Programming

3.Constructors and Destructors. Develop cpp program to implement constructor and destructor.

Time : 3 hours. Full Marks : 75. Own words as far as practicable. The questions are of equal value. Answer any five questions.

CHOICE BASED CREDIT SYSTEM (With effect from )

DEPARTMENT OF COMPUTER APPLICATIONS B.C.A. - FIRST YEAR ( REGULATION) SECOND SEMESTER LESSON PLAN SRM INSTITUTE OF SCIENCE AND TECHNOLOGY

Spring 2003 Instructor: Dr. Shahadat Hossain. Administrative Matters Course Information Introduction to Programming Techniques

OOPs Concepts. 1. Data Hiding 2. Encapsulation 3. Abstraction 4. Is-A Relationship 5. Method Signature 6. Polymorphism 7. Constructors 8.

KOM3191 Object Oriented Programming Dr Muharrem Mercimek OPERATOR OVERLOADING. KOM3191 Object-Oriented Programming

W3101: Programming Languages C++ Ramana Isukapalli

Lecture 18 Tao Wang 1


STRUCTURING OF PROGRAM

Instantiation of Template class

Sri Vidya College of Engineering & Technology

LESSON PLAN B.C.A. - FIRST YEAR ( REGULATION) SECOND SEMESTER

Starting Savitch Chapter 10. A class is a data type whose variables are objects. Some pre-defined classes in C++ include int,

Intro to OOP Visibility/protection levels and constructors Friend, convert constructor, destructor Operator overloading a<=b a.

B.Sc II Year Computer Science (Optional)

AN OVERVIEW OF C++ 1

VB.NET. Exercise 1: Creating Your First Application in Visual Basic.NET

BACHELOR OF COMPUTER APPLICATIONS (BCA)

Learning Objectives. C++ For Artists 2003 Rick Miller All Rights Reserved xli

CERTIFICATE IN WEB PROGRAMMING

Tentative Teaching Plan Department of Software Engineering Name of Teacher Dr. Naeem Ahmed Mahoto Course Name Computer Programming

VIRTUAL FUNCTIONS Chapter 10

2. COURSE DESIGNATION: 3. COURSE DESCRIPTIONS:

Ch02. True/False Indicate whether the statement is true or false.


Jh fouk;d egkfo ky;] xkmjokjk RANI DURGAVATI VISHWAVIDYALAYA, JABALPUR BACHLOR OF COMPUTER APPLICATION BCA SYLLABUS THIRD SEMESTER

Proposed Syllabus for F.Y.B.Sc. (Information Technology) (w.e.f. June-2015)

C++ 8. Constructors and Destructors

Computer Science (330)

OOPS Viva Questions. Object is termed as an instance of a class, and it has its own state, behavior and identity.

Introduction to Computers and C++ Programming p. 1 Computer Systems p. 2 Hardware p. 2 Software p. 7 High-Level Languages p. 8 Compilers p.

2559 : Introduction to Visual Basic.NET Programming with Microsoft.NET

This page intentionally left blank

Dot Net Online Training

For Teacher's Use Only Q No Total Q No Q No

Study Guide to Exam 2

Programming in C and C++

SAURASHTRA UNIVERSITY

ENGINEERING PROBLEM SOLVING WITH C++

Lecture Notes on Programming Languages

Contents. 2 Introduction to C++ Programming,

Chapter 10 Introduction to Classes

C++ Coding Standards. 101 Rules, Guidelines, and Best Practices. Herb Sutter Andrei Alexandrescu. Boston. 'Y.'YAddison-Wesley

Paytm Programming Sample paper: 1) A copy constructor is called. a. when an object is returned by value

Data type of a pointer must be same as the data type of the variable to which the pointer variable is pointing. Here are a few examples:

B. V. Patel Institute of Business Management, Computer & Information Technology

QUIZ. Write the following for the class Bar: Default constructor Constructor Copy-constructor Overloaded assignment oper. Is a destructor needed?

22316 Course Title : Object Oriented Programming using C++ Max. Marks : 70 Time: 3 Hrs.

University of Swaziland Department OfComputer Science Main Examination December 2016

Syllabus for Bachelor of Technology. Computer Engineering. Subject Code: 01CE1303. B.Tech. Year - II

Transcription:

10CS36: Object Oriented Programming with C++ Question Bank: UNIT 1: Introduction to C++ 1. What is Procedure-oriented Programming System? Dec 2005 2. What is Object-oriented Programming System? June 2006 3. Explain the console I/O functions supported by C++. Dec-2008 4. What is reference variable? Explain it with an example. Dec-2009 5. How does a reference variable differ from pointer variable? June-2010 6. Explain the concept of function overloading with an example. Dec-2010 7. What are inline functions? What are its benefits? June-2011 8. Write a program to find average of n numbers using inline function. Dec-2011 UNIT 2: Class and Objects -I 1 How does a class differ from a structure? Jan-2006 2 Explain the structure of a C++ class. July-2006 3 What is an object? July-2006 4 What is the use of scope resolution operator? Explain with an example. Jan-2007 5 Explain the various access specifiers available in C++. July-2007 6 Write a brief note on this pointer.july-2007 7 What is a mutable data member? How it differs from static data member.jan-2008 8 What are inline functions? Explain the different function can be made inline. July-08 9 What are friend functions? Explain July-08 10 What is the use of declaring a class as a friend of another. Jan-09 11 What are static member functions? What is the use of it? Jan-09

12 Why should the static data members be explicitly declared outside the class? June-10 13 What are name spaces? Explain how name spaces enable C++ programming to prevent pollution of global namespaces. June-10 14 What is a nested class? Explain with example Dec-11 UNIT 3: Classes and Objects -II 1. Explain how dynamic memory allocation is done in C++? Jan-2005 2. Explain new operator? Jul-2005 3. Explain delete operator Jul-2005 4 What is a constructor? List the different types of constructors available in C++. Jan-06 5 How do we unable a construction function? Explain with an example. Jul-06 6 Write short notes on. a) Copy construction. b) Parameterized construction. July-06 7 Describe the importance of destructors with an example.jan-2007 8 Can constructors be overloaded? If yes, explain with an example. Jul-07 9 What is friend function? Why is it needed? Jul-07 10 Demonstrate with a program how to pass object as argument. Dec-04 11 How are dynamic objects created? What is the use? Jul-05 12 Write a program to show the application of copy constructor. Jul-05 13 How is operator overloading achieved? Show with an example. Dec-05 14 By overloading +, add two complex numbers. Jul-06 15 What is operator overloading? Jul-07 16 Explain the syntax for overloading operators using. i) Friend function ii) Member function Dec-08

17 How does the computer interpret the operator overloading function? Jun-09 18 List some circumstances where operator overloading is mandatory. Jun-10 19 Explain some of the rules to be followed while overloading operator. Dec-10 20 Explain how increment & decrement operators are overloading in C++. Jun-11 21 Write short notes on i) Overloading new operator ii) Overloading delete operator Jul-12 22 Explain how the values of () fundamental types converted to class type. Dec-11 23 List & explain the four new style cast operators provided by C++ for typecasting. Dec-05 24 Explain the typed operator of C++. Jan-06 UNIT 4: Inheritance -I 1. What is inheritance? Jan-06,Dec-08, Jul-10 2. In what ways does inheritance affects the size and behavior of derived class abject. Dec-09 3. How can the members of base class be accessed in derived class? Jan-05 4. Can a derived class pointer point to a base class? Jul-07 5. How can a derived class pointer forcibly made to point at an object of derived class? Jan-04 6. What do you mean by function over riding of derived class? Dec-06 7. What are different types of inheritance that is available in C++? Dec-05,07, Jan-09 8. Write short notes on. a) Multi-level inheritance b) Hybrid level inheritance Dec-11 10. In which order are the constructors and destructors called when an object of derived class is created? Jul-12

UNIT 5: Inheritance -II 1. What is a virtual function? Jul-08 2. Explain how dynamic (runtime) poly morphism is achieved using virtual functions. Jan-10 3. When do we make a virtual function Pure? Jul-10 4. What is a pure virtual function? Explain with an example. Dec-11 5. How does the compiler resolve a call to a virtual function? Jul-12 UNIT 6: Virtual Functions and Polymorphism 1. What is a stream? Explain with a neat diagram the C++ class hierarchy for stream handling. Jan-06 2. Explain text made & binary made LIP w.r.t to i) Character data ii) Numeric data Dec-07 3. Different between text files & binary files. Jul-06 4. Explain the various functions available for text ILO in C++. Dec-09 5. Explain the read () and write () function. Jun-07 6. Explain the Open () function along with the various modes supported by it. Dec-10 7. What is a file pointer? How can the file pointers can be explicitly manipulators. Jul-08 8. Write a short note on ii) tellp() i) SeeKP() iv) tellp() iii) Seekg() Dec-07 9. How can a file be opened for both reading & writings? Dec-08 10. What is the difference between opening a file using the constructor of stream class and open () function. Jul-12 11. Explain with an example, how a file can be randomly accessed. Jul-09

12. Write short notes on i)eof() ii)fail() iii) bad() iv)clear() Jan-10 13. Explain with suitable examples the pre-defined manipulators available in C++ Dec-11 UNIT 7: Stream Handling Contd. 1. What is a function template? Explain with its syntax. Dec-10 2. WAP to swap two numbers using template. Jul-11 3. What is a class template? Explain with an example. Dec-11 4. Write a brief on STL. Jul-12 5. What a list class? Explain the various functions available this class. Dec-07 6. Write short notes on iv) Set class iii) Map class ii) Pair class i) Vector class Jul-08 7. How does multi class and multiuse class duffer from map class and set class respectively? Dec-10 UNIT 8: Exception handling, STL 1. Give a situation where exception handling is applied.jul-06 2. Define exception. Dec-06 3. What are the options to handle an exception. Dec-07 4 Write a program to show exception handling. Jun-08 5. Define and brief on STL. Dec-11 6. What are containers? Give its application.jul-07 7. Give the usage of vectors. Dec-09 8. Define list. Write a program to construct a list with various options. Jul-12