COMPUTER SCIENCE Data Representation and Machine Concepts Section 1.5 Instructor: Lin Chen Sept 2013.

Slides:



Advertisements
Similar presentations
ECE 331 – Digital System Design
Advertisements

Number Systems. 2 The total number of allowable symbols in a number system is called the radix or base of the system. Decimal Numbers: radix = 10 (symbols:
Chapter 1.5 The Binary System CSCI 3. Basic Concepts Behind the Binary System In the decimal system, things are organized into columns – H | T | O – 1.
Chapter Chapter Goals Know the different types of numbers Describe positional notation.
1 Module 2: Floating-Point Representation. 2 Floating Point Numbers ■ Significant x base exponent ■ Example:
ECE 301 – Digital Electronics Course Introduction, Number Systems, Conversion between Bases, and Basic Binary Arithmetic (Lecture #1)
Quiz 1.1 Convert the following unsigned binary numbers to their decimal equivalent: Number2 Number
Chapter 02 Binary Values and Number Systems Nell Dale & John Lewis.
Number System Conversions Lecture L2.2 Section 2.3.
COE 202: Digital Logic Design Number Systems Part 1
BASICS OF COMPUTER APPLICATIONS ASB 102. UNIT 1 Introducing computer system  Number system  What is number system?  Types of number system  Their.
2.1 2 Number Systems Foundations of Computer Science  Cengage Learning.
Computer Systems Nat 4/5 Computing Science Lesson 1: Binary.
The Binary Number System
CS105 INTRODUCTION TO COMPUTER CONCEPTS BINARY VALUES & NUMBER SYSTEMS Instructor: Cuong (Charlie) Pham.
Representing text Each of different symbol on the text (alphabet letter) is assigned a unique bit patterns the text is then representing as.
Fractions & Decimals.
Binary Real Numbers. Introduction Computers must be able to represent real numbers (numbers w/ fractions) Two different ways:  Fixed-point  Floating-point.
CSE 111 Representing Numeric Data in a Computer Slides adapted from Dr. Kris Schindler.
Binary Fractions. Fractions A radix separates the integer part from the fraction part of a number Columns to the right of the radix have negative.
Computer Number Systems. d n-1 d n-2 d n d 2-m d 1-m d -m Conventional Radix Number r is the radixd i is a digit d i Є {0, 1, ….., r – 1 } -m ≤
Chapter 2 Binary Values and Number Systems. 2 2 Natural Numbers Zero and any number obtained by repeatedly adding one to it. Examples: 100, 0, 45645,
NUMBER SYSTEM Decimal System Binary System. We use two digits in this system (0,1) just like the existing system of computers.. And write the number in.
Binary Values and Number Systems
CPS120: Introduction to Computer Science Computer Math: Converting to Decimal.
Positional Notation 642 in base 10 positional notation is:
Converting From decimal to Binary & Hexadecimal to Binary
COMPUTER SCIENCE Data Representation and Machine Concepts Section 2.1 Instructor: Lin Chen Sept 2013.
Chapter 2 Number Systems: Decimal, Binary, and Hex.
Copyright © 2011 Pearson Education, Inc. Integral Exponents and Scientific Notation Section P.2 Prerequisites.
COMPUTER SCIENCE Data Representation and Machine Concepts Section 1.6 Instructor: Lin Chen Sept 2013.
COMPUTER SCIENCE Data Representation and Machine Concepts Section 2.2 Instructor: Lin Chen Sept 2013.
Copyright © 2014, 2010, and 2006 Pearson Education, Inc. Chapter 4 Polynomials.
Number Representation Lecture Topics How are numeric data items actually stored in computer memory? How much space (memory locations) is.
Computer Systems Nat 4/5 Computing Science Lesson 1: Binary.
Computer Science: A Structured Programming Approach Using C1 6-6 Loop Examples This section contains several short examples of loop applications. Each.
Chapter 2 Binary Values and Number Systems Chapter Goals Distinguish among categories of numbers Describe positional notation Convert numbers in.
© 2010 Pearson Prentice Hall. All rights reserved. CHAPTER 4 Number Representation and Calculation.
COMPUTER SCIENCE Data Representation and Machine Concepts Section 1.7 Instructor: Lin Chen Sept 2013.
Equivalents ½ ½ ⅔.
Fractions and Decimal Fractions Fractions Decimal Fractions
Binary Numbers Practice.
Binary Values. Numbers Natural Numbers Zero and any number obtained by repeatedly adding one to it. Examples: 100, 0, 45645, 32 Negative Numbers.
Nat 4/5 Computing Science Lesson 1: Binary
Department of Computer Science Georgia State University
Fundamentals of Computer Science
Binary Fractions.
Section 2-7, “Comparing and Ordering Rational and Irrational Numbers”
Chapter 02 Nell Dale & John Lewis.
COMPUTER ORGANIZATION
Introduction To Computer Science
Positional Notation A positional or place-value notation is a numeral system in which each position is related to the next by a constant multiplier, called.
Convert to a Percent %.
Number Systems Lab session 1 Xuan Guo.
Topics discussed in this section:
4.2 Number Bases in Positional Systems
Jeopardy Operations with Integers With Decimals Fractions Solving Word
Scientific Notation CP Chemistry.
Digital Logic Design (CSNB163)
ECE 301 – Digital Electronics
CPS120: Introduction to Computer Science
Binary  Name: Class: .
The Binary System.
Storing Integers and Fractions
COMS 161 Introduction to Computing
Number Systems By: Asst Lec. Besma Nazar Nadhem
EQUATIONS OF LINES IN STANDARD FORM
Section 2.2 Scientific Notation.
Presentation transcript:

COMPUTER SCIENCE Data Representation and Machine Concepts Section 1.5 Instructor: Lin Chen Sept 2013

1.5 The Binary System 1 Data Storage Binary Notation Binary Addition Fractions in Binary Pearson Custom: Computer Science, Data Representation and Machine Concepts

Binary Notation 1 Data Storage Recall How to convert binary notation to decimal notation How to convert decimal notation to binary notation Convert to decimal notation Convert to binary notation

Binary Addition 1 Data Storage Binary addition rule = = = = =

Binary Addition 1 Data Storage Binary addition rule = = = = =

Binary Addition 1 Data Storage Binary addition rule = = = = =

Binary Addition 1 Data Storage Binary addition rule = = = = =

Binary Addition 1 Data Storage Binary addition rule = = = = =

Binary Addition 1 Data Storage Binary addition rule = = = = =

Binary Addition 1 Data Storage Binary addition rule = = = = =

Binary Addition 1 Data Storage Binary addition rule = = = = =

Binary Addition 1 Data Storage Binary addition rule = = = = =

Binary Addition 1 Data Storage Questions:

Fractions in Binary 1 Data Storage Convert fractional binary number to decimal number Questions: Convert following two base notations to their equivalent ten base notation

Fractions in Binary 1 Data Storage Convert fractional decimal number to binary number Integer PartFractional Part 2 10 = * 2 = * 2 = * 2 =

Fractions in Binary 1 Data Storage Questions: Convert following fractional decimal number to binary number

Fractions in Binary 1 Data Storage Addition Align radix point 2.Do addition with the binary addition rule