42
LEC 3. COMPUTER HARDWARE & SOFTWARE PTI Semester Ganjil 2015-2016

PTI Semester Ganjil 2015-2016. Materi Hardware Computer Software

Embed Size (px)

Citation preview

Page 1: PTI Semester Ganjil 2015-2016. Materi  Hardware Computer  Software

LEC 3. COMPUTER HARDWARE & SOFTWARE

PTI Semester Ganjil 2015-2016

Page 2: PTI Semester Ganjil 2015-2016. Materi  Hardware Computer  Software

Materi

Hardware Computer Software

Page 3: PTI Semester Ganjil 2015-2016. Materi  Hardware Computer  Software

HARDWARE

Page 4: PTI Semester Ganjil 2015-2016. Materi  Hardware Computer  Software

Basic Concepts of Computer Hardware

This model of the typical digital computer is often called the von Neumann computer.

Programs and data are stored in the same memory: primary memory.

The computer can only perform one instruction at a time.

CPU(Central Processing Unit)

InputUnits

OutputUnits

Primary Memory

Page 5: PTI Semester Ganjil 2015-2016. Materi  Hardware Computer  Software

Basic Concepts of Computer Hardware Input/Output (I/O): Refers to the

process of getting information into and out of the computer. Input: Those parts of the computer

receiving information to programs. Output: Those parts of the computer

that provide results of computation to the person using the computer.

Page 6: PTI Semester Ganjil 2015-2016. Materi  Hardware Computer  Software

Sources of Datafor the Computer

Two types of data stored within a computer: Original data or information: Data being

introduced to a computing system for the first time. Computers can deal directly with printed text,

pictures, sound, and other common types of information.

Previously stored data or information: Data that has already been processed by a computer and is being stored for later use. These are forms of binary data useful only to the

computer. Examples: Floppy disks, DVD disks, and music CDs.

Page 7: PTI Semester Ganjil 2015-2016. Materi  Hardware Computer  Software

Input Devices

Two categories of input hardware: Those that deal with original data. Those that handle previously stored

data.

Page 8: PTI Semester Ganjil 2015-2016. Materi  Hardware Computer  Software

Input Devices

Input hardware: Those that deal with original data. Keyboard Mouse Voice recognition hardware Scanner Digital camera

Digitizing: The process of taking a visual image, or audio recording and converting it to a binary form for the computer. Used as data for programs to display, play or

manipulate the digitized data.

Page 9: PTI Semester Ganjil 2015-2016. Materi  Hardware Computer  Software

Input Devices

Connecting Hardware to the computer: Hardware needs access through some general

input/output connection. Port: The pathway for data to go into and out of

the computer from external devices such as keyboards. There are many standard ports as well as custom

electronic ports designed for special purposes. Ports follow standards that define their use.

SCSI, USB: Multiple peripheral devices (chain). RS-232, IDE: Individual peripheral devices.

Peripheral device: A piece of hardware like a printer or disk drive, that is outside the main computer.

Page 10: PTI Semester Ganjil 2015-2016. Materi  Hardware Computer  Software

Input Devices

Connecting Hardware to the computer: (continued) Hardware needs software on the

computer that can service the device. Device driver: Software addition to the

operating system that will allow the computer to communicate with a particular device.

Page 11: PTI Semester Ganjil 2015-2016. Materi  Hardware Computer  Software

Input Devices

Common Basic Technologies for Storing Binary Information: Electronic Magnetic Optical

Page 12: PTI Semester Ganjil 2015-2016. Materi  Hardware Computer  Software

Input Devices

Electronic Circuits Most expensive of the three forms for

storing binary information. A flip-flop circuit has either one

electronic status or the other. It is said to flip-flop from one to the other.

Electronic circuits come in two forms: Permanent Non-permanent

Page 13: PTI Semester Ganjil 2015-2016. Materi  Hardware Computer  Software

Input Devices

Magnetic Technology Two parts to most of the magnetic forms of

information storage: The medium that stores the magnetic

information. Example: Floppy disk. Tiny spots on the disk are

magnetized to represent 0s and 1s. The device that can “read” that information

from the medium. The drive spins the disk. It has a magnetic sensing arm that moves over

the disk. Performs nondestructive reading.

Page 14: PTI Semester Ganjil 2015-2016. Materi  Hardware Computer  Software

Input Devices

Optical Uses lasers to “read” the binary

information from the medium, usually a disc. Millions of tiny holes are “burned” into the

surface of the disc. The holes are interpreted as 1s. The

absence of holes are interpreted as 0s.

Page 15: PTI Semester Ganjil 2015-2016. Materi  Hardware Computer  Software

Input Devices

Secondary Memory Input Devices These input devices are used by a

computer to store information and then to retrieve that information as needed. External to the computer. Commonly consists of floppy disks, hard

