January 12 – 16, 2009 CSE 113 B.

Slides:



Advertisements
Similar presentations
Binary Addition Rules Adding Binary Numbers = = 1
Advertisements

Bit Representation Outline
CSE111: Great Ideas in Computer Science Dr. Carl Alphonce 219 Bell Hall Office hours: M-F 11:00-11:
CSE115: Introduction to Computer Science I Dr. Carl Alphonce 219 Bell Hall 1.
CSE115: Introduction to Computer Science I Dr. Carl Alphonce 219 Bell Hall 1.
CSE115: Introduction to Computer Science I Dr. Carl Alphonce 219 Bell Hall Office hours: M-F 11:00-11:
CSE115: Introduction to Computer Science I Dr. Carl Alphonce 219 Bell Hall 1.
CSE111: Great Ideas in Computer Science Dr. Carl Alphonce 219 Bell Hall Office hours: M-F 11:00-11:
CSE111: Great Ideas in Computer Science Dr. Carl Alphonce 219 Bell Hall Office hours: M-F 11:00-11:
CSE115: Introduction to Computer Science I Dr. Carl Alphonce 219 Bell Hall 1.
CSE115: Introduction to Computer Science I Dr. Carl Alphonce 219 Bell Hall Office hours: M-F 11:00-11:
1 CSE1301 Computer Programming Lecture 33 Supplement: Conversions: Unsigned Binary to Decimal Decimal to Unsigned Binary.
Quiz 1.1 Convert the following unsigned binary numbers to their decimal equivalent: Number2 Number
Exercise 2.5 If each number is represented with 5 bits, 7 = in all three systems -7 = (1's complement) = (signed magnitude) = (2's.
CSE115: Introduction to Computer Science I Dr. Carl Alphonce 219 Bell Hall 1.
Binary Numbers.
Data Representation in Computers. Data Representation in Computers/Session 3 / 2 of 33 Number systems  The additive approach – Number earlier consisted.
Convert Decimal to Floating point number [IEEE 754]
ECE 2110: Introduction to Digital Systems Signed Number Conversions.
Simple Data Type Representation and conversion of numbers
Multiplying by powers of 10. What are powers of 10? 100,000 10,000 1, GREATER THAN ONE LESS THAN ONE.
Bits, Data types, and Operations: Chapter 2 COMP 2610 Dr. James Money COMP
COMPSCI 210 Semester Tutorial 1
Data Representation - Part II. Characters A variable may not be a non-numerical type Character is the most common non- numerical type in a programming.
1 Digital Design: Number Systems Credits : Slides adapted from: J.F. Wakerly, Digital Design, 4/e, Prentice Hall, 2006 C.H. Roth, Fundamentals of Logic.
Number System Chapter 3 Subject: Digital System Year: 2009.
Number systems, Operations, and Codes
Introduction to Computing Dr. Nadeem A Khan. Lecture 10.
Positional Number Systems
Number System. Number Systems Important Number systems – Decimal – Binary – Hexadecimal.
Logic (continuation) Boolean Logic and Bit Operations.
CSE115: Introduction to Computer Science I Dr. Carl Alphonce 343 Davis Hall
Data Representation Hexadecimal  Although computers work in binary it is sometimes inconvenient for humans to read everything in Binary. For example in.
How Computer Represent Data
Introduction to computers 103 學年度 上學期 Solution of Homework_ch12 授課教授:李錫智.
Lecture 6 Excess Notation. Excess 8 notation indicates that the value for zero is the bit pattern for 8, that is 1000 Excess 8 notation indicates that.
NUMBER SYSTEMS AND CODES. CS Digital LogicNumber Systems and Codes2 Outline Number systems –Number notations –Arithmetic –Base conversions –Signed.
1 COMS 161 Introduction to Computing Title: Computing Basics Date: September 8, 2004 Lecture Number: 7.
©Brooks/Cole, 2003 Chapter 3 Number Representation.
In decimal we are quite familiar with placing a “-” sign in front of a number to denote that it is negative The same is true for binary numbers a computer.
Computer Studies Today Chapter 19 1 Chapter 19. Computer Studies Today Chapter 19 2 »Information stored in a computer is in two states: –ON –OFF.
Bits, Data types, and Operations: Chapter 2 COMP 2610 Dr. James Money COMP
Fuw-Yi Yang1 數位系統 Digital Systems Department of Computer Science and Information Engineering, Chaoyang University of Technology 朝陽科技大學資工系 Speaker: Fuw-Yi.
Welcome to CSE 370 Introduction to Digital Design Jan 10, 2002.
Number Systems Decimal Can you write 12,045 in expanded form? Base? Allowable digits for each place?
ECE 2110: Introduction to Digital Systems Signed Number Conversions.
Some basic concepts underlying computer archi­tecture
Negative Binary Numbers
Introduction To Computer Science
Computer Architecture & Operations I
BINARY CODE.
Negative Binary Numbers
Base ‘b’ number for i = 0 to n – 1 for an n digit quantity
CSE 102 Introduction to Computer Engineering
ECE 103 Engineering Programming Chapter 3 Numbers
Overview Introduction Data representation Fixed Point Representation
CSE 113 A January 19 – 23, 2009.
CSE 113 A January 12 – 16, 2009.
Unit 18: Computational Thinking
January 19 – 23, 2009 CSE 113 B.
CS 101 – Sept. 4 Number representation Integer Unsigned √ Signed √
Chapter 1 Number System RGGP, Narwana.
CSCI 6307 Foundation of Systems – Exercise (1)
Number Representation
Decimal and binary representation systems
How to Represent Numbers on a Computer
CSC 220: Computer Organization Signed Number Representation
COMS 161 Introduction to Computing
COMS 161 Introduction to Computing
GCSE COMPUTER SCIENCE Topic 3 - Data 3.3 Logical and Arithmetic Shifts.
Presentation transcript:

January 12 – 16, 2009 CSE 113 B

Announcements If you have not picked up a syllabus, please do so Assignment #1 – sign and return form on last page of syllabus No class on Friday

What does a computer understand? 0’s and 1’s (zeros and ones)

Bits and Bit Strings The 0 or 1 is called a binary digit (bit). A sequence of bits is called a bit string. 0100101 is a bit string What does it mean/represent?

Interpreting Bit Patterns Binary Two’s complement IEEE 754 ASCII/EBCDIC/Unicode

Conversion from decimal to binary

How do we decode this? 001010101010101010000001011111101010101010001101001001001001001000111111001011101001100111010001010010011100110010101111101000101001010101010101110011100011100100111100000111110101010111101001010010100100100111010010010010100101001100010110010001111010010111010100101001010010101010111001010100101010101111010011010010011110100100100100100100010101101010101010110101101010101010101010101010101111100001101011101001010010010100101001011100111001010101010111010110010101

Question How many distinct 8-bit wide bit strings are there?