0% found this document useful (0 votes)
40 views3 pages

COMP502 Foundation of IT Infrastructure - Lab 2: 1: Fill in The Gaps

This document provides exercises for converting between decimal, binary, and hexadecimal data representations. It includes: 1. A table filling in binary representations for decimal numbers 00 to 15. 2. Instructions to convert a binary number to decimal. 3. Instructions to convert a decimal number to binary by repeatedly subtracting place values. 4. Instructions to convert a decimal number to hexadecimal using the same subtraction method.

Uploaded by

ZhuFei
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)
40 views3 pages

COMP502 Foundation of IT Infrastructure - Lab 2: 1: Fill in The Gaps

This document provides exercises for converting between decimal, binary, and hexadecimal data representations. It includes: 1. A table filling in binary representations for decimal numbers 00 to 15. 2. Instructions to convert a binary number to decimal. 3. Instructions to convert a decimal number to binary by repeatedly subtracting place values. 4. Instructions to convert a decimal number to hexadecimal using the same subtraction method.

Uploaded by

ZhuFei
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
You are on page 1/ 3

COMP502 Foundation of IT Infrastructure - Lab 2

Exercises for Decimal, Binary, and Hexadecimal Data Conversion

-------------------------------------------------------------------------------------------------------------------------------------------------

1: Fill in the gaps:

decimal binary decimal binary

*00 0000 08

01 0001 09 1001

02 0010 10 1010

03 0011 11 1011

04 0100 12

05 13 1101

06 0110 14 1110

07 15

2: Convert from Binary to Decimal

110101=

Place/column 32 16 8 4 2 1
1101011=
Place/column 64 32 16 8 4 2 1

3: Convert from Decimal to Binary

# to 365
convert
Place value 256 128 64 32 16 8 4 2 1

Subtracted
#
Binary #

# to 402
convert
Place 256 128 64 32 16 8 4 2 1
value
Subtracted
#
Binary #
4: Decimal to Hex conversion

# to convert 3850

Place value 256 16 1

# to subtract

Subtracted #

Hex #

You might also like