Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1. (2 marks) Write your complete work to convert -8210 to binary using the following methods. Are your answers the same? If you convert

 

1. (2 marks) Write your complete work to convert -8210 to binary using the following methods. Are your answers the same? If you convert a positive number using these methods, are the answers the same? Test your answer with "Negative Binary Numbers" Applet. < a. 8-bit signed magnitude binary notation. < b. 8-bit two's complement binary notation. < 2. (2 marks) Start the "Real Number Representation" Applet. Type a real number and read the binary equivalent at the bottom of the applet window. a. How many bits does the binary representation devote to the sign and mantissa (the part after the radix point)? < b. Write your complete work to convert 62.14710 to binary. Use the same number of bits as above for mantissa. < 3. (2 marks) Start the "Real Number Representation" Applet. Type a number less than 1, for example 0.003672. < a. What is the sign of the exponent? What is the binary equivalent of the exponent for the power of 2? < b. What method has been used to convert the exponent to binary? < 4. (2 marks) Start the "Character Code" Applet. < a. What are the Corresponding Characters for Numeric Codes of 68 and 100? What are the Corresponding Characters for Numeric Codes 70 and 102? < b. If you want to write a function to capitalize text for a word-processing program, what simple transformation would you make to the Character Codes to capitalize a letter? < 5. (5 marks) Start the "Color Maker" Applet. < a. Considering the range of values for R, G, and B, how many colors can the applet show? < b. What are the values of RGB representation for Red, Green, and Blue? < c. What color is the combination of Red and Blue? What are the values of RGB representation for this color? d. What color is the combination of Red and Green? What are the values of RGB representation for this color? e. What color is the combination of Green and Blue? What are the values of RGB representation for this color? < 6. (2 marks) Start the "Huffman Text Compression" Applet. Click on example 2 and compress. < a. Remove the first bit from the beginning of the encoded message and click decompress. What happens? Do you get the original text? < b. How strong is Huffman encoding to errors; i.e. if some bits are lost during the network transfer, can you still recover the original message?

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Introductory Econometrics A Modern Approach

Authors: Jeffrey M. Wooldridge

4th edition

978-0324581621, 324581629, 324660545, 978-0324660548

More Books

Students also viewed these Algorithms questions