disk drives, or CD-ROMs. Secondary memory uses binary.

The usual measurement is the byte. A byte consists of 8 binary digits (bits). The

byte is a standard unit.

Page 16: PTI Semester Ganjil 2015-2016. Materi  Hardware Computer  Software

Input Devices

The four most important characteristics of storage devices: Speed and access time Cost / Removable versus non-removable Capacity Type of access

Page 17: PTI Semester Ganjil 2015-2016. Materi  Hardware Computer  Software

Input Devices

Speed (Access time) - How fast information can be taken from or stored onto the computer memory device’s medium. Electronic circuits: Fastest to access.

40 billionths of a second. Floppy disks: Very slow in comparison.

Takes up to 1/2 second to reach full speed before access is even possible.

Page 18: PTI Semester Ganjil 2015-2016. Materi  Hardware Computer  Software

Input Devices Cost

Megabyte: A Million bytes. Gigabyte: A billion bytes.

Two parts to a removable secondary storage device: The cost of the medium. (Cheaper if bought in quantity)

The cost of the drive.Examples: Cost for drive Cost for medium

Floppy drive (1.4MB) 59.00 .50Zip 100 (100 MB) 99.00 10.00CD-WR (650 MB) 360.00 and up1.00

Page 19: PTI Semester Ganjil 2015-2016. Materi  Hardware Computer  Software

Input Devices

Capacity - The amount of information that can be stored on the medium.Unit Description Approximate Size

1 bit 1 binary digit1 nibble 4 bits1 byte 8 bits 1 character1 kilobyte 1,024 bytes 1/2 page, double spaced1 megabyte 1,048,576 bytes 500,000 pages

1 million bytes1 gigabyte 1,073,741,824 bytes 5 million pages

1 billion bytes1 terabyte 1 trillion bytes 5 billion pages

Page 20: PTI Semester Ganjil 2015-2016. Materi  Hardware Computer  Software

Input Devices

Type of Access Sequential - Obtained by proceeding

through the storage medium from the beginning until the designated area is reached (as in magnetic tape).

Random Access - Direct access (as in floppy and hard disks).

Page 21: PTI Semester Ganjil 2015-2016. Materi  Hardware Computer  Software

Primary Memory

Primary storage or memory: Is where the data and program that are currently in operation or being accessed are

stored during use. Consists of electronic circuits: Extremely fast

and expensive. Two types:

RAM (non-permanent) Programs and data can be stored here for the

computer’s use. Volatile: All information will be lost once the

computer shuts down. ROM (permanent)

Contents do not change.

Page 22: PTI Semester Ganjil 2015-2016. Materi  Hardware Computer  Software

When Do I Use RAM and ROM?

Type of Memory What Does It Do? When Is It Used?

Read-only memory (ROM)

Stores permanent information like telling the computer how to start up

When you turn a computer on or off

Random-access memory (RAM)

Stores temporary information when you are working in a file

When you start and use software

Page 23: PTI Semester Ganjil 2015-2016. Materi  Hardware Computer  Software

The Central Processing Unit

The Central Processing Unit ( CPU) Often referred to as the “brain” of the computer. Responsible for controlling all activities of the

computer system. The three major components of the CPU are:

1. Arithmetic Unit (Computations performed)Accumulator (Results of computations kept here)

2. Control Unit (Has two locations where numbers are kept)Instruction Register (Instruction placed here for analysis)Program Counter (Which instruction will be performed next?)

3. Instruction Decoding Unit (Decodes the instruction)

Motherboard: The place where most of the electronics including the CPU are mounted.

Page 24: PTI Semester Ganjil 2015-2016. Materi  Hardware Computer  Software

Processing – CPU components

Control Unit

Clock cycle regulates all operations

Arithmetic-Logic Unit (ALU)Add Gates – Half adder, full adderAND/OR/NOT gates

MemoryRAM –

Static Dynamic

ROM

Page 25: PTI Semester Ganjil 2015-2016. Materi  Hardware Computer  Software

Output Devices

Output units store and display information (calculated results and other messages) for us to see and use. Floppy disk drives and Hard disk drives. Display monitors: Hi-resolution monitors come

in two types: Cathode ray tube (CRT) - Streams of electrons

make phosphors glow on a large vacuum tube. Liquid crystal display (LCD) - A flat panel

display that uses crystals to let varying amounts of different colored light to pass through it. Developed primarily for portable computers.

Page 26: PTI Semester Ganjil 2015-2016. Materi  Hardware Computer  Software

Output Devices

Audio Output Devices Windows machines need special audio card for

audio output. Macintosh has audio playback built in. Audio output is useful for:

Music CD player is a computer. Most personal computers have CD players that can

