An open API service indexing awesome lists of open source software.

https://github.com/zmercury/cpp

C++ - Second Semester Notes
https://github.com/zmercury/cpp

bed bicte c cpp ict notes programming sanothimi

Last synced: 2 months ago
JSON representation

C++ - Second Semester Notes

Awesome Lists containing this project

README

        

# šŸ“œ C++ | Notes and Assignment | 2nd Semester

![GitHub](https://img.shields.io/github/license/zmercury/cpp?style=for-the-badge)
![GitHub Repo stars](https://img.shields.io/github/stars/zmercury/cpp?style=for-the-badge)
![GitHub last commit](https://img.shields.io/github/last-commit/zmercury/cpp?style=for-the-badge)

### Latest Note - [šŸ‘‰ Click Here](#February)
## Table of Content

### November

|Date|Content|Link|
|--------|---------|:---------:|
|NovĀ 7|Syllabus|[Syllabus](/Notes/00_November/000_Nov7/)|
|NovĀ 8|C Recap: Find Simple Interest, Sample of Switch and Loop Statement|[Notes](/Notes/00_November/001_Nov8/)|
|NovĀ 9|Basic Addition, User Input and find area of rectriangle|[Notes](/Notes/00_November/002_Nov9/)|
|NovĀ 10|Simple Interest using double and Area of Circle (PI)|[Notes](/Notes/00_November/003_Nov10/)|
|Nov 11|Classes in C++: Sample Programs|[Notes](/Notes/00_November/004_Nov11/)|
|Nov 13|**Questions:**
**1.** Area of square
**2.** Volume of a cuboid
**3.** Volume of cube
**4.** Print sum, difference, product and quotient of two user input numbers
**5.** To input age of person and print in days with a appropriate format
**6.** To input length & breadth of a room and calculate and print its area and perimeter
**7.** To read the radius of a sphere and compute its surface area and volume
**8.** To input temperature in Celsius and to print its Fahrenheit equivalent
**9.** To read base and altitude of a triangle and prints its area|[Notes](/Notes/00_November/005_Nov13/)|
|NovĀ 14|Completed the questions given in Nov 13 --> [Click Here](/Notes/00_November/005_Nov13/)|[Notes](/Notes/00_November/006_Nov14/)|
|NovĀ 15|Find Greatest Number among three numbers |[Notes](/Notes/00_November/007_Nov15)|
|NovĀ 16|ASCII,For loop and Increment and Decrement Operators |[Notes](/Notes/00_November/008_Nov16/)|
|NovĀ 22|Use of if.. else... and else if...... (Calculate Grade)
**Questions**
**1.** Enter values of length and breadth of a rectangle from user and check if it is square or not.
**2.** A shop will give discount of 10% if the cost of purchased quantity is more than 1000. Ask user for quantity. Suppose, one unit will cost 100. Judge and print total cost for user.
**3.** A company decided to give bonus of 5% to employee if his/her year of service is more than 5 years. Ask user for their salary and year of service and print the net bonus amount.
**4.** Check that whether a number is even or odd.
**5.** Program to check whether a number is divisible by 5 and 11 or not.
**6.** Program to check whether the triangle is an equilateral, isosceles or scalene triangle.
**7.** Program to calculate profit or loss.
**8.** Program to check whether a year is a leap year or not by using an if-else statement.
**9.** Program that checks whether the character is an alphabet or not.
**10.** Program to check whether a number is a prime or composite number.|[Notes](/Notes/00_November/009_Nov22/) |
|NovĀ 23|Switch Statement (Assignment: Input two number and find the sum, difference, product and quotient using switch)| [Notes](/Notes/00_November/010_Nov23/)|
|NovĀ 27| Classwork (if block, swap number)| [Notes](/Notes/00_November/011_Nov27/)|
|NovĀ 28| Loop | [Notes](/Notes/00_November/012_Nov28/)|
|NovĀ 29| Jump Statement and Arithmatic Operators| [Notes](/Notes/00_November/013_Nov29/)|
|NovĀ 30| Assignment Operators, Relational Operator & Logical Operator | [Notes](/Notes/00_November/014_Nov30/)|

### December

|Date|Content|Link|
|---|---|---|
|DecĀ 1| Increment & Decrement Operator / Ternary Operator (Syntax and Example) / Features of Object Oriented Programming |[Notes](/Notes/01_December/001_Dec1/)|
|DecĀ 2| Difference between C and C++ / Types of Data Types in C++ with example |[Notes](/Notes/01_December/002_Dec2/)|
|DecĀ 4| Basic Structure of C++ Program (Header File, Main Function etc) |[Notes](/Notes/01_December/003_Dec4/)|
|DecĀ 5| Scope resolution operator , Insersion and Extraction Operator |[Notes](/Notes/01_December/004_Dec5/)|
|DecĀ 11| Namespace with syntax and example |[Notes](/Notes/01_December/005_Dec11/)|
|DecĀ 12| Data Type Conversion with Examples |[Notes](/Notes/01_December/006_Dec12/)|
|DecĀ 13| Types of Data Type Conversion with Examples |[Notes](/Notes/01_December/007_Dec13/)|
|DecĀ 14| Dynamic Memory Allocation and its example - Assignment [Click Here](/Notes/01_December/008_Dec14#homework) |[Notes](/Notes/01_December/008_Dec14/)|
|DecĀ 15| Bitwise Operator and Return Type - Assignment [Click Here](/Notes/01_December/009_Dec15#homework) |[Notes](/Notes/01_December/009_Dec15/)|
|DecĀ 16| Inline Function |[Notes](/Notes/01_December/010_Dec16/)|
|DecĀ 18| Overloaded Function & Default Argument |[Notes](/Notes/01_December/011_Dec18/)|
|DecĀ 19| Reference Var in C++ & Assignment -> [Click Here](/Notes/01_December/012_Dec19/) |[Notes](/Notes/01_December/012_Dec19/#homework)|
|DecĀ 20| Return by Reference |[Notes](/Notes/01_December/013_Dec20/)|
|DecĀ 21| Constuctor and Destructor |[Notes](/Notes/01_December/014_Dec21/)|
|DecĀ 22| Type of Constructor |[Notes](/Notes/01_December/015_Dec22/)|
|DecĀ 23| Classwork |[Notes](/Notes/01_December/016_Dec23/)|
|DecĀ 26| Parameterized Constructor |[Notes](/Notes/01_December/017_Dec26/)|
|DecĀ 27| Destructor |[Notes](/Notes/01_December/018_Dec27/)|
|DecĀ 28| Copy Constructor |[Notes](/Notes/01_December/019_Dec28/)|
|DecĀ 29| Constructor Overloading |[Notes](/Notes/01_December/020_Dec29/)|

### January

|Date|Content|Link|
|---|---|---|
|JanĀ 1| Array, How to declare an Array and Find the sum of the elements in an array |[Notes](/Notes/02_January/000_Jan1/)|
|JanĀ 2| Classwork (Write a program using array to input and display the marks of 5 students within a class) |[Notes](/Notes/02_January/001_Jan2/)|
|JanĀ 3| Board Test |[Notes](/Notes/02_January/002_Jan3/)|
|JanĀ 4| 3-D Array |[Notes](/Notes/02_January/003_Jan4/)|
|JanĀ 5| 2D Array (Multi IO)|[Notes](/Notes/02_January/004_Jan5/)|
|JanĀ 31|Base Class and Derived Class|[Notes](/Notes/02_January/005_Jan31/)|

### February

|Date|Content|Link|
|---|---|---|
|FebĀ 2/11|Presentation|[Notes](/Notes/03_February/001_Feb2/)|
|FebĀ 12|Inheritance and Its types|[Notes](/Notes/03_February/002_Feb12/)|
|FebĀ 14|1. Write a program to add two numbers using inheritance
2. Write a program in C++ to display mobile name and its cost with tax using single inheritance|[Notes](/Notes/03_February/003_Feb14/)|
|FebĀ 15|Write a program to display pass or fail and input roll number, marks using multilevel inheritance|[Notes](/Notes/03_February/004_Feb15/)|
|FebĀ 16|Surprise Class Test|[Notes](/Notes/03_February/005_Feb16/)|
|FebĀ 17|Write a program to find the sum and product of two numbers using hierarchical inheritance|[Notes](/Notes/03_February/006_Feb17/)|
|FebĀ 20|What is Ambiguity and program that demonstrates Ambigious Property and how to tackle it in C++ |[Notes](/Notes/03_February/007_Feb20/)|
|FebĀ 22|Function Overriding and Execution sequence of constructor and destructor in inheritance|[Notes](/Notes/03_February/008_Feb22/)|
|FebĀ 23|What is Containership or Nesting? What is Container? Example and syntax|[Notes](/Notes/03_February/009_Feb23/)|
|FebĀ 26||[Notes](/Notes/03_February/010_Feb26/)|
|FebĀ 27|Array of objects & Static Data Members|[Notes](/Notes/03_February/011_Feb27/)|
|FebĀ 28|Static and Non-Static Data Members|[Notes](/Notes/03_February/012_Feb28/)

### March

|Date|Content|Link|
|---|---|---|
|MarĀ 1|Friend Class and Friend Function|[Notes](/Notes/04_March/00_Mar1/)|
|MarĀ 3|Polymorphism|[Notes](/Notes/04_March/01_Mar3/)|
|MarĀ 5|Pure Virtual Function|[Notes](/Notes/04_March/02_Mar5/)|
|MarĀ 7|Early Binding and Late Binding|[Notes](/Notes/04_March/03_Mar7/)|
|MarĀ 10|Roadmap for polymorphism|[Notes](/Notes/04_March/04_Mar10/)|
|MarĀ 22|Encapsulation|[Notes](/Notes/04_March/05_Mar22/)|
|MarĀ 23|Operator Overloading|[Notes](/Notes/04_March)|

###### Copyright (c) 2022 [Mercury / Jupiter / Mxvenus](https://nikhilbastola.com.np)