SlideShare uma empresa Scribd logo
1 de 16
Department of Computer and Information Science,
School of Science, IUPUI
Dale Roberts, Lecturer
Computer Science, IUPUI
E-mail: droberts@cs.iupui.edu
CSCI 230
Introduction to Computers
- Hardware
What is a Computer?What is a Computer?
ComputerComputer
Device capable of performing computations and makingDevice capable of performing computations and making
logical decisionslogical decisions
Computers process data under the control of sets ofComputers process data under the control of sets of
instructions called computer programsinstructions called computer programs
Personal computersPersonal computers: economical enough for individual: economical enough for individual
Distributed computingDistributed computing: computing distributed over: computing distributed over
networksnetworks
Client/server computingClient/server computing: sharing of information across: sharing of information across
computer networks between file servers and clientscomputer networks between file servers and clients
(personal computers)(personal computers)
Dale Roberts
What is a Computer?What is a Computer? (cont.)(cont.)
Computer HardwareComputer Hardware
Various devices comprising a computer:Various devices comprising a computer:
Keyboard, screen, mouse, disks, memory, CD-Keyboard, screen, mouse, disks, memory, CD-
ROM, and processing unitsROM, and processing units
Hardware Trends: every year or two the followingHardware Trends: every year or two the following
approximately double (Moore’s Law):approximately double (Moore’s Law):
Amount of memory in which to execute programsAmount of memory in which to execute programs
Amount of secondary storage (such as disk storage)Amount of secondary storage (such as disk storage)
Used to hold programs and data over the longer termUsed to hold programs and data over the longer term
Processor speedsProcessor speeds
The speeds at which computers execute their programsThe speeds at which computers execute their programs
High-level
Language
Assembly
Language
Firmware
Machine
Code
Hardware
User
Application
Software
OS
What is a Computer?What is a Computer? (cont.)(cont.)
Computer SoftwareComputer Software
Computer Programs that run on a computer, includingComputer Programs that run on a computer, including
Operation System (OS)Operation System (OS)
Application SoftwareApplication Software
Computer LanguageComputer Language
High-level
Language
Assembly
Language
Firmware
Machine
Code
Hardware
User
Application
Software
OS
Moore's LawMoore's Law
Defined byDefined by Dr. Gordon MooreDr. Gordon Moore during theduring the
sixties.sixties.
Predicts an exponential increase inPredicts an exponential increase in
component density over time, with acomponent density over time, with a
doubling time of 18 months.doubling time of 18 months.
Applicable to microprocessors, DRAMs ,Applicable to microprocessors, DRAMs ,
DSPs and other microelectronics.DSPs and other microelectronics.
Monotonic increase in density observedMonotonic increase in density observed
since the 1960s.since the 1960s.
Moore’s Law - DensityMoore’s Law - Density
Moore's Law and PerformanceMoore's Law and Performance
The performance of computers isThe performance of computers is
determined by architecture and clockdetermined by architecture and clock
speed.speed.
Clock speed doubles over a 3 year periodClock speed doubles over a 3 year period
due to the scaling laws on chip.due to the scaling laws on chip.
Processors using identical or similarProcessors using identical or similar
architectures gain performance directly asarchitectures gain performance directly as
a function of Moore's Law.a function of Moore's Law.
Improvements in internal architecture canImprovements in internal architecture can
yield better gains than predicted byyield better gains than predicted by
Moore's Law.Moore's Law.
Moore’s Law - Clock SpeedMoore’s Law - Clock Speed
What is a Computer?What is a Computer? (cont.)(cont.)
InternetInternet
The Internet enablesThe Internet enables
Quick and easy communication via e-mailQuick and easy communication via e-mail
International networking of computersInternational networking of computers
Packet switchingPacket switching
The transfer of digital data via small packetsThe transfer of digital data via small packets
Allows multiple users to send and receive data simultaneouslyAllows multiple users to send and receive data simultaneously
No centralized controlNo centralized control
If one part of the Internet fails, other parts can still operateIf one part of the Internet fails, other parts can still operate
BandwidthBandwidth
Information carrying capacity of communications linesInformation carrying capacity of communications lines
Ex: Internet T2 at IUPUIEx: Internet T2 at IUPUI
World Wide WebWorld Wide Web
Locate and view multimedia-based documents on almost any subjectLocate and view multimedia-based documents on almost any subject
Makes information instantly and conveniently accessible worldwideMakes information instantly and conveniently accessible worldwide
Possible for individuals and small businesses to get worldwide exposurePossible for individuals and small businesses to get worldwide exposure
Changing the way business is doneChanging the way business is done
Computer OrganizationComputer Organization
A Typical Von-Neumann ArchitectureA Typical Von-Neumann Architecture
Example:Example:
1.1. InputInput unitunit
2.2. OutputOutput unitunit
3.3. MemoryMemory unitunit
4.4. Arithmetic and logicArithmetic and logic unit (ALU)unit (ALU)
5.5. Central processingCentral processing unit (CPU)unit (CPU)
6.6. Secondary storageSecondary storage unitunit
Control Circuit
(ex: PC: Program Counter)
ALU
Memory I/O
CPU
Computer OrganizationComputer Organization (cont.)(cont.)
Six logical units in every computer:Six logical units in every computer:
1.1. InputInput unitunit
Obtains information from input devices (keyboard, mouse)Obtains information from input devices (keyboard, mouse)
1.1. OutputOutput unitunit
Outputs information (to screen, to printer, to control otherOutputs information (to screen, to printer, to control other
devices)devices)
1.1. MemoryMemory unitunit
Rapid access, low capacity, stores input informationRapid access, low capacity, stores input information
ROM (Read Only Memory): CMOS, EPROM …ROM (Read Only Memory): CMOS, EPROM …
RAM (Random Access Memory): SRAM, DRAM, SIMM, DIMMRAM (Random Access Memory): SRAM, DRAM, SIMM, DIMM
……
Computer OrganizationComputer Organization (cont.)(cont.)
Six logical units in every computer (cont):Six logical units in every computer (cont):
3.3. Arithmetic and logicArithmetic and logic unit (ALU) – part of CPUunit (ALU) – part of CPU
Performs arithmetic calculations (addition, subtraction...) andPerforms arithmetic calculations (addition, subtraction...) and
logic decisionslogic decisions
3.3. ControlControl unit (CU) - part of CPUunit (CU) - part of CPU
Supervises and coordinates the other sections of the computerSupervises and coordinates the other sections of the computer
3.3. Secondary storageSecondary storage unitunit
Cheap, long-term, high-capacity storageCheap, long-term, high-capacity storage
Stores inactive programsStores inactive programs
Computer OrganizationComputer Organization (cont.)(cont.)
Central Processing Unit (CPU),Central Processing Unit (CPU),
““brain” of a computer, consisting ofbrain” of a computer, consisting of
Arithmetic and logic unitArithmetic and logic unit (ALU): performs arithmetic calculations(ALU): performs arithmetic calculations
(addition, subtraction...) and logic decisions (>, <, =, ...)(addition, subtraction...) and logic decisions (>, <, =, ...)
Control Unit (CU): decodes each machine instruction and sendsControl Unit (CU): decodes each machine instruction and sends
signal to other components for carrying out the instruction.signal to other components for carrying out the instruction.
An integrated circuit (IC) that is a full central processing unitAn integrated circuit (IC) that is a full central processing unit
is called a microprocessor (is called a microprocessor (µµpp); a CPU’s current instruction); a CPU’s current instruction
and data values are stored temporally inside the CPU inand data values are stored temporally inside the CPU in
special high-speed memory location called registers.special high-speed memory location called registers.
CPU speed: ? MHz (M: Mega = 10CPU speed: ? MHz (M: Mega = 1066
, Hz=1/sec);, Hz=1/sec);
Computer OrganizationComputer Organization (cont.)(cont.)
MemoryMemory
A large collection of circuits, each capable ofA large collection of circuits, each capable of
storing bitstoring bit
Cells (words): manageable units; typical size is 8Cells (words): manageable units; typical size is 8
bits (1 byte), some machines are 16 bits (2bits (1 byte), some machines are 16 bits (2
bytes) and some are 32 bits or 64 bitsbytes) and some are 32 bits or 64 bits
Byte (8 bits), KB (kilobyte, 10Byte (8 bits), KB (kilobyte, 1033
≈≈ 221010
bytes), MBbytes), MB
(Megabyte, 10(Megabyte, 1066
≈≈ 222020
bytes), GB (Gigabyte, 10bytes), GB (Gigabyte, 1099
≈≈ 223030
bytes). Note: kbytes). Note: k ≠ K because 1000 ≠ 1024.≠ K because 1000 ≠ 1024.
Computer OrganizationComputer Organization (cont.)(cont.)
Computer memory is comparable to a collection ofComputer memory is comparable to a collection of
numbered mailboxes. To identify individual cells in anumbered mailboxes. To identify individual cells in a
machine’s main memory, each cell is assigned a uniquemachine’s main memory, each cell is assigned a unique
name, called its addressname, called its address
The organization of byte-size memory cellThe organization of byte-size memory cell
...01001000 01100101 01101100 0110111101101100 00101110
H e l l o ,ASCII
...Data
Address 0000 0101 0000 0110 0000 0111 0000 1000 0001 0001 0001 0010
Address Bus
Data Bus
0 0 0 0 0 1 0 1 Low-order endHigh-order end
Least Significant Bit (LSB)Most Significant Bit (MSB)
AcknowledgementsAcknowledgements
Moore’s Law: Kopp, Carlo. Monash University.Moore’s Law: Kopp, Carlo. Monash University.
Melbourne, Australia. 2000.Melbourne, Australia. 2000.

