Introduction To Oop (Lab)
Introduction To Oop (Lab)
DEPARTMENT OF COMPUTER
SCIENCE
AGENDA
What is programming? Unit 1.1
Programming paradigms Unit 1.2
Object-Oriented Programming (OOP) Unit 1.3
Introduction to JAVA 1.4
JRE, JVM and JDK Unit 1.5
AGENDA
What is programming? Unit 1.1
Programming paradigms Unit 1.2
Object-Oriented Programming (OOP) Unit 1.3
Introduction to JAVA 1.4
JRE, JVM and JDK Unit 1.5
Unit 1.1
What is programming?
• “Instruct the computer”: this basically means that you provide the
computer a set of instructions that are written in a language that the
computer can understand. The instructions could be of various type
s. For example:
– Adding 2 numbers,
– Rounding off a number, etc.
Just like we humans can understand a few languages (English, Spa
nish, Urdu, French, etc.), so is the case with
computers. Computers understand instructions that are written in a
specific syntactical form called a programming language.
Why should you learn Computer
Programming?
The backbone of a Technology
Company:
The backbones of today’s technology companies like Google, Faceboo
k, Microsoft, Apple, Amazon, and many others, are giant computer pro
grams written by a collaboration of thousands of skilled programmers. I
f you have the right business expertise, knowing programming can hel
p you create the next big tech company.
Programming is fun:
Using Programming, you can create your own
games, your personal blog/profile page, a social networking
site like Facebook, a search engine like Google or an
e-commerce platform like Amazon! Won’t that be fun?
Imagine creating your own game and putting it on Play
Store and getting thousands of downloads!
Programming requires
Language
• As mentioned above, Computers understand instructions that
are written in a specific syntactical form referred as
programming language.
• A programming language provides a way for a programmer
to express a task so that it could be understood and executed
by a computer.