Digital Data Representation

Slides:



Advertisements
Similar presentations
Chapter 4 The Central Processing Unit
Advertisements

Transforming Data into Information lesson 7 This lesson includes the following sections: How Computers Represent Data How Computers Process Data Factors.
Vocabulary Electronic pulses Transistors Decimal numbers
1 Chapter 2 The Digital World. 2 Digital Data Representation.
Chapter 4 The Components of the System Unit
 2002 Prentice Hall Hardware Basics: Inside The Box Chapter 2.
Chapter 1: Computers and Digital Basics 1 Computers and Digital Basics Chapter 1.
Main Memory Lecture 2 CSCI 1405, CSCI 1301 Introduction to Computer Science Fall 2009.
Binary and Hexadecimal Numbers
COMP 14 Introduction to Programming
1 Chapter Overview Computer Communication The Computer Bus Objectives  Understand how a computer transmits and receives information.  Explain the principles.
Chapter 1-C,D Computers and Digital Basics.
Chapter 2 System Unit Components Discovering Computers 2012: Chapter
Number Systems & Logic Gates Day 1
Chapter 4  Converts data into information  Control center  Set of electronic circuitry that executes stored program instructions  Two parts ◦ Control.
Digital Information Technology
COMPONENTS OF THE SYSTEM UNIT
Your Interactive Guide to the Digital World Discovering Computers 2012.
Computer Concepts – Illustrated 8th edition
Copyright Jim Martin Computers Inside and Out Dr Jim Martin
CSC 101 Introduction to Computing Lecture 9 Dr. Iftikhar Azim Niaz 1.
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.
Practical PC, 7th Edition Chapter 17: Looking Under the Hood
Technology in Focus: Under the Hood
MBMPowered by DeSiaMore System Unit 1. MBMPowered by DeSiaMore Definition The system unit/system cabinet is a container that houses most of the electronic.
Transforming Data into Information.
Chapter 2 Computer Hardware
Copyright © 2003 by Prentice Hall Module 5 Central Processing Unit 1. Binary representation of data 2. The components of the CPU 3. CPU and Instruction.
Chapter 4 The Components of the System Unit. Today The System Unit Motherboard CPU Control Unit ALU Machine Cycle System Clock Data Representation Memory.
Your Interactive Guide to the Digital World Discovering Computers 2012 Lecture -1.
Tomorrow’s Technology and You 8/e Chapter 2 Hardware Basics: Inside the Box.
Your Interactive Guide to the Digital World Discovering Computers 2012 Edited by : Noor Alhareqi.
Discovering Computers Fundamentals, 2010 Edition Living in a Digital World Chapter Three.
Slide 1 Wednesday, October 07, 2015 Low Level Machine.
What do computers know?  All they really know is on or off.  Kind of like a light switch  Computers aren’t nearly as smart as you are!
Computer Systems Organization CS 1428 Foundations of Computer Science.
Computers Are Your Future Eleventh Edition Chapter 2: Inside the System Unit Copyright © 2011 Pearson Education, Inc. Publishing as Prentice Hall1.
The Central Processing Unit: What Goes on Inside the Computer
Introduction to Computer Systems and the Java Programming Language.
Computer Confluence 7/e © 2006 Prentice-Hall, Inc.
Discovering Computers Fundamentals, Third Edition CGS 1000 Introduction to Computers and Technology Spring 2007.
Appendix A Information Systems Hardware Information Systems Today Leonard Jessup and Joseph Valacich.
Computer Hardware Basic Computer Concepts Data Representation and Digital Electronics  Data Representation  makes it possible to convert letters, sounds,
CSCI-100 Introduction to Computing Hardware Part I.
Computer Organization. The digital computer is a digital system that performs various computational tasks Digital computer use binary number system which.
Basic Computer Organization Rashedul Hasan.. Five basic operation No matter what shape, size, cost and speed of computer we are talking about, all computer.
Chapter 2 Turning Data into Something You Can Use
The System Unit What is the system unit? p Fig. 4-1 Next  Case that contains electronic components of the computer used to process data  Sometimes.
Your Interactive Guide to the Digital World Discovering Computers 2012.
Information Technology INT1001 Lecture 2 1. Computers Are Your Future Tenth Edition Chapter 6: Inside the System Unit Copyright © 2009 Pearson Education,
CC111 Lec#2 The System Unit The System Unit: Processing and Memory Lecture 2 Binary System.
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 (3) The Central Processing Unit (CPU) Emad Salem.
Computer basics.
Objectives Overview Differentiate among various styles of system units on desktop computers, notebook computers, and mobile devices Identify chips, adapter.
Discovering Computers 2011: Living in a Digital World Chapter 4
The Central Processing Unit
Chapter 2 – Computer hardware
Edited by : Noor Alhareqi
Week 3 The Components of the System Unit
Edited by : Noor Alhareqi
Edited by : Noor Alhareqi
Computers Inside and Out
Edited by : Noor Alhareqi
Information Technology Department
Transforming Data into Information
Basic Computer Organization
Technology 3 Bits & Bytes.
Presentation transcript:

