I prepared these for the student of FSC BSC BS Computer Science student. these slides are easy to read and understand the logic of OOP in C++. All topic is discussed and Example are given
I prepared these for the student of FSC BSC BS Computer Science student. these slides are easy to read and understand the logic of OOP in C++. All topic is discussed and Example are given
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.
Std 12 computer chapter 6 object oriented concepts (part 1) by Nuzhat Memon
Introduction to class and object
Procedural (Structural) programming language
Object Oriented programming language
Two ways of programming language (POP and OOP)
four specific object properties
4 pillars of OOPs
Encapsulation in Java
Abstraction in Java
Messaging in Java
Polymorphism in Java
This is an intermediate conversion course for C++, suitable for second year computing students who may have learned Java or another language in first year.
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...Globus
Â
The Earth System Grid Federation (ESGF) is a global network of data servers that archives and distributes the planet’s largest collection of Earth system model output for thousands of climate and environmental scientists worldwide. Many of these petabyte-scale data archives are located in proximity to large high-performance computing (HPC) or cloud computing resources, but the primary workflow for data users consists of transferring data, and applying computations on a different system. As a part of the ESGF 2.0 US project (funded by the United States Department of Energy Office of Science), we developed pre-defined data workflows, which can be run on-demand, capable of applying many data reduction and data analysis to the large ESGF data archives, transferring only the resultant analysis (ex. visualizations, smaller data files). In this talk, we will showcase a few of these workflows, highlighting how Globus Flows can be used for petabyte-scale climate analysis.
Listen to the keynote address and hear about the latest developments from Rachana Ananthakrishnan and Ian Foster who review the updates to the Globus Platform and Service, and the relevance of Globus to the scientific community as an automation platform to accelerate scientific discovery.
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.
Std 12 computer chapter 6 object oriented concepts (part 1) by Nuzhat Memon
Introduction to class and object
Procedural (Structural) programming language
Object Oriented programming language
Two ways of programming language (POP and OOP)
four specific object properties
4 pillars of OOPs
Encapsulation in Java
Abstraction in Java
Messaging in Java
Polymorphism in Java
This is an intermediate conversion course for C++, suitable for second year computing students who may have learned Java or another language in first year.
Similar to 1_Object Oriented Programming.pptx (20)
Climate Science Flows: Enabling Petabyte-Scale Climate Analysis with the Eart...Globus
Â
The Earth System Grid Federation (ESGF) is a global network of data servers that archives and distributes the planet’s largest collection of Earth system model output for thousands of climate and environmental scientists worldwide. Many of these petabyte-scale data archives are located in proximity to large high-performance computing (HPC) or cloud computing resources, but the primary workflow for data users consists of transferring data, and applying computations on a different system. As a part of the ESGF 2.0 US project (funded by the United States Department of Energy Office of Science), we developed pre-defined data workflows, which can be run on-demand, capable of applying many data reduction and data analysis to the large ESGF data archives, transferring only the resultant analysis (ex. visualizations, smaller data files). In this talk, we will showcase a few of these workflows, highlighting how Globus Flows can be used for petabyte-scale climate analysis.
Listen to the keynote address and hear about the latest developments from Rachana Ananthakrishnan and Ian Foster who review the updates to the Globus Platform and Service, and the relevance of Globus to the scientific community as an automation platform to accelerate scientific discovery.
Large Language Models and the End of ProgrammingMatt Welsh
Â
Talk by Matt Welsh at Craft Conference 2024 on the impact that Large Language Models will have on the future of software development. In this talk, I discuss the ways in which LLMs will impact the software industry, from replacing human software developers with AI, to replacing conventional software with models that perform reasoning, computation, and problem-solving.
Custom Healthcare Software for Managing Chronic Conditions and Remote Patient...Mind IT Systems
Â
Healthcare providers often struggle with the complexities of chronic conditions and remote patient monitoring, as each patient requires personalized care and ongoing monitoring. Off-the-shelf solutions may not meet these diverse needs, leading to inefficiencies and gaps in care. It’s here, custom healthcare software offers a tailored solution, ensuring improved care and effectiveness.
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERRORTier1 app
Â
Even though at surface level ‘java.lang.OutOfMemoryError’ appears as one single error; underlyingly there are 9 types of OutOfMemoryError. Each type of OutOfMemoryError has different causes, diagnosis approaches and solutions. This session equips you with the knowledge, tools, and techniques needed to troubleshoot and conquer OutOfMemoryError in all its forms, ensuring smoother, more efficient Java applications.
Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...informapgpstrackings
Â
Keep tabs on your field staff effortlessly with Informap Technology Centre LLC. Real-time tracking, task assignment, and smart features for efficient management. Request a live demo today!
For more details, visit us : https://informapuae.com/field-staff-tracking/
AI Pilot Review: The World’s First Virtual Assistant Marketing SuiteGoogle
Â
AI Pilot Review: The World’s First Virtual Assistant Marketing Suite
👉👉 Click Here To Get More Info 👇👇
https://sumonreview.com/ai-pilot-review/
AI Pilot Review: Key Features
✅Deploy AI expert bots in Any Niche With Just A Click
✅With one keyword, generate complete funnels, websites, landing pages, and more.
✅More than 85 AI features are included in the AI pilot.
✅No setup or configuration; use your voice (like Siri) to do whatever you want.
✅You Can Use AI Pilot To Create your version of AI Pilot And Charge People For It…
✅ZERO Manual Work With AI Pilot. Never write, Design, Or Code Again.
✅ZERO Limits On Features Or Usages
✅Use Our AI-powered Traffic To Get Hundreds Of Customers
✅No Complicated Setup: Get Up And Running In 2 Minutes
✅99.99% Up-Time Guaranteed
✅30 Days Money-Back Guarantee
✅ZERO Upfront Cost
See My Other Reviews Article:
(1) TubeTrivia AI Review: https://sumonreview.com/tubetrivia-ai-review
(2) SocioWave Review: https://sumonreview.com/sociowave-review
(3) AI Partner & Profit Review: https://sumonreview.com/ai-partner-profit-review
(4) AI Ebook Suite Review: https://sumonreview.com/ai-ebook-suite-review
Prosigns: Transforming Business with Tailored Technology SolutionsProsigns
Â
Unlocking Business Potential: Tailored Technology Solutions by Prosigns
Discover how Prosigns, a leading technology solutions provider, partners with businesses to drive innovation and success. Our presentation showcases our comprehensive range of services, including custom software development, web and mobile app development, AI & ML solutions, blockchain integration, DevOps services, and Microsoft Dynamics 365 support.
Custom Software Development: Prosigns specializes in creating bespoke software solutions that cater to your unique business needs. Our team of experts works closely with you to understand your requirements and deliver tailor-made software that enhances efficiency and drives growth.
Web and Mobile App Development: From responsive websites to intuitive mobile applications, Prosigns develops cutting-edge solutions that engage users and deliver seamless experiences across devices.
AI & ML Solutions: Harnessing the power of Artificial Intelligence and Machine Learning, Prosigns provides smart solutions that automate processes, provide valuable insights, and drive informed decision-making.
Blockchain Integration: Prosigns offers comprehensive blockchain solutions, including development, integration, and consulting services, enabling businesses to leverage blockchain technology for enhanced security, transparency, and efficiency.
DevOps Services: Prosigns' DevOps services streamline development and operations processes, ensuring faster and more reliable software delivery through automation and continuous integration.
Microsoft Dynamics 365 Support: Prosigns provides comprehensive support and maintenance services for Microsoft Dynamics 365, ensuring your system is always up-to-date, secure, and running smoothly.
Learn how our collaborative approach and dedication to excellence help businesses achieve their goals and stay ahead in today's digital landscape. From concept to deployment, Prosigns is your trusted partner for transforming ideas into reality and unlocking the full potential of your business.
Join us on a journey of innovation and growth. Let's partner for success with Prosigns.
Code reviews are vital for ensuring good code quality. They serve as one of our last lines of defense against bugs and subpar code reaching production.
Yet, they often turn into annoying tasks riddled with frustration, hostility, unclear feedback and lack of standards. How can we improve this crucial process?
In this session we will cover:
- The Art of Effective Code Reviews
- Streamlining the Review Process
- Elevating Reviews with Automated Tools
By the end of this presentation, you'll have the knowledge on how to organize and improve your code review proces
Accelerate Enterprise Software Engineering with PlatformlessWSO2
Â
Key takeaways:
Challenges of building platforms and the benefits of platformless.
Key principles of platformless, including API-first, cloud-native middleware, platform engineering, and developer experience.
How Choreo enables the platformless experience.
How key concepts like application architecture, domain-driven design, zero trust, and cell-based architecture are inherently a part of Choreo.
Demo of an end-to-end app built and deployed on Choreo.
Enhancing Project Management Efficiency_ Leveraging AI Tools like ChatGPT.pdfJay Das
Â
With the advent of artificial intelligence or AI tools, project management processes are undergoing a transformative shift. By using tools like ChatGPT, and Bard organizations can empower their leaders and managers to plan, execute, and monitor projects more effectively.
Check out the webinar slides to learn more about how XfilesPro transforms Salesforce document management by leveraging its world-class applications. For more details, please connect with sales@xfilespro.com
If you want to watch the on-demand webinar, please click here: https://www.xfilespro.com/webinars/salesforce-document-management-2-0-smarter-faster-better/
We describe the deployment and use of Globus Compute for remote computation. This content is aimed at researchers who wish to compute on remote resources using a unified programming interface, as well as system administrators who will deploy and operate Globus Compute services on their research computing infrastructure.
May Marketo Masterclass, London MUG May 22 2024.pdfAdele Miller
Â
Can't make Adobe Summit in Vegas? No sweat because the EMEA Marketo Engage Champions are coming to London to share their Summit sessions, insights and more!
This is a MUG with a twist you don't want to miss.
Globus Connect Server Deep Dive - GlobusWorld 2024Globus
Â
We explore the Globus Connect Server (GCS) architecture and experiment with advanced configuration options and use cases. This content is targeted at system administrators who are familiar with GCS and currently operate—or are planning to operate—broader deployments at their institution.
SOCRadar Research Team: Latest Activities of IntelBrokerSOCRadar
Â
The European Union Agency for Law Enforcement Cooperation (Europol) has suffered an alleged data breach after a notorious threat actor claimed to have exfiltrated data from its systems. Infamous data leaker IntelBroker posted on the even more infamous BreachForums hacking forum, saying that Europol suffered a data breach this month.
The alleged breach affected Europol agencies CCSE, EC3, Europol Platform for Experts, Law Enforcement Forum, and SIRIUS. Infiltration of these entities can disrupt ongoing investigations and compromise sensitive intelligence shared among international law enforcement agencies.
However, this is neither the first nor the last activity of IntekBroker. We have compiled for you what happened in the last few days. To track such hacker activities on dark web sources like hacker forums, private Telegram channels, and other hidden platforms where cyber threats often originate, you can check SOCRadar’s Dark Web News.
Stay Informed on Threat Actors’ Activity on the Dark Web with SOCRadar!
Cyaniclab : Software Development Agency Portfolio.pdfCyanic lab
Â
CyanicLab, an offshore custom software development company based in Sweden,India, Finland, is your go-to partner for startup development and innovative web design solutions. Our expert team specializes in crafting cutting-edge software tailored to meet the unique needs of startups and established enterprises alike. From conceptualization to execution, we offer comprehensive services including web and mobile app development, UI/UX design, and ongoing software maintenance. Ready to elevate your business? Contact CyanicLab today and let us propel your vision to success with our top-notch IT solutions.
Software Engineering, Software Consulting, Tech Lead.
Spring Boot, Spring Cloud, Spring Core, Spring JDBC, Spring Security,
Spring Transaction, Spring MVC,
Log4j, REST/SOAP WEB-SERVICES.
3. Object-Oriented Programming
• Object Oriented Programming (OOP) is a programming technique
in which programs are written on the basis of objects.
• An object is a collection of data and functions. Object may
represent a person, thing or place in real world.
• In OOP data and all possible functions on data are grouped
together.
• Object oriented programs are easier to learn and modify.
• Object-Oriented Programming is a powerful technique to
develop software.
• It is used to analyze and design applications in terms of
objects.
3
National College of Business Administration & Economics
Object Oriented Programming
4. Features of Object Oriented Programming
• Following are some features of Object-Oriented
Programming:
• Objects
• Classes
• Real-World Modeling
• Reusability
• Information Hiding
• Polymorphism
4
National College of Business Administration & Economics
Object Oriented Programming
5. Objects
• An Object represents an entity in real world such as
person, thing or concept etc.
• An object is identified by its name.
• An object consists of two things
• Properties are the characteristics of an object.
• Functions are the action that can be performed by an
object.
5
National College of Business Administration & Economics
Object Oriented Programming
6. Properties and Functions of an
Object
6
National College of Business Administration & Economics
Object Oriented Programming
Properties Functions
The characteristics of and
objects are known as its
properties or attributes.
The actions that can be
performed by an object are
known as functions.
Each object has its own
properties.
An object can perform
different tasks and actions.
Properties can be used to
describe the object.
Functions can help describe
the functionality of the
object.
7. Classes
• A collection of objects with same properties and
functions is known as Class.
• A class is used to define the characteristics of the
objects.
• It is used as a model for creating different objects of
same type.
• Each object of a class is known as an instance of its
class.
7
National College of Business Administration & Economics
Object Oriented Programming
8. Declaring a Class
• A class is declared in the same as a structure is
declared.
• The key word class is used to declare a class.
• The functions declared in a class are called member
functions.
• Syntax
class identifier
{
body of the class
};
8
National College of Business Administration & Economics
Object Oriented Programming
9. Access Specifiers
• The Commands that are used to specify the access level
of class members are known as access specifiers.
• Two most important access specifiers are the ‘Private’
and the ‘Public’ Access Specifier.
9
National College of Business Administration & Economics
Object Oriented Programming
10. Private Access Specifier
• The private access specifier is used to restrict the
use of class member within the class.
• Any member of the class declared with private access
specifier can only be accessed within the class.
• It cannot be accessed from outsider the class.
• It is also the default access specifier.
• The data members are normally declared with private
access specifier.
• It is because the data of an object is more sensitive.
10
National College of Business Administration & Economics
Object Oriented Programming
11. Public Access Specifier
• The Public access specifier is used to allow the user
to access a class member within the class as well as
outside the class.
• Any member of the class declared with public access
specifier can be accessed from anywhere in the program.
• The members function are normally declared with public
access specifier.
• It is because the users access functions of an object
from outside the class.
• Unlike Private Access Specifier, Public Access
Specifier is not Default.
11
National College of Business Administration & Economics
Object Oriented Programming
12. Creating Objects
• A class is simply a model or prototype for creating
objects.
• It is like a new data type that contains both data
and functions.
• An Object is created in the same way as other
variables are created.
• An object is also known as instance, the process of
creating an object a class is also instantiation.
• Syntax:
class_name object_name;
12
National College of Business Administration & Economics
Object Oriented Programming
13. Constructors
• A Type of member function that is automatically
executed when an object of that class is created is
known as constructor.
• The constructor has no return type and has same
name that of class name.
• The constructor can work as a normal function but
it cannot return any value.
• It is normally Defined in classes to initialize
data member.
13
National College of Business Administration & Economics
Object Oriented Programming
14. Important Points about
Constructor
• It has no return type.
• It has the same name as of the class.
• It may or may not have any arguments.
• It is used to initialize data members.
• it is automatically executed when the object of
that class is created.
14
National College of Business Administration & Economics
Object Oriented Programming
15. Constructor Overloading
• The process of declaring multiple constructors with
same name but different parameters is known as
constructor overloading.
• The constructors with same name must differ in one
of the following:
1. Number of parameters
2. Types of parameters
3. Sequence of parameters
15
National College of Business Administration & Economics
Object Oriented
Programming
16. Destructors
• A type of member function that is automatically
executed when an object of that class is destroyed
is know as destructor.
• The destructor has no return type.
• It has the same name as class name.
• The Destructor cannot return any value.
• It also cannot accept any parameters.
• The destructor name is preceded by tilde sign ~.
16
National College of Business Administration & Economics
Object Oriented
Programming
17. Syntax of Destructors
• The syntax of declaring destructor is as follows:
~name()
{
destructor body
}
17
National College of Business Administration & Economics
Object Oriented
Programming
18. Static Data Members
• A type of data member that is share among all objects
of class is known as static data member.
• The static data member is defined in the class with
static keyword.
• When a data member is defined as static, only one
variable is created in the memory even if are more
objects.
• The Characteristics of a static data member are same as
normal static variable.
• It is visible only in the class in which it is defined.
• It is normally use to share some data among all
objects.
18
National College of Business Administration & Economics
Object Oriented
Programming
19. Static Functions
• A type of member function that can be accessed without
any object of the class is called static function.
• The static data members of a class are not created for
each object.
• The class creates only one data member for all objects.
• The static data member is defined when the program is
executed.
• The program may require to access a static data member
before creating an object.
• The static member functions can be used to access a
static data member.
19
National College of Business Administration & Economics
Object Oriented
Programming
20. THANK YOU!
Do you have any questions?
20
ENGR. MUHAMMAD FIAZ
PEC REGISTERED ENGINEER
LECTURER COMPUTER SCIENCE
TELF/EF SET / ACEPT CERTIFIED
MICROSOFT ACADEMY TRAINER
ORACLE CERTIFIED PROFESSIONAL
GOOGLE CERTIFIED PROFESSIONAL
Lahore, Pakistan
+92-336-678-2755
muhammadfiaz@ncbae.edu.pk
https://www.linkedin/in/fiazofficials
National College of Business Administration & Economics
Object Oriented Programming