Video Lectures

 

YouTube Links for the video lectures by Preetpal Kaur Buttar, Assistant Professor, Department of Computer Science and Engineering, SLIET, Longowal.

Subject    Object-Oriented Programming

Relevant Subject Codes in UG/ICD Programmes PCCS-512 (GCS), OECS-612 D (Open Elective – UG), CS-221 (DCS-CDE)

YouTube Channel Link https://www.youtube.com/channel/UC8-6C07P7JYuNwBZ8-2RDow

Sr. No. Chapter Name of the Topic Video Link
1 Introduction to Object-Oriented Programming Introduction to Object-Oriented Programming

https://www.youtube.com/watch?v=VBR1-qttbvk&t=167s

 

Characteristics of Object-Oriented Programming https://www.youtube.com/watch?v=HmLSq_3vKS4&t=5s
2 Basics Software Development in C++

https://www.youtube.com/watch?v=m_kcYFua_Ow

 

Practice – Hello World Program https://www.youtube.com/watch?v=4bUwYLQ61xs
Variables

https://www.youtube.com/watch?v=lGTIyLj4rCo

 

Data Types

https://www.youtube.com/watch?v=5ySkQWZB9OI

 

Practice – sizeof Operator https://www.youtube.com/watch?v=isPihRTnfwU&t=14s
Identifiers, Constants, and Keywords

https://www.youtube.com/watch?v=1IbNwmNtdR0

 

