[PDF] Number Systems – Conversion & Math Practice Problems





Previous PDF Next PDF



Addition of Hexadecimal Numbers

Eastern Mediterranean University. Department of Electrical& Electronic Engineering. Addition of Hexadecimal Numbers. 1+1 = 2. 1+2 = 3. 1+3 = 2+2 = 4.





binary coded decimal (BCD):

Addition of Hexadecimal Numbers: Hex numbers are used extensively in machine-language computer programming and in conjunction with computer memories.



EE 308 Spring 2013 • Addition and Subtraction of Hexadecimal

Addition and Subtraction of Hexadecimal Numbers. • Simple assembly language programming o Hex code generated from a simple 9S12 program.



CHAPTER THREE

3.5 Hexadecimal Addition. At the beginning of this chapter it was shown how binary addition. (base 2) with its two digits



Hexadecimal Arithmetic

Example ? Addition. Hexadecimal Subtraction. The subtraction of hexadecimal numbers follow the same rules as the subtraction of numbers in.



Course Overview

o Addition and subtraction of binary and hexadecimal numbers o The Condition Code Register (CCR): N Z



MICROPROCESSOR LAB MANUAL NEE-553

DESCRIPTION/ALGORITHM:- Hexadecimal Addition: The program takes the content of 2009 adds it to 200B & stores the result back at 200C. Steps: 1.



Number Systems – Conversion & Math Practice Problems

Convert each of the following hexadecimal numbers to binary octal



Experiment Number -02

Addition of two 8-bit hexadecimal numbers. APPRATUS REQUIRED Again after taking the program are use HLT instruction its Hex code. 8. Press “NEXT”.



Adding Hexadecimal Numbers (B) - Math-Drills

Addition Worksheet -- Adding Hexadecimal Numbers (Base 16) Author: Math-Drills com -- Free Math Worksheets Subject: Addition Keywords: math number systems hexadecimal addition Created Date: 2/18/2016 10:30:40 AM



Hexadecimal Arithmetic - Biggest Online Tutorials Library

Hexadecimal Addition Following hexadecimal addition table will help you greatly to handle Hexadecimal addition To use this table simply follow the directions used in this example ? Add A16 and 516 Locate A inthe X column then locate the 5 in the Y column The point in 'sum' area where these two columnsintersect is the sum of two numbers



Octal and Hexadecimal Number Systems - Rochester Institute of

HEXADECIMAL or BASE-16 numbers uses sixteen symbols: 0 1 2 3 4 5 6 7 8 9 A B C D and E (count them!) and position plays a major role in expressing their meaning For example 537CA 16 means 45 x 16 3+ 3 x 16 + 7 x 162 + C x 161 + A x 160

Number Systems Practice Problems - 1 Conversion Problems

1. Convert each of the following binary numbers to octal, decimal, and

hexadecimal formats. (111011101)2 (10101010111)2 (111100000)2

2. Convert each of the following octal numbers to binary, decimal, and

hexadecimal formats. (3754)8 (7777)8 (247)8

3. Convert each of the following decimal numbers to binary, octal, and

hexadecimal formats. (3479)10 (642)10 (555)10

4. Convert each of the following hexadecimal numbers to binary, octal, and

decimal formats. (4FB2)16 (88BAE)16 (DC4)16 Number Systems - Conversion & Math Practice Problems Number Systems Practice Problems - 2Math Problems

1. Perform each of the addition operations indicated below.

(1001011)2 + (11101)2 (4556)8 + (1245)8 (BCD)16 + (A34)16

2. Form the two's complement of each of the following binary numbers.

(111011101110)2 (11111111000100)2 (100000000)2 (1010101010111)2

3. Perform each of the subtraction operations indicated below using addition and

the two's complement of the subtrahend. (100101)2 - (11011)2 (1101011)2 - (111010)2 (1110111)2 - (10110111)2 Number Systems Practice Problems - 3 Conversion Problems

5. Convert each of the following binary numbers to octal, decimal, and

