Professional Documents
Culture Documents
Introduction
Topics of Discussion 2
• Concept of Programming
– What and Why
• Programming Paradigms
– Programming languages
• Course Details
– Course Structure/Syllabus
– Course Materials
– Course Evaluation/Tests
• Object Oriented Programming Concepts
1
1/9/2023
Concept of Programming
• What and Why
Data Information
(input) (Output)
2
1/9/2023
Programming Paradigms
• Programming languages
Programming Paradigms 6
• Programming paradigm:
Programming
A mode of thinking aka a Paradigms
programming methodology
Imperative Declarative
• Programming language:
A tool to solve problem
using computer Procedural
Objective-
Functional Logical
oriented
3
1/9/2023
Categorization
Functional, Logic, Query programming Procedural and Object Oriented programming
falls into declarative programming. falls into imperative programming.
• Procedure-Oriented Programming
• Emphasis is on doing things
(algorithms).
• Large programs are divided into
smaller programs known as functions.
• Most of the functions share global
data.
• Data move openly around the system
from function to function.
• Functions transform data from one
form to another.
• Employs top-down approach in
program design.
4
1/9/2023
10
Course Details
• Course Structure/Syllabus
• Course Materials
• Course Evaluation/Tests
5
1/9/2023
Course Structure/Syllabus 11
– UNIT-III: Inheritance
Course Materials 12
6
1/9/2023
Evaluation/Tests 13
• Distribution of Marks:
Quiz-1: 10 marks (Before Mid-Sem)
Quiz-2: 10 marks (After Mid-Sem)
Mid-Sem Exam: 32 marks
End-Sem Exam: 48 marks
14
7
1/9/2023
• Objects
• Classes
• Data Abstraction and Encapsulation
• Inheritance
• Polymorphism
• Dynamic binding
• Message passing
Objects 16
8
1/9/2023
Classes 17
fruit apple;
student s1, s2;
• Abstraction
– Act of representing essential features without including the background
details or explanations.
– Classes use the concept of abstraction and are defined as a list of abstract
attributes size, cost, etc., and functions to operate on the attributes.
• Encapsulation
– Wrapping up of data and function into a single unit (called class).
– The data is not accessible to the outside world and only those functions
which are wrapped in the class can access it.
9
1/9/2023
19
Questions?
10