0% found this document useful (0 votes)
131 views51 pages

Learn: in Just 30 Days

The document appears to contain a series of tables with binary digits (1s and 0s) arranged in rows and columns. There is no other text or apparent meaning to the binary representations.

Uploaded by

shafifkhan7017
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
131 views51 pages

Learn: in Just 30 Days

The document appears to contain a series of tables with binary digits (1s and 0s) arranged in rows and columns. There is no other text or apparent meaning to the binary representations.

Uploaded by

shafifkhan7017
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 51

1

1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1

0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0

1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1

0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0

1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1

0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0

1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1

0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0

1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1

0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0

Learn
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1

0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0

1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1

0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0
0 0

1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1

0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

in Just 30 days
Day 1

Introduction to C++

To pi c s

0 What is C+++

0 Setting up a development environment (e.g.,

using an IDE like Visual Studio or an online

compiler)

0 Writing your first "Hello, World!" program.

Resources

h\ https://www.w3schools.com/cpp/cpp_getstarted.asd

P\ https://www.onlinegdb.com/online_c++_compileX

L\ https://www.geeksforgeeks.org/setting-c-development-

environment/
Questions
%* What is the difference between C
and C++
* Explain the compilation process in 

C++*
* How do you execute a C++ program
and what happens behind the
scenes?
Day 2

Variables and Literals


Topics

5 Declaring and initialising variables$


5 Different data types (int, double, char, etc.)$
5 Constants and literals.

Resources

^S https://www.programiz.com/cpp-programming/
variables-literalF
JS https://www.geeksforgeeks.org/literals-in-c-cpp-with-
examplesV
AS https://www.w3schools.com/cpp/cpp_variables.asp
Questions
& Declare an integer variable named
"age" and initialize it with your age&
& Create a constant called "PI" and set
its value to 3.14159&
& Calculate the area of a circle with a
radius of 5 units.
Day 3

Basic I/O

To pi c s

% Input using cin and output using cout

% Input and Output Formatting techniques

Resources

RD https://www.geeksforgeeks.org/basic-input-output-cG

8D https://www.tutorialspoint.com/cplusplus/

cpp_basic_input_output.htO

5D https://cplusplus.com/doc/tutorial/basic_io/
Questions
!& Write a program that takes two
numbers as input and prints their
sum&
'& Format the output of a temperature
in Celsius and Fahrenheit side by
side&
& Write a program to take two floating
point numbers as input and perform
different arithmetic operations on
the$
& What are the different formatting
characters used in C++?
Day 4
Control Flow (if...else
and switch statement)
Topics
0 Conditional statements and boolean expressions%
0 Using if, else if, and else.

Resources
\R https://www.programiz.com/cpp-programming/if-elsZ
GR https://www.w3schools.com/cpp/
cpp_conditions_elseif.asp
Questions
,4 Write a program that checks if a
given number is positive, negative, or
zero4
4 Implement a program that
determines if a student's grade is "A,"
"B," "C," "D," or "F" based on their
score4
4 Create a program that determines
the day of the week based on the
user's input (1 for Monday, 2 for
Tuesday, etc.)4
4 Implement a simple calculator
program that supports addition,
subtraction, multiplication, and
division using a switch statement.
Day 5

Control Flow (for Loop, while

Loop and do…while Loop)

To pi c s

; Introduction to loops1

; Using for loops for iteration1

; Using while and do...while loops1

; Loop control statements (break and continue).

Resources

j] https://www.javatpoint.com/cpp-flow-contro`

T] https://cplusplus.com/doc/tutorial/controla

O] https://subscription.packtpub.com/book/

programming/9781789801491/1/ch01lvl1sec06/control-

flow-statements
Questions
' Create a program that prints all even
numbers from 1 to 20'
' Calculate the sum of the first 100
natural numbers using a for loop'
' Write a program to find the factorial
of a number using a do...while loop.
Day 6
Functions
Topics
) Defining functions, parameters, and return types.

