SlideShare una empresa de Scribd logo
1 de 28
Descargar para leer sin conexión
1
Introduction to Computers and
Programming (CSC103)
Lecture 02
The System Unit
• The system unit is a case that contains electronic
components of the computer used to process data
2
The System Unit
• The inside of the system unit on a desktop
personal computer includes:
3
Drive bay(s)
Power supply
Sound card
Video card
Processor
Memory
The System Unit
• The motherboard is the main circuit board of the
system unit
– A computer chip contains integrated circuits (IC)
4
Processor
• The processor, also called the central processing
unit (CPU), interprets and carries out the basic
instructions that operate a computer
– Contain a Control Unit and an Arithmetic Logic Unit
(ALU)
5
Processor
6
Processor
• The control unit is the component of the
processor that directs and coordinates most of
the operations in the computer
– Interprets each instruction issued by a program and
then initiates the appropriate action (to carry out the
instruction)
• The arithmetic logic unit (ALU) performs
arithmetic, comparison, and other operations
7
Processor – Machine Cycle
• For every instruction, a processor repeats a set of
four basic operations, which comprise a machine
cycle
1. Fetch
2. Decode
3. Execute
4. Store
8
Processor
The processor contains registers, that temporarily hold data
and instructions
• Registers are part of the Processor
• Processor has many different type of registers
• Register function includes; storing location, storing instruction, storing data
and storing results of a calculation
The system clock controls the timing of all computer operations
• The pace of the system clock is called the clock speed, and is measured in
gigahertz (GHz)
• Giga = Billion, Hertz = one cycle per second
• Faster the clock speed, more instructions can be executed per second
9
Dual Core and Multi-Core Processors
• Dual-Core Processor is a single
chip that contains two separate
processors
• Multi-Core Processor is a chip
with two or more separate
processors
– Implements multiprocessing into a
single physical package
– Quad-Core Processor contains four
(4) cores 10
Moore’s Law
• Number of transistors and resistors placed on
computer chips would double every year
– With a proportional increase in computing power and
decrease in cost
11
12
Figure: Moore’s Law
Processor
• A processor chip
generates heat that could
cause the chip to burn up
• Require additional cooling
– Heat sinks
– Liquid cooling technology
13
Memory
• Memory consists of electronic components that
store instructions waiting to be executed by the
processor, data needed by those instructions, and
the results of processing the data
• Stores three basic categories of items:
14
The operating
system and other
system software
Application
programs
Data being
processed and the
resulting
information
Memory
• Each location in memory has an address
• Byte is the basic storage unit in memory
• Memory size is measured in kilobytes (KB or K),
megabytes (MB), gigabytes (GB), or terabytes (TB)
15
Memory
• The system unit contains two types of memory:
16
Volatile memory
Loses its contents when
power is turned off
Example includes RAM
Nonvolatile memory
Does not lose contents
when power is removed
Examples include ROM,
flash memory, and
CMOS
Memory – RAM
• RAM (Random Access Memory) is also called main
memory
• Consists of memory chips that can be read from
and written to by the processor and other devices
• When you turn on computer
– Certain Operating System files are loaded into RAM
from a storage device such as a hard disk
• Saving is the process of copying data, instructions
and information from RAM to a storage device
17
Storage
Storage holds data, instructions, and
information for future use
A storage medium is the physical
material on which a computer keeps
data, instructions, and information
18
Storage
19
Storage
• Capacity is the number of bytes a storage medium
can hold
20
Storage
• A storage device is the computer hardware that
records and/or retrieves items to and from
storage media
21
Reading is the process
of transferring items
from a storage medium
into memory
Writing is the process of
transferring items from
memory to a storage
medium
Storage
• Access time measures:
– The amount of time it takes
a storage device to locate an
item on a storage medium
• In milliseconds or
microseconds
• Measured in KBps and MBps
– The time required to deliver
an item from memory to the
processor
• In nanoseconds
22
Hard Disks
• A hard disk contains one or more inflexible, circular platters
that use magnetic particles to store data, instructions, and
information
23
Hard Disks
• Characteristics of a hard disk
include:
24
Capacity Platters
Read/Write
Heads
Cylinders
Sectors and
Tracks
Revolutions
per Minute
Transfer Rate Access Time
25
Hard Disks
26
Hard Disks
• The hard disk arms
move the read/write
head, which reads items
and writes items in the
drive
– Location often is
referred to by its
cylinder
27
Hard Disks
28