Mais conteúdo relacionado

Mais procurados

Computer System Hardware
Computer System HardwareComputer System Hardware
Computer System Hardware
bailumanog
 
00 Hardware Of Personal Computer V1 1
00 Hardware Of Personal Computer V1 100 Hardware Of Personal Computer V1 1
00 Hardware Of Personal Computer V1 1
Rajan Das
 
Computer hardware presentation
Computer hardware presentationComputer hardware presentation
Computer hardware presentation
Zach Dodson
 
Computer hardware component. ppt
Computer hardware component. pptComputer hardware component. ppt
Computer hardware component. ppt
Naveen Sihag
 

Mais procurados (18)

Ch3
Ch3Ch3
Ch3
 
Computer hardware
Computer hardwareComputer hardware
Computer hardware
 
PC Hardware Overview
PC Hardware OverviewPC Hardware Overview
PC Hardware Overview
 
Basic hardware concept
Basic hardware concept Basic hardware concept
Basic hardware concept
 
Ch 1 computer hardware
Ch 1 computer hardwareCh 1 computer hardware
Ch 1 computer hardware
 
Computer System Hardware
Computer System HardwareComputer System Hardware
Computer System Hardware
 
Hardware assignment
Hardware assignmentHardware assignment
Hardware assignment
 
00 Hardware Of Personal Computer V1 1
00 Hardware Of Personal Computer V1 100 Hardware Of Personal Computer V1 1
00 Hardware Of Personal Computer V1 1
 
