introduction to computers

31
INTRODUCTION TO COMPUTERS Computer Components – Hardware (cont.) Lecture 3

Upload: romeo

Post on 23-Feb-2016

33 views

Category:

Documents


0 download

DESCRIPTION

Introduction to Computers . Computer Components – Hardware (cont.) Lecture 3. Outline. Computer Components Hardware Components Central Processing Unit Input Units Output Units Memory Unit Storage Units. Computer Components. Computers have two main components: Hardware - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Introduction to Computers

INTRODUCTION TO COMPUTERS Computer Components – Hardware (cont.)Lecture 3

Page 2: Introduction to Computers

OutlineComputer Components Hardware Components Central Processing Unit Input Units Output Units Memory Unit Storage Units

2

Page 3: Introduction to Computers

Computer Components Computers have two main components:

HardwarePhysical components like screen and

keyboard

SoftwareSet of instructions that tells the computer

what to do and how to do it

3

Page 4: Introduction to Computers

Hardware Components4

Central Processing Unit Input Units Output Units Memory Unit Storage Units

Page 5: Introduction to Computers

Kinds of Memory

Primary Memory

Secondary

Memory

Memory Unit

Page 6: Introduction to Computers

1- Primary Memory

Forms of Primary Memory

ROM Cash Memory

Flash MemoryRAM

Page 7: Introduction to Computers

1- RAM (Random Access Memory)

Main memory in a computer. It work when the computer is run, all

software must holds from the hard drive to the main memory to work on it.

All the user work are stored in this memory until saved it on the hard disk or another storage device.

RAM is volatile, means the data will be lost once the computer shuts down, So it is recommended to save work first by first.

RAM is measured in Megabytes(MB) and memory speed measured in Megahertz(MHz).

Page 8: Introduction to Computers

2- ROM (Read Only Memory) It is very small capacity and keeps

instructions which make the computer work.

It is not volatile. The computer cannot write on it or use it.

Page 9: Introduction to Computers

3- Cache memory It is linked to the CPU. It is very fast. Keeps the data and programs that are

used a lot so to decrease the calling time from the main memory and increase speed of the computer.

These days the capacity reach to 32768 KB.

Page 10: Introduction to Computers

Memory 4- Flash It is not volatile like ROM. The data are stored into blocks, so it

saves and erased data in fast way. Used to save BIOS in the computer. It can be used in Mobiles, Portables,

digital camera and printers.

Page 11: Introduction to Computers

Power CutsIf there is a power cut while the

computer is On: 1- Unsaved information will be lost.2- Some files or programs may be corrupted.

When you open the device again after return the electricity implemented program is check the hard drive automatically to news about the mistakes and failures the action .

Page 12: Introduction to Computers

To decrease the damaged when the power cuts, do the following:

1- Turn off the computer and unplugged.2- Use Surge protectors.3- Use an Uninterrupted Power Supply(UPS)

that will keep the computer running for a little period to save your work and shut down your computer.

Page 13: Introduction to Computers

Representing Data in the Computer Main memory similar human memory and secondary

memory like WordPad or the book, both to remember certain information but operate in a special way.

The data are stored in the computer by using binary system (symbols 0.1).

Off = 0 , On=1 Each of these symbols are named (bit), bit is shortcut for

Binary Digits. Each 8-bit called (Byte) (8 bits = 1 byte). Byte is the number of binary units that required to

represent a single code in a computer. Memory capacity are measured by Megabyte. Transmission rate of data from and to memory are

measured by the number of bits per second Bits per seconds(bps)

Page 14: Introduction to Computers

Bit 1,0

Byte 8 Bit (one character)

Kilo Byte 1024 Byte= 210 Byte

Mega Byte 1024 Kilo Byte= 220 Byte

Giga Byte 1024 Mega Byte= 230 Byte

Tera Byte 1024 Giga Byte= 240 Byte

Memory Capacity Measurement

Page 15: Introduction to Computers

TerabyteGigabyteMegabyteKilobyte

Byte

Bit

1024×

8×10

24÷

Page 16: Introduction to Computers

ExerciseWe have a memory of a

computer store 2097152 bytes of data

What is the size of the data of KB unit?