Más contenido relacionado

La actualidad más candente

The Deal
The DealThe Deal
The Deal
adhaval
 
BCS 100: Introduction to Computer Science Lesson 1
BCS 100: Introduction to Computer Science Lesson 1BCS 100: Introduction to Computer Science Lesson 1
BCS 100: Introduction to Computer Science Lesson 1
Ndubi Amos
 

La actualidad más candente (20)

what is Operating system
what is Operating systemwhat is Operating system
what is Operating system
 
6 input output devices
6 input output devices6 input output devices
6 input output devices
 
Operating system of computer
Operating system of computerOperating system of computer
Operating system of computer
 
Introduction to Computers Lecture # 11
Introduction to Computers Lecture # 11Introduction to Computers Lecture # 11
Introduction to Computers Lecture # 11
 
Fundamental of computer
Fundamental of computerFundamental of computer
Fundamental of computer
 
5 computer memory
5 computer memory5 computer memory
5 computer memory
 
Introduction to Computers Lecture # 8
Introduction to Computers Lecture # 8Introduction to Computers Lecture # 8
Introduction to Computers Lecture # 8
 
Computer Organization and Design
Computer Organization and DesignComputer Organization and Design
Computer Organization and Design
 
Computer system
Computer systemComputer system
Computer system
 
Software
SoftwareSoftware
Software
 
A walk through the computer system
A walk through the computer systemA walk through the computer system
A walk through the computer system
 
Os ch1
Os ch1Os ch1
Os ch1
 
3. basic organization of a computer
3. basic organization of a computer3. basic organization of a computer
3. basic organization of a computer
 
Software languages and devices
Software languages and devicesSoftware languages and devices
Software languages and devices
 
The Deal
The DealThe Deal
The Deal
 
Internal storage devices
Internal storage devicesInternal storage devices
Internal storage devices
 
BCS 100: Introduction to Computer Science Lesson 1
BCS 100: Introduction to Computer Science Lesson 1BCS 100: Introduction to Computer Science Lesson 1
BCS 100: Introduction to Computer Science Lesson 1
 
fundamental of computer-u-1-computer hardware system
fundamental of  computer-u-1-computer hardware systemfundamental of  computer-u-1-computer hardware system
fundamental of computer-u-1-computer hardware system
 
Chapter 1 com org (student copy)
Chapter 1   com org (student copy)Chapter 1   com org (student copy)
Chapter 1 com org (student copy)
 
Computer generations (1950–present)
Computer generations (1950–present)Computer generations (1950–present)
Computer generations (1950–present)
 

Destacado

Introduction to Computer and Programing - Lab2
Introduction to Computer and Programing - Lab2Introduction to Computer and Programing - Lab2
Introduction to Computer and Programing - Lab2
hassaanciit
 
Introduction to Computer and Programing - Lecture 04
Introduction to Computer and Programing - Lecture 04Introduction to Computer and Programing - Lecture 04
Introduction to Computer and Programing - Lecture 04
hassaanciit
 
Intro To Programming Concepts
Intro To Programming ConceptsIntro To Programming Concepts
Intro To Programming Concepts
Jussi Pohjolainen
 
Basic programming concepts
Basic programming conceptsBasic programming concepts
Basic programming concepts
salmankhan570
 
Introduction to Computer and Programming - Lecture 03
Introduction to Computer and Programming - Lecture 03Introduction to Computer and Programming - Lecture 03
Introduction to Computer and Programming - Lecture 03
hassaanciit
 
