Starter Using the mini whiteboards record your answers: 1) Name 2 different Character Sets 2) Convert the Hex number 9E into denary 3) Convert the binary.

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.
Addition of two binary numbers = = = = 39.
Arithmetic & Logic Unit Does the calculations Everything else in the computer is there to service this unit Handles integers May handle floating point.
Kavita Hatwal Fall The decimal system, also called the base 10 number system is based on ten numbers: 0, 1, 2, 3, 4, 5, 6, 7, 8, and 9. All the numbers.
Agenda Shortcuts converting among numbering systems –Binary to Hex / Hex to Binary –Binary to Octal / Octal to Binary Signed and unsigned binary numbers.
Signed Numbers.
1 Binary Arithmetic, Subtraction The rules for binary arithmetic are: = 0, carry = = 1, carry = = 1, carry = = 0, carry =
Mathematics with Binary. Question  Below is a binary string  Which is the least significant bit (LSB)?  Which is the most significant bit (MSB)? 0.
Signed Numbers CS208. Signed Numbers Until now we've been concentrating on unsigned numbers. In real life we also need to be able represent signed numbers.
Number System and Codes
Two’s Complement 1.As an action: (Assume the starting value is 1011) 1.Flip the bits from the starting value => Add one to get the answer.
1 Binary Numbers Again Recall that N binary digits (N bits) can represent unsigned integers from 0 to 2 N bits = 0 to 15 8 bits = 0 to bits.
Data Storage. SIGN AND MAGNITUDE Storing and representing numbers.
COMP201 Computer Systems Number Representation. Number Representation Introduction Number Systems Integer Representations Examples  Englander Chapter.
© GCSE Computing Candidates should be able to:  convert positive denary whole numbers (0-255) into 8-bit binary numbers and vice versa  add two 8-bit.
ECE 2110: Introduction to Digital Systems Signed Number Conversions.
Computer Organization & Programming Chapter2 Number Representation and Logic Operations.
1 Week 3: Data Representation: Negative Numbers READING: Chapter 3.
Number Systems Part 2 Numerical Overflow Right and Left Shifts Storage Methods Subtraction Ranges.
Representing Integer Data Book : Chapter ( Subject has no point !! ) A99ACF.
NUMBER REPRESENTATION CHAPTER 3 – part 3. ONE’S COMPLEMENT REPRESENTATION CHAPTER 3 – part 3.
CPS120: Introduction to Computer Science Computer Math: Signed Numbers.
The Teacher CP4 Binary and all that… CP4 Revision.
BR 8/99 Binary Numbers Again Recall than N binary digits (N bits) can represent unsigned integers from 0 to 2 N bits = 0 to 15 8 bits = 0 to 255.
Number Representation
ECE2030 Introduction to Computer Engineering Lecture 2: Number System Prof. Hsien-Hsin Sean Lee School of Electrical and Computer Engineering Georgia Tech.
ECE 2110: Introduction to Digital Systems Signed Addition/Subtraction.
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.
Number Systems Revision of conversations What is a register Addition Complementation.
Hexadecimal Data Representation. Objectives  Know how the Hexadecimal counting system works  Be able to convert between denary, binary & hexadecimal.
07/12/ Data Representation Two’s Complement & Binary Arithmetic.
Addition and Substraction
GCSE Computing: A451 Computer Systems & Programming Numbers Representation of Data in Computer Systems.
COMPUTER SCIENCE Data Representation and Machine Concepts Section 1.6 Instructor: Lin Chen Sept 2013.
Candidates should be able to:
A)Convert positive denary whole numbers (0-255) into 8-bit binary numbers and vice versa b)Add two 8-bit binary integers and explain overflow errors which.
Digital Representations ME 4611 Binary Representation Only two states (0 and 1) Easy to implement electronically %0= (0) 10 %1= (1) 10 %10= (2) 10 %11=
Bits, Data types, and Operations: Chapter 2 COMP 2610 Dr. James Money COMP
IT1004: Data Representation and Organization Negative number representation.
Integers’ Representation. Binary Addition. Two's Complement. Unsigned number representation Binary Addition, Subtraction. Overflow of unsigned numbers.
09/03/20161 Information Representation Two’s Complement & Binary Arithmetic.
Lecture 2: 8/29/2002CS149D Fall CS149D Elements of Computer Science Ayman Abdel-Hamid Department of Computer Science Old Dominion University Lecture.
Bits, Data types, and Operations: Chapter 2 COMP 2610 Dr. James Money COMP
ECE 3110: Introduction to Digital Systems Signed Number Conversions and operations.
Lecture No. 4 Computer Logic Design. Negative Number Representation 3 Options –Sign-magnitude –One’s Complement –Two’s Complement  used in computers.
Learning Objectives 3.3.1f - Describe the nature and uses of floating point form 3.3.1h - Convert a real number to floating point form Learn how to normalise.
Starter To complement our notes and learning from last lesson (Topic 10 Introducing Large ICT Systems: Features of Large ICT Systems), fold your piece.
Two’s Complement The language of machines, part II.
STARTER – CRACK THE CODE
Starter Using two’s Complement form convert the following from Denary to Binary using 8 bits. Answer on mini whiteboard Using two’s.
Binary Addition The simplest arithmetic operation in binary is addition. Adding two single-digit binary numbers is relatively simple, using a form of carrying:
Advanced Binary b. describe and use two’s complement and sign and magnitude to represent negative integers; c. perform integer binary arithmetic, that.
INFO 3: Use of ICT In The Digital World Topic 8: Development Methods (Stages of the SDLC) Electronic Chapter: 9.
Starter Using the mini whiteboards record your answers: 1)Convert 8F to Denary 2)Convert 23 to Hex 3)Convert -17 to binary using sign & magnitude 4)Convert.
ECE 2110: Introduction to Digital Systems Signed Number Conversions.
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, Denary, Hexadecimal Conversion Binary Addition
Arithmetic Shifts and Character Representation
Lesson Objectives To understand how to add 4 and 8 bit binary numbers together To understand what is meant by the term “Overflow” ALL students will add.
Unit 18: Computational Thinking
Lesson 2: Binary to Denary Conversion.
C1 Number systems.
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.
CPS120: Introduction to Computer Science
Binary  Name: Class: .
GCSE COMPUTER SCIENCE Topic 3 - Data 3.2 Signed Integers.
Two’s Complement & Binary Arithmetic
Presentation transcript:

Starter Using the mini whiteboards record your answers: 1) Name 2 different Character Sets 2) Convert the Hex number 9E into denary 3) Convert the binary number into Denary and Hex

Representation of Negative Numbers (Textbook Page 193)

Objectives Understand that negative whole numbers can be represented using the Sign & Magnitude method. Understand that negative whole numbers can be represented using the TWO’s Complement method.

Exam Questions on this Topic 1) Show how the number –7 is represented in two’s complement form using 8 bits. [1] Jan ) In a certain computer, integers are stored using sign/magnitude representation and 16 binary digits. The left hand bit is set to zero for a positive number. Find the integer represented by the binary number [1] Jun 2012 Where do you think you fall on the Progress Scale?

Assessment Objectives (Outcome) Grade E/D Standard: Be able to understand how to convert from negative denary numbers using the two methods and achieve more than 40% of the exam style question. Grade C/B Standard: Be able to understand and demonstrate how to convert negative denary numbers using the two methods and achieve 60% or more of the exam style question. Grade A Standard: Be able to understand, demonstrate and teach others independently how to negative denary numbers using the two methods and achieve 80% or more in the exam style questions.

Learning the Methods (30 Minutes) Working in pairs: Learn the method you have been given and make notes of the method. Put together 5 questions you could ask to test the learning using this method. Teach your method to your partner so that they know how to use this method. Partner to make notes of the method. Use your questions to test their understanding.

Adding Binary Numbers Example: Add the decimal numbers 12 and 10 in binary using the twos complement method: Step 1: Convert the decimal numbers to their equivalent twos complement binary number: = = 10 Step 2: Add them together in binary: (Remember 10 in binary is 2 in decimal) = = Carry the one = 22

Activity 1)Convert the decimal number -27 using the sign and magnitude method. 2) Convert the decimal number -27 using the twos complement method. 3) Show how the calculation 53 – 25 is actually using twos complement binary.

Activity - Answers 1) = -27 (S&M) 2) = 27 = = -27 (TC) 3) = = -25 (TC) = (1) = 28 (1) is overflow and doesn’t count 53 – 25 = = 28

On-Line Assessment(30 Minutes) Go to Enter room Complete quiz on your own

Stretch & Challenge Activity 1) Show how the number –7 is represented in two’s complement form using 8 bits. [1] Jan ) In a certain computer, integers are stored using sign/magnitude representation and 16 binary digits. The left hand bit is set to zero for a positive number. Find the integer represented by the binary number [1] Jun ) In other computers, integers are stored using two’s complement representation. Describe, using an example, how the two’s complement of a binary number is derived. [3] June 2012

Extra Work A teacher wants to teach her students how to convert negative numbers using the sign & magnitude and two’s complement methods. Using a software of your choice create a teaching aid for the teacher and ensure your teaching aid tests the students knowledge.

Assessment Objectives (Outcome) Grade E/D Standard: Be able to understand how to convert from negative denary numbers using the two methods and achieve more than 40% of the exam style question. Grade C/B Standard: Be able to understand and demonstrate how to convert negative denary numbers using the two methods and achieve 60% or more of the exam style question. Grade A Standard: Be able to understand, demonstrate and teach others independently how to negative denary numbers using the two methods and achieve 80% or more in the exam style questions.

Objectives Understand that negative whole numbers can be represented using the Sign & Magnitude method. Understand that negative whole numbers can be represented using the TWO’s Complement method.