P1 the function of main hardware components
P1 the function of main hardware componentsP1 the function of main hardware components
P1 the function of main hardware components
 
Introduction to computer hardware
Introduction to computer hardwareIntroduction to computer hardware
Introduction to computer hardware
 
Computer Hardware Components
Computer Hardware ComponentsComputer Hardware Components
Computer Hardware Components
 
Computer hardware
Computer hardwareComputer hardware
Computer hardware
 
Computer Hardware
Computer HardwareComputer Hardware
Computer Hardware
 
Computer hardware presentation
Computer hardware presentationComputer hardware presentation
Computer hardware presentation
 
'Computer Hardware' - A PPT good for summer home work for Class VIII
'Computer Hardware' - A PPT good for summer home work for Class VIII'Computer Hardware' - A PPT good for summer home work for Class VIII
'Computer Hardware' - A PPT good for summer home work for Class VIII
 
introduction to computer Hardware
introduction to computer Hardwareintroduction to computer Hardware
introduction to computer Hardware
 
Computer hardware component. ppt
Computer hardware component. pptComputer hardware component. ppt
Computer hardware component. ppt
 
Computer Fundamental
Computer FundamentalComputer Fundamental
Computer Fundamental
 

Destaque

Computer Hardware
Computer HardwareComputer Hardware
Computer Hardware
Deepa Rani
 
