Intro ch 01_b
-
Upload
shahi-raz-akhtar -
Category
Education
-
view
1.416 -
download
2
description
Transcript of Intro ch 01_b
![Page 1: Intro ch 01_b](https://reader034.fdocuments.us/reader034/viewer/2022042606/5457c74eaf79594f558b513b/html5/thumbnails/1.jpg)
Copyright © 2006 by The McGraw-Hill Companies, Inc. All rights reserved.
McGraw-Hill Technology EducationMcGraw-Hill Technology Education Copyright © 2006 by The McGraw-Hill Companies, Inc. All
rights reserved.
Edited by: Edited by: Rahman Ali, Lecturer in Rahman Ali, Lecturer in Computer Science, QACC, Computer Science, QACC, University of PeshawarUniversity of Peshawar
![Page 2: Intro ch 01_b](https://reader034.fdocuments.us/reader034/viewer/2022042606/5457c74eaf79594f558b513b/html5/thumbnails/2.jpg)
Copyright © 2006 by The McGraw-Hill Companies, Inc. All rights reserved.
McGraw-Hill Technology Education
Chapter 1B
Looking Inside the Computer SystemLooking Inside the Computer System
![Page 3: Intro ch 01_b](https://reader034.fdocuments.us/reader034/viewer/2022042606/5457c74eaf79594f558b513b/html5/thumbnails/3.jpg)
1B-3
Parts of the Computer System
• Computer systems have four parts– Hardware– Software– Data– User
![Page 4: Intro ch 01_b](https://reader034.fdocuments.us/reader034/viewer/2022042606/5457c74eaf79594f558b513b/html5/thumbnails/4.jpg)
1B-4
Parts of the Computer System
• Hardware– Mechanical devices in the computer– Anything that can be touched
• Software– Tell the computer what to do– Also called a program– Thousands of programs exist
![Page 5: Intro ch 01_b](https://reader034.fdocuments.us/reader034/viewer/2022042606/5457c74eaf79594f558b513b/html5/thumbnails/5.jpg)
1B-5
Parts of the Computer System
• Data– Pieces of information– Computer organize and present data
• Users– People operating the computer– Most important part– Tell the computer what to do
![Page 6: Intro ch 01_b](https://reader034.fdocuments.us/reader034/viewer/2022042606/5457c74eaf79594f558b513b/html5/thumbnails/6.jpg)
1B-6
Information Processing Cycle
• All the steps that are followed to process data into information is called IPC.– Input– Processing– Output– Storage
![Page 7: Intro ch 01_b](https://reader034.fdocuments.us/reader034/viewer/2022042606/5457c74eaf79594f558b513b/html5/thumbnails/7.jpg)
Information Processing Cycle
1B-7
![Page 8: Intro ch 01_b](https://reader034.fdocuments.us/reader034/viewer/2022042606/5457c74eaf79594f558b513b/html5/thumbnails/8.jpg)
1B-8
Essential Computer Hardware
• Computers use the same basic hardware
• Hardware categorized into four types:– Input – Memory devices– Processor– Output– Storage
![Page 9: Intro ch 01_b](https://reader034.fdocuments.us/reader034/viewer/2022042606/5457c74eaf79594f558b513b/html5/thumbnails/9.jpg)
Essential Computer Hardware
1B-9
![Page 10: Intro ch 01_b](https://reader034.fdocuments.us/reader034/viewer/2022042606/5457c74eaf79594f558b513b/html5/thumbnails/10.jpg)
1B-10
Input devices
• Input devices– Allows the user to interact with the
computer– Input devices accept data
• Keyboard, mouse
![Page 11: Intro ch 01_b](https://reader034.fdocuments.us/reader034/viewer/2022042606/5457c74eaf79594f558b513b/html5/thumbnails/11.jpg)
1B-11
Memory devices
• Memory devices– Computer Memory are internal storage
areas in the computer used to either temporarily or permanently store data or instructions to be processed
![Page 12: Intro ch 01_b](https://reader034.fdocuments.us/reader034/viewer/2022042606/5457c74eaf79594f558b513b/html5/thumbnails/12.jpg)
Memory devices
• Types of memory– Primary memory is also called
• main memory or internal memory or volatile memory)
1B-12
![Page 13: Intro ch 01_b](https://reader034.fdocuments.us/reader034/viewer/2022042606/5457c74eaf79594f558b513b/html5/thumbnails/13.jpg)
Memory devices …
• Primary memory– RAM– ROM– CPU registers– Cache memory
1B-13
![Page 14: Intro ch 01_b](https://reader034.fdocuments.us/reader034/viewer/2022042606/5457c74eaf79594f558b513b/html5/thumbnails/14.jpg)
Memory devices …• Random Access Memory (RAM)
– RAM is a type of memory device within the computer system which is responsible for storing data on temporary basis
– The data from the RAM is washed out when it is switched off
– The data from the RAM is accessed by the processor for processing
1B-14
![Page 15: Intro ch 01_b](https://reader034.fdocuments.us/reader034/viewer/2022042606/5457c74eaf79594f558b513b/html5/thumbnails/15.jpg)
Memory devices
• RAM types– Static RAM (SRAM):
• Not refreshed, more power consumption, faster than DRAM
– Dynamic RAM (DRAM):• Refreshed regularly, consume less power,
slower than SRAM• Examples are:
– SDRAM, DDR and Rambus DRAM
• Size of RAM– 2GB, 4GB, 8GB, 16GB and 24GB (installed on
Core i7)1B-15
![Page 16: Intro ch 01_b](https://reader034.fdocuments.us/reader034/viewer/2022042606/5457c74eaf79594f558b513b/html5/thumbnails/16.jpg)
Memory devices …
• Read Only Memory (ROM)– This type of memory is active, regardless of
whether the system is turned on or is switched off. – It is a kind of permanent non-volatile storage
memory. – As the name 'read only' suggests, the contents in it
cannot be changed or modified. – It is an integrated circuit which is pre-programmed
with important data that should necessarily be present for the computer to carry out its normal functionalities.
1B-16
![Page 17: Intro ch 01_b](https://reader034.fdocuments.us/reader034/viewer/2022042606/5457c74eaf79594f558b513b/html5/thumbnails/17.jpg)
Memory devices …
1B-17
• ROM chips– It usually contains a small startup program
(BIOS) that is used to bootstrap the computer
![Page 18: Intro ch 01_b](https://reader034.fdocuments.us/reader034/viewer/2022042606/5457c74eaf79594f558b513b/html5/thumbnails/18.jpg)
Memory devices …
• Read Only Memory (ROM) Types– ROM –
• Read Only Memory
– PROM – • Programmable Read Only Memory : Programmed once
– EPROM – • Erasable Programmable Read Only Memory: Programed
many times
– EEPROM – • Electrically Erasable Programmable Read Only Memory
– Flash EEPROM memory
1B-18
![Page 19: Intro ch 01_b](https://reader034.fdocuments.us/reader034/viewer/2022042606/5457c74eaf79594f558b513b/html5/thumbnails/19.jpg)
Memory devices …
• CPU register– Processor registers are located inside the
processor. – Each register typically holds a word of data
(often 32 or 64 bits). – Registers are the fastest of all forms of
computer data storage.
1B-19
![Page 20: Intro ch 01_b](https://reader034.fdocuments.us/reader034/viewer/2022042606/5457c74eaf79594f558b513b/html5/thumbnails/20.jpg)
Memory devices …
• Cache memory– Processor cache is an intermediate stage between
ultra-fast registers and much slower main memory– It is used to reduce the speed mismatch between
fastest speed registers and slow speed RAM – It's introduced solely to increase performance of
the computer. – Cache is divided into multiple level
• Level 1 (L1) cache or primary cache – being smallest, fastest and located inside the processor
• Level 2 (L2) and Level 3 (L3) cache or secondary cache – larger and slower than level 1 and located outside the CPU on motherboard
1B-20
![Page 21: Intro ch 01_b](https://reader034.fdocuments.us/reader034/viewer/2022042606/5457c74eaf79594f558b513b/html5/thumbnails/21.jpg)
Memory devices …
1B-21
![Page 22: Intro ch 01_b](https://reader034.fdocuments.us/reader034/viewer/2022042606/5457c74eaf79594f558b513b/html5/thumbnails/22.jpg)
1B-22
Processing devices (CPU)
• Processing devices– Brains of the computer– Carries out instructions from the program– Manipulate the data– Most computers have several processors– Central Processing Unit (CPU)– Secondary processors– Processors made of silicon and copper
![Page 23: Intro ch 01_b](https://reader034.fdocuments.us/reader034/viewer/2022042606/5457c74eaf79594f558b513b/html5/thumbnails/23.jpg)
Processor
1B-23
![Page 24: Intro ch 01_b](https://reader034.fdocuments.us/reader034/viewer/2022042606/5457c74eaf79594f558b513b/html5/thumbnails/24.jpg)
Processor …
1B-24
![Page 25: Intro ch 01_b](https://reader034.fdocuments.us/reader034/viewer/2022042606/5457c74eaf79594f558b513b/html5/thumbnails/25.jpg)
Processor …
1B-25
![Page 26: Intro ch 01_b](https://reader034.fdocuments.us/reader034/viewer/2022042606/5457c74eaf79594f558b513b/html5/thumbnails/26.jpg)
Processor…• Components of processor
– CU (Control Unit): • The control unit control all the activities of the processor
• It communicates with both the arithmetic/logic unit and memory (registers)
– ALU (Arithmetic Logic Unit):• Perform arithmetic and logical operations
• Arithmetic operation: X=a+b
• Logical operation: – X>Y or – percentage>=70 && percentage<80 then grade=A
– Registers:• A processor register is a small amount of storage available as
a part of a CPU
• 64 bits registers and 128 bits registers are used in latest CPU’s
1B-26
![Page 27: Intro ch 01_b](https://reader034.fdocuments.us/reader034/viewer/2022042606/5457c74eaf79594f558b513b/html5/thumbnails/27.jpg)
Output devices
• Output devices deliver data– Monitor, printer, speaker
1B-27
![Page 28: Intro ch 01_b](https://reader034.fdocuments.us/reader034/viewer/2022042606/5457c74eaf79594f558b513b/html5/thumbnails/28.jpg)
Input/output devices
• Some devices are input and output both– Touch screens
1B-28
![Page 29: Intro ch 01_b](https://reader034.fdocuments.us/reader034/viewer/2022042606/5457c74eaf79594f558b513b/html5/thumbnails/29.jpg)
1B-29
Storage devices …
• Secondary storage (also known as external memory or auxiliary storage), is a permanent storage that stores a large volume of data
• It differs from primary storage in that it is not directly accessible by the CPU and is also a permanent storage
• Types of secondary storage– Magnetic storage– Optical storage
![Page 30: Intro ch 01_b](https://reader034.fdocuments.us/reader034/viewer/2022042606/5457c74eaf79594f558b513b/html5/thumbnails/30.jpg)
Storage devices …
• Magnetic storage– Floppy and hard drive– Uses a magnet to access data
1B-30
![Page 31: Intro ch 01_b](https://reader034.fdocuments.us/reader034/viewer/2022042606/5457c74eaf79594f558b513b/html5/thumbnails/31.jpg)
Storage devices …
• Optical storage– CD and DVD drives– Uses a laser to access data
1B-31
![Page 32: Intro ch 01_b](https://reader034.fdocuments.us/reader034/viewer/2022042606/5457c74eaf79594f558b513b/html5/thumbnails/32.jpg)
Storage devices …
• Other secondary storage devices– Flash Memory: This is another non-volatile
(permanent) kind of memory which is intended to contribute to portable storage and a convenient transfer of data from one computer to another
• Memory cards and • USB flash drives are some modes of this type of
memory storage.
1B-32
![Page 33: Intro ch 01_b](https://reader034.fdocuments.us/reader034/viewer/2022042606/5457c74eaf79594f558b513b/html5/thumbnails/33.jpg)
1B-33
Software Runs The Machine
• Softwares are the computers programs that tell the computer to perform a specific task
• Two types– System software– Application software
![Page 34: Intro ch 01_b](https://reader034.fdocuments.us/reader034/viewer/2022042606/5457c74eaf79594f558b513b/html5/thumbnails/34.jpg)
1B-34
Software Runs The Machine
• System software– These are the most important softwares
that control the computer hardwares and make them ready for users operations
![Page 35: Intro ch 01_b](https://reader034.fdocuments.us/reader034/viewer/2022042606/5457c74eaf79594f558b513b/html5/thumbnails/35.jpg)
System softwares• Types of system softwares
– Operating system• Is the most important system software that that controls
the computer hardwares and run other application softwares.
• Examples: Windows XP, Vista, Windows 7
– Network operating system (OS)• Allows computers to communicate and share data across
a network• Examples: Windows Server 2003
– Utility• These are computer programs that are used to perform
highly specialized tasks• Examples: Symantec AntiVirus, disk management,
calculator etc.1B-35
![Page 36: Intro ch 01_b](https://reader034.fdocuments.us/reader034/viewer/2022042606/5457c74eaf79594f558b513b/html5/thumbnails/36.jpg)
1B-36
Application software
• Application software– Accomplishes a specific task– Most common type of application softwares
• Word processing– MS Word
• Graphics• Spreadsheet
– MS Excel
• Database management– MS Access
• Multimedia • Web designing
![Page 37: Intro ch 01_b](https://reader034.fdocuments.us/reader034/viewer/2022042606/5457c74eaf79594f558b513b/html5/thumbnails/37.jpg)
1B-37
Computer data
• Fact with no meaning on its own
• Stored using the binary number system
• Data can be organized into files
• Always be in raw form
• Cannot be used for decision making purpose
• Always used as input to the computers
![Page 38: Intro ch 01_b](https://reader034.fdocuments.us/reader034/viewer/2022042606/5457c74eaf79594f558b513b/html5/thumbnails/38.jpg)
1B-38
Computer users
• Role depends on ability– Setup the system– Install software– Mange files– Maintain the system
• “Userless” computers– Run with no user input– Automated systems– Controlled by the installed operating system– Examples: washer and dryers machines, automatic
cars etc.
![Page 39: Intro ch 01_b](https://reader034.fdocuments.us/reader034/viewer/2022042606/5457c74eaf79594f558b513b/html5/thumbnails/39.jpg)
Copyright © 2006 by The McGraw-Hill Companies, Inc. All rights reserved.
McGraw-Hill Technology Education
Chapter 1B
End of ChapterEnd of Chapter