Binary Values and Number Systems Assignment | Essay Help Services
I have a assignment file which have some very easy introductory very short questions from the above mentioned topicAssignment 1
Coverage (Chapters 1-3)
Total Marks: 100
Part A: Binary Values and Number Systems (60 Marks)
1. Convert the following numbers to base 10. Show your work.
a. (1110001)2
b. (534)6
c. (276)8
d. (E8D)15
2. Convert base 10 numbers to other bases. Show your work.
a. (198)10 to (?)2
b. (534)10 to (?)8
c. (275)10 to (?)16
3. Convert numbers between bases 2, 8, and 16. Show your work.
a. (11001101)2 to (?)8
b. (101101001101)2 to (?)16
c. (672)8 to (?)16
d. (A8)16 to (?)2
e. (BAD)16 to (?)8
4. Perform the following binary additions and subtractions. Show your work.
a. 1100110 + 1011001
b. 1001001 + 1100101
c. 11001 – 101
d. 101010 – 1111
5. Perform the following octal additions. Show final result.
a. 770 + 665
b. 101 + 707
6. Perform the following hexadecimal additions. Show final result.
a. 19AB6 + 43
b. 1066 + ABCD
7. Convert 130.26 to binary (stop after five binary digits or precision). Show final result.
8. Convert the 8-bit signed magnitude number 11110011 to a signed decimal value.
9. Convert the 8-bit two’s complement number 11110011 to a signed decimal value.
10. Convert the unsigned Binary number 1101.11 to Decimal. Show your work.
Part B: Text Representation (40 Marks)
11. Decode the following message written in extended ASCII values (use the last page ASCII character set table):
84 104 101 32 85 110 105 99 111 100 101 32 67 104 97 114 97 99 116 101 114 32 83 101 116
12. How would the following string of characters be represented using run length encoding? What is the compression ratio?
AAAABBBCCCCCCCCDDDDhithereEEEEEEEEEFF
13. Determine the compression ratio for the following text using the keyword encoding scheme below. For the purpose of ensuring consistent counting, do not count the space after each word.
Text Encoding Chart
Representing (or encoding) a number means to express it in binary form. Representing numbers in a computer is necessary in order for it to be able to store and manipulate them. However, the problem is that a mathematical number can be infinite (as great as desired), but the representation of a number in a computer must occupy a predefined number of bits.
a. Total characters before Compression?
b. Total characters after Compression?
c. Compression Ratio?
14. Given the following Huffman encoding table, decode the bit strings below (part a)
a. 10100010010101000100011101000100011
b. How many bits would it take to represent the word from part (a) using ASCII characters assuming that one would use 8 bits per ASCII character?
c. What is the compression ratio between parts (a) and (b)?
Huffman Code
Character
00
A
11
E
010
T
0110
C
0111
L
1000
S
1011
R
10010
O
10011
I
101000
N
101001
F
101010
H
101011
D
SUBMIT to D2L
One document named FirstName-LastName-Assignment1.pdf
ASCII Table
We've got everything to become your favourite writing service
Money back guarantee
Your money is safe. Even if we fail to satisfy your expectations, you can always request a refund and get your money back.
Confidentiality
We don’t share your private information with anyone. What happens on our website stays on our website.
Our service is legit
We provide you with a sample paper on the topic you need, and this kind of academic assistance is perfectly legitimate.
Get a plagiarism-free paper
We check every paper with our plagiarism-detection software, so you get a unique paper written for your particular purposes.
We can help with urgent tasks
Need a paper tomorrow? We can write it even while you’re sleeping. Place an order now and get your paper in 8 hours.
Pay a fair price
Our prices depend on urgency. If you want a cheap essay, place your order in advance. Our prices start from $11 per page.