Object Oriented Programming With C++(10CS36) Question Bank. UNIT 1: Introduction to C++

Similar documents
PART-A Questions. 2. How does an enumerated statement differ from a typedef statement?

C++ INTERVIEW QUESTIONS

KITES TECHNOLOGY COURSE MODULE (C, C++, DS)

Subject Name: Object Oriented Programming in C++ Subject Code:

The C Programming Language course syllabus associate level

El Dorado Union High School District Educational Services

PROBLEM SOLVING SEVENTH EDITION WALTER SAVITCH UNIVERSITY OF CALIFORNIA, SAN DIEGO CONTRIBUTOR KENRICK MOCK UNIVERSITY OF ALASKA, ANCHORAGE PEARSON

Course Name: ADVANCE COURSE IN SOFTWARE DEVELOPMENT (Specialization:.Net Technologies)

C++ Programming Language

Multichoice Quetions 1. Atributes a. are listed in the second part of the class box b. its time is preceded by a colon. c. its default value is

CEC225 COURSE COMPACT

BCS2B02: OOP Concepts and Data Structures Using C++

Java (12 Weeks) Introduction to Java Programming Language

ALLIED PAPER : DISCRETE MATHEMATICS (for B.Sc. Computer Technology & B.Sc. Multimedia and Web Technology)

Glossary of Object Oriented Terms

Course Title: Software Development

Curriculum Map. Discipline: Computer Science Course: C++

RARITAN VALLEY COMMUNITY COLLEGE ACADEMIC COURSE OUTLINE. CISY 105 Foundations of Computer Science

OpenCL Static C++ Kernel Language Extension

Visual Basic. murach's TRAINING & REFERENCE

Fundamentals of Java Programming

Programming and Software Development (PSD)

CIS 190: C/C++ Programming. Polymorphism

Chapter 1 Fundamentals of Java Programming

Object Oriented Software Design II

Chapter 2: Elements of Java

An Incomplete C++ Primer. University of Wyoming MA 5310

Objectif. Participant. Prérequis. Remarque. Programme. C# 3.0 Programming in the.net Framework. 1. Introduction to the.

Java Application Developer Certificate Program Competencies

WORKSPACE WEB DEVELOPMENT & OUTSOURCING TRAINING CENTER

13 Classes & Objects with Constructors/Destructors

Data Structures Using C++ 2E. Chapter 5 Linked Lists

COMPUTER SCIENCE. 1. Computer Fundamentals and Applications

CSCI 253. Object Oriented Programming (OOP) Overview. George Blankenship 1. Object Oriented Design: Java Review OOP George Blankenship.

Java Interview Questions and Answers

TECHNOLOGY Computer Programming II Grade: 9-12 Standard 2: Technology and Society Interaction

Objected oriented Programming: C++ Unit 1 1. Introduction 1.1. Introduction to Object Oriented Programming C++ fundamentals.

B.Sc. (Computer Science) First Year

Delphi Developer Certification Exam Study Guide

Java SE 7 Programming

An Introduction to Programming and Computer Science

Java EE Web Development Course Program

Syllabus for Computer Science. Proposed scheme for B.Sc Programme under Choice Based Credit System

Thomas Jefferson High School for Science and Technology Program of Studies Foundations of Computer Science. Unit of Study / Textbook Correlation

Yarmouk University Faculty of Science and Information Technology Department of Computer Information Systems CIS 282 Developing Web Applications

Java SE 8 Programming

Java SE 7 Programming

Java SE 7 Programming

Programming and Software Development CTAG Alignments

Semantic Analysis: Types and Type Checking

Syllabus for CS 134 Java Programming

Web Development in Java

Algorithms, Flowcharts & Program Design. ComPro

C++ Crash Kurs. C++ Object-Oriented Programming

Application Note C++ Debugging

Course MS10975A Introduction to Programming. Length: 5 Days

C++ Overloading, Constructors, Assignment operator

OKLAHOMA SUBJECT AREA TESTS (OSAT )

16 Collection Classes

Basics of C++ and object orientation in OpenFOAM

Database Programming with PL/SQL: Learning Objectives

Polymorphism. Problems with switch statement. Solution - use virtual functions (polymorphism) Polymorphism

