SECTION 4a Transforming Data into Information.

Slides:



Advertisements
Similar presentations
MUHAMMAD AHMED HUSSAIN
Advertisements

Copyright © 2006 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill Technology Education Chapter 4A Transforming Data Into Information.
Copyright © 2006 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill Technology Education Copyright © 2006 by The McGraw-Hill Companies,
Chapter 4 The Central Processing Unit
Transforming Data into Information lesson 7 This lesson includes the following sections: How Computers Represent Data How Computers Process Data Factors.
Introduction to Computers Section 4A. home Decimal Number System Called base 10 because 10 symbols are available.
Essential concepts lesson 3 Transforming Data into Information.
© Paradigm Publishing, Inc. 2-1 Chapter 2 Input and Processing Chapter 2 Input and Processing.
CENTRAL PROCESSING UNIT
1 The System Unit Lecture 2 CSCI 1405 Introduction to Computer Science Fall 2006.
Professor Michael J. Losacco CIS 1110 – Using Computers System Unit Chapter 4.
Chapter 2 Processing Data Peter Norton’s Introduction to Computers
Objectives Overview Discovering Computers 2014: Chapter 6 See Page 248
CPU Processor-on-a-chip.
MOTHERBOARD holds the and connects directly or indirectly to every part of the PC. holds the processor, memory and expansion slots and connects directly.
S3 Computer Literacy Computer Hardware. Overview of Computer Hardware Motherboard CPU RAM Harddisk CD-ROM Floppy Disk Display Card Sound Card LAN Card.
COMPONENTS OF THE SYSTEM UNIT
Chapter 6 Inside Computers and Mobile Devices Discovering Computers Technology in a World of Computers, Mobile Devices, and the Internet.
Lesson 3 — How a Computer Processes Data
66 CHAPTER THE SYSTEM UNIT. © 2005 The McGraw-Hill Companies, Inc. All Rights Reserved. 6-2 Competencies Describe the four basic types of system units.
© Paradigm Publishing Inc. 2-1 Chapter 2 Input and Processing.
Chapter 4 The System Unit: Processing and Memory Prepared by : Mrs. Sara salih.
1 More on Computer Components Computer switches Binary number system Inside the CPU Cache memory Types of RAM Computer buses Creating faster CPUs NEXT.
Lecture#14. Last Lecture Summary Memory Address, size What memory stores OS, Application programs, Data, Instructions Types of Memory Non Volatile and.
Computer Processing of Data
E0001 Computers in Engineering1 The System Unit & Memory.
Chapter 2 Processing Data Dept. of Computer Engineering Khon Kaen University.
GRAP 3175 Computer Applications for Drafting Unit II Computer Hardware.
Technology in Focus: Under the Hood
Chapter Two Hardware Basics: Inside the Box. ©1999 Addison Wesley Longman2.2 Chapter Outline What Computers Do A Bit About Bits The Computer’s Core: CPU.
Understanding Computers, Ch.31 Chapter 3 The System Unit: Processing and Memory.
Lesson 2 — How Does A Computer Process Data?
Objectives Overview Describe the various computer and mobile device cases and the contents they protect Describe multi-core processors, the components.
Transforming Data into Information.
Copyright © 2006 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill Technology Education Copyright © 2006 by The McGraw-Hill Companies,
Copyright © 2006 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill Technology Education Copyright © 2006 by The McGraw-Hill Companies,
Computers Are Your Future Eleventh Edition Chapter 2: Inside the System Unit Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall1.
© Paradigm Publishing Inc. 2-1 Chapter 2 Input and Processing.
The Central Processing Unit: What Goes on Inside the Computer
1Copyright © Prentice Hall 2000 The Central Processing Unit Chapter 3 What Goes on Inside the Computer.
Lesson 3 — How a Computer Processes Data Unit 1 — Computer Basics.
Chapter 4 The Components of the System Unit. The System Unit Case that contains electronic components of the computer used to process data.
CSCI-100 Introduction to Computing Hardware Part I.
Computer Hardware. Lally School of M&T- Microcomputing and Info Systems Lecture Topics 1. Data Representation 2. Data Metrics 3. Central processing Unit.
Copyright © 2006 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill Technology Education Copyright © 2006 by The McGraw-Hill Companies,
Computer Hardware – System Unit
Copyright © 2006 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill Technology Education Chapter 5A Transforming Data Into Information.
The Computer System.
Computer operation is of how the different parts of a computer system work together to perform a task.
Chapter 2 Turning Data into Something You Can Use
Chapter 2.
CS 1410 Intro to Computer Tecnology Computer Hardware1.
Computers Are Your Future Tenth Edition Inside the System Unit 1.
BY MANJU Lesson 21 Computer Hardware. System Components A computer system requires many components to do its job: Input: Device to input data so it can.
Information Technology INT1001 Lecture 2 1. Computers Are Your Future Tenth Edition Chapter 6: Inside the System Unit Copyright © 2009 Pearson Education,
Lecture # 10 Processors Microcomputer Processors.
IC 3 BASICS, Internet and Computing Core Certification Computing Fundamentals Lesson 2 How Does a Computer Process Data?
Fall’ 2014 Lesson - 1 Number System & Program Design CSE 101.
Computer Hardware. 7/23/2016M. Eyadat2 Objectives –Explain why most computers are digital –Describe the role of the ALU –List factors that affect performance.
Chapter 2 content Basic organization of computer What is motherboard
Computer Hardware – System Unit
Transforming Data Into Information
The Central Processing Unit
McGraw-Hill Technology Education
McGraw-Hill Technology Education
Transforming Data into Information
McGraw-Hill Technology Education
Introduction to Computers
Presentation transcript:

SECTION 4a Transforming Data into Information

This lesson includes the following sections: How Computers Represent Data How Computers Process Data Factors Affecting Processing Speed

How Computers Represent Data Binary Numbers The Binary Number System Bits and Bytes Text Codes

How Computers Represent Data – Binary Numbers Computer processing is performed by transistors, which are switches with only two possible states: on and off. All computer data is converted to a series of binary numbers– 1 and 0. For example, you see a sentence as a collection of letters, but the computer sees each letter as a collection of 1s and 0s. If a transistor is assigned a value of 1, it is on. If it has a value of 0, it is off. A computer's transistors can be switched on and off millions of times each second.

Here are some words. Ten different symbols in the decimal system Numbers above 9 use more than 1 digit Here are some words.

The Binary Number System 1 2 10 3 11 4 100 5 101 6 110 7 111 8 1000 9 Base 10 Base 2 1 2 10 3 11 4 100 5 101 6 110 7 111 8 1000 9 1001 1010 To convert data into strings of numbers, computers use the binary number system, i.e., base 2. Humans use the decimal system, i.e., base 10. The binary number system works the same way as the decimal system, but has only two available symbols (0 and 1) rather than ten (0, 1, 2, 3, 4, 5, 6, 7, 8, and 9).

How Computers Represent Data - Bits and Bytes A single unit of data is called a bit (binary digit), having a value of 1 or 0. Computers work with collections of bits, grouping them to represent larger pieces of data, such as letters of the alphabet. Eight bits make up one byte. A byte is the amount of memory needed to store one alphanumeric character. With one byte, the computer can represent one of 256 different symbols or characters. .

1 0 1 1 0 0 1 0 1 1 1 1 1 1 1 1 1 0 0 1 0 0 1 0 1 0 0 1 0 0 1 1

How Computers Represent Data - Text Codes A text code is a system that uses binary numbers (1s and 0s) to represent characters (letters and numerals). Text Codes EBCDIC ASCII Unicode

EBCDIC (pronounced EB-si-dic) An early text code system, IBM defines the BCD (binary coded decimal) system and consists of 6-bit codes. After that, EBCDIC uses eight-bit codes to represent more characters. EBCDIC (Extended Binary Coded Decimal Interchange Code) But it is used primarily in older mainframe systems.

ASCII (AS-key) Defined by ANSI (American National Standards Institute) ASCII stands for the American Standard Code for Information Interchange In the most common text-code set, ASCII, each character consists of eight bits (one byte) of data. ASCII is used in nearly all personal computers.

Examples from the ASCII Text Code Character 00110000 00110001 1 00110010 2 00110011 3 00110100 4 00110101 5 01000001 A 01000010 B 01000011 C 01000100 D 01000101 E Examples from the ASCII Text Code

Unicode In the Unicode text-code set, each character consists of 16 bits (two bytes) of data. can represent every unique character and symbol in the world, including vast Chinese, Korean, Japanese character sets Compatible with ASCII code The first 256 codes in Unicode are identical to the 256 codes used by ASCII systems First developed by Apple and Xerox in 1991, now it is supported by some operating systems (Windows 2000 and OS/2)

How Computers Process Data Where Processing Occurs: CPU and Memory The Control Unit The Arithmetic Logic Unit Memory