Introduction To Computer And Hardware
Introduction To Computer And  HardwareIntroduction To Computer And  Hardware
Introduction To Computer And Hardware
guest70c61b
 
3 computer hardware and fundamentals edited for 1st sem
3 computer hardware and fundamentals edited for 1st sem3 computer hardware and fundamentals edited for 1st sem
3 computer hardware and fundamentals edited for 1st sem
Vedpal Yadav
 
Hardware basics: inside the box
Hardware basics: inside the boxHardware basics: inside the box
Hardware basics: inside the box
Miguel Rebollo
 
Input, Output and Storage Devices
Input, Output and Storage DevicesInput, Output and Storage Devices
Input, Output and Storage Devices
guest30320a
 

Destaque (20)

Overview of computer
Overview of computerOverview of computer
Overview of computer
 
Computer Hardware
Computer HardwareComputer Hardware
Computer Hardware
 
Computer Hardware Introduction
Computer Hardware IntroductionComputer Hardware Introduction
Computer Hardware Introduction
 
Introduction To Computer And Hardware
Introduction To Computer And  HardwareIntroduction To Computer And  Hardware
Introduction To Computer And Hardware
 
B) Computer Basics
B) Computer BasicsB) Computer Basics
B) Computer Basics
 
Presentation on introduction of computer hardware
Presentation on introduction of computer hardwarePresentation on introduction of computer hardware
Presentation on introduction of computer hardware
 
Hardware & Input/Output (I/O) Devices
Hardware & Input/Output (I/O) DevicesHardware & Input/Output (I/O) Devices
Hardware & Input/Output (I/O) Devices
 
SMPS
SMPSSMPS
SMPS
 
Parts of a computer
Parts of a computerParts of a computer
Parts of a computer
 
Hardware And Software
Hardware And SoftwareHardware And Software
Hardware And Software
 
3 computer hardware and fundamentals edited for 1st sem
3 computer hardware and fundamentals edited for 1st sem3 computer hardware and fundamentals edited for 1st sem
3 computer hardware and fundamentals edited for 1st sem
 
CHAP 1 - INTRODUCTION TO COMPUTERS
CHAP 1 - INTRODUCTION TO COMPUTERSCHAP 1 - INTRODUCTION TO COMPUTERS
CHAP 1 - INTRODUCTION TO COMPUTERS
 
Hardware basics: inside the box
Hardware basics: inside the boxHardware basics: inside the box
Hardware basics: inside the box
 
Microsoft power point 2007
Microsoft power point 2007Microsoft power point 2007
Microsoft power point 2007
 
Introduction to computer hardware
Introduction to computer hardwareIntroduction to computer hardware
Introduction to computer hardware
 
Basic computer hardware and software
Basic computer hardware and softwareBasic computer hardware and software
Basic computer hardware and software
 
Basic Computer Operation And Troubleshooting
Basic  Computer  Operation And  TroubleshootingBasic  Computer  Operation And  Troubleshooting
Basic Computer Operation And Troubleshooting
 
Introduction to microsoft excel 2007
Introduction to microsoft excel 2007Introduction to microsoft excel 2007
Introduction to microsoft excel 2007
 
