IT Systems What Number? EN230-1 Justin Champion C208 – 3273 www.staffs.ac.uk/personel/engineering_and_technology/jjc1.

Slides:



Advertisements
Similar presentations
Number Systems and Codes
Advertisements

A-Level Computing#BristolMet Session Objectives#8 express numbers in binary, octal and hexadecimal explain the use of code to represent a character set.
ENGIN112 L4: Number Codes and Registers ENGIN 112 Intro to Electrical and Computer Engineering Lecture 4 Number Codes and Registers.
CS 151 Digital Systems Design Lecture 4 Number Codes and Registers.
Binary and Hexadecimal Numbers
IT Systems Number Operations EN230-1 Justin Champion C208 –
Binary Mathematics. Counting system There are three kinds of people in the world: those who can count, and those who can not. - Unknown Wisdom Today’s.
Computer Number Systems This presentation will show conversions between binary, decimal, and hexadecimal numbers.
CCE-EDUSAT SESSION FOR COMPUTER FUNDAMENTALS Date: Session III Topic: Number Systems Faculty: Anita Kanavalli Department of CSE M S Ramaiah.
COMPUTER FUNDAMENTALS David Samuel Bhatti
+ CS 325: CS Hardware and Software Organization and Architecture Integers and Arithmetic.
CHARACTERS Data Representation. Using binary to represent characters Computers can only process binary numbers (1’s and 0’s) so a system was developed.
Hexadecimal and ASCII Lesson Objective: Understand the purpose of ASCII and how to use it. Lesson Outcome: Convert between Hexadecimal and ASCII Convert.
Introduction to IT and Communications Technology Justin Champion Network Connections & Number Systems.
Chapter 3 Representing Numbers and Text in Binary Information Technology in Theory By Pelin Aksoy and Laura DeNardis.
Binary Numbers and ASCII and EDCDIC Mrs. Cueni. Data Representation  Human speech is analog because it uses continuous signals (waves) that vary in strength.
Agenda Data Representation – Characters Encoding Schemes ASCII
Computer System Basics 1 Number Systems & Text Representation Computer Forensics BACS 371.
EKT 121 / 4 ELEKTRONIK DIGIT 1 CHAPTER 1 : INTRODUCTION.
Numbering Systems CS208.
Data Representation S2. This unit covers how the computer represents- Numbers Text Graphics Control.
Computer Structure & Architecture 7c - Data Representation.
EX_01.1/46 Numeric Systems. EX_01.2/46 Overview Numeric systems – general, Binary numbers, Octal numbers, Hexadecimal system, Data units, ASCII code,
Lec 3: Data Representation Computer Organization & Assembly Language Programming.
ECEN2102 Digital Logic Design Lecture 1 Numbers Systems Abdullah Said Alkalbani University of Buraimi.
Digital Logic Design Lecture 3 Complements, Number Codes and Registers.
Computing Theory – F453 Number Systems. Data in a computer needs to be represented in a format the computer understands. This does not necessarily mean.
CCE-EDUSAT SESSION FOR COMPUTER FUNDAMENTALS Date: Session III Topic: Number Systems Faculty: Anita Kanavalli Department of CSE M S Ramaiah.
Chapter1: Number Systems
1 Data Representation Characters, Integers and Real Numbers Binary Number System Octal Number System Hexadecimal Number System Powered by DeSiaMore.
Chapter 2 Number Systems: Decimal, Binary, and Hex.
Data Representation Conversion 24/04/2017.
EEL 3801C EEL 3801 Part I Computing Basics. EEL 3801C Data Representation Digital computers are binary in nature. They operate only on 0’s and 1’s. Everything.
Data Representation, Number Systems and Base Conversions
Springfield Technical Community College Center for Business and Technology.
COMPUTER PROGRAMMING I Objective 1.02 Understand Numbering Systems.
Number Systems. Topics  The Decimal Number System  The Binary Number System  Converting from Binary to Decimal  Converting from Decimal to Binary.
CS 125 Lecture 3 Martin van Bommel. Overflow In 16-bit two’s complement, what happens if we add =
Numbering Systems and Conversion Understand How Computing Devices Work 1.
Number Systems. ASCII – American Standard Code for Information Interchange – Standard encoding scheme used to represent characters in binary format on.
09/06/ Data Representation ASCII, Binary Denary Conversion, Integer & Boolean data types.
Binary a. express numbers in binary, binary-coded decimal (BCD), octal and hexadecimal;
CHAPTER 3 BINARY NUMBER SYSTEM. Computers are electronic machines which operate using binary logic. These devices use two different values to represent.
DATA Unit 2 Topic 2. Different Types of Data ASCII code: ASCII - The American Standard Code for Information Interchange is a standard seven-bit code that.
COMPUTER ORGANIZATION 4 TH LECTURE. ASCII Code  ASCII ( American Standard Code for Information Interchange).  Input and output devices that communicate.
WHAT IS BINARY? Binary is a number system that only uses two digits: 1 and 0. Any information that processed by a computer it is put into sequence of.
Binary Representation in Text
Binary Representation in Text
NUMBER SYSTEMS.
Lec 3: Data Representation
Binary Numbers and ASCII and EDCDIC
Unit 18: Computational Thinking
3.1 Denary, Binary and Hexadecimal Number Systems
CHAPTER 1 : INTRODUCTION
Using the Windows Calculator for quick decimal to binary conversions
Digital Electronics Jess 2008.
Number System conversions
Number Systems and Codes
Numbering System TODAY AND TOMORROW 11th Edition
Student: Ying Hong Course: Database Security Instructor: Dr. Yang
Data Representation Conversion 05/12/2018.
Fundamentals of Data Representation
COMS 161 Introduction to Computing
COMS 161 Introduction to Computing
Storing Negative Integers
Objective 1.02 Understand Numbering Systems
Hexadecimal.
UNIT – 3 & 4. Data Representation and Internal
Chapter 3 - Binary Numbering System
ENEL 111 Digital Electronics
Presentation transcript:

IT Systems What Number? EN230-1 Justin Champion C208 –

IT Systems Contents What different number systems are there Why do we have them Conversion between

IT Systems We usually use the decimal system to represent numbers 0,1,2,3,4,5,6,7,8,9 Commonly referred to as Base 10 Machines as seen previously work on the basis of on or off These numbers are represented by 1 or 0 Commonly known as Binary or Base 2 This binary can be used to represent any of the decimal numbers

IT Systems Each bit in a binary number has a decimal value Below is a table for a 8-bit binary number Dec Bin

IT Systems There can be any number of bits/switches Each of those bits would be a switch 0 = off 1 = on

IT Systems Each of the bits with are on (1) are added together This example is Value = Value =

IT Systems Another example What is this Value Value = Value =

IT Systems Significant Bits Most significant bit This indicates if there was a change in the binary which part of the number would have the most effect. Least significant bit This indicates if there was a change in the binary which part of the number would have the least effect. Usually The most significant bit is the one furthest to the left Least significant bit is the one furthest to the right Changes This is however not the always the case and knowledge of the hardware and software being used is required Using encryption is an example where this may change Most significant bit Least significant bit

IT Systems Significant Bits Conitnued Another term which is used for this is Big Endian The part of the sequence which has the most effect Little Endian The part of the sequence which has the least effect Big Endian Little Endian

IT Systems Another example What is this value? Value = Take your time working it out !!!!!

IT Systems Why did it take so long to work out ??? There was too many digits you for you to work out The computer would have no problems at all with this Different number systems We use different number systems to keep it easier to understand for us Hexadecimal This number system is based upon base 16 Pub quiz question The term hexidecimal comes from the words Greek work Hexa meaning 6 Latin word Decimal meaning 10

IT Systems Hexadecimal lookup table HexDecHexDec A10 33B11 44C12 55D13 66E14 77F15

IT Systems Hexadecimal Examples Decimal 16 = Hex F Decimal 11 = Hex B Decimal 27 = Hex 1B Decimal 64 = Hex 40

IT Systems Converting between types quickly Use a calculator ! Ruling that out Binary to Hexadecimal Break each part into 4 bits If you do not have multiples of 4 then add zeros at the beginning Calculate each part using the lookup table Put the Hex characters together You have the answer

IT Systems Worked Example Try this yourself with in Hex Binary Hex 2 6 Answer = 26 Hex

IT Systems Usually a symbol is used to indicate what number types is used Not a problems with binary, but with the others maybe a problem Hex is usually done by 34f2h A h at the end of the number A $ is used in the programming to indicate hex

IT Systems Conversion between Hex and Decimal 2F.4A to Decimal (2 * 16 1 ) + (15 * 16 0 ) + (4 * ) + (10 * ) = 47.74

IT Systems Character representation We have covered numbers One of the main uses of computers is the movement of text A standard format is used for text characters called ASCII ASCII = American Standard Code for Information Interchange This allows for the transfer of characters between computers and both understanding what was sent. Issues are common between sending characters between different operating systems, Panther (Apple), Unix and Windows

IT Systems ASCII Represented by a 7 bit binary value

IT Systems UNICODE Although ASCII is a worldwide standard UNICODE is a new standard Uses 8bits to represent the characters Supports a larger number of character sets Currently supports 34,168 characters Still being expanded Used in the new (Win2000 and above) windows operating systems. May become popular in the future if other OS’s accept the standard. Not that widely used at the moment

IT Systems Summary of what we have discussed Decimal Binary Hexadecimal Conversion ASCII