Name: Class: Date: 9. The compiler ignores all comments they are there strictly for the convenience of anyone reading the program.

Summit Public Schools Summit, New Jersey Grade Level / Content Area: Mathematics Length of Course: 1 Academic Year Curriculum: AP Computer Science A

Chapter 4 OOPS WITH C++ Sahaj Computer Solutions

COWLEY COLLEGE & Area Vocational Technical School

Visual C# 2012 Programming

Syllabus OBJECT ORIENTED PROGRAMMING C++

1) Explain the following evolutionary process models: a) The spiral model. b) The concurrent development model.

Computing Concepts with Java Essentials

Moving from CS 61A Scheme to CS 61B Java

Course notes Standard C++ programming

Advanced Data Structures

Evolution of the Major Programming Languages

Programming Language Pragmatics

University of Pune Revised Structure for the B. Sc. (Computer Science) Course (Second Year to be implemented from Academic Year )

MSP430 C/C++ CODE GENERATION TOOLS Compiler Version 3.2.X Parser Error/Warning/Remark List

Computer Programming I

Android Application Development Course Program

How To Teach C++ Data Structure Programming

CompuScholar, Inc. Alignment to Utah's Computer Programming II Standards

B.C.A. DEGREE EXAMINATION, NOVEMBER 2010 Fifth Semester Computer Applications Elective WIRELESS APPLICATION PROTOCOL (CBCS 2008 onwards)

Operator Overloading. Lecture 8. Operator Overloading. Running Example: Complex Numbers. Syntax. What can be overloaded. Syntax -- First Example

An Internet Course in Software Development with C++ for Engineering Students

Java Programming Fundamentals

Storage Classes CS 110B - Rule Storage Classes Page 18-1 \handouts\storclas

Certified PHP Developer VS-1054

Instruction Set Architecture (ISA)

10CS35: Data Structures Using C

Introduction to Programming Block Tutorial C/C++

C++FA 5.1 PRACTICE MID-TERM EXAM

The Separation of Interface and Implementation in C++


Syllabus Introduction to C++ Programming and Numerical Analysis Spring 2016

DIPLOMADO DE JAVA - OCA

C# Cookbook. Stephen Teilhet andjay Hilyard. O'REILLY 8 Beijing Cambridge Farnham Köln Paris Sebastopol Taipei Tokyo '"J""'

Transcription:

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 specifies 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 an 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 Dept. of CSE,SJBIT Page 1

UNIT 3: Classes and Objects -II 1 Explain how dynamic memory allocation done in C++? Jan-2005 2 Explain new operator? Jul-2005 3. Explain delete operator. Jul-2005 4.What us a constructor? List the different types of constructors available un 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 to [ass 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) Member function ii) Friend function Dec-08 17 How does the computer interpret the operator overloading function? Jun-09 18 List some circumstance where is 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++. Dept. of CSE,SJBIT Page 2

21 How are arithmetic operators overloading using?jun-11 i) Member function ii) Friend function 22 Explain the overloading of <<.Dec-11 23 Write short notes on: Jul-12 i) Overloading new operator ii) Overloading delete operator 24 Explain how the values of () fundamental types converted to class type. Dec-11 25 List & explain the four new style cast operators provided by C++ for typecasting.dec-05 26 Explain the typed operator of C++.Jan-06 1. What is inheritance? Jan-06,Dec-08, Jul-10 UNIT 4: Inheritence - I 2. In what ways does inheritance affects the size and behavior of derived class object. 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 of inheritance? That is available in C++? Dec-05,07, Jan-09 8. What is multiple inheritances? What kind of ambiguities does a multiple inheritances lead to? How can they be removed? Jul-09 9. 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 Dept. of CSE,SJBIT Page 3

UNIT 5: Inheritance - II 1. What is a virtual function? Jul-08 2. Explain how dynamic (runtime) poly morphisn 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 file. 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. 8. Write a short notes on i) SeeKP() iii) Seekg() ii) tellp() iv) tellp() 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 be randomly accessed C++.Jul-09 Dept. of CSE,SJBIT Page 4

12. Write short note 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 i) Vector class ii) Pair class iii) Map class iv) Set 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 Dept. of CSE,SJBIT Page 5

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 Dept. of CSE,SJBIT Page 6