Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

Binary Conversion and Arithmetic Practice, Assignments of Applied Mathematics

A comprehensive practice guide for converting binary numbers to decimal and vice versa, as well as binary addition, subtraction, multiplication, and hexadecimal conversion. It also includes two's complement practice and examples of binary arithmetic operations. This resource is ideal for students studying computer science, electrical engineering, or any other field that requires a deep understanding of binary systems.

Typology: Assignments

2023/2024

Uploaded on 03/17/2024

sniggy-chan
sniggy-chan 🇮🇳

2 documents

1 / 5

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Binary Conversion Practice!!!!Binary Places: 32, 16, 8, 4, 2, 1
Convert these binary numbers to decimal:
1
10
11
100
101
1000
1011
110 0
10101
11111
Convert these decimal numbers to binary:
1
2
3
8
9
10
15
16
17
18
Answer Key
1 1
2 10
3 11
4 1000
5 1001
8 1010
11 1111
12 10000
21 10001
31 10010
pf3
pf4
pf5

Partial preview of the text

Download Binary Conversion and Arithmetic Practice and more Assignments Applied Mathematics in PDF only on Docsity!

Binary Conversion Practice!!!! Binary Places: 32, 16, 8, 4, 2, 1 Convert these binary numbers to decimal: 1 10 11 100 101 1000 1011 1100 10101 11111 Convert these decimal numbers to binary: 1 2 3 8 9 10 15 16 17 Answer Key 1 1 2 10 3 11 4 1000 5 1001 8 1010 11 1111 12 10000 21 10001 31 10010

Binary Addition Practice Place-by-place rules When carry from right is 0!!!! When carry from right is 1 !! 0! 1! 0! 1!! 0! 1! 0! 1 !! +0! +0! +1! +1!! +0! +0! +1! + Carry! 0! 0! 0! 1!! 0! 1! 1! 1 Sum!! 0! 1! 1! 0!! 1! 0! 0! 1 Add these binary numbers:

Answer Key 10 11 100 100 110 1001 10000 10001 1011

Two’s Complement Practice Convert these values to signed magnitude decimal. Each is 8 bits long, in two’s complement form (complement negative values before conversion). 01001111 11100011 00111101 10001010 Hexadecimal Conversion Practice Rewrite each of these 32-bit numbers in base 16 (group in 4-bit segments, convert each to hexadecimal) 00111010111101111101000001001110 10110110110001011001100000100001 Answer Key 1+2+4+8+64 = 79 00011101 = 1+4+8+16 = - 1+4+8+16+32 = 61 01110110 = 2+4+16+32+64 = - 3AF7D04E B6C

1010 = A

1011 = B

1100 = C

1101 = D

1110 = E

1111 = F

Binary Multiplication Practice Multiply these binary numbers:

x 1!! x 10 !! x 01 !! x 11 !! x 011! x 101

x 0111!! x 0101!! x 1011!! x 1111

Answer Key 1 110 10 1001 10010 11110