Chemistry Group

BPLCK205D: Introduction to C++ Programming syllabus ME Stream Chemistry Group 2022 Scheme (Programming Language Course-II)

Introduction to C++ Programming detailed syllabus for ME Stream Chemistry Group for 2022 Scheme curriculum has been taken from the VTUs official website and presented for the ME Stream Chemistry Group students. For course code, course name, duration, number of credits for a course and other scheme related information, do visit full semester subjects post given below.

For ME Stream Chemistry Group 2nd Sem scheme and its subjects, do visit ME Stream Chemistry Group 2nd Sem 2022 Scheme scheme. For Programming Language Course-II scheme and its subjects refer to ME Stream Chemistry Group Programming Language Course-II syllabus scheme. The detailed syllabus of introduction to c++ programming is as follows.

Introduction to C++ Programming

Course Objectives:

Download the iStudy App for all Syllabus, QPs and other updates.
Get it on Google Play

Teaching-Learning Process

These are sample Strategies, which teacher can use to accelerate the attainment of the various course outcomes and make Teaching -Learning more effective

  1. Chalk and talk
  2. Onine demonstration
  3. Hands on problem solving

Module 1:

Download the iStudy App for all Syllabus, QPs and other updates.
Get it on Google Play

Module 2:

(8 hours) Functions in C++: Tokens – Keywords – Identifiers and constants – Operators in C++ – Scope resolution operator – Expressions and their types – Special assignment expressions – Function prototyping – Call by reference – Return by reference – Inline functions -Default arguments -Function overloading. Textbook 2: Chapter 3(3.2,3.3,3.4,3.13,3.14,3.19, 3.20) , chapter 4(4.3,4.4,4.5,4.6,4.7,4.9)

Module 3:

Download the iStudy App for all Syllabus, QPs and other updates.
Get it on Google Play

Module 4:

(8 hours) I/O Streams: C++ Class Hierarchy- File Stream-Text File Handling- Binary File Handling during file operations. Textbook 1: Chapter 12(12.5) , Chapter 13 (13.6,13.7)

Module 5:

Download the iStudy App for all Syllabus, QPs and other updates.
Get it on Google Play

Course Outcomes:

(Course Skill Set) At the end of the course the student will be able to:

  1. Able to understand and design the solution to a problem using object-oriented programming concepts.
  2. Able to reuse the code with extensible Class types, User-defined operators and function Overloading.
  3. Achieve code reusability and extensibility by means of Inheritance and Polymorphism
  4. Implement the features of C++ including templates, exceptions and file handling for providing programmed solutions to complex problems.

Programming Assignments:

  1. Write a C++ program to sort the elements in ascending and descending order.
  2. Write a C++ program to find the sum of all the natural numbers from 1 to n.
  3. Write a C++ program to swap 2 values by writing a function that uses call by reference technique.
  4. Write a C++ program to demonstrate function overloading for the following prototypes. add(int a, int b) add(double a, double b)
  5. Create a class named Shape with a function that prints “This is a shape”. Create another class named Polygon inheriting the Shape class with the same function that prints “Polygon is a shape”. Create two other classes named Rectangle and Triangle having the same function which prints “Rectangle is a polygon” and “Triangle is a polygon” respectively. Again, make another class named Square having the same function which prints “Square is a rectangle”.Now, try calling the function by the object of each of these classes.
  6. Suppose we have three classes Vehicle, FourWheeler, and Car. The class Vehicle is the base class, the class FourWheeler is derived from it and the class Car is derived from the class FourWheeler. Class Vehicle has a method ‘vehicle’ that prints ‘I am a vehicle’, class FourWheeler has a method ‘fourWheeler’ that prints ‘I have four wheels’, and class Car has a method ‘car’ that prints ‘I am a car’. So, as this is a multi-level inheritance; we can have access to all the other classes methods from the object of the class Car. We invoke all the methods from a Car object and print the corresponding outputs of the methods. So, if we invoke the methods in this order, car(), fourWheeler(), and vehicle(), then the output will be
    I am a car
    I have four wheels
    I am a vehicle
    Write a C++ program to demonstrate multilevel inheritance using this.
  7. Write a C++ program to create a text file, check file created or not, if created it will write some text into the file and then read the text from the file.
  8. Write aC++ program to write and read time in/from binary file using fstream
  9. Write a function which throws a division by zero exception and catch it in catch block. Write a C++ program to demonstrate usage of try, catch and throw to handle exception.
  10. Write a C++ program function which handles array of bounds exception using C++.

Text Books:

Download the iStudy App for all Syllabus, QPs and other updates.
Get it on Google Play

Web links and Video Lectures (e-Resources):

  1. Basics of C++ – https://www.youtube.com/watch?v=BClS40yzssA
  2. Functions of C++ – https://www.youtube.com/wateh?v=p8ehAjZWjPw

Tutorial Link:

  1. https://www.w3schools.com/cpp/cpp_intro.asp
  2. https://www.edx.org/course/introduction-to-c-3

Activity Based Learning (Suggested Activities in Class)/ Practical Based learning

  • Assign small tasks to Develop and demonstrate using C++

For detailed syllabus of all the other subjects of ME Stream Chemistry Group 2nd Sem, visit ME Stream Chemistry Group 2nd Sem subject syllabuses for 2022 Scheme.

For all ME Stream Chemistry Group results, visit VTU ME Stream Chemistry Group all semester results direct link.

Leave a Reply

Your email address will not be published. Required fields are marked *

*