hexadecimal formats. (111011101)2 to octal: 111 011 101 = (735)8 to decimal: =(1x28) + (1x27) + (1x26) + (1x24) + (1x23) + (1x22) + (1x20) = 256 + 128 + 64 + 16 + 8 + 4 + 1 = (477)10 to hexadecimal: 0001 1101 1101 = (1DD)16 (10101010111)2 to octal: 010 101 010 111 = (2527)8 to decimal: =(1x210) + (1x28) + (1x26) + (1x24) + (1x22) + (1x21) + (1x20) = 1024 + 256 + 64 + 16 + 4 + 2 + 1 = (1367)10 to hexadecimal: = 0101 0101 0111 (557)16 (111100000)2 to octal: = 111 100 000 (740)8 to decimal: =(1x28) + (1x27) + (1x26) + (1x25) = 256 + 128 + 64 + 32 = (480)10 to hexadecimal: = 0001 1110 0000 (1E0)16

6. Convert each of the following octal numbers to binary, decimal, and

hexadecimal formats. (3754)8 to binary: = (11 111 101 100)2 to decimal: =(3x83) + (7x82) + (5x81) + (4x80) = 1536 + 448 + 40 + 4 = (2028)10

to hexadecimal: = (0111 1110 1100)2 = (7EC)16 Number Systems - Conversion & Math Practice Problems Solutions

Number Systems Practice Problems - 4

(7777)8 to binary: = (111 111 111 111)2 to decimal: =(7x83) + (7x82) + (7x81) + (7x80) = 3584 + 448 + 56 + 7 = (4095)10 to hexadecimal: = (1111 1111 1111)2 = (FFF)16 (247)8 to binary: = (10 100 111)2 to decimal: =(2x82) + (4x81) + (7x80) = 128 + 32 + 7 = (167)10 to hexadecimal: = (1010 0111)2 = (A7)16

7. Convert each of the following decimal numbers to binary, octal, and

hexadecimal formats. (3479)10 to binary: = 3479 ¸ 2 = 1739 rem = 1

1739 ¸ 2 = 869 rem = 1

869 ¸ 2 = 434 rem = 1

434 ¸ 2 = 217 rem = 0

217 ¸ 2 = 108 rem = 1

108 ¸ 2 = 54 rem = 0

54 ¸ 2 = 27 rem = 0

27 ¸ 2 = 13 rem = 1

13 ¸ 2 = 6 rem = 1

6 ¸ 2 = 3 rem = 0

3 ¸ 2 = 1 rem = 1

1 ¸ 2 = 0 rem = 1

reading bottom to top of remainders = (110110010111)2 to octal: = 3479 ¸ 8 = 434 rem = 7

434 ¸ 8 = 54 rem = 2

54 ¸ 8 = 6 rem = 6

6 ¸ 8 = 0 rem = 6

reading bottom to top of remainders = (6627)8 Number Systems Practice Problems - 5 to hexadecimal: = 3479 ¸ 16 = 217 rem = 7

217 ¸ 16 = 13 rem = 9

13 ¸ 16 = 0 rem = 13 (D)

reading bottom to top of remainders = (D97)16 (642)10 to binary: = 642 ¸ 2 = 321 rem =0

321 ¸ 2 = 160 rem = 1

160 ¸ 2 = 80 rem = 0

80 ¸ 2 = 40 rem = 0

40 ¸ 2 = 20 rem = 0

20 ¸ 2 = 10 rem = 0

10 ¸ 2 = 5 rem = 0

5 ¸ 2 = 2 rem = 1

2 ¸ 2 = 1 rem = 0

1 ¸ 2 = 0 rem = 1

reading bottom to top of remainders = (1010000010)2 to octal: = 642 ¸ 8 = 80 rem = 2

80 ¸ 8 = 10 rem = 0

10 ¸ 8 = 1 rem = 2

1 ¸ 8 = 0 rem = 1

reading bottom to top of remainders = (1202)8 to hexadecimal: = 642 ¸ 16 = 40 rem = 2

40 ¸ 16 = 2 rem = 8

2 ¸ 16 = 0 rem = 2

reading bottom to top of remainders = (282)16 (555)10 to binary: = 555 ¸ 2 = 277 rem = 1

277 ¸ 2 = 138 rem = 1

138 ¸ 2 = 69 rem = 0

