Computer fundamentals
Chia sẻ bởi Nguyễn Việt Vương |
Ngày 29/04/2019 |
106
Chia sẻ tài liệu: Computer fundamentals thuộc Bài giảng khác
Nội dung tài liệu:
How a Computer Processes Data
Computer fundamentals
Objectives
Identify computer system components.
Explain how the CPU works.
Differentiate between RAM and ROM.
Describe how data is represented.
Computer System Components
A computer system requires many components to do its job:
It requires some device or method to input data so it can be processed.
It requires circuits and programs in order to process the data.
It needs some type of output device to give the result of its processing to the user.
It needs some mechanism for storing data.
Common System Components
This figure shows several devices that are common com-ponents of a com-puter system.
System Motherboard
Inside the case of a modern PC is the motherboard, which contains the electronic circuitry of the computer.
Components found on the motherboard include
The primary processing chip (CPU).
The memory chips.
Expansion slots for system interface cards.
Ports for connecting external devices.
BIOS chips that control system start-up.
The circuitry that enables all of these components to communicate.
Example of a Motherboard
This figure shows the devices inside a PC case, including the motherboard, the power supply, and some storage devices.
The Central Processing Unit
The CPU is the brains of a computer system.
The CPU is housed on a silicon chip that contains millions of switches and circuits.
The CPU has two primary sections:
Arithmetic/Logic Unit (ALU)
This section performs arithmetic and logical operations.
Control Unit
This section is the boss of the CPU and coordinates all activity within the CPU. It uses programming instructions to control what actions the CPU performs and when it performs them.
A CPU Chip
This figure shows a CPU chip for a small computer. The CPU determines which of the millions of switches that it contains should be turned on or off by processing program statements that tell it what to do.
Computer programs are written in programming languages, and each program statement causes one or more actions to occur in the CPU.
Original chips were numbered
8086, 80286, 80386, 80486
You could buy chips from multiple vendors
Intel trademarked its chip as the Pentium
Pentium II, Pentium III, Pentium IV
Clock speed (MHz or GHz) differentiates chips
The central processing unit (cpu) or “brain” of the PC
The Microprocessor
Computer Memory
Data being processed by a CPU is stored in system memory.
Memory consists of addressable locations within the machine that the computer can access directly.
Data stored in memory is not permanent. If the power fails, everything in memory is lost.
Data must be stored on a disk or some other device when not being processed so it is not lost each time the computer shuts down.
Types of Memory
RAM – Random Access Memory
This is short-term memory where data is processed while a program is running.
Data stored here can be accessed and modified as needed.
This type of memory loses any data it holds if the computer is shut down.
ROM – Read-Only Memory
ROM is memory placed on the motherboard by the manufacturer and contains instructions that tell the computer how to start itself.
This data cannot be accessed or modified by application programs.
The contents of this memory are not lost when the computer is shut down.
Auxiliary Storage
Floppy Disk
No longer standard
Hard (fixed) disk
30 Gb and higher
5400rpm, 7200 rpm
Removable storage
CD-ROM
CD-R/CD-RW
DVD/DVD-R/DVD-RW
(Digital Video Disk HD)
Zip disks
Tape
Disk Storage
Based on bytes per track per sector
1 track on 1 Sector contains 512 bytes
Track-sector on each surface (top & bottom)
Storage = 1,024 bytes per track-sector (top & bottom) = 1K
Disk Storage
Cylinder
Same track on each surface make up a cylinder
All data in one cylinder can be read without moving read/write arm
The Instruction and Execution Cycles
This figure illustrates the basic cycle involved in process-ing a program statement. This process is called the instruction cycle. The amount of time required to complete the instruction cycle is referred to as the execution cycle.
The Machine Cycle
The instruction cycle and one or more exe-cution cycles create a machine cycle, as shown here. Machine cycles are measured in microseconds, and the faster your computer can process machine cycles, the faster it can process data.
Computer System Controllers
A PC motherboard also contains several controllers.
Controllers are devices that control the transfer of data between the computer and peripheral devices.
Common peripheral devices include a mouse, a monitor, a printer, a keyboard, and so on.
Controllers are usually found on a single chip which can handle all usual devices.
Input Devices
The Monitor
Resolution is expressed in picture elements or pixels; (800 x 600 or 1024 x 768)
The higher the resolution, the more you can see at one time.
Larger monitors enable you to you run at higher resolutions; e.g., 19” to run 1024 x 768 comfortably
A graphics card speeds processing
Lower Resolution (800 x 600)
Displays 20 rows and 8 columns
Higher Resolution (1024 x 768)
Displays 28 rows and 12 columns
The Printer
Ink Jet
Today’s entry level
Laser
Top-of-the line
Four-in-one functionality
Printer, scanner, fax, copier
Network printer
The Digital Camera
An image is stored on a photosensitive computer chip, which converts the image to a series of pixels
2 megapixels is entry-level
3 megapixels is better
5+ megapixels
There is no film; images are stored in memory; the more memory the more pictures
64Mb to 128Mb is suggested
Ports and Expansion Slots
Serial and parallel ports are used to connect peripheral devices to the computer circuitry.
Serial devices (mice/monitors) transmit data one bit at a time.
Parallel devices (printers) transmit data several bits at time.
USB is a newer, high-speed method of connecting devices and is beginning to replace serial and parallel ports.
Expansion slots are electrical connections in the motherboard that can accept circuit cards to perform specific functions.
These are commonly used to plug in sound cards, video cards, scanners, and other devices.
A Typical Expansion Card
It has electrical prongs along the bottom to plug into the expansion slot and make an electrical connection to the main board.
This port sticks out of the back of the PC case and is used to attach the device that this card controls.
Data Representation
Data is stored in a computer in binary format as a series of 1s and 0s.
Computers use standardized coding systems (such as ASCII) to determine what character or number is represented by what series of binary digits.
Data is stored in a series of 8-bit combinations called a byte.
Every letter, number, punctuation mark, or symbol has its own unique combination of ones and zeros.
Summary
Just about all computers perform the same general options: input, processing, output, and storage.
Input, output, and processing devices grouped together represent a computer system.
The motherboard is the center of all processing.
The motherboard contains the CPU, memory, and basic controllers for the system.
Summary (continued)
The motherboard also contains ports and expansion slots.
The central processing unit is the brains of the computer.
The computer is given instructions through computer programs.
The CPU has two main sections—the arithmetic logic unit and the control unit.
Summary (continued)
All calculations and comparisons take place in the ALU.
The control unit coordinates the CPU activities.
The motherboard contains different types of memory.
Random access memory is volatile and is used to store instructions, data, and information temporarily.
Summary (continued)
Read-only memory is nonvolatile and is used to store instructions, data, and information temporarily.
The machine cycle is made up of the instruction cycle and the execution cycle.
A controller is used to control the transfer of data between the computer and peripheral devices.
Peripheral devices are connected to the computer through serial and parallel ports.
Summary (continued)
The Universal Serial Bus is a new standard expected to replace serial and parallel ports.
Expansion boards are used to connect specialized peripheral devices or to add more memory to the computer.
The ASCII code is a standard code used to represent the alphabet, numbers, symbols, and punctuation marks.
Computer fundamentals
Objectives
Identify computer system components.
Explain how the CPU works.
Differentiate between RAM and ROM.
Describe how data is represented.
Computer System Components
A computer system requires many components to do its job:
It requires some device or method to input data so it can be processed.
It requires circuits and programs in order to process the data.
It needs some type of output device to give the result of its processing to the user.
It needs some mechanism for storing data.
Common System Components
This figure shows several devices that are common com-ponents of a com-puter system.
System Motherboard
Inside the case of a modern PC is the motherboard, which contains the electronic circuitry of the computer.
Components found on the motherboard include
The primary processing chip (CPU).
The memory chips.
Expansion slots for system interface cards.
Ports for connecting external devices.
BIOS chips that control system start-up.
The circuitry that enables all of these components to communicate.
Example of a Motherboard
This figure shows the devices inside a PC case, including the motherboard, the power supply, and some storage devices.
The Central Processing Unit
The CPU is the brains of a computer system.
The CPU is housed on a silicon chip that contains millions of switches and circuits.
The CPU has two primary sections:
Arithmetic/Logic Unit (ALU)
This section performs arithmetic and logical operations.
Control Unit
This section is the boss of the CPU and coordinates all activity within the CPU. It uses programming instructions to control what actions the CPU performs and when it performs them.
A CPU Chip
This figure shows a CPU chip for a small computer. The CPU determines which of the millions of switches that it contains should be turned on or off by processing program statements that tell it what to do.
Computer programs are written in programming languages, and each program statement causes one or more actions to occur in the CPU.
Original chips were numbered
8086, 80286, 80386, 80486
You could buy chips from multiple vendors
Intel trademarked its chip as the Pentium
Pentium II, Pentium III, Pentium IV
Clock speed (MHz or GHz) differentiates chips
The central processing unit (cpu) or “brain” of the PC
The Microprocessor
Computer Memory
Data being processed by a CPU is stored in system memory.
Memory consists of addressable locations within the machine that the computer can access directly.
Data stored in memory is not permanent. If the power fails, everything in memory is lost.
Data must be stored on a disk or some other device when not being processed so it is not lost each time the computer shuts down.
Types of Memory
RAM – Random Access Memory
This is short-term memory where data is processed while a program is running.
Data stored here can be accessed and modified as needed.
This type of memory loses any data it holds if the computer is shut down.
ROM – Read-Only Memory
ROM is memory placed on the motherboard by the manufacturer and contains instructions that tell the computer how to start itself.
This data cannot be accessed or modified by application programs.
The contents of this memory are not lost when the computer is shut down.
Auxiliary Storage
Floppy Disk
No longer standard
Hard (fixed) disk
30 Gb and higher
5400rpm, 7200 rpm
Removable storage
CD-ROM
CD-R/CD-RW
DVD/DVD-R/DVD-RW
(Digital Video Disk HD)
Zip disks
Tape
Disk Storage
Based on bytes per track per sector
1 track on 1 Sector contains 512 bytes
Track-sector on each surface (top & bottom)
Storage = 1,024 bytes per track-sector (top & bottom) = 1K
Disk Storage
Cylinder
Same track on each surface make up a cylinder
All data in one cylinder can be read without moving read/write arm
The Instruction and Execution Cycles
This figure illustrates the basic cycle involved in process-ing a program statement. This process is called the instruction cycle. The amount of time required to complete the instruction cycle is referred to as the execution cycle.
The Machine Cycle
The instruction cycle and one or more exe-cution cycles create a machine cycle, as shown here. Machine cycles are measured in microseconds, and the faster your computer can process machine cycles, the faster it can process data.
Computer System Controllers
A PC motherboard also contains several controllers.
Controllers are devices that control the transfer of data between the computer and peripheral devices.
Common peripheral devices include a mouse, a monitor, a printer, a keyboard, and so on.
Controllers are usually found on a single chip which can handle all usual devices.
Input Devices
The Monitor
Resolution is expressed in picture elements or pixels; (800 x 600 or 1024 x 768)
The higher the resolution, the more you can see at one time.
Larger monitors enable you to you run at higher resolutions; e.g., 19” to run 1024 x 768 comfortably
A graphics card speeds processing
Lower Resolution (800 x 600)
Displays 20 rows and 8 columns
Higher Resolution (1024 x 768)
Displays 28 rows and 12 columns
The Printer
Ink Jet
Today’s entry level
Laser
Top-of-the line
Four-in-one functionality
Printer, scanner, fax, copier
Network printer
The Digital Camera
An image is stored on a photosensitive computer chip, which converts the image to a series of pixels
2 megapixels is entry-level
3 megapixels is better
5+ megapixels
There is no film; images are stored in memory; the more memory the more pictures
64Mb to 128Mb is suggested
Ports and Expansion Slots
Serial and parallel ports are used to connect peripheral devices to the computer circuitry.
Serial devices (mice/monitors) transmit data one bit at a time.
Parallel devices (printers) transmit data several bits at time.
USB is a newer, high-speed method of connecting devices and is beginning to replace serial and parallel ports.
Expansion slots are electrical connections in the motherboard that can accept circuit cards to perform specific functions.
These are commonly used to plug in sound cards, video cards, scanners, and other devices.
A Typical Expansion Card
It has electrical prongs along the bottom to plug into the expansion slot and make an electrical connection to the main board.
This port sticks out of the back of the PC case and is used to attach the device that this card controls.
Data Representation
Data is stored in a computer in binary format as a series of 1s and 0s.
Computers use standardized coding systems (such as ASCII) to determine what character or number is represented by what series of binary digits.
Data is stored in a series of 8-bit combinations called a byte.
Every letter, number, punctuation mark, or symbol has its own unique combination of ones and zeros.
Summary
Just about all computers perform the same general options: input, processing, output, and storage.
Input, output, and processing devices grouped together represent a computer system.
The motherboard is the center of all processing.
The motherboard contains the CPU, memory, and basic controllers for the system.
Summary (continued)
The motherboard also contains ports and expansion slots.
The central processing unit is the brains of the computer.
The computer is given instructions through computer programs.
The CPU has two main sections—the arithmetic logic unit and the control unit.
Summary (continued)
All calculations and comparisons take place in the ALU.
The control unit coordinates the CPU activities.
The motherboard contains different types of memory.
Random access memory is volatile and is used to store instructions, data, and information temporarily.
Summary (continued)
Read-only memory is nonvolatile and is used to store instructions, data, and information temporarily.
The machine cycle is made up of the instruction cycle and the execution cycle.
A controller is used to control the transfer of data between the computer and peripheral devices.
Peripheral devices are connected to the computer through serial and parallel ports.
Summary (continued)
The Universal Serial Bus is a new standard expected to replace serial and parallel ports.
Expansion boards are used to connect specialized peripheral devices or to add more memory to the computer.
The ASCII code is a standard code used to represent the alphabet, numbers, symbols, and punctuation marks.
* Một số tài liệu cũ có thể bị lỗi font khi hiển thị do dùng bộ mã không phải Unikey ...
Người chia sẻ: Nguyễn Việt Vương
Dung lượng: |
Lượt tài: 4
Loại file:
Nguồn : Chưa rõ
(Tài liệu chưa được thẩm định)