Input, Output and Storage Devices
Input, Output and Storage DevicesInput, Output and Storage Devices
Input, Output and Storage Devices
 
1.0 Introduction to Hardware Computer Architecture
1.0 Introduction to Hardware Computer Architecture1.0 Introduction to Hardware Computer Architecture
1.0 Introduction to Hardware Computer Architecture
 

Semelhante a C language computer introduction to the computer hardware

T01 a computerintrohardware
T01 a computerintrohardwareT01 a computerintrohardware
T01 a computerintrohardware
Gaurav Juneja
 
Intro to comp. hardware
Intro to comp. hardwareIntro to comp. hardware
Intro to comp. hardware
Mohd Arif
 
Lec no. 4 hardware and software basic
Lec no. 4 hardware and software basicLec no. 4 hardware and software basic
Lec no. 4 hardware and software basic
Jiian Francisco
 

Semelhante a C language computer introduction to the computer hardware (20)

T01 a computerintrohardware
T01 a computerintrohardwareT01 a computerintrohardware
T01 a computerintrohardware
 
Intro to comp. hardware
Intro to comp. hardwareIntro to comp. hardware
Intro to comp. hardware
 
Nt1310 Unit 3 Computer Components
Nt1310 Unit 3 Computer ComponentsNt1310 Unit 3 Computer Components
Nt1310 Unit 3 Computer Components
 
Os rtos.ppt
Os rtos.pptOs rtos.ppt
Os rtos.ppt
 
Introduction to mis
Introduction to misIntroduction to mis
Introduction to mis
 
Lecture1 ch01
Lecture1 ch01Lecture1 ch01
Lecture1 ch01
 
CIS99_Ch_01 (1).pptx
CIS99_Ch_01 (1).pptxCIS99_Ch_01 (1).pptx
CIS99_Ch_01 (1).pptx
 
Itc lecture
Itc lectureItc lecture
Itc lecture
 
3945319.ppt
3945319.ppt3945319.ppt
3945319.ppt
 
3945319.ppt
3945319.ppt3945319.ppt
3945319.ppt
 
Principles of operating system
Principles of operating systemPrinciples of operating system
Principles of operating system
 
Computer fundamental
Computer fundamentalComputer fundamental
Computer fundamental
 
Multimedia system and hardware devices
Multimedia system and hardware devices Multimedia system and hardware devices
Multimedia system and hardware devices
 
Coa module1
Coa module1Coa module1
Coa module1
 
ICT L2.pptx
ICT L2.pptxICT L2.pptx
ICT L2.pptx
 
coa-module1-170527034116.pdf
coa-module1-170527034116.pdfcoa-module1-170527034116.pdf
coa-module1-170527034116.pdf
 
Tg01
Tg01Tg01
Tg01
 
Ch1Intro.pdf Computer organization and org.
Ch1Intro.pdf Computer organization and org.Ch1Intro.pdf Computer organization and org.
Ch1Intro.pdf Computer organization and org.
 
The Basic Configuration of a Microcomputer
The Basic Configuration of a Microcomputer The Basic Configuration of a Microcomputer
The Basic Configuration of a Microcomputer
 
Lec no. 4 hardware and software basic
Lec no. 4 hardware and software basicLec no. 4 hardware and software basic
Lec no. 4 hardware and software basic
 

Mais de NIKHIL KRISHNA

All surface empty bottle inspection(ASEBI) FULL DOCUMENTATION
All surface empty bottle inspection(ASEBI) FULL DOCUMENTATIONAll surface empty bottle inspection(ASEBI) FULL DOCUMENTATION
All surface empty bottle inspection(ASEBI) FULL DOCUMENTATION
NIKHIL KRISHNA
 
COCO-COLA MAINTAINCE AND TRAINING(ASEBI)
COCO-COLA MAINTAINCE AND TRAINING(ASEBI)COCO-COLA MAINTAINCE AND TRAINING(ASEBI)
COCO-COLA MAINTAINCE AND TRAINING(ASEBI)
NIKHIL KRISHNA
 
