Unit 1 introduces the basics of object-oriented programming (OOP). OOP treats data as objects that contain both data fields (properties) and methods (behaviors). Classes are templates that are used to create objects. Some key principles of OOP include encapsulation, which binds an object's data and methods together, inheritance which allows classes to share structures and behaviors of other classes, and polymorphism which allows different classes to have similarly-named methods that work in different ways. OOP aims to make code reusable, modular, and adaptable to changing requirements compared to traditional procedural programming.
Introduction to C++ : Object Oriented Technology, Advantages of OOP, Input- output in
C++, Tokens, Keywords, Identifiers, Data Types C++, Derives data types. The void data
type, Type Modifiers, Typecasting, Constant
Introduction to C++ : Object Oriented Technology, Advantages of OOP, Input- output in
C++, Tokens, Keywords, Identifiers, Data Types C++, Derives data types. The void data
type, Type Modifiers, Typecasting, Constant
C++ is a middle-level programming language developed by Bjarne Stroustrup starting in 1979 at Bell Labs. C++ runs on a variety of platforms, such as Windows, Mac OS, and the various versions of UNIX
Most C++ compilers don't care what extension you give your source code, but if you don't specify otherwise, many will use .cpp by default
Most frequently used and free available compiler is GNU C/C++ compiler, otherwise you can have compilers either from HP or Solaris if you have respective Operating Systems.
FellowBuddy.com is an innovative platform that brings students together to share notes, exam papers, study guides, project reports and presentation for upcoming exams.
We connect Students who have an understanding of course material with Students who need help.
Benefits:-
# Students can catch up on notes they missed because of an absence.
# Underachievers can find peer developed notes that break down lecture and study material in a way that they can understand
# Students can earn better grades, save time and study effectively
Our Vision & Mission – Simplifying Students Life
Our Belief – “The great breakthrough in your life comes when you realize it, that you can learn anything you need to learn; to accomplish any goal that you have set for yourself. This means there are no limits on what you can be, have or do.”
Like Us - https://www.facebook.com/FellowBuddycom
C++ is a middle-level programming language developed by Bjarne Stroustrup starting in 1979 at Bell Labs. C++ runs on a variety of platforms, such as Windows, Mac OS, and the various versions of UNIX
Most C++ compilers don't care what extension you give your source code, but if you don't specify otherwise, many will use .cpp by default
Most frequently used and free available compiler is GNU C/C++ compiler, otherwise you can have compilers either from HP or Solaris if you have respective Operating Systems.
FellowBuddy.com is an innovative platform that brings students together to share notes, exam papers, study guides, project reports and presentation for upcoming exams.
We connect Students who have an understanding of course material with Students who need help.
Benefits:-
# Students can catch up on notes they missed because of an absence.
# Underachievers can find peer developed notes that break down lecture and study material in a way that they can understand
# Students can earn better grades, save time and study effectively
Our Vision & Mission – Simplifying Students Life
Our Belief – “The great breakthrough in your life comes when you realize it, that you can learn anything you need to learn; to accomplish any goal that you have set for yourself. This means there are no limits on what you can be, have or do.”
Like Us - https://www.facebook.com/FellowBuddycom
Biological screening of herbal drugs: Introduction and Need for
Phyto-Pharmacological Screening, New Strategies for evaluating
Natural Products, In vitro evaluation techniques for Antioxidants, Antimicrobial and Anticancer drugs. In vivo evaluation techniques
for Anti-inflammatory, Antiulcer, Anticancer, Wound healing, Antidiabetic, Hepatoprotective, Cardio protective, Diuretics and
Antifertility, Toxicity studies as per OECD guidelines
The French Revolution, which began in 1789, was a period of radical social and political upheaval in France. It marked the decline of absolute monarchies, the rise of secular and democratic republics, and the eventual rise of Napoleon Bonaparte. This revolutionary period is crucial in understanding the transition from feudalism to modernity in Europe.
For more information, visit-www.vavaclasses.com
Read| The latest issue of The Challenger is here! We are thrilled to announce that our school paper has qualified for the NATIONAL SCHOOLS PRESS CONFERENCE (NSPC) 2024. Thank you for your unwavering support and trust. Dive into the stories that made us stand out!
Normal Labour/ Stages of Labour/ Mechanism of LabourWasim Ak
Normal labor is also termed spontaneous labor, defined as the natural physiological process through which the fetus, placenta, and membranes are expelled from the uterus through the birth canal at term (37 to 42 weeks
Acetabularia Information For Class 9 .docxvaibhavrinwa19
Acetabularia acetabulum is a single-celled green alga that in its vegetative state is morphologically differentiated into a basal rhizoid and an axially elongated stalk, which bears whorls of branching hairs. The single diploid nucleus resides in the rhizoid.
A Strategic Approach: GenAI in EducationPeter Windle
Artificial Intelligence (AI) technologies such as Generative AI, Image Generators and Large Language Models have had a dramatic impact on teaching, learning and assessment over the past 18 months. The most immediate threat AI posed was to Academic Integrity with Higher Education Institutes (HEIs) focusing their efforts on combating the use of GenAI in assessment. Guidelines were developed for staff and students, policies put in place too. Innovative educators have forged paths in the use of Generative AI for teaching, learning and assessments leading to pockets of transformation springing up across HEIs, often with little or no top-down guidance, support or direction.
This Gasta posits a strategic approach to integrating AI into HEIs to prepare staff, students and the curriculum for an evolving world and workplace. We will highlight the advantages of working with these technologies beyond the realm of teaching, learning and assessment by considering prompt engineering skills, industry impact, curriculum changes, and the need for staff upskilling. In contrast, not engaging strategically with Generative AI poses risks, including falling behind peers, missed opportunities and failing to ensure our graduates remain employable. The rapid evolution of AI technologies necessitates a proactive and strategic approach if we are to remain relevant.
Operation “Blue Star” is the only event in the history of Independent India where the state went into war with its own people. Even after about 40 years it is not clear if it was culmination of states anger over people of the region, a political game of power or start of dictatorial chapter in the democratic setup.
The people of Punjab felt alienated from main stream due to denial of their just demands during a long democratic struggle since independence. As it happen all over the word, it led to militant struggle with great loss of lives of military, police and civilian personnel. Killing of Indira Gandhi and massacre of innocent Sikhs in Delhi and other India cities was also associated with this movement.
Synthetic Fiber Construction in lab .pptxPavel ( NSTU)
Synthetic fiber production is a fascinating and complex field that blends chemistry, engineering, and environmental science. By understanding these aspects, students can gain a comprehensive view of synthetic fiber production, its impact on society and the environment, and the potential for future innovations. Synthetic fibers play a crucial role in modern society, impacting various aspects of daily life, industry, and the environment. ynthetic fibers are integral to modern life, offering a range of benefits from cost-effectiveness and versatility to innovative applications and performance characteristics. While they pose environmental challenges, ongoing research and development aim to create more sustainable and eco-friendly alternatives. Understanding the importance of synthetic fibers helps in appreciating their role in the economy, industry, and daily life, while also emphasizing the need for sustainable practices and innovation.
Overview on Edible Vaccine: Pros & Cons with Mechanism
CPP-Unit 1.pptx
1. Unit 1 : Introduction and Basics of OOP’s
Object means a real word entity such as pen, chair,
table etc.
Object-Oriented Programming is a methodology or
paradigm to design a program using classes and
objects.
2. Introduction to Object Oriented Paradigm :-
• The main necessity behind inventing object oriented approach is to remove
the drawback encountered in the procedural approach.
• The programming paradigm object treats data as an element in the program
development.
• It ties the data to the function that operates on it and hides and protects it
from accidental updates by external functions.
• Object oriented programming paradigm allows decomposition of the system
into the number of entities called objects and then ties properties and
function to these objects.
• An object’s properties can be accessed only by the functions associated with
that object but functions of one object can access the function of other
objects in the same cases using access specifiers.
3. Need Object Oriented Programming :-
• The main aim of OOP is to bind together the data and the
functions that operate on them so that no other part of the
code can access this data except that function.
• With the use of classes and objects, object-oriented
programming makes code maintenance simple. Because
inheritance allows for code reuse, the program is simpler
because you don't have to write the same code repeatedly.
Data hiding is also provided by ideas like encapsulation and
abstraction.
• The software produced using object-oriented programming
paradigm is easier to adapt to the changing requirements,
easier to maintain, create modules of functionality, promote
greater design, be more robust, and perform desired work
efficiently.
4. Characteristics of OOP’s :-
• Object
• Class
• Inheritance
• Polymorphism
• Abstraction
• Encapsulation
5. • Object :
Any entity that has state and behavior is known as an
object. For example: chair, pen, table, keyboard, bike etc. It
can be physical and logical.
• Class :
Collection of objects is called class. It is a logical entity.
A Class in C++ is the foundational element that leads to
Object-Oriented programming.
A class instance must be created in order to access and
use the user-defined data type's, data members and
member functions. An object's class acts as its blueprint.
Ex. Car Class. Even if different names and brands may be
used for different cars, all of them will have some
characteristics in common, such as four wheels, a speed
limit, a range of miles, etc. In this case, the class of car is
represented by the wheels, the speed limitations, and the
mileage.
6. • Inheritance :
When one object acquires all the properties and
behaviours of parent object i.e. known as inheritance.
It provides code reusability. It is used to achieve
runtime polymorphism.
Sub class - Subclass or Derived Class refers to a class that
receives properties from another class.
Super class - The term "Base Class" or "Super Class" refers
to the class from which a subclass inherits its properties.
Reusability - As a result, when we wish to create a new
class, but an existing class already contains some of the
code we need, we can generate our new class from the
old class. This allows us to utilize the fields and methods
of the pre-existing class.
7. • Polymorphism :
Polymorphism means "many forms", and it occurs when
we have many classes that are related to each other by
inheritance.
Let's consider a real-life example of polymorphism. A lady
behaves like a teacher in a classroom, mother or daughter in a
home and customer in a market. Here, a single person is
behaving differently according to the situations.
Polymorphism is considered one of the important
features of Object-Oriented Programming.
8. • Abstraction :
Data Abstraction is a process of providing only the
essential details to the outside world and hiding the internal
details, i.e., representing only the essential details in the
program.
Let's take a real life example of AC, which can be
turned ON or OFF, change the temperature, change the
mode, and other external components such as fan, swing.
But, we don't know the internal details of the AC, i.e., how it
works internally. Thus, we can say that AC seperates the
implementation details from the external interface.
C++ provides a great level of abstraction. For example,
pow() function is used to calculate the power of a number
without knowing the algorithm the function follows.
9. • Encapsulation :
Binding (or wrapping) code and data together into a single unit is known as
encapsulation.
For example: capsule, it is wrapped with different medicines.
Encapsulation is typically understood as the grouping of related pieces of
information and data into a single entity.
10. • Difference of Structured Vs. OOPs
Sr no. Structured Programming Object-Oriented Programming
1 Programs are divided into small programs or
functions.
Programs are divided into objects or
entities.
2 It is all about facilitating creation of programs with
readable code and reusable components.
It is all about creating objects that usually
contain both functions and data.
3
Its main aim is to improve and increase quality,
clarity, and development time of computer program.
Its main aim is to improve and increase both
quality and productivity of system analysis
and design.
4 It is a method of organizing, managing and coding
programs that can give or provide much easier
modification and understanding.
It is a method in which set of objects can
vary dynamically and can execute just by
acting and reading to each other.
5 It generally follows “Top-Down Approach”. It generally follows “Bottom-Up Approach”.
6 It is more difficult to modify structured program and
reuse code as compared to object-oriented
programs.
It is less difficult to modify object-oriented
programs and reuse code as compared to
structured programs.
7
It gives more importance of code. It gives more importance to data.