EEL-3705 TPS QUIZZES. Think - Pair - Share (TPS) Quizzes Think – Pair – Share –Think individually for one time units –Pair with partner for two time units.

Slides:



Advertisements
Similar presentations
HEXADECIMAL NUMBERS Code
Advertisements

Number Systems Discussion D4.1 Appendix C. Number Systems Counting in Binary Positional Notation Hexadecimal Numbers Negative Numbers.
James Tam Numerical Representations On The Computer: Negative And Rational Numbers How are negative and rational numbers represented on the computer?
Agenda Shortcuts converting among numbering systems –Binary to Hex / Hex to Binary –Binary to Octal / Octal to Binary Signed and unsigned binary numbers.
1 Binary Arithmetic, Subtraction The rules for binary arithmetic are: = 0, carry = = 1, carry = = 1, carry = = 0, carry =
Negative Numbers Module M3.3 Section 2.4. Negative Numbers Subtract by adding ’s complement Ignore carry.
Quiz 1.1 Convert the following unsigned binary numbers to their decimal equivalent: Number2 Number
Mathematics with Binary. Question  Below is a binary string  Which is the least significant bit (LSB)?  Which is the most significant bit (MSB)? 0.
Complements: different approaches for representing negative numbers
Number Systems and Codes Discussion D4.1. Number Systems Counting in Binary Positional Notation Hexadecimal Numbers Negative Numbers.
Computer ArchitectureFall 2007 © August 29, 2007 Karem Sakallah CS 447 – Computer Architecture.
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.
Introduction to Number Systems
Binary, Decimal, & Hexadecimal Numbers
Converting binary to decimal decimal to binary
Binary Representation - Shortcuts n Negation x + x = 1111…1111 two = -1 (in 2’s complement) Therefore, -x = x + 1 n Sign Extension o Positive numbers :
Computer Systems 1 Fundamentals of Computing Negative Binary.
Number Systems.
ECE 2110: Introduction to Digital Systems Signed Number Conversions.
1 Arithmetic and Logical Operations - Part II. Unsigned Numbers Addition in unsigned numbers is the same regardless of the base. Given a pair of bit sequences.
Conversion Between Lengths Positive number pack with leading zeros +18 = = Negative numbers pack with leading ones -18 =
Chapter 7 Arithmetic Operations and Circuits Binary Arithmetic Addition –When the sum exceeds 1, carry a 1 over to the next-more-significant column.
#1 Lec # 2 Winter EECC341 - Shaaban Positional Number Systems A number system consists of an order set of symbols (digits) with relations.
CSE 111 Representing Numeric Data in a Computer Slides adapted from Dr. Kris Schindler.
Lecture Objectives: 1)Define the terms least significant bit and most significant bit. 2)Explain how unsigned integer numbers are represented in memory.
Number Systems. Why binary numbers? Digital systems process information in binary form. That is using 0s and 1s (LOW and HIGH, 0v and 5v). Digital designer.
CSE 241 Computer Organization Lecture # 9 Ch. 4 Computer Arithmetic Dr. Tamer Samy Gaafar Dept. of Computer & Systems Engineering.
Number Systems. Today Decimal Hexadecimal Binary –Unsigned Binary –1’s Complement Binary –2’s Complement Binary.
CPU Internal memory I/O interface circuit System bus
ECE 301 – Digital Electronics Unsigned and Signed Numbers, Binary Arithmetic of Signed Numbers, and Binary Codes (Lecture #2)
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.
PYTHON PROGRAMING Week 15 – Tuesday.
Positional Number Systems
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.
Number Systems Binary to Decimal Octal to Decimal Hexadecimal to Decimal Binary to Octal Binary to Hexadecimal Two’s Complement.
1 Review on Number Systems Decimal, Binary, and Hexadecimal.
ECE 2110: Introduction to Digital Systems
1 Arithmetic and Logic Operations Patt and Patel Ch. 2 & 3.
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
Ch3a- 2 EE/CS/CPE Computer Organization  Seattle Pacific University Crunching Numbers Topics we need to explore Representing numbers on a computer.
Unit 7 Number Systems and Bases Presentation 1Binary and Base 10 Presentation 2Adding Binary Numbers Presentation 3Subtracting Binary Numbers Presentation.
Introduction to Microprocessors Chapter 2. Decimal or Base 10 Numbers  Have ten different digits (0-9)  It is a weighted number system. Each position.
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=
EEL-3705 TPS QUIZZES Chapter 4. Quiz 4-1 Using the 2x4 Decoder shown below and two-input OR gates, design a logic circuit which implements.
1 Number Systems Decimal, Binary, and Hexadecimal.
Arithmetic Operations
CCE Department – Faculty of engineering - Islamic University of Lebanon Chapter 6 Binary Arithmetic.
EEE342 Digital Electronics Ian McCrumRoom 5B18, Lecture 2: Codes & Arithmetic.
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.
Exercise 1.2 (Chapter 1) Prepared by Dr. Lamiaa Elshenawy
Integer Operations Computer Organization and Assembly Language: Module 5.
MicroProcessors Lec. 4 Dr. Tamer Samy Gaafar. Course Web Page —
09/03/20161 Information Representation Two’s Complement & Binary Arithmetic.
Computer Organization 1 Data Representation Negative Integers.
Bits, Data types, and Operations: Chapter 2 COMP 2610 Dr. James Money COMP
Lecture No. 4 Computer Logic Design. Negative Number Representation 3 Options –Sign-magnitude –One’s Complement –Two’s Complement  used in computers.
Binary Addition The simplest arithmetic operation in binary is addition. Adding two single-digit binary numbers is relatively simple, using a form of carrying:
ECE 3110: Introduction to Digital Systems
Negative Binary Numbers
Integer Real Numbers Character Boolean Memory Address CPU Data Types
Negative Binary Numbers
Binary Addition & Subtraction
Digital Logic Design (ECEg3141) 2. Number systems, operations & codes 1.
Binary Addition (1 of 2) Two 1-bit values A B A + B 1
Percentage increase and decrease
Addition & Subtraction Addition & Subtraction
Computer Architecture CST 250
Presentation transcript:

EEL-3705 TPS QUIZZES

Think - Pair - Share (TPS) Quizzes Think – Pair – Share –Think individually for one time units –Pair with partner for two time units –Share with group for one and half time units –Report results

THINK One Unit (e.g. 30 Seconds)

PAIR Two Units (e.g. 60 Seconds)

SHARE 1.5 units (e.g. 45 Seconds)

Report

Quiz 2-1

Q: Calculate the following binary addition. Assume unsigned binary numbers

S: Calculate the following binary addition. Assume unsigned binary numbers

Quiz 2-2

Q: Calculate the following binary addition. Assume unsigned binary numbers

Solution

Quiz 2-3

Q: Calculate the following binary subtraction using the borrow method. Assume unsigned binary numbers

S: Calculate the following binary subtraction. Assume unsigned binary numbers

Quiz 2-4

Q: Calculate the following binary multiplication. Assume unsigned binary numbers x 0 1 1

S: Calculate the following binary multiplication. Assume unsigned binary numbers x

Quiz 2-5

Q: Calculate the hex addition. Assume unsigned binary numbers. A3FD CE 16

S: Calculate the hex addition. A3FD CE 16 C8CB 16 11

Quiz 2-6

Q: Calculate the hex subtraction using the borrow method. Assume unsigned binary numbers. A3FD CE 16

S: Calculate the hex subtraction. A3FD CE 16 7F2F

Quiz 2-7

S: Convert the following to decimal a) A3FD 16 b) 24CE 16

