Question

What would be the best binary representation for each of the following applications? - Phone number...

What would be the best binary representation for each of the following applications?

- Phone number
- Age (positive integer)
- Test grade
- Checking account balance
- Value read from a postal scale - Price

Homework Answers

Answer #1

Phone number:

Decimal (Base 10) Number System

Decimal number system has ten symbols: 0, 1, 2, 3, 4, 5, 6, 7, 8, and 9, called digits. It uses positional notation. That is, the least-significant digit (right-most digit) is of the order of 10^0

the second right-most digit is of the order of 10^1 the third right-most digit is of the order of 10^2

where ^ denotes exponent

Example:

735 = 700 + 30 + 5 = 7×10^2 + 3×10^1 + 5×10^0

Age:

I am attaching the table whivh will help to get all Decimal Binary and HexaDecimal values:

For example, a sixteen bit variable can be represented by 0xAB12

binary simply take each individual numeral, convert it as per the table and join them all together 16-bit binary number 1010101100010010

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
Consider the following scenario: Researchers place unobtrusive video recording devices in the large lecture classrooms around...
Consider the following scenario: Researchers place unobtrusive video recording devices in the large lecture classrooms around campus. Later, coders view tapes of the classrooms and record how often students in each classroom checked their phones during class. The researchers are interested in seeing if students who check their phones more often get worse grades in class. Later on, they connected the “phone” score to the students’ grades to look for a correlation. 1) What type of measure is being used...
Each of the following statements contains a blunder. Explain in each case what is wrong. (a)...
Each of the following statements contains a blunder. Explain in each case what is wrong. (a) There is a high correlation between the age of American workers and their occupation. The relationship between age and American workers' occupation has a curved relationship and correlation measures the strength of only the linear relationship between two variables. Because occupation has a categorical (nominal) scale, we cannot compute the correlation between occupation and anything. Occupation of American workers can not be correlated with...
According to the American Time Use Survey, the mean number of hours each day Americans age...
According to the American Time Use Survey, the mean number of hours each day Americans age 15 and older spend eating and drinking is 1.22. A researcher wanted to know if Americans age 15 to 19 spent less time eating and drinking. After surveying 50 Americans age 15 to 19 and running the appropriate hypothesis test, she obtained a P-value of 0.0329. State the null and alternative hypothesis this researcher used. This is a ______ -tailed test since....(complete this sentence)....
28. Match (by number) the following terms with their definitions. Each letter is used only once....
28. Match (by number) the following terms with their definitions. Each letter is used only once. Statement of 1. A debit balance in retained earnings 2. Measures the ability of company management to generate earnings from the resources that owners provide 3. Effectively the same as a 2-for-1 stock split 4. The stock price divided by earnings per share 5. The corporation's own stock that it reacquired 6. Summarizes the changes in the balance in each stockholders' equity account over...
This is a Java program Program Description You work for a local cell phone company and...
This is a Java program Program Description You work for a local cell phone company and have been asked to write a program to calculate the price of a cell phone data plan being purchased by a customer. The program should do the following tasks: Display a menu of the data plans that are available to be purchased. Read in the user’s selection from the menu.  Input Validation: If the user enters an invalid option, the program should display an error...
Please answer in JAVA IDS 401 Assignment 4 Deadline In order to receive full credit, this...
Please answer in JAVA IDS 401 Assignment 4 Deadline In order to receive full credit, this assignment must be submitted by the deadline on Blackboard. Submitting your assignment early is recommended, in case problems arise with the submission process. Late submissions will be accepted (but penalized 10pts for each day late) up to one week after the submission deadline. After that, assignments will not be accepted. Assignment The object of this assignment is to construct a mini-banking system that helps...
Explain how each of the following factors would probably affect a firm’s target cash balance if...
Explain how each of the following factors would probably affect a firm’s target cash balance if all other factors were held constant. (3 pts) The firm institutes a new billing procedure that better synchronizes its cash inflows and outflows. The firm develops a new sales forecasting technique that improves its forecasts. The firm reduces its portfolio of U.S. Treasury bills. The firm arranges to use an overdraft system for its checking account. The firm borrows a large amount of money...
This assignment involves using a binary search tree (BST) to keep track of all words in...
This assignment involves using a binary search tree (BST) to keep track of all words in a text document. It produces a cross-reference, or a concordance. This is very much like assignment 4, except that you must use a different data structure. You may use some of the code you wrote for that assignment, such as input parsing, for this one. Remember that in a binary search tree, the value to the left of the root is less than the...
1. For each study description below, identify the population and the sample and what the most...
1. For each study description below, identify the population and the sample and what the most likely scale of measurement would be (nominal, ordinal, ratio, interval). a) A researcher recruits students from a fifth-grade class at an elementary school to examine math abilities on a standardized test in children who are 9–10 years old. b) A researcher recruits college students from the university subject pool to test the effect of time pressure on accuracy in completing a task. c) Older...
1. Which of the following accounts’ balance would be a different number on the Balance Sheet...
1. Which of the following accounts’ balance would be a different number on the Balance Sheet than it is on the adjusted trial balance? a. retained earnings b. accumulated depreciation c. unearned service revenue d. dividends 2. Which of the following is the federal, independent agency that provides oversight of public companies to maintain fair representation of company financial activities for investors to make informed decisions? a. SEC (Securities and Exchange Commission) b. IRS (Internal Revenue Service) c. FASB (Financial...