A-Level Computing Data representation. Objectives Know how data can be represented in a computer system Understand the need for various forms of representation.

Slides:



Advertisements
Similar presentations
Base 10 Denary Decimal
Advertisements

A-Level Computing#BristolMet Session Objectives#9 express numbers in binary, binary-coded decimal (BCD), octal and hexadecimal; describe and use two’s.
CS 151 Digital Systems Design Lecture 3 More Number Systems.
Representations Example: Numbers –145 –CVL – –91 –
Chapter Chapter Goals Know the different types of numbers Describe positional notation.
Digital Circuits. Analog and Digital Signals Noise margins in Logic Circuits VMVM.
Mathematics with Binary. Question  Below is a binary string  Which is the least significant bit (LSB)?  Which is the most significant bit (MSB)? 0.
ENGIN112 L3: More Number Systems September 8, 2003 ENGIN 112 Intro to Electrical and Computer Engineering Lecture 3 More Number Systems.
Number System and Codes
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.
ITEC 352 Lecture 6 Back to binary. Binary Review Decoders 7 segment display Complexity of wiring Questions?
COMP201 Computer Systems Number Representation. Number Representation Introduction Number Systems Integer Representations Examples  Englander Chapter.
Data Representation in Computers. Data Representation in Computers/Session 3 / 2 of 33 Number systems  The additive approach – Number earlier consisted.
Binary Representation and Computer Arithmetic
Binary Addition Addition Rules: = = = = = carry 1 1 carry 1 Example 1: Example 2:
Computer Systems 1 Fundamentals of Computing Negative Binary.
ES 244: Digital Logic Design Chapter 1 Chapter 1: Introduction Uchechukwu Ofoegbu Temple University.
Data Representation S2. This unit covers how the computer represents- Numbers Text Graphics Control.
ECEN 301Discussion #19 – Binary Numbers1 Numbered Moses 1:33,35,37 33 And worlds without number have I created; and I also created them for mine own purpose;
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,
Computer Systems Architecture Copyright © Genetic Computer School 2008 CSA 1- 0 Lesson 1 Number System.
The Teacher CP4 Binary and all that… CP4 Revision.
Chapter 2: The Logic of Compound Statements 2.5 Application: Number Systems and Circuits for Addition 1 Counting in binary is just like counting in decimal.
Numbering System Base Conversion. Number systems Decimal – 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 Binary – 0, 1 Octal – 0, 1, 2, 3, 4, 5, 6, 7 Hexadecimal system.
Positional Number Systems
Number Representation. Representing numbers n Numbers are represented as successive powers of a base, or radix.
Positional Notation 642 in base 10 positional notation is:
Lecture 2 Binary Values and Number Systems. The number 943 is an example of a number written in positional notation. The relative positions of the digits.
The Teacher CP4 Binary and all that… CP4 Revision.
Number Systems Binary to Decimal Octal to Decimal Hexadecimal to Decimal Binary to Octal Binary to Hexadecimal Two’s Complement.
Chapter 2 Number Systems: Decimal, Binary, and Hex.
CS 101 – Aug. 31 Interpreting binary  decimal √ Decimal  binary Shorthand ways of expressing binary –Octal –“Hex” Negative numbers.
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.
Number Bases and Representation. Denary Number System (Base 10) Our number system uses 10 digits (0-9) As you move from right to left each number is worth.
07/12/ Data Representation Two’s Complement & Binary Arithmetic.
Two’s Complement. A system used to represent a negative number in binary A system used to represent a negative number in binary Positive numbers start.
Addition and Substraction
COMPUTER SCIENCE Data Representation and Machine Concepts Section 1.6 Instructor: Lin Chen Sept 2013.
Candidates should be able to:
Irvine, Kip R. Assembly Language for Intel-Based Computers 6/e, Signed Integers The highest bit indicates the sign. 1 = negative, 0 = positive.
Outline Binary Addition 2’s complement Binary Subtraction Half Adder
NUMBER SYSTEMS.
Chapter 2 Binary Values and Number Systems Chapter Goals Distinguish among categories of numbers Describe positional notation Convert numbers in.
IT1004: Data Representation and Organization Negative number representation.
Reasons to  Binary With Mrs
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.
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.
09/03/20161 Information Representation Two’s Complement & Binary Arithmetic.
Computer Organization 1 Data Representation Negative Integers.
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.
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.
Two’s Complement The language of machines, part II.
First Foray into Programming (the hard way). A reminder from last lesson: A machine code instruction has two parts:  Op-code  Operand An instruction.
Binary Values. Numbers Natural Numbers Zero and any number obtained by repeatedly adding one to it. Examples: 100, 0, 45645, 32 Negative Numbers.
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 -ve and +ve numbers!.
Binary numbers: Week 7 Lesson 1
2.0 COMPUTER SYSTEM 2.2 Number System and Representation
Binary & Hexidecimal Numbers
Lesson objectives Understand how computers represent and manipulate numbers [unsigned integers, signed integers (sign and magnitude, Two’s complement)
Saturday, 10 November 2018 Binary
Hexadecimal Conversions
Data Binary Conversion.
Starter Using the fingers on only one hand, what is the highest number you can count to? Rules: You must start at 1 You must count sequentially (i.e.
Binary  Name: Class: .
GCSE COMPUTER SCIENCE Topic 3 - Data 3.4 Hexadecimal Conversion.
Binary.
Presentation transcript:

A-Level Computing Data representation

Objectives Know how data can be represented in a computer system Understand the need for various forms of representation Be able to explain and convert from one form to another

Data Representation Data on a computer system is stored in electrical signals These represent binary data Can be one of two states Here they are represented as a 0 or 1 Cannot be anything else

Data Representation A 0 or 1 is known as a BIT BITS are grouped into…….BYTES (8 BITS) A group of BYTES is a WORD The size of a word depends on the computer, a 64 bit machine has a word size of 8 bits.

Data Representation 4567 Denary Notation – grouped into values of 10s

Data Representation Binary representation is in the form of 2’s as opposed to denary (base – 2)

Data Representation Binary addition similar to denary addition, when a result is greater than 9 we ‘pass one over’ = = = 10 (carry 1 over) = 11 (carry 1 over)

Data Representation Binary multiplication works in the same way as denary (7 x 10 = 70) Move decimal point along by number of 0s 0 X 0 = 0 0 X 1 = 0 1 X 1 = 1 1 X 10 = 10

Data Representation Negative numbers are represented using two’s compliment form Significant bit is Negative

Data Representation Converting negative denary to binary Basic rule is to (invert the digits and add 1) Convert = Add 1 =

Hexadecimal Binary can be complex for humans to understand Hexadecimal is a ‘halfway house’ Used as a shorthand form of binary In base 16

Data Representation DenaryHexadecimal A 11B 12C 13D 14E 15F 16G

Data Representation Grouped into 4 bits Each group represents one number E.g = = 13 = D 0011 = 3 = 3 = D3