Chapter04 Pengantar Teknologi Informasi
Chapter04 Pengantar Teknologi InformasiChapter04 Pengantar Teknologi Informasi
Chapter04 Pengantar Teknologi Informasi
Zulvi Arseptu
 
Islamic Studies - Lecture#1 (Religion)
Islamic Studies - Lecture#1 (Religion)Islamic Studies - Lecture#1 (Religion)
Islamic Studies - Lecture#1 (Religion)
hassaanciit
 
Islamic Studies - Course Outline
Islamic Studies - Course OutlineIslamic Studies - Course Outline
Islamic Studies - Course Outline
hassaanciit
 
Circuits Lecture 5 with examples
Circuits Lecture 5 with examplesCircuits Lecture 5 with examples
Circuits Lecture 5 with examples
hassaanciit
 
[Slideshare] tafaqqahu-(2015)-#6 e-responding-islamaphobia-regardg-islamic-la...
[Slideshare] tafaqqahu-(2015)-#6 e-responding-islamaphobia-regardg-islamic-la...[Slideshare] tafaqqahu-(2015)-#6 e-responding-islamaphobia-regardg-islamic-la...
[Slideshare] tafaqqahu-(2015)-#6 e-responding-islamaphobia-regardg-islamic-la...
Zhulkeflee Ismail
 

Destacado (20)

Introduction to Computer and Programming - Lecture 01
Introduction to Computer and Programming - Lecture 01Introduction to Computer and Programming - Lecture 01
Introduction to Computer and Programming - Lecture 01
 
Introduction to Computer and Programing - Lab2
Introduction to Computer and Programing - Lab2Introduction to Computer and Programing - Lab2
Introduction to Computer and Programing - Lab2
 
Introduction to Computer and Programing - Lecture 04
Introduction to Computer and Programing - Lecture 04Introduction to Computer and Programing - Lecture 04
Introduction to Computer and Programing - Lecture 04
 
Intro To Programming Concepts
Intro To Programming ConceptsIntro To Programming Concepts
Intro To Programming Concepts
 
Basic programming concepts
Basic programming conceptsBasic programming concepts
Basic programming concepts
 
Introduction to Computer and Programming - Lecture 03
Introduction to Computer and Programming - Lecture 03Introduction to Computer and Programming - Lecture 03
Introduction to Computer and Programming - Lecture 03
 
DBIx::Class introduction - 2010
DBIx::Class introduction - 2010DBIx::Class introduction - 2010
DBIx::Class introduction - 2010
 
Chapter04 Pengantar Teknologi Informasi
Chapter04 Pengantar Teknologi InformasiChapter04 Pengantar Teknologi Informasi
Chapter04 Pengantar Teknologi Informasi
 
Sharia
ShariaSharia
Sharia
 
Islamic Studies - Lecture#1 (Religion)
Islamic Studies - Lecture#1 (Religion)Islamic Studies - Lecture#1 (Religion)
Islamic Studies - Lecture#1 (Religion)
 
What is Sharia Law?
What is Sharia Law?What is Sharia Law?
What is Sharia Law?
 
PowerPoint for Introduction to Office 2010
PowerPoint for Introduction to Office 2010PowerPoint for Introduction to Office 2010
PowerPoint for Introduction to Office 2010
 
Islam s6 shari'a law and dhimmi
Islam s6 shari'a law and dhimmiIslam s6 shari'a law and dhimmi
Islam s6 shari'a law and dhimmi
 
Islamic Studies - Course Outline
Islamic Studies - Course OutlineIslamic Studies - Course Outline
Islamic Studies - Course Outline
 
Circuits Lecture 5 with examples
Circuits Lecture 5 with examplesCircuits Lecture 5 with examples
Circuits Lecture 5 with examples
 
ECA - Lecture 03
ECA - Lecture 03ECA - Lecture 03
ECA - Lecture 03
 
ICP - Lecture 9
ICP - Lecture 9ICP - Lecture 9
ICP - Lecture 9
 
