0% found this document useful (0 votes)
65 views10 pages

Computer Science Binary Conversions Guide

This document presents a guide of activities on conversions between the binary, octal, decimal, and hexadecimal systems. It includes exercises to perform operations in binary, conversions between the different numerical systems, and the development of responses to each of the exercises proposed in the guide.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
65 views10 pages

Computer Science Binary Conversions Guide

This document presents a guide of activities on conversions between the binary, octal, decimal, and hexadecimal systems. It includes exercises to perform operations in binary, conversions between the different numerical systems, and the development of responses to each of the exercises proposed in the guide.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Rodolfo Llinas Riascos

Computer Science Guide #3

Cristóbal Pertuz

María Camila Núñez Herrera

9A

Atlantic/Barranquilla

2021
COMPUTER SCIENCE GUIDE ACTIVITY #3

The student, after watching the video, must:


1. Prepare a written work using Microsoft Word or by hand (in handwriting
legible). And send it through the "Classroom" platform.

With the following exercises:


a) Perform the following operations

✓ 102112

✓ 100012+1112
b) Conversion from binary to decimal:

✓ 1011102

✓ 0000112

✓ 1010102

✓ 1110002
c) Conversion from decimal to binary:

✓ 6410=

✓ 14510=

✓ 50010=

✓ 2710 =
d) Convert the following octal numbers to their equivalent binary:

✓ 758=

✓ 1638=

✓ 2018

✓ 3768=
h) Convert the following binary numbers to their octal equivalents:

✓ 001=✓ 110=
✓ 111000=

✓ 101100=
i) Convert the following hexadecimal numbers to their binary equivalents:

✓ B16=

✓ 1C16=

✓ 1FC16=

✓ 239=
j) Convert the following binary numbers to their hexadecimal equivalents

equivalents:

✓ 1001=

✓ 110101=

✓ 10000=

✓ 10000000=
DEVELOPMENT OF THE ACTIVITY
A). Operations to solve:
1011012plus 10112

101101
0111
111000

R/= 111000

100012+1112
111
10001
111
11000

R/= 11000

B) Conversion from binary to decimal

✓ 1100001
0 × 20 = 0 × 0 = 0
1 × 2¹ = 1 × 2 = 2
1 × 2² = 1 × 4 = 4 (decimal 46)
1 × 2³ = 1 × 8 = 8 46
0 × 24 = 0 × 16 = 0
1 × 25 = 1 × 32 = 32
46

✓ 000011 squared
1 × 20 = 1 × 0 = 0 decimal 2
1 × 2¹ = 1 × 2 = 2
0 × 2² = 0 × 4 = 0
0 × 2³ = 0 × 8 = 0
0 × 24 = 0 × 16 = 0
0 × 25 = 0 × 32 = 0
2

✓101010²
0 × 20 = 0 × 0 = 0
2 (decimal 2)
0 × 2² = 0 × 4 = 0 42
1 × 2³ = 1 × 8 = 8
0 × 24 = 0 × 16 = 0
1 × 25 = 1 × 32 = 32
46
B) Conversion from binary to decimal
101110 squared
0 × 20 = 0 × 0 = 0
1 × 2¹ = 1 × 2 = 2
1 × 2² = 1 × 4 = 4 46
1 × 2³ = 1 × 8 = 8
0 × 24 = 0 × 16 = 0
1 × 25 = 1 × 32 = 32
46

000011 squared
1 × 20 = 1 × 0 = 0 (decimal 2)
1 × 2¹ = 1 × 2 = 2
0 × 2² = 0 × 4 = 0
0 × 2³ = 0 × 8 = 0
0 × 24 = 0 × 16 = 0
0 × 25 = 0 × 32 = 0
2
101010 squared
0 × 20 = 0 × 0 = 0
1 × 2¹ = 1 × 2 = 2 (decimal 42)
0 × 2² = 0 × 4 = 0
1 × 2³ = 1 × 8 = 8
0 × 24 = 0 × 16 = 0
1 × 25 = 1 × 32 = 32
42

111000
0 × 20 = 0 × 0 × 0
0 × 2¹ = 0 × 2 × 0 decimal 56
0 × 2² = 0 × 4 × 0
1 × 2³ = 1 × 8 × 8
1 × 24 = 1 × 16 × 16
1 × 25 = 1 × 32 × 32
56

C) Conversion from decimal to binary:


64¹0
64|__2_
0 32 |_2__
1 11 |__2__
1 5 |__2__
1 2 |__2___
01
64 in base 10 equals 101110 in base 2

145¹0
145|___2__
1 72 |___2__
0 36 |___2___
0 18 |___2___
0 9 |__2__
1 4 |__2__
0 2 |__2__
01
145^10 = 10010001^2

500¹0
500|__2__
0 250 |__2__
0 125 |__2__
1 62 |__2__
0 31 |__2__
1 15 |___2__
1 7 |__2__
1 3 |__2__
11
500 in decimal is equal to 111110100 in binary.

111¹0
111|_2__
1 55|__2___
1 27 |_2__
1 13 |__2__
1 6 |_2__
0 3 |__2__
11
111¹0 = 1101111²
27¹0
27 in binary is 11011.

1 13 |__2__
1 6 |_2__
0 3 |__2__
11
27 base 10 = 11011 base 2

D) Convert the following octal numbers to


its equivalent binaries:
75 8
7 = 111
5 = 101
357

1638
1=001
6=110
3=011
(001110011) squared

2018
2 = 010
0= 000
1=001
(010000001)²

3768
3 = 011
7 = 111
6=110
(011111110)²

H) Convert the following binary numbers to their


octal equivalents:
001²
(1)8

110 squared
(6)8
111000 squared
111=7
000=0
-70 in base 8

45
5
100=4
=(54)8

I. Convert the hexadecimal number sets to their


binary equivalents:

B¹6
= (1011)²

1 Corinthians 16
=1=0001
=C=1100
(00011100)²

1FC¹6
=1=0001
=F=1111
=C=1100
(000111111100)²

239¹6
=2=0010
=3=0011
=9=1001
(001000111001)²

J) Convert the following binary numbers to


hexadecimal equivalent
1001²
=(9)¹6

1101²
(D)^16

10000²
Since there are missing numbers, we add three zeros in front.

of 1....
=0001. 0000
= 0001= 1
=0000=0
(10)¹6

10,000,000,000
=1000=8
=0000=0
= (80)¹6

You might also like