Practice – Keywords https://www.youtube.com/watch?v=jCVSgKakKCI
Operators https://www.youtube.com/watch?v=7uVL34FMmvc
Practice – Increment-Decrement Operators https://www.youtube.com/watch?v=a3zdQpEPoTM
Practice – Bitwise Operators https://www.youtube.com/watch?v=PNS3Y9TLvtg&t=4s
3 Conditionals The if Statement https://www.youtube.com/watch?v=WwtBsFblmYE
Practice – The if Statement https://www.youtube.com/watch?v=elhKiE5qhT8
Practice – Variable ‘a’ Greater Than Variable ‘b’ or Not https://www.youtube.com/watch?v=Ch2vyDxSViw&t=11s
Nested ifs https://www.youtube.com/watch?v=fC13HbQQjkU
Practice – Greatest Among 3 Numbers Using Nested ifs https://www.youtube.com/watch?v=ruhg7UM-rsU
if-else-if Ladder https://www.youtube.com/watch?v=Q_sbyUZhnw0
Practice – Greatest Among 3 Numbers Using if-else-if Ladder https://www.youtube.com/watch?v=0X4Dl_3yKM0
Conditional Operator https://www.youtube.com/watch?v=IuM5Rbb_ZpI
The switch Statement https://www.youtube.com/watch?v=OA1cBFJZm1w
Practice – The switch Statement https://www.youtube.com/watch?v=_4KXYyy9FBU
Practice – Simple Calculator Using switch Statement https://www.youtube.com/watch?v=R8SF0NsjbaE
4 Loops Introduction to Loops https://www.youtube.com/watch?v=zajERuTMNnc
The for Loop https://www.youtube.com/watch?v=FDNOzMgqLFE
Practice – for Loop https://www.youtube.com/watch?v=-yOtObXuNIE
Practice – Factorial of a Number Using for Loop https://www.youtube.com/watch?v=UyFtU6MJtFk
Practice – Nested for Loops https://www.youtube.com/watch?v=ggDB_owmahE
The while Loop https://www.youtube.com/watch?v=PAG3ZKwUobE
Practice – Counting Digits in a Number Using for Loop https://www.youtube.com/watch?v=5DbKrexf2S0
The do-while Loop https://www.youtube.com/watch?v=IQgNUtqHaGg
The break Statement https://www.youtube.com/watch?v=ijr6TtDqKmQ
Practice – break Statement https://www.youtube.com/watch?v=M2s2ARzlUGA
Practice – Test Whether a Number is Prime or Not (for Loop) https://www.youtube.com/watch?v=Rs2-xcOKn0k
Practice – Simple Calculator Using for Loop https://www.youtube.com/watch?v=fi6ojtGaJAQ
The continue Statement https://www.youtube.com/watch?v=06gbBvFzqf4
Practice – continue Statement https://www.youtube.com/watch?v=Fv1_zqKhnJA
5 Pointers Introduction to Pointers https://www.youtube.com/watch?v=ma-6BZ7QEqQ
Operations on Pointers https://www.youtube.com/watch?v=VcSbkR6gdLk
Pointers to void, Multiple Indirection https://www.youtube.com/watch?v=wUrTVZGi6iQ
Debugging Pointers https://www.youtube.com/watch?v=dRdUbNLmGZE
6 Functions Introduction to Functions https://www.youtube.com/watch?v=QaRcc8mhP6s
Pass by Value, Pass by Reference, Pass by Pointer https://www.youtube.com/watch?v=Rvhi5nEHaa8
7 Arrays Introduction to Arrays https://www.youtube.com/watch?v=6uLUBlTZBJE
Arrays and Pointers https://www.youtube.com/watch?v=NRri2Rq2U7g
Multidimensional Arrays https://www.youtube.com/watch?v=smAGBMdbiiQ
8 Structures and Unions Structures https://www.youtube.com/watch?v=q2PoZeCdKX0
Practice – Creating and Using a Structure https://www.youtube.com/watch?v=EOVKy9Pujso
Practice – Nested Structures https://www.youtube.com/watch?v=ICrL2_KoLRM
Structures and Functions https://www.youtube.com/watch?v=xSOTtvh1RN4
Structures and Pointers https://www.youtube.com/watch?v=8m0t_lki6yk
Practice – Pointer to Structure https://www.youtube.com/watch?v=56Hx6maG9Gk
Practice – Passing Structure to a Function by Reference https://www.youtube.com/watch?v=a8Z8NUqH-xo
Practice – Passing Structure to a Function by Address https://www.youtube.com/watch?v=ryldcCiPWfU
Unions https://www.youtube.com/watch?v=6dc8vL0EOls
9 Classes and Objects Classes and Objects https://www.youtube.com/watch?v=56WwdyJcEZU
10 Constructors and Destructors Introduction to Constructors https://www.youtube.com/watch?v=9KZK1uSerao
Practice – Parameterized Constructors https://www.youtube.com/watch?v=22tfq92o0X8
Practice – Passing Objects as Arguments https://www.youtube.com/watch?v=EdSfvawavwg
Practice – Returning Objects https://www.youtube.com/watch?v=cdl7fGk7_e4
Destructors https://www.youtube.com/watch?v=iTamqd9hBVM
Order of Execution of Constructors and Destructors https://www.youtube.com/watch?v=Kmm99elnJ_o
The Default Constructor https://www.youtube.com/watch?v=WcPo0UUkL94
Dynamic Constructor https://www.youtube.com/watch?v=F3dAR2mvAbU
Practice – Dynamic Constructor https://www.youtube.com/watch?v=3AFOkqjBpWc
The Copy Constructor https://www.youtube.com/watch?v=nsI2O0RjOVM
Practice – Copy Constructor https://www.youtube.com/watch?v=43Qh4eTjeiQ
Classes, Objects, and Memory https://www.youtube.com/watch?v=nWjerhphXqg
11 The static Keyword Introduction to static Variables https://www.youtube.com/watch?v=-ONSftHdV6U
static Data Members https://www.youtube.com/watch?v=FmqHgPkk9Go
Practice – static Data Members https://www.youtube.com/watch?v=SmYVLj5TG0w
Separate Declaration and Definition of static Data Members https://www.youtube.com/watch?v=rGOVsiPs680
Practice – static Data Members https://www.youtube.com/watch?v=h9pXETr_0JA
Practice – static Data Member Example https://www.youtube.com/watch?v=mEk9lzn_hss
static Member Functions https://www.youtube.com/watch?v=AuoquFOIse8
Restrictions on static Member Functions https://www.youtube.com/watch?v=NQaQ6jIybmM
Practice – Restrictions on static Member Functions https://www.youtube.com/watch?v=GHFcs6nRqkk
static Objects https://www.youtube.com/watch?v=fxlW81cfwp8
12 The friend Keyword Introduction to the friend Keyword https://www.youtube.com/watch?v=qP6w9376_cI
Practice – friend Function https://www.youtube.com/watch?v=LNC_OI63Ams
Practice – friend Function https://www.youtube.com/watch?v=Yx8uhUUwi_g
Practice – friend Function https://www.youtube.com/watch?v=hpvaol_IRjI
Practice – friend Class https://www.youtube.com/watch?v=Z12D3zjt4ZY
13 Inheritance Introduction to Inheritance https://www.youtube.com/watch?v=oB2fMH97Ck0
Practice – Simple Inheritance Example https://www.youtube.com/watch?v=54vAqFOooVI
Access Specifiers with Inheritance https://www.youtube.com/watch?v=DHWnciO7OyI
Base Class Access Control https://www.youtube.com/watch?v=kNIQS72JHA4
Inheritance and Accessibility https://www.youtube.com/watch?v=kNIQS72JHA4
protected Members https://www.youtube.com/watch?v=BcFlvGQwwYE
Practice – protected Members https://www.youtube.com/watch?v=VtW24dvBS0s
Practice – Base Class Inherited as public, private https://www.youtube.com/watch?v=yBvQTyTo9gM
Practice – Base Class Inherited as protected https://www.youtube.com/watch?v=ykrgGeczEFU
Practice – Hierarchical Inheritance https://www.youtube.com/watch?v=80_OogABE6Y
Practice – Hierarchical Inheritance by Inheriting Base Class as protected https://www.youtube.com/watch?v=zgW-l3DO9EM
Multiple Inheritance https://www.youtube.com/watch?v=9FJmTQWS51A
Summary of Access Specifiers Combinations https://www.youtube.com/watch?v=AZfyxIxJdJc
Constructors, Destructors, and Inheritance https://www.youtube.com/watch?v=9ZtduNIgSWY
Practice – Order of Execution of Constructors and Destructors in Inheritance https://www.youtube.com/watch?v=c1cV3W2UpX8
Practice – Passing Parameters to Base Class Constructor https://www.youtube.com/watch?v=i8XUQMjnKGs
Practice – Passing Parameters to Multiple Base Class Constructors https://www.youtube.com/watch?v=MOWIx50r-XM
Practice – Ambiguity in Multiple Inheritance, Resolving It Using Scope Resolution Operator https://www.youtube.com/watch?v=ViWYKOGcVqU
Ambiguity Resolution Using Virtual Base Classes https://www.youtube.com/watch?v=eeEXZo1hB2k
14 Polymorphism and Virtual Functions The Concept of Binding https://www.youtube.com/watch?v=mxc4fNXkVJ8
Practice – Pointer to a Class https://www.youtube.com/watch?v=FQfoQaZfOfY
Practice – Base Class Pointer https://www.youtube.com/watch?v=xzpeMDpx5LU
Base Class Pointer https://www.youtube.com/watch?v=YgM697X85Bg
Practice – Base Class Pointer https://www.youtube.com/watch?v=w0lP_-1iI2I
Practice – Virtual Functions https://www.youtube.com/watch?v=XXXlHVTQtKU
Virtual Functions https://www.youtube.com/watch?v=sGIUwqT6BII
Polymorphism, Early Binding Versus Late Binding https://www.youtube.com/watch?v=Y2ba_cScVOQ
VPTR and VTABLE https://www.youtube.com/watch?v=GrTAU2_jVzw
Practice – Early Binding Versus Late Binding https://www.youtube.com/watch?v=0OkQH2gZCB4
Abstract Classes and Pure Virtual Functions https://www.youtube.com/watch?v=KOwIxWAUeOM
Practice – Abstract Classes and Pure Virtual Functions https://www.youtube.com/watch?v=URdWs-K_1Ac
Abstract Classes and Run-Time Polymorphism https://www.youtube.com/watch?v=G6_GzJ7uYqM
Practice – Virtual Destructor https://www.youtube.com/watch?v=AD2ZLS4ts1U
Virtual Destructors https://www.youtube.com/watch?v=0hj7WsB2d78
15 Operator Overloading Introduction to Operator Overloading https://www.youtube.com/watch?v=KV8PWxnzUIg
Practice – Overloading the Binary Arithmetic Operator (+) https://www.youtube.com/watch?v=DgpLmUr8IMg
Practice – Overloading the Unary Operator (++) https://www.youtube.com/watch?v=rc8n8RPp4G8
Practice – Overloading the ++ Operator to Return an Object https://www.youtube.com/watch?v=38b1ZjoysM0
Practice – Overloading the ++ Operator to Return a Nameless Object https://www.youtube.com/watch?v=xnvqVqt6Z70
Practice – Overloading the Post-Increment Operator (++) https://www.youtube.com/watch?v=60BbzC0PO_w
Practice – Overloading the Comparison Operator (<) https://www.youtube.com/watch?v=4soN_x0Epd0
Operator Overloading Summary https://www.youtube.com/watch?v=4RfW-2ek0EE
16 Type Conversion Introduction to Type Conversion https://www.youtube.com/watch?v=7tzOtaeP9VM
Practice – Conversions Between Basic Types https://www.youtube.com/watch?v=VCTA8b9lwVY
Conversions Between Objects and Basic Types https://www.youtube.com/watch?v=fERAxXdtU2M
Practice – Conversions Between Objects and Basic Types https://www.youtube.com/watch?v=GzuFNaxSZ8k
Conversions Between Objects of Different Classes https://www.youtube.com/watch?v=fcm3j5Z3U0E
Practice – Conversions Between Objects of Different Classes https://www.youtube.com/watch?v=dzbvvqcIdwY
17 More on Pointers Pointer to a Function https://www.youtube.com/watch?v=TArqnRb18e0
The new Operator https://www.youtube.com/watch?v=LAfRyOlrEIY
The delete Operator, Handling the Allocation Failures https://www.youtube.com/watch?v=LYhjFTLStaM
Practice – new and delete Operators https://www.youtube.com/watch?v=VyF93M0FYNY
Pointer to a Class Member https://www.youtube.com/watch?v=0zHt2UENKQI
Practice – Pointer to a Class Member https://www.youtube.com/watch?v=4wYnWXo0mTY
Memory Leaks and Allocation Failures https://www.youtube.com/watch?v=Dq7DeP6N3Bo
The this Pointer https://youtu.be/5Vroylnal3A
Self-Referential Classes https://youtu.be/g8FgqZbbeUA
18 File Streams File Streams and Their Hierarchy https://www.youtube.com/watch?v=UFgFYeYEejg
Practice – Writing to File Using the Insertion Operator https://www.youtube.com/watch?v=cFBrAWZKA54
Practice – Reading from File Using the Extraction Operator https://www.youtube.com/watch?v=A4KoJ6A1PBE
Practice – Writing to File Using getline() https://www.youtube.com/watch?v=kuFGLDL9nFE
Practice – Reading and Writing Files Using get() and put() https://www.youtube.com/watch?v=lNZW3hEtIBY
Practice – Reading and Writing Files in Binary Mode https://www.youtube.com/watch?v=_ScOyrqk05U
Practice – Reading and Writing Objects https://www.youtube.com/watch?v=Z5VUjJhOPwk
Practice – Reading and Writing Multiple Records https://www.youtube.com/watch?v=ttZx95cY4-4