Lec 1
Lec 1
LECTURE 1
What is a Computer?
2
A computer consists of a CPU, memory, hard
disk, floppy disk, monitor, printer, and
communication devices.
Bus
Machine Language
Assembly Language
High-Level Language
Programming Languages
5
Machine Language Assembly Language High-Level Language
1101101010011010 Computer
Programming, Dr.
21-Oct-21 M. Badawy
Programming Languages
6
Machine Language Assembly Language High-Level Language
Computer
Programming, Dr.
21-Oct-21 M. Badawy
8
https://spectrum.ieee.org/top-programming-languages-2021
Popular High-Level Languages
9
Interpreting/Compiling Source Code 10
… Output
area = 5 * 5 * 3.1415; Interpreter
...
… … Output
area = 5 * 5 * 3.1415; Compiler 0101100011011100 Executor
... 1111100011000100
…
Operating Systems 13
Computer
Programmin
g, Dr. M.
13-Nov-21 Badawy
Requirement Specification 15
Implementation
Testing
System
Design
Implementation
Testing
System
Analysis
System
Design
Implementation
Testing
System
Design
Implementation
Testing
System
Design
Implementation
Testing
Requirement
Specification Deployment makes the project
available for use.
System
Analysis
System
Design
Implementation
Testing
Deployment
For a Java applet, this means installing it
on a Web server; for a Java application, Maintenance
Computer
installing it on the client's computer. Programmin
g, Dr. M.
13-Nov-21 Badawy
Maintenance 21
System
Design
Implementation
Testing
Deployment
• Every Operating System has a different JVM but the output they
produce after the execution of bytecode is the same across all the
operating systems. This is why Java is known as a platform-
independent language.
Java Terminology
Run