Resources
NB https://www.geeksforgeeks.org/functions-in-cppD
8B https://www.w3schools.com/cpp/cpp_functions.asp
Questions
& Write a function that calculates the
square of a number and returns the
result&
& Create a program that uses a
function to check if a given year is a
leap year&
& Write a function that takes a number
and prints a multiplication table of
the number.
Day 7

Function Overloading
and Default Arguments
Topics
= Overloading functions with different parameters(
= Default argument values(
= Hands-on: Overload your max function to work
with three numbers and test it.

Resources
m^ https://www.geeksforgeeks.org/function-overloading-
ca
R^ https://www.javatpoint.com/cpp-overloadinY
M^ https://www.geeksforgeeks.org/default-arguments-ca
`^ https://en.cppreference.com/w/cpp/language/
default_arguments
Questions
" Overload a function to find the
maximum of three numbers"
(" Modify the max function to have
default arguments, allowing it to work
with two or three numbers"
" Explain the concepts of function
overloading and default arguments
with examples.
Day 8-9
Storage Classes and
Recursion
Topics
" Storage classes (auto, static, extern)$
" Introduction to recursion in C++

Resources
bR https://www.geeksforgeeks.org/storage-classes-in-c-
with-examplesV
GR https://www.javatpoint.com/cpp-storage-classeK
DR https://www.w3schools.com/cpp/
cpp_functions_recursion.as\
UR https://www.geeksforgeeks.org/cpp-recursion/
Questions
& Write a recursive function to
calculate Fibonacci numbers
 Declare a global variable and a static
variable inside a function. Compare
their lifetimes
 Write a recursive function to
calculate the factorial of a number
 Discuss the storage classes in C++
(auto, static, extern, etc.) and their
use cases.
Day 10
Arrays
Topics
 Introduction to arrays
 Array initialization and access.

Resources
M@ https://www.w3schools.com/cpp/cpp_arrays.asI
6@ https://www.geeksforgeeks.org/cpp-arraysD
1@ https://cplusplus.com/doc/tutorial/arrays/
Questions
&' Describe the concept of arrays in C+
+. How are they different from other
data structures
' Write a program to find the sum and
average of elements in an arra
' Discuss advantages and limitations
of using arrays'
' Create a program that finds the
largest and smallest elements in an
array and their positions.
Day 11

Multidimensional Arrays

To pi c s

# Creating and using multidimensional arrays.

Resources

QG https://www.w3schools.com/cpp/cpp_arrays_multi.asN

;G https://www.programiz.com/cpp-programming/

multidimensional-arrays
Questions
+) Implement a program to perform
matrix multiplication)
) Write a program to perform matrix
subtraction and addition)
) Describe the use cases for
multidimensional arrays and compare
them to one-dimensional arrays)
) How is a multidimensional array
stored in memory in C++?
Day 12

Strings

To pi c s

% Introduction to C++ strings

% String manipulation functions.

Resources

QB https://www.geeksforgeeks.org/stdstring-class-in-cE

:B https://www.tutorialspoint.com/cplusplus/

cpp_strings.htN

5B https://cplusplus.com/reference/string/string/
Questions
%+ Create a program to reverse a given
string+
,+ Discuss the dynamic nature of C++
strings and the benefits of using
them over fixed-size character
arrays+
+ Given a string and a substring write a
C++ program to find the location of
the substrin"
+ Develop a program that checks if a
given string is a palindrome.
Day 13

Structures and Enums

To pi c s

# Defining structures and enums in C++

Resources

UI https://www.w3schools.com/cpp/cpp_structs.asR

@I https://www.programiz.com/cpp-programming/

enumeratio>

7I https://www.geeksforgeeks.org/enumeration-in-cppM

LI https://www.geeksforgeeks.org/structures-in-cpp/
Questions
%* Design a structure for storing
information about books*
* What is the purpose of structures
and enumerations in C++
* Define a structure for storing
information about students and
create an array of student records*
* Define a structure representing a
point in 3D space and implement
functions to calculate distance and
midpoint between two points.
Day 14-15

Introduction to Classes

To pi c s

/ What is object oriented programming in C++-

/ Declaring and defining classes.

Resources

bV https://www.w3schools.com/cpp/cpp_classes.as^

LV https://www.geeksforgeeks.org/c-classes-and-objectsZ

BV https://cplusplus.com/doc/tutorial/classesZ

YV https://www.geeksforgeeks.org/object-oriented-

programming-in-cpp/
Questions
%, Create a simple class to represent a
car,
, Define a class in C++. What are its
components
, Create a class representing a
"Person" with attributes like name
and age, and instantiate objects of
this class,
, Describe the four pillars of object-
oriented programming (OOP) and
how C++ supports each of them.
Day 16
Constructors and
Destructors
Topics
' Constructors and destructors in classes
' Parameterized Constructors

Resources
RH https://www.geeksforgeeks.org/constructors-cJ
=H https://en.cppreference.com/w/cpp/language/
constructoC
7H https://www.programiz.com/cpp-programming/
constructors
Questions
!& Add constructors to your car class
and create car objects&
*& Explain the role of constructors and
destructors in classes. What are copy
constructors
& Create a class for a bank account
with attributes for balance and
account number, and implement
methods for deposit and withdrawal.
Add parameterized constructors and
a destructor to your bank account
class.
Day 17

Objects and Member


Functions
Topics
. Creating objects of a class#
. Accessing member functions and variables.

Resources
gX https://www.tutorialspoint.com/cplusplus/
cpp_class_member_functions.htL
QX https://www.ibm.com/docs/en/zos/2.1.0?topic=only-
member-functionS
CX https://www.javatpoint.com/cpp-class-member-
functions
Questions
+' Implement methods in your car class
to set and display car details'
' Describe how objects interact with
member functions in C++ classes'
' Discuss the concept of encapsulation
in OOP and how it relates to class
objects and member functions'
' Create multiple bank account objects
and demonstrate encapsulation by
accessing and modifying their
attributes.
Day 18
Operator Overloading
Topics
- Overloading operators like +, -, *, etc in C++

Resources
ZG https://www.geeksforgeeks.org/operator-overloading-
cppJ
?G https://www.programiz.com/cpp-programming/
operator-overloadinM
>G https://www.tutorialspoint.com/cplusplus/
cpp_overloading.htm
Questions
$- Create a class to represent complex
numbers. Overload the + operator in
your car class to add two complex
numbers-
- What is the significance of operator
overloading in C++? Provide
examples of commonly overloaded
operators-
- Overload the "+" operator to
concatenate two "Person" objects'
names.
Day 19-20
Pointers and Dynamic
Memory Allocation
Topics
2 Introduction to pointers)
2 Dynamic memory allocation with new and delete.

Resources
bW https://dev.to/denvercoder1/c-pointers-and-dynamic-
memory-allocation-1emH
OW https://www.geeksforgeeks.org/new-and-delete-
operators-in-cpp-for-dynamic-memoryR
DW https://cplusplus.com/doc/tutorial/dynamic/
Questions
*$ Explain the concept of pointers and
dynamic memory allocation in C++$
$ Create a dynamic array of "Person"
objects and manipulate them using
pointers$
$ Describe the advantages and
potential pitfalls of using pointers in
C++ for dynamic memory allocation.
Day 21

Pointers and Functions

Topics

# Passing pointers as function parameters.

Resources

QE https://www.geeksforgeeks.org/function-pointer-in-
cppG

;E https://www.geeksforgeeks.org/passing-pointers-to-
functions-in-cppG

9E https://www.tutorialspoint.com/cplusplus/
cpp_passing_pointers_to_functions.htm
Questions
&+ Write a function to sort an array of
cars using pointers+
+ How can pointers be passed as
function parameters in C++
+ Write a function that takes a pointer
to an array and returns the sum of its
elements+
+ Explain the concept of passing
pointers as function parameters and
how it affects the original data.
Day 22

Inheritance
Topics

# Introduction to inheritance
# Base and derived classes.

Resources

OB https://www.geeksforgeeks.org/inheritance-in-cD
8B https://www.w3schools.com/cpp/cpp_inheritance.asI
3B https://www.programiz.com/cpp-programming/
inheritance
Questions
*0 Create a base class "Vehicle" and a
derived class "Car.'
0 Create a base class "Shape" and
derived classes "Circle" and
"Rectangle.'
0 Describe the benefits and challenges
of inheritance in OOP, and how C++
addresses those challenges0
0 Explain the concept of inheritance
and its advantages in object-oriented
programming.
Day 23
Access Control in
Inheritance
Topics
1 Public, private, and protected access specifiers.

Resources
ZO https://www.programiz.com/cpp-programming/public-
protected-private-inheritanc?
FO https://www.learncpp.com/cpp-tutorial/inheritance-
and-access-specifiersR
<O https://www.geeksforgeeks.org/cpp-inheritance-access/
Questions
&! Discuss the access control modifiers
in C++ inheritance (public, private,
protected)!
! Modify your "Vehicle" hierarchy to
demonstrate the accessibility of base
class members in derived classes.
Day 24
Function Overriding
and Overloading
Topics
/ Overriding base class functions in derived classes*
/ Overloading of functions in C++

Resources
ZK https://www.geeksforgeeks.org/function-overloading-
vs-function-overriding-in-cpp/>
AK https://www.geeksforgeeks.org/function-overriding-in-
cppN
=K https://www.programiz.com/cpp-programming/
function-overloading
Questions
,% Define function overriding and its
significance in polymorphism.
Provide examples%
% What is the difference between
function overloading and overriding
% Override a member function in your
"Circle" and "Rectangle" classes to
calculate area.
Day 25

Multiple Inheritance
and Virtual Functions
Topics

) Multiple and multilevel inheritance5


) Virtual functions and dynamic binding.

Resources

bQ https://isocpp.org/wiki/faq/multiple-inheritanc`
GQ https://www.geeksforgeeks.org/multiple-inheritance-in-
cW
FQ https://www.geeksforgeeks.org/multiple-inheritance-in-
cW
VQ https://www.javatpoint.com/cpp-virtual-function
Questions
/( Explain multiple inheritance and
virtual functions in C++(
( Discuss multiple inheritance and the
"diamond problem." How does C++
handle this issue
( Implement multiple inheritance to
derive a 3 dimensional shape using
length, breadth and height(
( Create a class hierarchy involving
multiple inheritance and use virtual
functions to achieve dynamic
binding.
Day 26
Friend Functions and
Classes
Topics
& Understanding friend classe*
& Implementing Friend functions

Resources
ZL https://www.geeksforgeeks.org/friend-class-function-
cppO
BL https://www.programiz.com/cpp-programming/friend-
function-clas*
>L https://www.javatpoint.com/cpp-friend-function
Questions
#* What is a friend function, and how
does it access class members
* Implement a friend function to
calculate the average speed of a
vehicle based on distance and time*
* Define a friend function for your
"Shape" classes to display their
details.
Day 27

C++ Templates
Topics
% Introduction to class templates
% Introduction to function templates

Resources
QF https://www.geeksforgeeks.org/templates-cppI
9F https://www.programiz.com/cpp-programming/class-
template>
7F https://www.tutorialspoint.com/cplusplus/
cpp_templates.htm
Questions
%& Describe class templates in C++.
How do they enable generic
programming
& Create a template class for a generic
array and use it with different data
types&
& Explain how to make a function
template with an example.
Day 28-30
Final Review and
Practice
% Library Catalog
@ Build a library catalog system where you can add,
remove, and search for books)
@ Use classes and structures to represent books and
manage collections)
@ Employ arrays or linked lists for book storage.

\ Simple Game (e.g., Guess the Number)


@ Create an interactive game where the computer
generates a random number, and the player tries to
guess it)
@ Use loops (for or while), conditional statements, and
functions for game logic)
@ Keep track of the player's score.
Why

Bosscoder?
1000+ Alumni placed at Top
Product-based companies.

More than 136% hike for every 



2 out of 3 working professional.

Average package of 24LPA.

Explore More

You might also like