access both music CDs and CD-ROMs. Voice synthesis (becoming more human sounding.) Multimedia Specialized tasks (i.e.: elevator’s floor

announcements)

Page 27: PTI Semester Ganjil 2015-2016. Materi  Hardware Computer  Software

Data Storage Devices

The hard-drive is a mechanical storage device typically located internally. Fast recording and recovery

of data Large storage capacity Magnetic Primary storage device for

data and programs Speed is measured in

R.P.M.’s

Page 28: PTI Semester Ganjil 2015-2016. Materi  Hardware Computer  Software

Data Storage Devices (cont’d) CD-ROM (compact

disk read only memory) Approximately 600 to

700 megabyte of storage

An optical device read by a diode laser

Page 29: PTI Semester Ganjil 2015-2016. Materi  Hardware Computer  Software

Data Storage Devices (cont’d) Floppy diskette is

magnetic storage device for small amounts of data (1.44MB).

FLASH drive is a compact and portable electronic storage device. USB (plug and

play) supported

Page 30: PTI Semester Ganjil 2015-2016. Materi  Hardware Computer  Software

Computer Memory

Computer memory is binary (0 or 1) (on or off).

The byte is the standard unit of measurement.

A byte is composed of 8 bits (binary digits). Typical units of measurement:

1 KB (kilobyte) = 1000 bytes 1 MB (megabyte) =1000 kilobytes or 1 million

bytes 1 GB (gigabyte) =1000 megabytes or 1 billion

bytes

Page 31: PTI Semester Ganjil 2015-2016. Materi  Hardware Computer  Software

Computer Memory

RAM (random access memory) stores data that is processing. This type of memory is erased when the computer is turned off.

ROM (read only memory) contains special instructions for the computer to operate.

Cache memory increases the speed of the processor by recording and anticipating instructions.

Page 32: PTI Semester Ganjil 2015-2016. Materi  Hardware Computer  Software

Video Cards

Video cards plug into the motherboard and are used to display video.

VRAM is video memory that enhances the refreshment rate of the image.

Video cards have chipsets that can increase the speed of video display.

Page 33: PTI Semester Ganjil 2015-2016. Materi  Hardware Computer  Software

Ports and Peripherals

Ports are an interface between the computer and another peripheral device such as a disk drive, mouse, printer, modem, monitor, camera, FLASH drive or keyboard.Examples:

Serial Parallelhot-wire USB

Page 34: PTI Semester Ganjil 2015-2016. Materi  Hardware Computer  Software

Ports and Peripherals

Peripherals are devices that plug into a computer and are not housed internally.Examples:

PrintersScannersCameras

Page 35: PTI Semester Ganjil 2015-2016. Materi  Hardware Computer  Software

Resolution

Resolution refers to the number of pixels (picture elements) in the monitor image.

Increased resolution uses more computer resources but increases the visual clarity of the display.

Page 36: PTI Semester Ganjil 2015-2016. Materi  Hardware Computer  Software

Resolution

Screen resolution is measured in pixel per inch (ppi), and printer resolution is measured in dots per inch (dpi).

Computer screen resolution is approximately 72 ppi.

Width x Height (Pixels) Video Display640 x 480 Low Resolution800 x 600 Medium Resolution1600 x 1200 High Resolution

Page 37: PTI Semester Ganjil 2015-2016. Materi  Hardware Computer  Software

Software

Software is the set of instructions that lets you “talk” to your computer. Software translates commands into bits and bytes. Different types of software have different functions:

Operating system (OS) software - makes your computer work

Application software - lets you do different tasks on your computer

Utility software - helps you maintain your computer and keep it in good running condition

Page 38: PTI Semester Ganjil 2015-2016. Materi  Hardware Computer  Software

Software

How Do I Use Software?It is important to choose the right software program for the type of task you want to do:

Page 39: PTI Semester Ganjil 2015-2016. Materi  Hardware Computer  Software

Software

Page 40: PTI Semester Ganjil 2015-2016. Materi  Hardware Computer  Software

Software

What Is an Operating System? The operating system (OS) controls

all other software and allows the hardware devices to work properly. Some popular operating systems are: Microsoft Windows - for PCs Mac OS - for Apple computers Linux - for very large network computers Mobile operating systems – Android, IOS,

Blackberry OS

Page 41: PTI Semester Ganjil 2015-2016. Materi  Hardware Computer  Software

Graphic User Interface (GUI) GUI (Graphic User Interface) is a set

of images and icons seen on the desktop used to operate a program. The GUI makes the programs loaded

on the computer easier to access and use. Basic Windows GUI

Icons are small pictures that represent files, commands, or windows.

Windows is a GUI operating system unlike UNIX, which uses text commands.

Page 42: PTI Semester Ganjil 2015-2016. Materi  Hardware Computer  Software

Terimakasih