S: Convert the following to decimal a)A3FD 16 b) 24CE 16

Quiz 2-8

Q: Convert the following to decimal. Assume unsigned binary numbers a) b) c)

Q: Convert the following to decimal. Assume unsigned binary numbers a) b) c) = =61 = =23 = =84

Quiz 2-9

Q: Convert the following to binary. Assume unsigned binary numbers a) 45 b) 123 c) 62

S: Convert the following to binary. Assume unsigned binary numbers a) 45 b) 123 MSB LSB

S: Convert the following to binary. Assume unsigned binary numbers b) MSB LSB

Quiz 2-10

Q: Calculate the two’s complement of the following binary numbers. What is the signed decimal equivalent of the original number? a) b)

A: Calculate the two’s complement of the following binary numbers. What are the signed decimal equivalents of the original number. a)  -3 b)  = = 11

Quiz 2-11

Q: Calculate the following binary subtraction using the two’s complement method. Assume unsigned binary numbers

S: Calculate the following binary subtraction using the two’s complement method. Assume unsigned binary numbers  = Calculate two’s complement Perform binary addition Throw away 29 + ( -23 ) 6

Quiz 2-12

Q: Calculate the following using the two’s complement method and give the result in binary and decimal. Assume signed binary numbers

Q Solution: Calculate the following using the 2’s complement method and give the result in binary and decimal ’s Comp