Lecture - 3-1
Lecture - 3-1
Lecture - 3-1
COMPUTER
PROGRAMMING
COMPUTER ENGINEERING
DEPARTMENT
Recap
• Computer Hardware
• Computer Software
• Extended ASCII
• Graphics and other symbols
• Unicode
• All the languages on planet
Computer Organization
Central Processing Unit (CPU)
• It
is brain of the computer where most of the
calculations takes place
• ALU
• Operations (+,-,/,x)
• Logical (AND, OR, NOT, NAND, NOR, XOR)
Central Processing Unit (CPU)
System Clock
• Synchronizes all the computer operations.
• Volatile memory
• Requires power tohold data
• Random Access Memory (RAM)
• CPU reads data using the address
• Flash Memory
• Datais stored using physical switches
• Special form of non volatile memory
CPU Registers
• Temporary storage location used by CPU.
• The
primary goal of an Operating System is to make the
computer system convenient to use.
Operating System
OS Kernel
• Processor management
• Memory management
• Device management
• Storage management
• Application Interface
• User Interface
Process Management
• Various
programs compete for the attention of the
microprocessor.
• TheOS plays the role of the honest referee, making sure that
each application gets the necessary attention required for its
proper execution.
• It
tries to optimally manages the limited processing capacity of
the microprocessor to the greatest good of all the users & apps
Memory Management
• Applications
talk to devices through the OS and OS talks
to and manages devices through device drivers
• Application
developers do not need to know much about
the hardware
• Command line
• Real-time OS (RTOS)
• Small OS, Build into Device, Respond quickly to user input
• Single user/Single tasking OS
• One user, one task at a time.
• Single user/Multitasking OS
• One user, multiple tasks
• Multiuser/Multitasking OS
• Many users connect to one computer.
PC Operating Systems
•DOS •Unix
•Windows 95 •Linux
•Windows 2000 •Ubuntu
•Windows NT •Fedora
•Windows XP
•Windows 7
•Windows 10
Summary
• Text Codes
• Computer Organization
• Operating Systems