Computer Math CPS120: Binary Representations. Binary computers have storage units called binary digits or bits: Low Voltage = 0 High Voltage = 1 all bits.

Slides:



Advertisements
Similar presentations
Computer Basics Binary Bits & Bytes
Advertisements

Base 10 Denary Decimal
Processing Data.
Binary Expression Numbers & Text CS 105 Binary Representation At the fundamental hardware level, a modern computer can only distinguish between two values,
Unit 3—Part A Computer Memory
Binary Aim: Explain binary and binary units Objective 1: Convert positive denary whole numbers (0-255) into 8-bit binary numbers and vice versa Objective.
Computer Systems 1 Fundamentals of Computing
CREATED BY, MS. JENNIFER DUKE BITS, BYTES, AND UNITS OF MEASUREMENT.
Bits, Bytes, KiloBytes, MegaBytes, GigaBytes & TeraBytes.
Communications Technology 2104 Mercedes Lahey. Bit 1. bit=From a shortening of the words “binary digit” 2. the basic unit of information for computers.
Memory Terminology & Data Representation CSCI 1060 Fall 2006.
Standard Grade Computing LOW LEVEL MACHINE CHAPTER 21.
Computer Systems Chapter 1 Pages Hardware-physical pieces Key hardware components in a computer system: The physical parts. – Central processing.
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,
OBJECTIVES  Explain why a computer represents data in the form of binary  Explain the terms related to data storage: bit, byte, character, word  Calculate.
Getting to know Storage Media 1.Stores information 2.Retrieve information for later use.
Computer Systems Nat 4/5 Computing Science Data Representation Lesson 2: Floating Point Representation.
Numerical Representation Intro to Computer Science CS1510, Section 2 Dr. Sarah Diesburg 1.
1 3 Computing System Fundamentals 3.2 Computer Architecture.
Unit 2—Part A Computer Memory Computer Technology (S1 Obj 2-3)
Bits and Bytes IGCSE. A binary number is either a 0 or a 1 and is known as a 'bit' or b inary dig it. However, the CPU cannot deal with just one bit at.
Computer Math CPS120: Lecture 3. Binary computers have storage units called binary digits or bits: Low Voltage = 0 High Voltage = 1 all bits have 0 or.
Computer Math CPS120 Introduction to Computer Science Lecture 4.
Data Representation Bits, Bytes, Binary, Hexadecimal.
How We Measure Memory. Learning Goal Today we are going to learn how the computer stores information.
Networking for Home and Small Businesses –.  Explain the binary representation of data.
Thursday 8 th October, 2015 Information Technology Fundamentals of Hardware & Software.
How We Measure Memory. At the Bottom of things A piece of digital information is always stored as a sequence of binary states. What’s that mean you ask???
2.1.4 Data Representation Units.
* Numeral Systems: A writing method for expressing numbers is called a “Numeral System". In the most common numeral system, we write numbers with combinations.
BINARY Toby Wilson. LEARNING OBJECTIVES  Be able to convert binary to denary  Be able to convert denary into binary  Be able to explain how computers.
Binary Decimal Hexadecimal
Lesson Aim (Data representation) To be able to: Convert B/D & D/B Convert D/H & H/D Convert H/B & B/H Perform simple binary arithmetic Represent a number.
Computer Math CPS120 Introduction to Computer Science Lecture 7.
Understanding Computers
Binary Numbers. Base 10 and Base 2  We normally work with numbers in base 10.  In base 10 we use the digits 0, 1, 2, 3, 4, 5, 6, 7, 8 and 9.  Everything.
CC111 Lec#2 The System Unit The System Unit: Processing and Memory Lecture 2 Binary System.
Understanding Binary Understanding Computers. Understanding Computers L3 – Understanding Binary Learning Objectives All will Understand why all data is.
Numerical Representation Intro to Computer Science CS1510 Dr. Sarah Diesburg 1.
 Human language : commonly used to express feeling and understand what other people expression.  Computer language : are a languages by which a user.
© OCR 2016 Unit 2.6 Data Representation Lesson 1 ‒ Numbers.
Unit 2.6 Data Representation Lesson 1 ‒ Numbers
Understanding binary Understanding Computers.
Computer basics.
How do Computers Work ?.
Consider this number: , Ones (7 ones) Tens (no tens)
Computer Memory Digital Literacy.
Numerical Representation
Memory Parts of a computer
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.
Representation of data in computer systems
Unit 2.6 Data Representation Lesson 1 ‒ Numbers
Unit 2 Computer Memory Computer Technology (S1 Obj 2-3)
इंट्रस्टिंग बनने के लिए आपको इंट्रस्टेड होना पड़ेगा।
Unit 3—Part A Computer Memory
Data Representation Numbers
Representation of Data in Computer Systems
How do computers work? Storage.
Computer Electronic device Accepts data - input
Numerical Representation
Unit 3—Part A Computer Memory
Bits, Bytes, and Storage.
Numerical Representation
Bits and Bytes Key Revision Points.
Why computers use binary
Chapter Four Data Representation in Computers By Bezawit E.
Binary System.
Technology 3 Bits & Bytes.
Computer Systems Nat 4/5 Computing Science Data Representation
Numerical Representation
Presentation transcript:

Computer Math CPS120: Binary Representations

Binary computers have storage units called binary digits or bits: Low Voltage = 0 High Voltage = 1 all bits have 0 or 1 22 Binary and Computers

8 bits = 1 byte The number of bytes in a word determines the word length of the computer: 32-bit machines 64-bit machines etc. 23 Binary and Computers

Binary Representations One bit can be either 0 or 1. Therefore, one bit can represent only two things. To represent more than two things, we need multiple bits. Two bits can represent four things because there are four combinations of 0 and 1 that can be made from two bits: 00, 01, 10,11.

Binary Representations (Cont’d) If we want to represent more than four things, we need more than two bits. Three bits can represent eight things because there are eight combinations of 0 and 1 that can be made from three bits.

Binary & Alphanumeric Codes A binary code is a group of n bits that assume up to 2 n distinct combinations of 1’s and 0’s with each combination representing one element of the set that is being coded- i.e. permutations With two bits we can form a set of four elements With three bits we can represent 8 elements With four bits we can represent 16 elements

Binary Representations (Cont’d) Figure 3.4 Bit combinations

Binary Representations (Cont’d) In general,  bits can represent 2  things because there are 2  combinations of 0 and 1 that can be made from n bits. Note that every time we increase the number of bits by 1, we double the number of things we can represent.

Memory Units 1 nibble 1 byte 1 word 1 long word 1 quad word 1 octa-word 4 consecutive bits 8 consecutive bits 2 consecutive bytes 4 consecutive bytes 8 consecutive bytes 16 consecutive bytes

Larger Units of Memory 1 Kilobyte 1 Megabyte 1 Gigabyte 1 Terabyte 1 Petabyte 1 Exabyte 1024 bytes ~10 6 bytes ~10 9 bytes ~10 12 bytes ~10 15 bytes ~10 18 bytes 32 Mb = 32*10 3 Kb = 32 * 10 3 *1024 bytes = 32,768,000 bytes