1. (2 marks) Write your complete work to convert -8210 to binary using the following methods....
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
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? 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?
Expert Answer:
Related Book For
Introductory Econometrics A Modern Approach
ISBN: 978-0324660548
4th edition
Authors: Jeffrey M. Wooldridge
Posted Date:
Students also viewed these algorithms questions
-
can someone solve this Modern workstations typically have memory systems that incorporate two or three levels of caching. Explain why they are designed like this. [4 marks] In order to investigate...
-
Briefly describe ASCII and Unicode and draw attention to any relationship between them. [3 marks] (b) Briefly explain what a Reader is in the context of reading characters from data. [3 marks] A...
-
A chemical factory discharges waste products into a river. The waste products affect a fishery downstream. Suppose MD = 6E and MAC = 600 - 4E. Consider a liability law requiring the polluter to...
-
As the drawing illustrates, a siren can be made by blowing a jet of air through 20 equally spaced holes in a rotating disk. The time it takes for successive holes to move past the air jet is the...
-
People who are below a certain age threshold cannot form, according to the law, the requisite intent to be convicted of a crime. In general, children under the age of 18 (i.e., juveniles) are...
-
The coil in a generator has 100 windings and a crosssectional area of \(0.0100 \mathrm{~m}^{2}\). (a) If the coil turns at a constant rotational speed and the magnetic field in the generator is that...
-
The following schedule shows the amounts related to supplies that a city debited and credited to the indicated accounts during a year (not necessarily the year-end balances), excluding closing...
-
a) The trial balance of Nyaguthie enterprises prepared as at 30th April, 2016 failed to balance. The difference was posted to a suspense account. On investigation, the following errors were revealed....
-
It's mid-December and Marie is finalizing her divorce. Generally, she and her soon to be ex-spouse have been amicable, and Marie is looking forward to being single. The divorce attorneys will be...
-
The Gestalt psychologists maintained that when people perceive sensory elements their tendency is to see things in terms of the entire form or pattern rather than as individual parts. Identify and...
-
Consider a small economy composed of six people: Yakov, Ana, Charles, Dina, Juanita, and Gilberto. Each person's employment status is described in the following table. Based on the criteria used by...
-
XYZ Co.s preferred share selling at P 75.25 pays an annual dividend of P 6.75 What is the required rate of return on this preferred share?
-
1. The payroll of Yellow Stone Company for September 2025 is as follows (6 points). Total payroll was $500,100, of which $100.000 is paid to certain employees who had earned more than $142,800 by the...
-
. In the normal-form game pictured below, is player 1's strategy M domi- nated? If so, describe a strategy that dominates it. If not, describe a belief to which M is a best response. 2 1 X Y K 9,2...
-
What level of skill and abilities is required at each position and level to hire the right persons? Solve Make a list of the decisions that would have to be made as you developed your organization....
-
Moab, Inc. manufactures and distributes high-tech biking gadgets. It has decided to streamline some of its operations so that it will be able to be more productive and efficient. Because of this...
-
One of the significant and relevant accounts for this cycle is equipment. For this account, what would typically be the most relevant assertions for the auditor to consider? Why is it important for...
-
Let grad be a dummy variable for whether a student-athlete at a large university graduates in five years. Let hsGPA and SAT be high school grade point average and SAT score, respectively. Let study...
-
Use the data in JTRAIN3.RAW for this question. (i) Estimate the simple regression model re78 = (0 + (1 Strain + u, and report the results in the usual form. Based on this regression, does it appear...
-
For the population of firms in the chemical industry, let rd denote annual expenditures on research and development, and let sales denote annual sales (both are in millions of dollars). (i) Write...
-
Margin of error = 18.2 cm, standard deviation = 95.2 cm
-
Margin of error = 0.5 g, standard deviation = 8.7 g
-
Margin of error = 3.5 ml, standard deviation = 155.2 ml
Study smarter with the SolutionInn App