If one of KB = 1024 bytesThe 2097152 bytes ÷ 1024 = 2048 KB

Page 17: Introduction to Computers

Memory Chips RAM is manufactured on Chips. Chips are assembled on small cards that

can be inserted into slots of the motherboard.

Each card has a storage capacity (16-32-64-128) MB.

You can adding extra memory to the computer to upgrade your computer.

Page 18: Introduction to Computers

Secondary Storage Used to store software and data files

permanently before shutting down your computer.

Slower than the main memory. It has different types and each have

special drive, you must put it before use.

Page 19: Introduction to Computers

Hardware Components19

Input Units

Output Units

Control Unit

Storage Unit

ALU Unit

Page 20: Introduction to Computers

Hardware Components20

Input Units

Output Units

Control Unit

Storage Unit

ALU Unit

Page 21: Introduction to Computers

Storage Unit21

Storage Unit

Internal Unit

External Unit

Page 22: Introduction to Computers

Internal Storage Device1- Hard Disk: The most important storage media

because it is very fast and high capacity (Gigabyte)

Located inside the system unit. It is composed of several magnetic disks

in a signal unit. Extra hard disk can be added externally

or internally.

Page 23: Introduction to Computers

External Storage Device23

Floppy Disk Optical Disk USB Flash Drive External Hard Desk

Page 24: Introduction to Computers

1- Floppy Disk: It is a magnetic disk in plastic case. It is small and portable. Inexpensive. It has 1.4 MB capacity. It is used to transfer files from one

computer to another. Slower than the hard disk.

External Storage Device

Page 25: Introduction to Computers

2- CD-ROM (Compact Disk - Read Only Memory)

Uses laser to read information. It can store large amount of data up to 750MB Used to store multimedia software. Slower than the hard disk. The computer must be has a special drive to read or

write this disk.There are tow basic types of CDs:1- CD-R (Recordable): can be written to once, and can be

read many times.2- CD-RW (Rewritable): can change, erase and add more

data.

External Storage Device

Page 26: Introduction to Computers

3- DVD (Digital Versatile Disk): Uses optical discs technique. High capacity measured in Gigabytes. Used to store high quality films and video. It can store large amount of data between 4.7 to 17 GB.

4- Zip Disc: Similar to floppy disks but bigger. It can store large amount of data (100-750 MB)

5- USB flash drive: Small and can be placed into pocket. Used to save and transmit large multimedia files. To use it, connecting to a USB port.

External Storage Device

Page 27: Introduction to Computers

6- Magnetic Tape: It is made of flexible plastic coated

on one side with magnetic material. Used to mainly provide duplicate

storage as a backup.7- Smart Card: Looks like credit card. Contain a microprocessor and memory

chip. Ex. Telephone Cards.

External Storage Device

Page 28: Introduction to Computers

Stored Data Storage devices are important because

they are stored the data away of the main memory.

A Set of characters makes a Field. A Set of fields makes a Record. A Set of records makes a File. Files are stored in a Directory. Each files have a name (chosen by the

user) and extension (selected by the program)

Page 29: Introduction to Computers

There are a lot of operations that can be made on files:

1- Creating, naming and saving file.2- Copying, moving and deleting file.3- Retrieving information.4- Displaying, updating and printing file.5- Uploading and downloading file.6- Exporting and importing file.7- Compressing and protecting file.

Page 30: Introduction to Computers

Computer Performance

Computer Performance:Factors that affect the speed of CPU processing:1- Clock Speed: the faster clock speed increased

the instructions that will be executed per second and so increase the speed of the computer

2- Main Memory Capacity: If the amount of your work is greater than the memory capacity, the computer will be use a part of a hard disk, but it is slower than the main memory.

3- Hard Disk Speed: the access speed of data and software will affect computer performance.

Page 31: Introduction to Computers

Computer Performance

4- Bus Speed: is an electrical pathway which carries the data and commands between the parts of the computer.

Address Bus: transfer information about where the data should go.

Data bus: transfer actual data to the desired address. Control Bus: carries commands from the CPU to other

parts (what they must doing).5- Graphics Acceleration: it has processor and

special memory for displaying graphics. 6- Number of Running Applications: if you run

many applications at the same time the performance will be decrease.