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

Similar documents
Object Oriented Programming 2012

Syllabus of Diploma Engineering. Computer Engineering. Semester: II. Subject Name: Computer Programming. Subject Code: 09CE1104

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

Syllabus for Bachelor of Technology. Computer Engineering. Subject Code: 01CE0501. Subject Name: Microprocessor Fundamentals & Programming

Syllabus for Bachelor of Technology. Computer Engineering. Subject Code: 01CE0301. Subject Name: Data Structure. B.Tech. Year - II

Object Oriented Programming

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

GUJARAT TECHNOLOGICAL UNIVERSITY, AHMEDABAD, GUJARAT. COURSE CURRICULUM COURSE TITLE: OBJECT ORIENTED PROGRAMMING (Code: )

SRM ARTS AND SCIENCE COLLEGE SRM NAGAR, KATTANKULATHUR

CHOICE BASED CREDIT SYSTEM (With effect from )

PROGRAMMING IN C AND C++:

Avg. Of Test 1 and Test 2. Exam

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

Object Oriented Programming Using C ++ Page No. : 1. ASSIGNMENT SHEET WITHOUT USING OBJECT AND CLASSES

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

Savitribai Phule Pune University, Pune Second Year of Computer Engineering (2015 Course) : Object Oriented Programming Lab Teaching Scheme

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

CS 6456 OBJCET ORIENTED PROGRAMMING IV SEMESTER/EEE

GUJARAT TECHNOLOGICAL UNIVERSITY, AHMEDABAD, GUJARAT. COURSE CURRICULUM COURSE TITLE: OBJECT ORINTED PROGRAMMING (Code: )

Get Unique study materials from

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

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

VALLIAMMAI ENGINEERING COLLEGE

Hrs Hrs Hrs Hrs Hrs Marks Marks Marks Marks Marks

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

Absolute C++ Walter Savitch

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

VALLIAMMAI ENGNIEERING COLLEGE SRM Nagar, Kattankulathur DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING QUESTION BANK

END TERM EXAMINATION

AN OVERVIEW OF C++ 1

Problem Solving with C++

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

An Object Oriented Programming with C

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

SAURASHTRA UNIVERSITY

Polymorphism Part 1 1

Programming. C++ Basics

Partha Sarathi Mandal

Short Notes of CS201

CS201 - Introduction to Programming Glossary By

Programming, numerics and optimization

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

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

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

Object Oriented Programming

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

Object Oriented Programming with c++ Question Bank

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

Syllabus for Computer Applications

2.1. Chapter 2: Parts of a C++ Program. Parts of a C++ Program. Introduction to C++ Parts of a C++ Program

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

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

What is Polymorphism? Quotes from Deitel & Deitel s. Why polymorphism? How? How? Polymorphism Part 1

B.Sc. Computer Science (Ancillary)

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

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

B.Sc II Year Computer Science (Optional)

Lesson Plan for Even semester Govt. Polytechnic Education Society, Lisana (Rewari) Name of the Faculty: Sh. Praveen Kumar Discipline:

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

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

Compulsory course in Computer Science

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

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

Kadi Sarva Vishwavidyalaya, Gandhinagar

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

I BSc(IT) [ Batch] Semester II Core: Object Oriented Programming With C plus plus - 212A Multiple Choice Questions.

S Y B Voc Software Development Syllabus

Gujarat University M. Sc. Computer Science [S. F.] Semester-1 Syllabus Gujarat Arts & Science College, Ahmedabad.

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

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

Shapes leading to CAD system project

Computer Programming : C++

Cpt S 122 Data Structures. Introduction to C++ Part II

Beijing Jiaotong University CS-23: C++ Programming Summer, 2019 Course Syllabus

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

OUTCOMES BASED LEARNING MATRIX

Revised time table of BCA (2011 admission) record submission

CS201 Latest Solved MCQs

Silver Oak Engineering College and technology Information Technology Department

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

Data Structures using OOP C++ Lecture 3

Introduction to Programming using C++

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:

SYLLABUS / FIȘA DISCIPLINEI

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

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.

Master of Computer Applications


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

Contents. 2 Introduction to C++ Programming,

Object Oriented Programming with JAVA

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

Introduction to C++ Systems Programming

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

Question 1 Consider the following structure used to keep employee records:

COMP322 - Introduction to C++ Lecture 01 - Introduction

2. COURSE DESIGNATION: 3. COURSE DESCRIPTIONS:

Interview Questions of C++

C++ Programming: From Problem Analysis to Program Design, Third Edition

Transcription:

Subject Code: 01CE1303 Subject Name: Object Oriented Design and Programming B.Tech. Year - II Objective: The objectives of the course are to have students identify and practice the object-oriented programming concepts and techniques, practice the use of C++ classes and class libraries, modify existing C++ classes, develop C++ classes for simple applications. Credits Earned: 4 Credits Course Outcomes: After completion of this course, student will be capable to Identify potential benefits of object oriented programming features and compare structure oriented programming and object oriented programming features. (knowledge, comprehension) Able to make use of classes and objects for designing programs and concept of reusability. (application) Able to apply various object oriented features to solve various computing problems using C++ language. (application) Able to analyze programs based on exception handling and using advanced features like STL for faster development. (application, analysis) Develop real world applications using concepts of object oriented programming. (synthesis) Pre-requisite of course: Programming Fundamentals Teaching and Examination Scheme Tutorial/ Practical Teaching Scheme (Hours) Theory Marks Marks Total Credits Mid Term ESE Internal Marks Theory Tutorial Practical Sem Viva (V) work (E) (I) (M) (TW) 3 0 2 4 50 30 20 25 25 150

Contents: Unit Topics Contact Hours 1 Introduction: Introduction to Object Oriented Programming, Procedural Vs. Object Oriented Programming, Principles of OOP, Access Modifiers, Basics of a 6 Typical C++ Environment, Pre-processors Directives, C++ Program structure. Header Files and Namespaces, library files. 2 Programming Basics: Output using cout. Directives. Input with cin. Type bool. The setw manipulator. Type conversions. 5 3 Functions: Call and Return by reference. Overloaded function. Macro Vs. Inline functions. Default arguments, friend functions. 5 4 Object and Classes: Introduction, Structure Definitions, Accessing Members of Structures, Class Scope and Accessing Class Members. Initializing Class Objects: constructors and their types, destructors. 5 Operator Overloading: Overloading unary operations. Overloading binary operators, data conversion, pitfalls of operators overloading and Type conversion. 6 Inheritance and Polymorphism: Concept of inheritance. Derived class and based class. Derived class constructors, member function, class hierarchies, public and private inheritance, Pointers in C++, Objects and Pointers, virtual and pure virtual functions, this pointer, Implementing run time polymorphism. 7 Streams and Files: Concept of streams, C++ stream classes, formatted and Unformatted I/O, File stream, manipulators, C++ File stream classes, File modes, File management functions, Binary Files, random Files. 8 Templates & Exception Handling: What is template? Function templates and class templates, Overloading Template Functions, Inheritance and Templates, Templates and Friend Function, Overview and use of Standard Template Library, try-catchthrow, 6 6 7 3 4

multiple catch, catch all, Re-throwing Exception. Total Hours 42 References: 1.Object Object oriented Programming with C++ by E Balagurusamy, 2001, Tata McGraw-Hill 2. C++ Programming, Black Book, Steven Holzner, dreamtech 3. Object Oriented Programming in Turbo C++ by Robert Lafore,1994, The WAITE Group Press. 4. Compete Reference C++, Herbert Schlitz, TMH Suggested Theory distribution: The suggested theory distribution as per Bloom s taxonomy is as per follows. This distribution serves as guidelines for teachers and students to achieve effective teaching-learning process Distribution of Theory for course delivery and evaluation Remember Understand Apply Analyze Evaluate Create 20% 20% 30% 15% 10% 5% Suggested List of Experiments: Experiment # 1 (Basic OOPC) 1. Write a Program to display WELCOME TO MEFGI and elaborate all the Statements. 2. Write a program to perform the following: - Accept three numbers - Calculate average - Find smallest and largest numbers - Display the results such as average, maximum, and minimum. 3. Write a program to make a calculator which performs following operations: a. Addition b. Subtraction

c. Multiplication d. Division e. Modulo 4. Write a Write program in C ++ that tells the form of Water whether it is Ice, Water or Steam. Display the menu also as under Temperature Less than 0 = ICE Temperature Greater than 0 & Less than 100 = Water Temperature Greater than 100 = STEAM 5. Write a program to reverse a string. Experiment # 2 (Basic OOPC) 6. Write a program to perform matrix addition. 7. Write a program which takes string as an input and counts numbers of occurrences of each vowel and total vowels. 8. Write a program to find area of circle, rectangle and triangle using enum datatype. Experiment # 3 (Function) 9. Write a CPP Program to swap two values (using call by value and call by reference). 10. Write a Function called zerosmaller() that is passed two int argument by reference and then set the smaller of the two numbers to 0. Write a main () to call this function. 11. Write a program to evaluate following investment equation V = P(1+r) n and print the tables which would give the value of V for various combination of the following values of P, r, and n: P: 1000, 2000, 3000,..., 10000 r: 0.10, 0.12, 0.13,..., 0.20 n: 1, 2, 3,..., 10 12. Write a function power () to raise a number m to a power n without using Math.h header file for following scenario. a. The Function takes double value for m and int value for n, and returns the result correctly.

