CS 6456 OBJCET ORIENTED PROGRAMMING IV SEMESTER/EEE

Similar documents
Get Unique study materials from

VALLIAMMAI ENGINEERING COLLEGE

DEPARTMENT OF INFORMATION TECHNOLOGY

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

SRM ARTS AND SCIENCE COLLEGE SRM NAGAR, KATTANKULATHUR

Object Oriented Programming with Java. Unit-1

Object Oriented Programming with c++ Question Bank

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

PROGRAMMING IN C AND C++:

Sri Vidya College of Engineering & Technology

END TERM EXAMINATION

STRUCTURING OF PROGRAM

Inheritance, and Polymorphism.

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

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

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

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

Object-Oriented Programming

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

Objective Questions. BCA Part III Paper XIX (Java Programming) page 1 of 5

Compaq Interview Questions And Answers

DHANALAKSHMI COLLEGE OF ENGINEERING, CHENNAI DEPARTMENT OF ELECTRICAL AND ELECTRONICS ENGINEERING CS6456 OBJECT ORIENTED PROGRAMMING

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

Babaria Institute of Technology Computer Science and Engineering Department Practical List of Object Oriented Programming with C

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

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

SRM ARTS AND SCIENCE COLLEGE SRM NAGAR, KATTANKULATHUR

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

STUDY NOTES UNIT 1 - INTRODUCTION TO OBJECT ORIENTED PROGRAMMING

Name of subject: JAVA PROGRAMMING Subject code: Semester: V ASSIGNMENT 1

S.No Question Blooms Level Course Outcome UNIT I. Programming Language Syntax and semantics


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

Object Oriented Programming. Solved MCQs - Part 2

5/23/2015. Core Java Syllabus. VikRam ShaRma

BCA (Part II) EXAMINATION 2008 C++ PROGRAMMING Max Time : 3 Hours Max. Marks : 50

DHANALAKSHMI SRINIVASAN COLLEGE OF ENGINEERING AND TECHNOLOGY ACADEMIC YEAR (ODD SEM)

Syllabus & Curriculum for Certificate Course in Java. CALL: , for Queries

CS Internet programming Unit- I Part - A 1 Define Java. 2. What is a Class? 3. What is an Object? 4. What is an Instance?

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

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

(800) Toll Free (804) Fax Introduction to Java and Enterprise Java using Eclipse IDE Duration: 5 days

Object Oriented Programming in Java. Jaanus Pöial, PhD Tallinn, Estonia

SCHEME OF COURSE WORK

Object Oriented Paradigm

FACULTY OF ENGINEERING AND TECHNOLOGY SCHOOL OF COMPUTING DEPARTMENT OF CSE COURSE PLAN

CORE JAVA TRAINING COURSE CONTENT

XII- COMPUTER SCIENCE VOL-II MODEL TEST I

15CS45 : OBJECT ORIENTED CONCEPTS

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

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

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

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

Object-Oriented Programming

CS506 Web Programming and Development Solved Subjective Questions With Reference For Final Term Lecture No 1

Object Oriented Programming

CGS 2405 Advanced Programming with C++ Course Justification

CHOICE BASED CREDIT SYSTEM (With effect from )

PROGRAMMING LANGUAGE 2


Absolute C++ Walter Savitch

A- Core Java Audience Prerequisites Approach Objectives 1. Introduction

Short Notes of CS201

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

5. Give any three parts of the structure of business letter.

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

OBJECT ORIENTED DATA STRUCTURE & ALGORITHMS

Data Abstraction. Hwansoo Han

Govt. of Karnataka, Department of Technical Education Diploma in Information Science & Engineering. Fifth Semester

DOWNLOAD PDF CORE JAVA APTITUDE QUESTIONS AND ANSWERS

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

CONTENTS. PART 1 Structured Programming 1. 1 Getting started 3. 2 Basic programming elements 17

CS201 - Introduction to Programming Glossary By

Interview Questions of C++

Dot Net Online Training

AN OVERVIEW OF C++ 1

CS/B.TECH/CSE(OLD)/SEM-6/CS-605/2012 OBJECT ORIENTED PROGRAMMING. Time Allotted : 3 Hours Full Marks : 70

Question Paper Code : 97044

SRM INSTITUTE OF SCIENCE & TECHNOLOGY Faculty of Science and Humanities Department of Computer Science UNIT I - INTRODUCTION TO JAVA

C++ Important Questions with Answers

VALLIAMMAI ENGINEERING COLLEGE

XII CS(EM) Minimum Question List N.KANNAN M.Sc., B.Ed COMPUTER SCIENCE IMPORTANT QUESTION (TWO MARKS) CHAPTER 1 TO 5 ( STAR OFFICE WRITER)

