0% found this document useful (0 votes)
53 views4 pages

ITEC1000 Assignment-1 Solution

This document contains solutions to an assignment on binary, octal, decimal, and hexadecimal number systems. It includes converting between number bases, arithmetic operations, and bit representations. Examples cover integer and fractional number conversions, ASCII character codes, and binary addition.

Uploaded by

Dee Jai
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
53 views4 pages

ITEC1000 Assignment-1 Solution

This document contains solutions to an assignment on binary, octal, decimal, and hexadecimal number systems. It includes converting between number bases, arithmetic operations, and bit representations. Examples cover integer and fractional number conversions, ASCII character codes, and binary addition.

Uploaded by

Dee Jai
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

AP/ITEC1000 Sections A and B "Introduction

to Information Technologies"

Fall 2018
Assignment # 1
Answers and Solutions
1.a 371910 = 1110100001112 because

3719 / 2 = 1859 remainder 1


1859 / 2 = 929 remainder 1
929 / 2 = 464 remainder 1
464 / 2 = 232 remainder 0
232 / 2 = 116 remainder 0
116 / 2 = 58 remainder 0
58 / 2 = 29 remainder 0
29 / 2 = 14 remainder 1
14 / 2 = 7 remainder 0
7 / 2 = 3 remainder 1
3 / 2 = 1 remainder 1
1 / 2 = 0 remainder 1

1.b 333.2510 = 101001101.012 because

333 / 2 = 166 remainder 1 And 0.25


166 / 2 = 83 remainder 0 x 2
83 / 2 = 41 remainder 1 0.50
41 / 2 = 20 remainder 1 x 2
20 / 2 = 10 remainder 0 --------
10 / 2 = 5 remainder 0 1.00
5/ 2 = 2 remainder 1
2 / 2 = 1 remainder 0
1 / 2 = 0 remainder 1

1.c 0.8462910 = 0.11011.. 2 because


0.84629
x 2
1.69258
x 2
1.38516
x 2
0.77032
x 2
1.54064
x 2
1.08128

2.a 11101102 = 26 + 25 + 24 + 22 + 21 = 64 + 32 + 16 + 4 + 2 = 11810

2.b 10111.0112 = 23.37510 because

101112 = 24 + 22+ 21 +20 = 2310 And 0.0112 = 2-2 + 2-3 = 0.37510

2.c 0.111012 = = 2-1 + 2-2 + 2-3 + 2-5 = 0.5 + 0.25 + 0.125 + 0.03125 = 0.9062510

3.a D6C816 = 11010110110010002 because

D16 = 11012
616 = 01102
C16 = 11002
816 = 10002

3.b 7E.3B16 = 01111110.001110112 because

716 = 01112
E16 = 11102
316 = 00112
B16 = 10112

3.c 0.B2816 = 0.1011001010002 because

B16 = 10112
216 = 00102
816 = 10002

4.a 111010010112 = 74B16 because

10112 = B16
01002 = 416
01112 = 716
4.b 11110.111012 = 00011110.11101000 = 1E.E816 because

00012 = 116
11102 = E16
11102 = E16
10002 = 816

4.c 0.1100112 = 0.CC16 because

11002 = C16
11002 = C16

5.a 4710 = 578 because

47 / 8 = 5 remainder 7
5 / 8 = 0 remainder 5

5.b 11100.111102 = 34.748 because

0112 = 38
1002 = 48
1112 = 78
1002 = 48

5.c 381.87510 = 575.700...8 because

381 / 8 = 47 remainder 5
47 / 8 = 5 remainder 7
5 / 8 = 0 remainder 5

0.875
x 8
7.000

6.a 45678 = 1002 1012 1102 1112 = 10012 01112 01112 = 97716

6.b CF9A16 = 11002 11112 10012 10102 = 0012 1002 1112 1102 0112 0102 = 1476328

6.c 65.638 = 1102 1012 . 1102 0112 = 00112 01012 . 11002 11002 = 35.CC16

6.d B5.3F16 = 10112 01012 . 00112 11112 = 0102 1102 1012 . 0012 1112 1102 = 265.1768

7.a 100121.012 This cannot be a valid number in base 2, since 2 is not a proper digit in base 2.

7.b 763.688 This cannot be a valid octal number, since 8 is not a proper digit in base 8.
7.c AG.E516 This cannot be a valid number in base 16, since G is not a proper digit in base 16.

8. e)

9. a)

10. b)

11.a 397310 = 1111100001012 therefore, it will take 12 bits

11.b 2 bytes

12. From 0 to 211 -1 (or 0 to 2048-1, or 0 to 2047)

13. The correct answer is "d". The 7-bit ASCII code of "d" is 1100100.

14. The VT (Vertical Tab) is found in the ASCII Table at column 0, row 12. Its ASCII value is

a. binary: 000 10112


b. decimal: 1110
c. hexadecimal: 0B16

15. Binary:
10101111101000110000111101000100000110100111100110100000111010011010001101001111
001101111112
Hex: 57D187A20D3CD074D1A79BF16

16.

74358
+17758
114328

17. 1100112
11012
110011
000000
110011
110011
10100101112

You might also like