b. Use a default value of 2 for n to make function to calculate squares when this argument is omitted. c. Take an int value for m. In above all cases function name must be same. Write a main() that calls above 3 cases. 13. Write a program to obtain the largest of three numbers using inline function. Experiment # 4 (Class) 14. Create a class that imitates part of the functionality of the base data type int. Call the class Int. The only data in this class is an int variable. Include member functions to initialize an int to 0, to initialize it to an int value, to display it, and to add two Int values. Write a program that exercises this class by creating two initialized Int values, adding these two initialized values, adding these two initialized value and placing the respond in the un-initialized value, and then display this result. 15. Define a Class bank_account having following data members and member functions: Data members : 1. Name of the depositor 2. Account number 3. Type of account 4. Balance amount in the account Member functions : 1. To assign the initial values 2. To deposit an amount 3. To withdraw an amount after checking the balance 4. To display name and balance Write a main program to test the program for 10 customers. 16. Create two classes DM and DB which store the value of distances. DM stores distance in meters and centimeters and DB in feet and inches. Write a program that can read values for the class objects and add one object of DM with another object of DB by keeping following in mind. a. Use friendly function to carry out the addition. b. The object that stores the results may be a DM or DB object, Depending on the unit in which the results are required. 17. Write a program to calculate number of object created for particular class.

Experiment # 5 (Class) 18. Define a Class complex having data members as real and imag and member functions as add_comp() & show_comp(). Write a C++ program to get information of 2 complex numbers and add these 2 complex numbers and display this result using Overloaded Constructor Concept. 19. Create a class FLOAT that contains one float data member. Overload all the four arithmetic operators(+, -, *, /) so that they operate on the objects of FLOAT. 20. Define a class String. Use overloaded == operator to compare two strings. 21. Write a program which overload cin and cout of iostream. 22. Define a circle class with radius as data member, necessary constructors and member function to compute area of circle. Class should overload the= = operator to compare two circle objects whether they are equal in radius. Demonstrate its use in main(). Experiment # 6 (Inheritance) 23. Implement following class relationship and test with main class. Staff(code,name) Teacher Officer (subject, Publication) Typist (grade) (Speed) Regular Casual (daily wages) 24. Add education details for above classes except for typist. This class will include two information namely, highest education in general studies and highest professional qualification. 25. Implement the following class using abstract class. a. Shape

i. TwoDimensional 1. Triangle 2. Rectangle 3. Circle ii. ThreeDimensional 1. Box 2. Cone 3. Cylinder 4. Sphere Experiment # 7 (Polymorphism) 26. Define two Classes Time-12 and Time-24 to represent time format. Write a C++ program to convert one time format to another time format using Type Conversion Concept. 27. Demonstrate Runtime Polymorphism by defining media class as Base class and Book and Tape as Sub Class. Keep display () function such that, It provides run time polymorphism. Experiment # 8 (File) 28. Write a program that reads a text file and create another file that is identical except that every sequence of consecutive blank spaces is replaced by a single space. 29. Write a program that reads data from one file and copy it to other file. 30. Write a Program which stores name and mobile number in phonebook and performs following tasks: a) Determine the mobile number of the specified person. b) Determine the name of if a mobile number is known. c) Update the mobile number, whenever there is a change. Experiment # 9 (Standard Template Library) 31. Write a function templates for finding the minimum value contained in an array. 32. Write a class template to represent a generic vector. Include the member functions to perform the following tasks: a. To create a vector b. To modify the value of given element c. To multiply by a scalar value. 33. A table gives a list of car models and the number of units sold in each type in a specified period. Write a program to store this table in suitable

container and to display interactively the total value of a particular model sold, given the unit-cost of that model. 34. Write a program that accepts a shopping list of five items from the keyboard and stores them in a vector. Extend the program to accomplish the following tasks: a. To delete a specified item in the list. b. To add an item at a specified location. c. To add an item at the end. d. To print the contents of the vector. 35. Write a program with the following: a. A function to read two double type numbers from keyboard b. A function to calculate the division of these two numbers c. A try block to throw an exception when wrong type of data is keyed in d. A try block to detect and throw an exception if the condition divide-by-zero occurs e. Appropriate catch block to handle the exception thrown. Instructional Method: a. The course delivery method will depend upon the requirement of content and need of students. The teacher in addition to conventional teaching method by black board, may also use any of tools such as demonstration, role play, Quiz, brainstorming, MOOCs etc. b. The internal evaluation will be done on the basis of continuous evaluation of students in the laboratory and class-room. c. Practical examination will be conducted at the end of semester for evaluation of performance of students in laboratory. d. Students will use supplementary resources such as online videos, NPTEL videos, e-courses, Virtual Laboratory Supplementary Resources: 1. Open source software dev C++ 2. www.nptel.ac.in 3. www.learncpp.com