0% found this document useful (0 votes)
188 views

CSE 1105: Introduction To Computer

This document provides an introduction to computers by explaining their basic components and how they work together. It describes how software applications and programming languages represent more abstract levels that build upon the lower-level hardware of transistors, chips, memory, storage and the central processing unit. The key components of a computer are the CPU for processing instructions, RAM for temporary storage, and various forms of storage for persistent data even when powered off. Together, these components execute programs by translating abstract code into binary instructions for the physical hardware.

Uploaded by

Shokanta Roy
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
188 views

CSE 1105: Introduction To Computer

This document provides an introduction to computers by explaining their basic components and how they work together. It describes how software applications and programming languages represent more abstract levels that build upon the lower-level hardware of transistors, chips, memory, storage and the central processing unit. The key components of a computer are the CPU for processing instructions, RAM for temporary storage, and various forms of storage for persistent data even when powered off. Together, these components execute programs by translating abstract code into binary instructions for the physical hardware.

Uploaded by

Shokanta Roy
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 19

INTRODUCTION TO

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

.exe (Windows) or .app (Mac) file


You can use it without knowing how it works behind the scenes (abstraction)
Programs are written in code, the next layer of abstraction

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

A single chip may contain billions of


transistors
Examples: CPU, RAM etc.

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

1 gigabyte (GB) = 1024 MB


฀Used to measure video sizes and storage capacity

1 terabyte (TB) = 1024 GB


฀Used to measure storage capacity

Why 1024? Why not 1000?

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

Non-persistent – data gone if power turned off


Faster – Can retrieve the value of any byte in a few
nanoseconds
15/2/2022 [email protected] 16
STORAGE

15/2/2022 [email protected] 17
STORAGE
Persistent storage of data and code
฀Bytes are preserved even when not powered

Hard disk: Stores bytes as a magnetic pattern on a spinning disk


SSD: Solid State Drive
Portable disks: CD, DVD, Bluray (optical, now deprecated)
Portable storage: Flash drives/pendrive

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

You might also like