Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please help me with answering questions c, d, e, and problem 6. Thank you! When data is coded in ASCII it is called text. c.

Please help me with answering questions c, d, e, and problem 6. Thank you!

When data is coded in ASCII it is called "text."

c. The text "47" takes how many bytes to code (which will be stored)?

(I think the answer is 2 or 107? There are two characters, so one byte per character?

Or

4 = 0110 0100 = 32+16+4 =52

7 = 0011 0111 = 32+16+4+2+1 = 55

52 + 55 = 107)

d. The text "123" takes how many bytes to code (store)?

(For this I got either 3 or 150)

e. The text "1022" takes how many bytes to code (store)?

(For this I got either 4 or 198)

Problem 6: Would it take more bytes to code (store) the text "123" or the number "156" as a binary number? Explain your answer, stating how many bytes each would take and why. 10" as a binary number? Explain your answer, stating how many bytes each would take and why.

(This is the question I'm really stuck on. I think "123" would take more bytes because you have to code for each individual number separately ["1," "2," "3"]; whereas, "156" can be converted to and coded for using the binary equivalent of "1001 1100" Is this correct?)

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

Recommended Textbook for

Guide To Client Server Databases

Authors: Joe Salemi

2nd Edition

1562763105, 978-1562763107

More Books

Students also viewed these Databases questions

Question

How long would it take to be up and running with data mining?

Answered: 1 week ago

Question

Perception: Making Sense of Your World

Answered: 1 week ago