How Computers Process Data – Where Processing Occurs Processing takes place in the PC's central processing unit (CPU). The system's memory also plays a crucial role in processing data. Both the CPU and memory are attached to the system's motherboard, which connects all the computer's devices together, enabling them to communicate.

How Computers Process Data – The Control Unit The two main parts of a CPU are the control unit and the arithmetic logic unit (ALU) The control unit directs the flow of data through the CPU, and to and from other devices. The control unit stores the CPU's microcode The instructions are converted into microcode for execution

How Computers Process Data – The Arithmetic Logic Unit (ALU) The actual manipulation of data takes place in the ALU. The ALU can perform arithmetic and logic operations. The ALU is connected to a set of registers—small memory areas in the CPU, which hold data and program instructions while they are being processed.

ALU Operations List Arithmetic Operations Logical + Add ,  equal to, not equal to  Subtract >, > greater than, not greater than x Multiply <, < less than, not less than  Divide ,  greater than or equal to, not greater than or equal to ^ Raise by a power ,  less than or equal to, not less than or equal to

How Computers Process Data – Memory Memory: permanent and nonpermanent Read-only memory (ROM) is nonvolatile (or permanent). It holds instructions that run the computer when the power is first turned on. Random Access Memory (RAM) stores data and program code needed by the CPU. The contents of RAM change rapidly and often. The CPU accesses each location in memory by using a unique number, called the memory address.

How Computers Process Data - Types of RAM There are two basic types of RAM: static and dynamic Dynamic RAM (DRAM) chips must be recharged with electricity very frequently, or they will lose their contents. DRAM Variations: SDRAM (Synchronous DRAM) Static RAM (SRAM) does not need to be recharged as often as DRAM, and can hold its contents longer. Access speed: SRAM > DRAM 60 ns v.s. 10 ns.

Factors Affecting Processing Speed Registers Memory and Computing Power The Computer’s Internal Clock The Bus Cache Memory

Factors Affecting Processing Speed – Registers The CPU contains a number of small memory areas, called registers, which store data and instructions while the CPU processes them. The size of the registers (also called word size) determines the amount of data with which the computer can work at a one time. Today, most PCs have 32-bit registers, mean the CPU can process four bytes of data at one time. Register sizes are rapidly growing to 64 bits. 32-bit processors or 64-bit processors: refer to the size of the registers in the processor.

Factors Affecting Processing Speed – Memory And Computing Power The amount of RAM in a PC has a direct affect on the system's speed. The more RAM a PC has, the more program instructions and data can be held in memory, which is faster than storage on disk. If a PC does not have enough memory to run a program, it must move data between RAM and the hard disk frequently. This process, called swapping, can greatly slow a PC's performance.

More RAM = Better Performance!

Factors Affecting Processing Speed – The Computer’s Internal Clock The computer's system clock sets the pace for the CPU by using a vibrating quartz crystal. A single "tick" of the clock is the time required to turn a transistor off and back on. This is called a clock cycle. Clock cycles are measured in Hertz (Hz), a measure of cycles per second. If a computer has a clock speed of 300 MHz, then its system clock "ticks" 300 million times every second. The faster a PC's clock runs, the more instructions the PC can execute each second.

Factors Affecting Processing Speed – The Bus Bus in a computer: system bus : consists of data bus and address bus expansion bus: peripheral devices are connected to the CPU by an expansion bus. A bus is a path between the components of a computer. Data and instructions travel along these paths. The data bus' width determines how many bits can be transmitted between the CPU and other devices. The address bus runs only between the CPU and RAM, and carries nothing but memory addresses for the CPU to use.

Factors Affecting Processing Speed – The Bus (Cont.) Bus Type: ISA (Industry Standard Architecture): 16 bit data bus Local bus: an internal system bus PCI (Peripheral Component Interconnect) bus: a type of local bus designed by Intel AGP (Accelerated Graphics Port): allow the video card to access the system’s RAM directly (USB) Universal Serial Bus and IEEE 1394: expansion bus

Factors Affecting Processing Speed – Cache Memory Cache memory is high-speed memory that holds the most recent data and instructions that have been loaded by the CPU. Cache is located directly on the CPU or between the CPU and RAM, making it faster than normal RAM. CPU-resident cache is called Level-1 (L1) cache. External cache is called Level-2 (L2) cache. The amount of cache memory has a tremendous impact on the computer's speed.

SECTION 4A Review List reason why computers use the binary number system. List the two main parts of the CPU and explain how they work together. Explain the difference between RAM and ROM. Identify two RAM technologies used in PCs. List three hardware factors that affect processing speed. Identify four connections used to attach devices to a PC.