ALL SURFACE EMPTY BOTTLE INSPECTION TRAINING
ALL SURFACE EMPTY BOTTLE INSPECTION TRAININGALL SURFACE EMPTY BOTTLE INSPECTION TRAINING
ALL SURFACE EMPTY BOTTLE INSPECTION TRAINING
NIKHIL KRISHNA
 
EMPTY BOTTLE INSPECTION MACHINE
EMPTY BOTTLE INSPECTION MACHINEEMPTY BOTTLE INSPECTION MACHINE
EMPTY BOTTLE INSPECTION MACHINE
NIKHIL KRISHNA
 

Mais de NIKHIL KRISHNA (6)

C language first program
C language first programC language first program
C language first program
 
All surface empty bottle inspection(ASEBI) FULL DOCUMENTATION
All surface empty bottle inspection(ASEBI) FULL DOCUMENTATIONAll surface empty bottle inspection(ASEBI) FULL DOCUMENTATION
All surface empty bottle inspection(ASEBI) FULL DOCUMENTATION
 
COCO-COLA MAINTAINCE AND TRAINING(ASEBI)
COCO-COLA MAINTAINCE AND TRAINING(ASEBI)COCO-COLA MAINTAINCE AND TRAINING(ASEBI)
COCO-COLA MAINTAINCE AND TRAINING(ASEBI)
 
ALL SURFACE EMPTY BOTTLE INSPECTION TRAINING
ALL SURFACE EMPTY BOTTLE INSPECTION TRAININGALL SURFACE EMPTY BOTTLE INSPECTION TRAINING
ALL SURFACE EMPTY BOTTLE INSPECTION TRAINING
 
EMPTY BOTTLE INSPECTION MACHINE
EMPTY BOTTLE INSPECTION MACHINEEMPTY BOTTLE INSPECTION MACHINE
EMPTY BOTTLE INSPECTION MACHINE
 
SOLAR TREE
SOLAR TREESOLAR TREE
SOLAR TREE
 

Último

Último (20)

On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptx
 
Spatium Project Simulation student brief
Spatium Project Simulation student briefSpatium Project Simulation student brief
Spatium Project Simulation student brief
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
 
How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptx
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
 
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptx
 