69 ¸ 2 = 34 rem = 1

34 ¸ 2 = 17 rem = 0

17 ¸ 2 = 8 rem = 1

8 ¸ 2 = 4 rem = 0

4 ¸ 2 = 2 rem = 0

2 ¸ 2 = 1 rem = 0

Number Systems Practice Problems - 6 1 ¸ 2 = 0 rem = 1 reading bottom to top of remainders = (1000101011)2 to octal: = 555 ¸ 8 = 69 rem = 3

69 ¸ 8 = 8 rem = 5

8 ¸ 8 = 1 rem = 0

1 ¸ 8 = 0 rem = 1

reading bottom to top of remainders = (1053)8 to hexadecimal: = 555 ¸ 16 = 34 rem = 11 (B)

34 ¸ 16 = 2 rem = 2

2 ¸ 16 = 0 rem = 2

reading bottom to top of remainders = (22B)16

8. Convert each of the following hexadecimal numbers to binary, octal, and

decimal formats. (4FB2)16 to binary: (100 1111 1011 0010)2 to octal: (100 1111 1011 0010)2 = (47662)8 to decimal: = (4x163) + (15x162) + (11x161) + (2x160) = (4x4096) + (15x256) + (11x16) + (2x1) = 16384 + 3840 + 176 + 2 = (20402)10 (88BAE)16 to binary: (1000 1000 1011 1010 1110)2 to octal: (10 001 000 101 110 101 110)2 = (2105656)8 to decimal: = (8x164) + (8x163) + (11x162) + (10x161) + (14x160) = (8x65536) + (8x4096) + (11x256) + (10x16) + (14x1) = 16384 + 3840 + 176 + 14 = (560046)10 (DC4)16 to binary: (1101 1100 0100)2 to octal: (110 111 000 100)2 = (6704)8 to decimal: = (13x162) + (12x161) + (4x160) = (13x256) + (12x16) + (4x1) = 3328 + 192 + 4 = (3524)10 Number Systems Practice Problems - 7 Math Problems

4. Perform each of the addition operations indicated below.

(1001011)2 + (11101)2

11111 carry

1001011

+ 11101

1101000

(4556)8 + (1245)8

111 carry

4556
+ 1245 6023
(BCD)16 + (A34)16

11 carry

BCD + A34 1601

5. Form the two's complement of each of the following binary numbers.

(111011101110)2 technique #1: form one's complement and add 1

000100010001

+ 1

000100010010

technique #2: leave least significant 0's unchanged up to an including first least significant 1 - then complement all remaining bits.

000100010010

Number Systems Practice Problems - 8(11111111000100) 2 two's complement is: 00000000111100 (100000000)2 twos' complement is: 100000000 (note that it is the same!) (1010101010111)2 two's complement is: 0101010101001

6. Perform each of the subtraction operations indicated below using addition and

the two's complement of the subtrahend. (100101)2 - (11011)2

1 1 1 carry

100101

+ 100101

1001010 carry out of MSB is ignored

result is (1010)2 = (10)10 (1101011)2 - (111010)2

111 carry

1101011

+ 1000110

10110001 carry out of MSB is ignored

result is (110001)2 = (49)10 (1110111)2 - (10110111)2

1111111 carry

01110111

+ 01001001

11000000 no carry out of MSB - result is in 2's comp

and is negative, result is (1000000)2 = (-64)10

Number Systems Practice Problems - 9

quotesdbs_dbs27.pdfusesText_33
[PDF] addition hexadecimal en ligne

[PDF] addition et soustraction a imprimer

[PDF] addition hexadecimal exercice

[PDF] addition hexadecimal pdf

[PDF] addition hexadecimal cours

[PDF] pose et effectue multiplication

[PDF] fractions primaire 2e cycle

[PDF] évaluation addition soustraction nombres entiers cm2

[PDF] addition cm2 ? imprimer

[PDF] exercices addition soustraction nombres décimaux cm2

[PDF] additionner des nombres entiers cm2

[PDF] additionner des durées cm2

[PDF] opérations sur les durées

[PDF] additionner des durées cm1

[PDF] nombres sexagésimaux exercices