Fiqh usool e-deen
Fiqh usool e-deenFiqh usool e-deen
Fiqh usool e-deen
 
[Slideshare] tafaqqahu-(2015)-#6 e-responding-islamaphobia-regardg-islamic-la...
[Slideshare] tafaqqahu-(2015)-#6 e-responding-islamaphobia-regardg-islamic-la...[Slideshare] tafaqqahu-(2015)-#6 e-responding-islamaphobia-regardg-islamic-la...
[Slideshare] tafaqqahu-(2015)-#6 e-responding-islamaphobia-regardg-islamic-la...
 
Step natural
Step naturalStep natural
Step natural
 

Similar a Introduction to Computer and Programming - Lecture 02

Unit 1 computing fundamental 2013
Unit 1 computing fundamental 2013Unit 1 computing fundamental 2013
Unit 1 computing fundamental 2013
Yousuf Al Khanbashi
 
Chapter 02 system unit csc & tts
Chapter 02 system unit csc & ttsChapter 02 system unit csc & tts
Chapter 02 system unit csc & tts
Hisyam Rosly
 

Similar a Introduction to Computer and Programming - Lecture 02 (20)

Unit 1 computing fundamental 2013
Unit 1 computing fundamental 2013Unit 1 computing fundamental 2013
Unit 1 computing fundamental 2013
 
Computer Basics
Computer BasicsComputer Basics
Computer Basics
 
Chap 3 CA.pptx
Chap 3 CA.pptxChap 3 CA.pptx
Chap 3 CA.pptx
 
3rd the cpu
3rd the cpu3rd the cpu
3rd the cpu
 
Chap4.ppt
Chap4.pptChap4.ppt
Chap4.ppt
 
Chap4.ppt
Chap4.pptChap4.ppt
Chap4.ppt
 
Chap4.ppt
Chap4.pptChap4.ppt
Chap4.ppt
 
The Central Processing Unit(CPU) for Chapter 4
The Central Processing Unit(CPU) for Chapter 4The Central Processing Unit(CPU) for Chapter 4
The Central Processing Unit(CPU) for Chapter 4
 
Cpu
CpuCpu
Cpu
 
Computer !
Computer !Computer !
Computer !
 
Chapter 02 system unit csc & tts
Chapter 02 system unit csc & ttsChapter 02 system unit csc & tts
Chapter 02 system unit csc & tts
 
Chapter4 Data Processing
Chapter4 Data ProcessingChapter4 Data Processing
Chapter4 Data Processing
 
IS740 Chapter 03
IS740 Chapter 03IS740 Chapter 03
IS740 Chapter 03
 
BAIT1003 Chapter 2
BAIT1003 Chapter 2BAIT1003 Chapter 2
BAIT1003 Chapter 2
 
Slides of cpu
Slides of cpuSlides of cpu
Slides of cpu
 
Computer Architecture and Organization.pptx
Computer Architecture and Organization.pptxComputer Architecture and Organization.pptx
Computer Architecture and Organization.pptx
 
03 - Inside Comupters.pptx
03 - Inside Comupters.pptx03 - Inside Comupters.pptx
03 - Inside Comupters.pptx
 
Raja srivatsa
Raja srivatsaRaja srivatsa
Raja srivatsa
 
Chapter01 (1).ppt
Chapter01 (1).pptChapter01 (1).ppt
Chapter01 (1).ppt
 
Inside the CPU
Inside the CPUInside the CPU
Inside the CPU
 

Último

EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
Earley Information Science
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
Enterprise Knowledge
 

Último (20)

Evaluating the top large language models.pdf
Evaluating the top large language models.pdfEvaluating the top large language models.pdf
Evaluating the top large language models.pdf
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 