Digital Data Representation Class Handout

Digital Data Representation Data Representation Basics Representing Numbers, Text, and Pictures Quantifying Bits and Bytes Circuits and Chips

Digital=Distinct On / Off Data Representation Data representation refers to the form in which data is stored, processed, and transmitted. Digital devices work with distinct and separate data. Analog devices work with continuous data. Digitizing is the process of converting analog data into a digital format. Figure 1-23 Digital=Distinct On / Off Analog=Continuous

Representing Numbers, Characters (Text), Pictures, and Sound Numeric data Composed of numbers that might be used in arithmetic operations. Decimal number system has 10 symbols. Binary number system has only two symbols (0, 1). Character data Composed of letters, symbols, and numerals that are not used in arithmetic operations. ASCII, Extended ASCII, EBCDIC, and Unicode. Picture Data Composed of a series of dots. Each dot is assigned a binary number for color. Sound Data Is characterized by the properties of a sound wave. The wave can be represented digitally by sampling it a various points and converting those points into digital numbers. Figure 1-24

Memory Capacity Bit: Byte: Short for binary digit (0s and 1s), the only data that a CPU can process. Byte: An 8-bit string of data, needed to represent any one alphanumeric character or simple mathematical operation. In this picture, one byte, 01001000, represents the letter H Bit: Short for binary digit (0s and 1s), the only data that a CPU can process. Byte: An 8-bit string of data, needed to represent any one alphanumeric character or simple mathematical operation.

Numeric and Character Data Representation Figures 1-25 – 1-26

Hierarchy of Memory Capacity -Quantifying Bits and Bytes One binary digit Byte 8 bits Kilobyte (KB) Approximately one thousand bytes, (1024 or 210 bytes) Megabyte (MB) Approximately one million bytes (1,048,576 bytes, or 1,024 x 1,024 or 220 bytes). Gigabyte (GB) Actually 1,073,741,824 bytes (1,024 x 1,024 x 1,024 or 230 bytes). Terabyte One trillion bytes, or 240 bytes. Petabyte One thousand terabytes, or 250 bytes. Exabyte One thousand petabytes, or 260 bytes. Zettabyte One thousand exabytes. Kilobyte (KB): approximately one thousand bytes. Megabyte (MB): approximately one million bytes (1,048,576 bytes, or 1,024 x 1,024). Gigabyte (GB): actually 1,073,741,824 bytes (1,024 x 1,024 x 1,024 bytes). Terabyte: One trillion bytes. Petabyte: One thousand terabytes. Exabyte: One thousand petabytes. Zettabyte: one thousand exabytes.

Circuits and Chips An integrated circuit (computer chip) is a super-thin slice of semiconducting material packed with microscopic circuit elements. DIP=Dual In-line Package PGA=Pin Grid Array Figures 1-30 and 1-31

How do bits and bytes fit together with chips and circuits? Bits take the form of electrical pulses that can travel over circuits. The 1 bit might represent an elevated voltage, such as 5 volts, whereas a 0 bit is represented by a low voltage, such as 0. The system board is a circuit board to which a multitude of electronic components are mounted. Motherboard Figure 1-32

Digital Processing Programs and Instruction Sets Processor Logic

Programs and Instruction Sets Computers, portable media players, handheld computers, and smart phones all work with digital data. Computer programmers create programs that control digital devices. These programs are usually written in a high-level programming language. The human-readable version of a program created in a high-level language is called the source code.

Programs and Instruction Sets The procedure for translating source code into 0’s and 1’s can be accomplished by a compiler or an interpreter. Figures 1-34 – 1-35

Programs and Instruction Sets A collection of preprogrammed activities a microprocessor is hardwired to perform is called an instruction set. Additions, subtractions, counting, comparisons, etc Each instruction has a corresponding sequence of 0s and 1s. 00000100 might = Add. The list of codes for a microprocessor’s instruction set, called machine language, can be directly executed by the processor’s circuitry. This end product, the 1s and 0s, is called machine code.

Programs and Instruction Sets A machine code instruction has two parts. The op code and the operand. An op code (short for operation code) is a command word for an operation such as add, compare, or jump. The operand for an instruction specifies the data (or the address of the data) for the operation. Op Code 00000100 00000001 00100100 00011001 01010100 00100001 Operand

Programs and Instruction Sets Many machine language instructions might be needed to equal a simple high-level program that counts to 100. Figure 1-36

Processor Logic-What happens inside a computer chip The arithmetic logic unit (ALU) is the part of the microprocessor that performs arithmetic operations. The ALU uses registers to hold data that is being processed. The microprocessor’s control unit fetches each instruction, just as you get each ingredient out of a cupboard or the refrigerator. The term instruction cycle refers to the process in which a computer executes a single instruction.

Processor Logic-What happens inside a computer chip Figures 1-37 – 1-38

Processor Logic-What role does the Control Unit play Figure 1-39