C language computer introduction to the computer hardware

  • 1. Department of Computer and Information Science, School of Science, IUPUI Dale Roberts, Lecturer Computer Science, IUPUI E-mail: droberts@cs.iupui.edu CSCI 230 Introduction to Computers - Hardware
  • 2. What is a Computer?What is a Computer? ComputerComputer Device capable of performing computations and makingDevice capable of performing computations and making logical decisionslogical decisions Computers process data under the control of sets ofComputers process data under the control of sets of instructions called computer programsinstructions called computer programs Personal computersPersonal computers: economical enough for individual: economical enough for individual Distributed computingDistributed computing: computing distributed over: computing distributed over networksnetworks Client/server computingClient/server computing: sharing of information across: sharing of information across computer networks between file servers and clientscomputer networks between file servers and clients (personal computers)(personal computers) Dale Roberts
  • 3. What is a Computer?What is a Computer? (cont.)(cont.) Computer HardwareComputer Hardware Various devices comprising a computer:Various devices comprising a computer: Keyboard, screen, mouse, disks, memory, CD-Keyboard, screen, mouse, disks, memory, CD- ROM, and processing unitsROM, and processing units Hardware Trends: every year or two the followingHardware Trends: every year or two the following approximately double (Moore’s Law):approximately double (Moore’s Law): Amount of memory in which to execute programsAmount of memory in which to execute programs Amount of secondary storage (such as disk storage)Amount of secondary storage (such as disk storage) Used to hold programs and data over the longer termUsed to hold programs and data over the longer term Processor speedsProcessor speeds The speeds at which computers execute their programsThe speeds at which computers execute their programs High-level Language Assembly Language Firmware Machine Code Hardware User Application Software OS
  • 4. What is a Computer?What is a Computer? (cont.)(cont.) Computer SoftwareComputer Software Computer Programs that run on a computer, includingComputer Programs that run on a computer, including Operation System (OS)Operation System (OS) Application SoftwareApplication Software Computer LanguageComputer Language High-level Language Assembly Language Firmware Machine Code Hardware User Application Software OS
  • 5. Moore's LawMoore's Law Defined byDefined by Dr. Gordon MooreDr. Gordon Moore during theduring the sixties.sixties. Predicts an exponential increase inPredicts an exponential increase in component density over time, with acomponent density over time, with a doubling time of 18 months.doubling time of 18 months. Applicable to microprocessors, DRAMs ,Applicable to microprocessors, DRAMs , DSPs and other microelectronics.DSPs and other microelectronics. Monotonic increase in density observedMonotonic increase in density observed since the 1960s.since the 1960s.
  • 6. Moore’s Law - DensityMoore’s Law - Density
  • 7. Moore's Law and PerformanceMoore's Law and Performance The performance of computers isThe performance of computers is determined by architecture and clockdetermined by architecture and clock speed.speed. Clock speed doubles over a 3 year periodClock speed doubles over a 3 year period due to the scaling laws on chip.due to the scaling laws on chip. Processors using identical or similarProcessors using identical or similar architectures gain performance directly asarchitectures gain performance directly as a function of Moore's Law.a function of Moore's Law. Improvements in internal architecture canImprovements in internal architecture can yield better gains than predicted byyield better gains than predicted by Moore's Law.Moore's Law.
  • 8. Moore’s Law - Clock SpeedMoore’s Law - Clock Speed
  • 9. What is a Computer?What is a Computer? (cont.)(cont.) InternetInternet The Internet enablesThe Internet enables Quick and easy communication via e-mailQuick and easy communication via e-mail International networking of computersInternational networking of computers Packet switchingPacket switching The transfer of digital data via small packetsThe transfer of digital data via small packets Allows multiple users to send and receive data simultaneouslyAllows multiple users to send and receive data simultaneously No centralized controlNo centralized control If one part of the Internet fails, other parts can still operateIf one part of the Internet fails, other parts can still operate BandwidthBandwidth Information carrying capacity of communications linesInformation carrying capacity of communications lines Ex: Internet T2 at IUPUIEx: Internet T2 at IUPUI World Wide WebWorld Wide Web Locate and view multimedia-based documents on almost any subjectLocate and view multimedia-based documents on almost any subject Makes information instantly and conveniently accessible worldwideMakes information instantly and conveniently accessible worldwide Possible for individuals and small businesses to get worldwide exposurePossible for individuals and small businesses to get worldwide exposure Changing the way business is doneChanging the way business is done
  • 10. Computer OrganizationComputer Organization A Typical Von-Neumann ArchitectureA Typical Von-Neumann Architecture Example:Example: 1.1. InputInput unitunit 2.2. OutputOutput unitunit 3.3. MemoryMemory unitunit 4.4. Arithmetic and logicArithmetic and logic unit (ALU)unit (ALU) 5.5. Central processingCentral processing unit (CPU)unit (CPU) 6.6. Secondary storageSecondary storage unitunit Control Circuit (ex: PC: Program Counter) ALU Memory I/O CPU
  • 11. Computer OrganizationComputer Organization (cont.)(cont.) Six logical units in every computer:Six logical units in every computer: 1.1. InputInput unitunit Obtains information from input devices (keyboard, mouse)Obtains information from input devices (keyboard, mouse) 1.1. OutputOutput unitunit Outputs information (to screen, to printer, to control otherOutputs information (to screen, to printer, to control other devices)devices) 1.1. MemoryMemory unitunit Rapid access, low capacity, stores input informationRapid access, low capacity, stores input information ROM (Read Only Memory): CMOS, EPROM …ROM (Read Only Memory): CMOS, EPROM … RAM (Random Access Memory): SRAM, DRAM, SIMM, DIMMRAM (Random Access Memory): SRAM, DRAM, SIMM, DIMM ……
  • 12. Computer OrganizationComputer Organization (cont.)(cont.) Six logical units in every computer (cont):Six logical units in every computer (cont): 3.3. Arithmetic and logicArithmetic and logic unit (ALU) – part of CPUunit (ALU) – part of CPU Performs arithmetic calculations (addition, subtraction...) andPerforms arithmetic calculations (addition, subtraction...) and logic decisionslogic decisions 3.3. ControlControl unit (CU) - part of CPUunit (CU) - part of CPU Supervises and coordinates the other sections of the computerSupervises and coordinates the other sections of the computer 3.3. Secondary storageSecondary storage unitunit Cheap, long-term, high-capacity storageCheap, long-term, high-capacity storage Stores inactive programsStores inactive programs
  • 13. Computer OrganizationComputer Organization (cont.)(cont.) Central Processing Unit (CPU),Central Processing Unit (CPU), ““brain” of a computer, consisting ofbrain” of a computer, consisting of Arithmetic and logic unitArithmetic and logic unit (ALU): performs arithmetic calculations(ALU): performs arithmetic calculations (addition, subtraction...) and logic decisions (>, <, =, ...)(addition, subtraction...) and logic decisions (>, <, =, ...) Control Unit (CU): decodes each machine instruction and sendsControl Unit (CU): decodes each machine instruction and sends signal to other components for carrying out the instruction.signal to other components for carrying out the instruction. An integrated circuit (IC) that is a full central processing unitAn integrated circuit (IC) that is a full central processing unit is called a microprocessor (is called a microprocessor (µµpp); a CPU’s current instruction); a CPU’s current instruction and data values are stored temporally inside the CPU inand data values are stored temporally inside the CPU in special high-speed memory location called registers.special high-speed memory location called registers. CPU speed: ? MHz (M: Mega = 10CPU speed: ? MHz (M: Mega = 1066 , Hz=1/sec);, Hz=1/sec);
  • 14. Computer OrganizationComputer Organization (cont.)(cont.) MemoryMemory A large collection of circuits, each capable ofA large collection of circuits, each capable of storing bitstoring bit Cells (words): manageable units; typical size is 8Cells (words): manageable units; typical size is 8 bits (1 byte), some machines are 16 bits (2bits (1 byte), some machines are 16 bits (2 bytes) and some are 32 bits or 64 bitsbytes) and some are 32 bits or 64 bits Byte (8 bits), KB (kilobyte, 10Byte (8 bits), KB (kilobyte, 1033 ≈≈ 221010 bytes), MBbytes), MB (Megabyte, 10(Megabyte, 1066 ≈≈ 222020 bytes), GB (Gigabyte, 10bytes), GB (Gigabyte, 1099 ≈≈ 223030 bytes). Note: kbytes). Note: k ≠ K because 1000 ≠ 1024.≠ K because 1000 ≠ 1024.
  • 15. Computer OrganizationComputer Organization (cont.)(cont.) Computer memory is comparable to a collection ofComputer memory is comparable to a collection of numbered mailboxes. To identify individual cells in anumbered mailboxes. To identify individual cells in a machine’s main memory, each cell is assigned a uniquemachine’s main memory, each cell is assigned a unique name, called its addressname, called its address The organization of byte-size memory cellThe organization of byte-size memory cell ...01001000 01100101 01101100 0110111101101100 00101110 H e l l o ,ASCII ...Data Address 0000 0101 0000 0110 0000 0111 0000 1000 0001 0001 0001 0010 Address Bus Data Bus 0 0 0 0 0 1 0 1 Low-order endHigh-order end Least Significant Bit (LSB)Most Significant Bit (MSB)
  • 16. AcknowledgementsAcknowledgements Moore’s Law: Kopp, Carlo. Monash University.Moore’s Law: Kopp, Carlo. Monash University. Melbourne, Australia. 2000.Melbourne, Australia. 2000.