Chapter 2 Computer Hardware

Slides:



Advertisements
Similar presentations
Data Representation. Units & Prefixes Review kilo, mega, and giga are different in binary! bit (b) – binary digit Byte (B) – 8 binary digits KiloByte.
Advertisements

Vocabulary Electronic pulses Transistors Decimal numbers
1 Chapter 2 The Digital World. 2 Digital Data Representation.
Digital Data Representation
Processing Data.
1 The Information School of the University of Washington Nov 6fit more-digital © 2006 University of Washington Digital Information INFO/CSE 100,
1 Chapter Overview Computer Communication The Computer Bus Objectives  Understand how a computer transmits and receives information.  Explain the principles.
Data Representation (in computer system) Computer Fundamental CIM2460 Bavy LI.
IT-101 Section 001 Lecture #4 Introduction to Information Technology.
Number Systems & Logic Gates Day 1
Bits and Bytes.
5th Meeting “BITS AND BYTES” BIT A bit or binary digit is the basic unit of information in computing and telecommunications. It is the amount of information.
©Brooks/Cole, 2003 Chapter 2 Data Representation.
Chapter 2 Data Representation. Define data types. Visualize how data are stored inside a computer. Understand the differences between text, numbers, images,
/4 Binary Code & CPUs Digital Signals
Bits & Bytes: How Computers Represent Data
Data and Program Representation
Practical PC, 7th Edition Chapter 17: Looking Under the Hood
Computer Systems Chapter 1 Pages Hardware-physical pieces Key hardware components in a computer system: The physical parts. – Central processing.
Data Representation S2. This unit covers how the computer represents- Numbers Text Graphics Control.
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.
Data Representation A series of eight bits is called a byte. A byte can be used to represent a number or a character. As you’ll see in the following table,
Slide 1 Wednesday, October 07, 2015 Low Level Machine.
Binary Code.
Data Representation and Storage Lecture 5. Representations A number value can be represented in many ways: 5 Five V IIIII Cinq Hold up my hand.
Fill in the blanks: (1) _________ has only two possible values 0 and 1. (2) There are __________bits in a byte. (3) 1 kilobyte of memory space can store.
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!
Introduction to Computer Design CMPT 150 Section: D Ch. 1 Digital Computers and Information CMPT 150, Chapter 1, Tariq Nuruddin, Fall 06, SFU 1.
1 INFORMATION IN DIGITAL DEVICES. 2 Digital Devices Most computers today are composed of digital devices. –Process electrical signals. –Can only have.
What is a computer? A computer is a device that:
Computer Confluence 7/e © 2006 Prentice-Hall, Inc.
1 3 Computing System Fundamentals 3.2 Computer Architecture.
Computer Hardware Basic Computer Concepts Data Representation and Digital Electronics  Data Representation  makes it possible to convert letters, sounds,
Computer Science Binary. Binary Code Remember the power supply that is inside your computer and how it sends electricity to all of the components? That.
Representing Characters in a computer Pressing a key on the computer a code is generated that the computer can convert into a symbol for displaying or.
GCSE ICT Storing data - Internal memory, backing storage, and measuring memory.
Data Representation The storage of Text Numbers Graphics.
Data Representation (in computer system). Data Representation How do computers represent data? b The computers are digital Recognize.
Data Representation. What is data? Data is information that has been translated into a form that is more convenient to process As information take different.
Technology in Action Chapter 6 Behind the Scenes: A Closer Look at System Hardware.
Data Representation.
2.1.4 Data Representation Units.
ASCII AND EBCDIC CODES By : madam aisha.
COMPUTER SYSTEM A computer system is define as combination of components designed to process data and store files. A computer system consists of four.
Chapter 2 In Brief…. Chapter 2 …Is a little boring. Sorry. But it contains material you need to be familiar with.
Understanding Computers
Binary a. express numbers in binary, binary-coded decimal (BCD), octal and hexadecimal;
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.
Understanding Binary Understanding Computers. Understanding Computers L3 – Understanding Binary Learning Objectives All will Understand why all data is.
Unit 1 Digital Data Section D. Chapter 1, Slide 2Starting Out with Visual Basic 3 rd EditionIntroduction to ComputersUnit 1D – Digital DataSlide 2 Wikipedia.
© OCR 2016 Unit 2.6 Data Representation Lesson 1 ‒ Numbers.
Binary and Hard Disk PEOPLE Program
Understanding binary Understanding Computers.
Computer basics.
INFS 211: Introduction to Information Technology
Bits & Bytes How Computers Represent Data
Introduction to Computers
Information Support and Services
What is Binary? Binary is a two-digit (Base-2) numerical system, which computers use to process and store data. The reason computers use the binary system.
Data Encoding Characters.
Lecture 3 ISE101: Computing Fundamentals
Computers & Programming Languages
Ch2: Data Representation
Information Representation
INFO/CSE 100, Spring 2005 Fluency in Information Technology
Chapter 2 Data Representation.
How Computers Store Data
Information Technology Department
LO1 – Understand Computer Hardware
Presentation transcript:

Chapter 2 Computer Hardware Section A: Data Representation and Digital Electronics Computer Concepts 7th Edition Parsons/Oja

Data Representation: How do computers represent data digitally? Data is defined as the symbols that represent things, people, events and ideas Computers store data in digital format as a series of 1s and 0s (known as binary code) Each 1 and 0 is called a bit Eight bits is called a byte The term bit comes from “binary digit” Bytes are used to represent one character – a letter, number, or punctuation mark For example, the letter H is represented in binary code as 01001000 An exclamation point (!) is 001000001 Chapter 2: Computer Hardware 4

Data Representation: How do computers represent data digitally? Digital data is made up of discrete numbers, with each bit being either a 1 or a 0 – it’s either on or off, nowhere in between Analog data is made up of a continuous wave of information, with varying degrees in between For example: A digital clock changes it’s digital display once every minute to show the time An analog clock is continually moving it’s second, minute and hour hands to show the time Chapter 2: Computer Hardware 4

Data Representation: How do computers represent data digitally? Another example is a light fixture A standard light switch is similar to digital It is either on or off – 1 or 0 A dimmer light switch is similar to analog It’s rotating dial can be turned to many different positions to make the light varying degrees of bright or dim Chapter 2: Computer Hardware 4

Data Representation: How do computers represent data digitally? Data representation makes it possible to convert letters, sounds, and images into electrical signals Digital electronics makes it possible for computer to manipulate simple “on” and “off” signals to perform complex tasks A computer’s circuits have only two states: on and off A binary 1 represents “on” A binary 0 represents “off” Chapter 2: Computer Hardware 4

How can a computer represent numbers? Unlike the decimal system (base 10), the binary number system (base 2) uses only two digits: 0 and 1 The following table lists some decimal numbers and their binary equivalent: Chapter 2: Computer Hardware 6

How can a computer represent words and letters using bits? Character data is composed of letters, symbols, and numbers that will not be used in arithmetic operations Numeric data is used in arithmetic calculations, and is encoded differently ASCII (American Standard Code for Information Interchange) requires only 7 bits for each character Extended ASCII uses 8 bits for each character. Used in most personal computers See the code on the next slide Chapter 2: Computer Hardware 7

How can a computer represent words and letters using bits? Chapter 2: Computer Hardware 7

How can a computer represent words and letters using bits? EBCDIC (Extended Binary-Coded Decimal Interchange Code) is an alternative 8-bit used by older IBM systems Unicode uses 16 bits and provides codes for 65,000 characters – a bonus for representing alphabets of multiple languages Used for foreign language support Chapter 2: Computer Hardware 8

How does a computer convert sounds and pictures into codes? Sounds and pictures must be transformed into a format the computer can understand A computer must digitize colors, notes, and instrument sounds into 1s and 0s For example, a red dot on your screen might be represented by 1100, a green dot by 1101 Chapter 2: Computer Hardware 9

How does a computer store all these codes? Data is stored on a computer in a file Data files might contain the text of a document, the numbers for a calculation, the contents of a web page, or the notes of a music clip as binary code Executable files contain the programs or instructions that tell the computer how to perform a specific task. For example, how to display and print text Data files have a file header which tells the computer how the binary code is used to represent the data. The header tells the computer if the binary code represents a music file, a graphic, a text document, etc. Chapter 2: Computer Hardware 9

Quantifying Bits and bytes: How can I tell the difference between bits and bytes? A bit is one binary digit (b) Eg. 0 A byte is 8 bits (B) Eg. 0010 0100 A nibble is 4 bits Eg. 0011 Chapter 2: Computer Hardware 10

Quantifying Bits and bytes: How can I tell the difference between bits and bytes? Prefixes Kilo- means a 1000 Mega- means million Giga- means billion Kilobit (Kb) is approx. 1,000 bits (1,024) Kilobyte (KB) is approx. 1,000 bytes (1,024) Megabyte (MB) is approx. 1,000,000 bytes (1,048,576) Gigabyte (GB) is approx. 1,000,000,000 bytes (1,073,741,824) Chapter 2: Computer Hardware 11

Self Quiz Questions A(n) _______ device works with discrete numbers, whereas a(n) _______ device works with continuous data. The _______ number system represents numeric data as a series of 0s and 1s. Most personal computers use the _______ code to represent character data. 100 Mb is larger than 100 MB. True or false? A prefix that means a million bytes is _______. Chapter 2: Computer Hardware 11

Self Quiz Answers A(n) digital device works with discrete numbers, whereas a(n) analog device works with continuous data. The binary number system represents numeric data as a series of 0s and 1s. Most personal computers use the extended ASCII code to represent character data. 100 Mb is larger than 100 MB. False A prefix that means a million bytes is Mega . Chapter 2: Computer Hardware 11