LTBP INDUSTRIAL TRAINING INSTITUTE

More C++ : Vectors, Classes, Inheritance, Templates

Lecture 13: Object orientation. Object oriented programming. Introduction. Object oriented programming. OO and ADT:s. Introduction

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

PROGRAMMING IN C++ (Regulation 2008) Answer ALL questions PART A (10 2 = 20 Marks) PART B (5 16 = 80 Marks) function? (8)

MAHALAKSHMI ENGINEERING COLLEGE B TIRUCHIRAPALLI

More C++ : Vectors, Classes, Inheritance, Templates. with content from cplusplus.com, codeguru.com


An Object Oriented Programming with C

1 Shyam sir JAVA Notes

ABOUT CORE JAVA COURSE SCOPE:

10CS36: Object Oriented Programming with C++

Core Java Contents. Duration: 25 Hours (1 Month)

INTRODUCTION TO.NET. Domain of.net D.N.A. Architecture One Tier Two Tier Three Tier N-Tier THE COMMON LANGUAGE RUNTIME (C.L.R.)

DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING OBJECT ORIENTED PROGRAMMING CLASS : THIRD SEMESTER CSE

OBJECT ORIENTED PROGRAMMING. Ms. Ajeta Nandal C.R.Polytechnic,Rohtak

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.

Transcription:

CS 6456 OBJCET ORIENTED PROGRAMMING IV SEMESTER/EEE PART A UNIT I 1. Differentiate object oriented programming from procedure oriented programming. 2. Define abstraction and encapsulation. 3. Differentiate between object and class. 4. List some applications of oop. 5. What is object oriented programming? 6. List the operators used in C++ for handling memory. 7. What is function prototype? Give its specification. 8. What is the difference between a pointer and a reference? 9. What is a namespace? 10. State the purpose of namespaces with an example. 11. What is meant by ADT and abstract class? UNIT II 1. What is dynamic constructor? Give an example. 2. Write copy constructor for class date (assume mm, dd, yy as its members). 3. When will the destructor be called? Is it implicit or explicit? 4. What are copy constructors? 5. Highlight the advantages of static data members and static functions in C++. 6. What is destructor? 7. Define attribute. 8. Define operator overloading. 9. State the significance of this pointer in C++. 10. What is encapsulation? Does friend function violate encapsulation? 11. List the operators that cannot be overload. 12. What is a friend function? 13. Why can t friend function be used to overload assignment operator?

14. What is the use of operator overloading? 15. What is friend class? 16. What are merits of using classes? UNIT III 1. What is difference between a function template and template function? 2. What is STL, Standard Template Library? 3. How are virtual functions declared in C++? 4. What is single inheritance? 5. What is to be done if we inherit some of the properties of constructor? 6. What is abstract class in cpp in C++? 7. Compare overloading and overriding. 8. Define exceptions. Give an example. UNIT IV 1. What is JVM? 2. What is byte code? Mention its advantage. 3. Give sample statement for parseint() and give comments for the statement. 4. Why is java language called as robust? 5. What is inner class? 6. What is the difference between super class and subclass? UNIT V 1. List any four packages in java and highlight their features. 2. What are packages? 3. Define interface. State its use. 4. What is the difference between an interface and an abstract class? 5. What is API package? 6. Under which contexts would you use final and finally. 7. What is the difference between throw and throws? 8. What are the advantages of using exception handling?

9. What are the two ways of creating java threads? 10. What is thread? How does it differ from a process? 11. What is multithreading? 12. Which class and interface in java is used to create thread and which is the most advantageous one? 13. What is the difference between the String and String Buffer classes? 14. What is stream? What is input stream? 15. Name the two super classes used in character stream. PART B UNIT I 1. What are the needs for object oriented paradigm? 2. Explain in detail of object oriented concepts. 3. Explain the characteristics of OOPS in detail. 4. List the features of object oriented programming. 5. Explain data encapsulation and inheritance in detail. 6. Explain the structure of C++ program. 7. Explain various control statements used in C++. 8. Explain Do-While with an example. 9. Compare inline functions of C++ with ordinary functions and with macros. 10. What is dynamic binding? How is it achieved? 11. Write short notes on call and Return Reference. 12. Write short notes on New and Delete Operators. 13. Write a C++ program to implement dynamic memory allocation. 14. Explain the concept of ADT with some illustrative example. 1. Explain in detail about data hiding. UNIT II 2. Write a C++ program that will ask for a temperature in Fahrenheit and display. 3. Write a program to declare array of objects, initialize and display the contents of arrays.

