CSE 1105: Introduction To Computer
CSE 1105: Introduction To Computer
COMPUTER
CSE 1105: Introduction to Computer
15/2/2022 [email protected] 1
WHAT MAKES A
COMPUTER A
COMPUTER?
15/2/2022 [email protected] 2
LET’S DIG A BIT DEEPER
15/2/2022 [email protected] 3
More
Application abstract
s
Programmi
ng
Softwar
Languages
e
Operating
Systems
Architecture
Computer Hardwar
Component e
s
Circuits Less
abstract
Transistors
15/2/2022 [email protected] 4
APPLICATIONS
Any program you run on your computer
Google Chrome, Microsoft Word, Microsoft PowerPoint
15/2/2022 [email protected] 5
CODE
A series of instructions
Each instruction is an operation
Computer follows each instruction, one after another
A program contains millions of instructions!
15/2/2022 [email protected] 6
STRENGTHS AND
WEAKNESSES OF A
COMPUTER
Strengths
Very fast (billions of operations per second)
Very accurate
Weaknesses
Literal
Only simple operations (addition, comparison etc.)
No insight
15/2/2022 [email protected] 7
FROM CODE TO HARDWARE
Every instruction in a code is converted into a sequence of 1’s and 0’s, so
that the hardware can understand it
Why do hardware understands only 0 and 1?
15/2/2022 [email protected] 8
CHIPS
Transistor – vital electronic building block
A transistor is an electronic switch
Has two states – on and off
15/2/2022 [email protected] 9
TRANSISTORS
15/2/2022 [email protected] 10
THE BINARY NUMBER SYSTEM
A transistor is an electronic switch
Has two states – on (1) and off (0)
This is why a computer understands the language of 1’s and 0’s only
Binary number system
Two digits – 0 and 1
Every binary digit is also known as a bit
How many numbers can we store with 1 bit? 2 bits? 10 bits?
15/2/2022 [email protected] 11
BYTES
Single bits are not that useful
Usually 8 bits are grouped together into bytes
Optimized to handle bytes instead of bits
Byt
e
Bi
t
15/2/2022 [email protected] 12
LOTS OF BYTES
1 kilobyte (kB) = 1024 bytes
1 megabyte (MB) = 1024 kB
Used to measure audio and image sizes
15/2/2022 [email protected] 13
THREE MAJOR COMPONENTS
OF A COMPUTER
CPU
RAM
Storage
15/2/2022 [email protected] 14
CPU
Central Processing Unit
The brain of the computer
Follows the instructions in the code
Processor speed 2.4 GHz =
capability to execute 2.4 billion
operations per second
15/2/2022 [email protected] 15
RAM
Random Access Memory
Temporary, working storage of code and data
Examples
Open an image in Photoshop = image data loaded in RAM
Adding two numbers in a calculator = manipulating bytes in
RAM
Open a browser = the code of the browser gets loaded in
RAM
15/2/2022 [email protected] 17
STORAGE
Persistent storage of data and code
Bytes are preserved even when not powered
15/2/2022 [email protected] 18
MOTHERBOARD
The backbone of a computer
All components are connected to it
Provides data path between
components
15/2/2022 [email protected] 19