1 Bits, Bytes, Binary & Hex CIS 3260. 2 TAG ▪ 2011 01101001 Byte Bit.

Slides:



Advertisements
Similar presentations
How to Convert Decimal Numbers to Binary EXAMPLES.
Advertisements

Base 10 Denary Decimal
NUMBER SYSTEM. How to convert hexadecimal numbers to decimal numbers? 230 Working from right to left, MULTIPLY each position with 8 raised to the power.
1 Lecture 3 Bit Operations Floating Point – 32 bits or 64 bits 1.
Review Two’s complement
Numbers. Number Conversion Convert – Binary number to decimal numbers – Octal numbers to decimal numbers – Hexadecimal to decimal numbers Convert – Decimal.
4-Bit Binary-to-BCD Converter: case Statement
Binary numbers. 1 Humans count using decimal numbers (base 10) We use 10 units: 0, 1, 2, 3, 4, 5, 6, 7, 8 and (5.
CISCO NETWORKING ACADEMY Chabot College ELEC 74A Hexadecimal Introduction.
Hexadecimal and ASCII Lesson Objective: Understand the purpose of ASCII and how to use it. Lesson Outcome: Convert between Hexadecimal and ASCII Convert.
Bits, Bytes, KiloBytes, MegaBytes, GigaBytes & TeraBytes.
Number Systems.
COMT 222 Tools for a Digital World. Digital? What makes information Digital? If it helps:  When is information not analog? Answer:  A finite number.
CS-280 Dr. Mark L. Hornick 1 ASCII table. 2 Displaying Numbers as Text Problem: display numerical values as text Consider the numerical value 0x5A held.
CIS 3260 Introduction to Programming Using C#. Tom Gregory Center for Process Innovation Soccer Referee Boy Scout leader B.S. Computer Science MBA Developer.
 Programmed for educational purposes  Efficiency sacrificed for clarity/explanation.
Binary, Decimal and Hexadecimal Numbers Svetlin Nakov Telerik Corporation
Supplemental Chapter Number Bases
Number Systems What is the Standard Base we
Number System. Number Systems Important Number systems – Decimal – Binary – Hexadecimal.
Converting From decimal to Binary & Hexadecimal to Binary
1 Press Ctrl-A ©G Dear 2010 – Not to be sold/Free to use Converting Bits and Bytes Stage 6 - Year 11 Applied Mathematic (Preliminary General 1)
Chapter 2 Data Representation.
Hexadecimal. Overview Hexadecimal (hex) ~ base 16 number system Use 0 through 9 and... A = 10 B = 11 C = 12 D = 13 E = 14 F = 15.
Chapter 2 Bits, Data Types, and Operations. 2-2 Hexadecimal Notation It is often convenient to write binary (base-2) numbers as hexadecimal (base-16)
Bits, Data types, and Operations: Chapter 2 COMP 2610 Dr. James Money COMP
Working with 8-bit bytes and hexadecimal
Hexadecimal Data Representation. Objectives  Know how the Hexadecimal counting system works  Be able to convert between denary, binary & hexadecimal.
Data Representation Bits, Bytes, Binary, Hexadecimal.
DECIMALBINARY a) b) c) d) e) f) Revision Exercise DECIMALBINARY a) b) c)
Binary01.ppt Decimal Decimal: Base 10 means 10 Unique numerical digits ,00010,000 Weight Positions 3,
Cis303a_chapt03_exam1_answer.ppt CIS303A: System Architecture Exam 1: Chapter 3 Answer List the characters (digits) for the following bases. 1) Decimal:
The Hexadecimal System is base 16. It is a shorthand method for representing the 8-bit bytes that are stored in the computer system. This system was chosen.
Binary Lesson 4 Hexadecimal and Binary Practice Modified for IPv6.
Base 16 (hexadecimal) Uses the decimal digits and the first letters of the alphabet to encode 4 binary bits (16=2 4 ) abcdef or ABCDEF.
Binary Numbers Practice.
Binary Lesson 4a Hexadecimal and Binary Practice2.
DECIMAL, BINARY, AND HEXADECIMAL. Decimal Numbering System Ten symbols: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 Represent larger numbers as a sequence of digits.
Lecturer: Santokh Singh
Decimal Numbers.
Unit 2.6 Data Representation Lesson 1 ‒ Numbers
Tutorial Nine Cache CompSci Semester One 2016.
Octal to Decimal Decimal Octal Binary Hexadecimal.
Unit 18: Computational Thinking
Using the Windows Calculator for quick decimal to binary conversions
Binary, Decimal and Hexadecimal Numbers
Data Storage Introduction to computer, 2nd semester, 2010/2011
Binary Quiz UIN: ____________________
Binary Code  
Help! Tell me about Computer Data!
Number Systems Base 2, 10, 16.
Introduction to Intel x86-64 Assembly, Architecture, Applications, & Alliteration Xeno Kovah – 2014 xkovah at gmail.
Unit 2.6 Data Representation Lesson 1 ‒ Numbers
Binary Lesson 3 Hexadecimal
Binary, Octal and Hex Numbers Copyright Thaddeus Konar
There are 10 types of people of people in this world…
Binary Lesson 3 Hexadecimal
Binary Lesson 3 Hexadecimal
Binary Lesson 3 Hexadecimal
Binary Lesson 4 Hexadecimal and Binary Practice
Numeral systems (radix)
Binary, Hex, and Decimal 103= = = =110 Binary2
Binary Lesson 4 Hexadecimal and Binary Practice
CS334: Number Systems Lab 1.
Remember the 10 types of people of people in this world…
Computer Science 1 Review and finish Number base conversion
Binary Lesson 7 Review of Binary and Hexadecimal
Lecture 37 – Practice Exercises 9
Lecture 37 – Practice Exercises 9
Presentation transcript:

1 Bits, Bytes, Binary & Hex CIS 3260

2 TAG ▪ Byte Bit

3 TAG ▪ 2011 Second-grade math ,337 (1 x 10 3 ) + (3 x 10 2 ) + (3 x 10 1 ) + (7 x 10 0 )

4 TAG ▪ 2011 Binary ,337 (1 x 10 3 ) + (3 x 10 2 ) + (3 x 10 1 ) + (7 x 10 0 ) (1 x 2 3 ) + (1 x 2 2 ) + (0 x 2 1 ) + (1 x 2 0 )

5 TAG ▪ , = 13

6 TAG ▪ 2011 Practice Convert from binary to decimal: = = = = =

7 TAG ▪ 2011 Hexadecimal ,337 (1 x 10 3 ) + (3 x 10 2 ) + (3 x 10 1 ) + (7 x 10 0 ) 8B2F 0x8B2F (8 x 16 3 ) + (11 x 16 2 ) + (2 x 16 1 ) + (15 x 16 0 )

8 TAG ▪ , B2F 0x8B2F = 35,631

9 TAG ▪ 2011 Practice Convert from binary to hex: = = = = = 0x9 0x3 0xA 0xE 0x7

10 TAG ▪ 2011 Practice Convert from hex to decimal: 0x0C 0x2F 0xFF 0xFB = = = =

11 TAG ▪ 2011 Practice Identify most-significant bit: 0x0C 0x80 0x90 0xB8    