4. Explain in detail about class, objects, methods and messages. 5. Write about static member variable and static member functions. 6. Write about object creation and destruction. 7. Write a program to illustrate multiple constructors and default argument for a single class. 8. Write a C++ program to define overload constructor to perform string initialization, string copy and string destruction. 9. Write a C++ program to generate Fibonacci using copy constructor. 10. Discuss the characteristics of constructors and destructors. 11. What are constructors? Explain the concept of destructor with an example. 12. Explain the constructors and destructors in detail with an example program. 13. Explain friend function with an example. 14. Write a program to perform multiplication using an integer and object. Use friend function. 15. Design calculator using function overloading. 16. Illustrate the concept of function overloading to find the maximum of two numbers. 17. Write about operator overloading with an example. 18. Write a C++ program to implement C=A+B, C=A-B and C-A*B where A, B and C are objects containing a int value (vector). 19. Write a program to concatenate two strings using + operator overloading. 20. Write a program using operator overloading to add two time values in the format HH:MM:SS to the resulting time along with rounding off when 24 hrs is reached. A time class is created and operator + is overloaded to add the two time class objects. 21. Write the list of rules for overloading operators with one example. 1. Explain the usage of templates in C++. 2. Describe templates and its types. 3. Explain function templates with an example. UNIT III 4. Explain major categories of containers supported by STL. 5. Explain the components of standard template library in detail. 6. Explain with examples, the types of inheritance in C++.

7. What is multiple inheritances? Discuss the syntax and rules of multiple inheritances in C++. How can you pass parameters to the constructors of base classes in multiple inheritances? Explain with suitable example. 8. What is inheritance? List out the advantages of inheritance. 9. Write a C++ program to illustrate the concept of hierarchical inheritance. 10. Explain the order in which the constructors are called when an object of derived class is created. 11. State the rules for virtual functions. Write a C++ program to declare a virtual function &demonstrate it. 12. Explain run time polymorphism with an example program in C++. 13. Explain about implementation of run time polymorphism in C++ with an example. 14. What is an abstract class? What is dynamic binding? How is it achieved? 15. What is the difference between a virtual function and a pure virtual function? Give example of each. 16. Explain about exception handling with an example program. 17. Write a C++ program to generate user defined exception user inputs odd numbers. UNIT IV 1. Explain the virtual machine concept with reference to java. 2. Explain the importance of JVM in JRE. 3. Explain various features of java. 4. Explain how C++ differs from java. 5. Write a java program to find factorial of a given number. 6. Write a menu based java program that can calculate the area of triangle, circle or square based on the user s choice. 7. Write a java program to find the sum of the following series. 1-2 + 3-4 +. + n. 8. Write a java program to create two single dimensional arrays, initialize them and add them; store the result in another array. 9. Write a java program to find the maximum number of given array. 10. Write a program to convert an integer array to string. 11. Discuss about java command line arguments.

12. Explain arrays and its types in detail with suitable example. 13. Create a complex number class in java. The class should have a constructor and methods to add, subtract and multiply two complex numbers and to return the real and imaginary parts. 14. Write a java class called student with name, marks of 3 subjects and total marks. Write another class name calculate that gets marks of the student and calculates the total marks and displays the result. (pass and fail). 15. Create class box and box3d. box3d is an extended class of box. The above two classes has to fulfill the following requirement. (i) Include constructor (ii) Set value of breadth, height (iii) find out area and volume. 16. Explain in detail about the inheritance mechanism in java with an example programs. UNIT V 1. What are packages? How do they created and used? 2. Explain about packages in java. 3. How do we add a class or interface to a package? 4. Write a java program to implement nested packages. 5. Explain the interfaces in detail with suitable example. 6. What is an exception? List the java common exception types and causes. 7. Write a java program to add 2 integers and raise exception when any other character except number (0-9) is given as input. 8. Write a java program to create a user defined exception whenever user input a word hello. 9. Write a program containing a possible exception. Use a try block and throw it and a catch block to handle it properly. 10. Explain with an example program, exception handling in java. 11. Explain the life cycle of a thread in detail with an example. 12. What is a thread? How do you create threads? 13. What is multithreading? Explain with an example. 14. Explain about thread synchronization with an example. 15. Write a java program to perform all string operations using the string class. 16. Explain about various string operations in java. 17. Write short note on Strings in java.

18. Write a simple program to find a given string in a string array. 19. Write a java program to split a string into multiple java string objects. 20. Explain the concept of stream and its byte stream classes in detail. 21. Write a short note on various I/O streams in java. 22. Write a java program to demonstrate how to read and write data to a file. *****BEST OF LUCK****