Introduction to Computer and Programming - Lecture 02

  • 1. 1 Introduction to Computers and Programming (CSC103) Lecture 02
  • 2. The System Unit • The system unit is a case that contains electronic components of the computer used to process data 2
  • 3. The System Unit • The inside of the system unit on a desktop personal computer includes: 3 Drive bay(s) Power supply Sound card Video card Processor Memory
  • 4. The System Unit • The motherboard is the main circuit board of the system unit – A computer chip contains integrated circuits (IC) 4
  • 5. Processor • The processor, also called the central processing unit (CPU), interprets and carries out the basic instructions that operate a computer – Contain a Control Unit and an Arithmetic Logic Unit (ALU) 5
  • 7. Processor • The control unit is the component of the processor that directs and coordinates most of the operations in the computer – Interprets each instruction issued by a program and then initiates the appropriate action (to carry out the instruction) • The arithmetic logic unit (ALU) performs arithmetic, comparison, and other operations 7
  • 8. Processor – Machine Cycle • For every instruction, a processor repeats a set of four basic operations, which comprise a machine cycle 1. Fetch 2. Decode 3. Execute 4. Store 8
  • 9. Processor The processor contains registers, that temporarily hold data and instructions • Registers are part of the Processor • Processor has many different type of registers • Register function includes; storing location, storing instruction, storing data and storing results of a calculation The system clock controls the timing of all computer operations • The pace of the system clock is called the clock speed, and is measured in gigahertz (GHz) • Giga = Billion, Hertz = one cycle per second • Faster the clock speed, more instructions can be executed per second 9
  • 10. Dual Core and Multi-Core Processors • Dual-Core Processor is a single chip that contains two separate processors • Multi-Core Processor is a chip with two or more separate processors – Implements multiprocessing into a single physical package – Quad-Core Processor contains four (4) cores 10
  • 11. Moore’s Law • Number of transistors and resistors placed on computer chips would double every year – With a proportional increase in computing power and decrease in cost 11
  • 13. Processor • A processor chip generates heat that could cause the chip to burn up • Require additional cooling – Heat sinks – Liquid cooling technology 13
  • 14. Memory • Memory consists of electronic components that store instructions waiting to be executed by the processor, data needed by those instructions, and the results of processing the data • Stores three basic categories of items: 14 The operating system and other system software Application programs Data being processed and the resulting information
  • 15. Memory • Each location in memory has an address • Byte is the basic storage unit in memory • Memory size is measured in kilobytes (KB or K), megabytes (MB), gigabytes (GB), or terabytes (TB) 15
  • 16. Memory • The system unit contains two types of memory: 16 Volatile memory Loses its contents when power is turned off Example includes RAM Nonvolatile memory Does not lose contents when power is removed Examples include ROM, flash memory, and CMOS
  • 17. Memory – RAM • RAM (Random Access Memory) is also called main memory • Consists of memory chips that can be read from and written to by the processor and other devices • When you turn on computer – Certain Operating System files are loaded into RAM from a storage device such as a hard disk • Saving is the process of copying data, instructions and information from RAM to a storage device 17
  • 18. Storage Storage holds data, instructions, and information for future use A storage medium is the physical material on which a computer keeps data, instructions, and information 18
  • 20. Storage • Capacity is the number of bytes a storage medium can hold 20
  • 21. Storage • A storage device is the computer hardware that records and/or retrieves items to and from storage media 21 Reading is the process of transferring items from a storage medium into memory Writing is the process of transferring items from memory to a storage medium
  • 22. Storage • Access time measures: – The amount of time it takes a storage device to locate an item on a storage medium • In milliseconds or microseconds • Measured in KBps and MBps – The time required to deliver an item from memory to the processor • In nanoseconds 22
  • 23. Hard Disks • A hard disk contains one or more inflexible, circular platters that use magnetic particles to store data, instructions, and information 23
  • 24. Hard Disks • Characteristics of a hard disk include: 24 Capacity Platters Read/Write Heads Cylinders Sectors and Tracks Revolutions per Minute Transfer Rate Access Time
  • 25. 25
  • 27. Hard Disks • The hard disk arms move the read/write head, which reads items and writes items in the drive – Location often is referred to by its cylinder 27