1.Introduction to java
1.Introduction to java
4. It is secure.
5. It is Object Oriented.
C/C++ Java
Concept - 2 : COMPUTER
Computer :-
1. It is a Machine/System which is used to perform a Specific Task given by a User/Human.
2. A Computer can only understand the Electric Signals like High-Voltage(1) & Low-Voltage(0).
It is a medium which is used to communicate with the computer to perform some specific task is
known as a programming language.
OR
A language which is used to write a program and perform some specific task is known as
Programming language.
Examples : Java,C/C++,Python
Concept-4: LEVELS OF PROGRAMMING LANGUAGE ?
Eg: 100001111111111000000000000001111111
Drawback
This language is difficult for humans to read and understand , only machines can understand
• To overcome the drawback of Low level language we go for Assembly level language
• ALL consists of microcontroller instruction sets called MNEMONICS to perform
specific task.
• ALL is a Language which is readable and understandable by only humans.
• Now you can understand but which language can the machines understand ? BINARY
• So you need a translator to convert ALL to LLL. The translator used here is an
assembler.
ASSEMBLER
• Assembler is a software used to convert Assembly Level Language into Low Level
Language.
ADD
SUB MNEMONICS
MUL Pre-defined
instruction sets
DIV
MOV
ALL LLL
ASSEMBLER
It is understandable It is understandable
by humans by machines
DRAWBACKS
• It contains very few instruction sets and cannot perform complex functions like Simple
interest , Compound interest etc.
COMPILER
HLL LLL
COMPILER
It is understandable It is understandable
by humans by machines
Concept - 5 : What is Java ?
PROGRAMMING LANGUAGE
What is a language ?
It is a medium of communication.
Which language do you use to communicate with your friends, parents, teacher etc ?
English, Kannada,Hindi etc
Oh! Now I want to communicate with my computer ? I want to ask the computer to add 2
numbers.
Will I talk in English,Kannada,Hindi ?No computer will not understand.
Programming
Language
What is program ?