Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Can you guys explain those problems to me? Thank you! Homework #2 Due Thursday, March 9 1. Strings of characters (or words, sentences, etc.) can

image text in transcribed
Can you guys explain those problems to me? Thank you!
Homework #2 Due Thursday, March 9 1. Strings of characters (or words, sentences, etc.) can be represented as single integer values by treating their characters as digits of some large base. For example, using and assigning the values A-0, B 1, C 2, Z-25, can represent my initials as a number in the following manner: 9.262 23* 261 7 26 6689 JXH-o (9) 23007) a) Translate your initials into a base ten number as I did above (show me the steps). If you do not have a middle initial, use "X". 2. Although the first manned spaceship to land on Venus found no signs of current life, they did find the ruins of an ancient stone wall with the following formula engraved on its face: 123 432 1110 Assuming the individual characters all represent the same things as in our notation, how many total digits (fingers and thumbs) should the Venusians have (on whatever they used for hands)? Explain how you arrived at your conclusion. HINT: You need to determine in what base the formula makes sense. 3. Assume we have a 16-bit computer. For signs, "1" represents negative. Floating-point representation uses 1 bit for the sign, 5 bits for the exponent, and 10 bits (plus one hidden bit) for the significand. The exponent is stored in excess-15. Give answers to a) and b) below for each of the following formats (total of 8 answers): fi: unsigned integer f2: sign-magnitude integer f3: 2's complement integer f4: floating point a) The contents of two adjacent bytes are described by the base 16 value AB5016. For each of the formats above, give the value in base 10 of the number that these bytes would represent in the given format. b) Express the value 159210 in each of the formats above. Give your answers in 4-digit base 16 that represents the bit patterns of the respective formats

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

Step: 3

blur-text-image

Ace Your Homework with AI

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

Get Started

Students also viewed these Databases questions

Question

3. Design a program for preparing for cross-cultural assignments.

Answered: 1 week ago