Question

How do I check numbers that are valid for each bases ?

Please show the method and specify steps

4. Which of the following would be valid numbers for bases 3, 7, 8, 13, 15 and 16? a. DEADBEAF b. DC4A c. 122 d. 1689 e. 1337

0 0
Add a comment Improve this question Transcribed image text
Answer #1

in a number system which has a base b then the digits in the number system will be from 0 to (b-1)

lets the popular base system 10 the digits will be 0,1,2,3,4,5,6,7,8,9 and any number after that are formed using the digits from 0-9

in a binary system, the digits will be either 0 or 1 since its base 2 digits will be 0,1

we have a base system 12 then the digits should be 0,1,2,3,4,5,6,7,8,9,A,B

a)DEADBEAF since the largest digit is F, the number belongs to the base 16, any system below 16 will not have F in their number system

b)DC4A since the largest digit is D, the number is valid in all the number system above base 13 (i.e 14,15,16,..........)

so DC4A belongs to 15,16

c)122 since the largest digit is 2, the number is valid in all the number system above base 2 (i.e 3,4,5,6,7,8,9,.........)

so 122 belongs to 3,7,8,13,15,16

d)1689, since the largest digit is 9, the number is valid in all the number system above base 9 (i.e 10,11,12,13,.........)

so 1689 belongs to 13,15,16

e)1337 since the largest digit is 7, the number is valid in all the number system above base 7 (i.e 8,9,10,11,,,.........)

so 1337 belongs to 8,13,15,16

f)888  since the largest digit is 8, the number is valid in all the number system above base 8 (i.e 9,10,11,.........)

so 888 belongs to 13,15,16

Add a comment
Know the answer?
Add Answer to:
How do I check numbers that are valid for each bases ? Please show the method...
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. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Please show work for each a-f 2. Convert the following decimal numbers to IEEE-754 hex values....

    Please show work for each a-f 2. Convert the following decimal numbers to IEEE-754 hex values. While you can use the online tool to check your answers, you must show how each calculations is done by hand. a) -2 b) 0 c) +16 d) +200 e) -50 f) -5888

  • Hello, I need help figuring out how to do this problem!? Please show all work as...

    Hello, I need help figuring out how to do this problem!? Please show all work as I want to learn how to get to the answer. Thank you ****For the first answer I get 1.25 and my book says 89th percentile, how do I know 1.25 is 89th percentile ??? Given that a population of scores is normally distributed with determine the following: 10 and ơ 8. a. The percentile rank of a score of 120 b. The percentage of...

  • Please do it in c++ please show steps as much as possible to help me understand...

    Please do it in c++ please show steps as much as possible to help me understand the code thank you Credit Card error detection check -> Luhn Algorithm, (http://www.freeformatter.com/credit-card-number-generator-validator.html#cardFormats) From the rightmost digit, which is the check digit, moving left, double the value of every second digit; if the product of this doubling operation is greater than 9 (e.g., 7 * 2 = 14), then sum the digits of the products (e.g., 10: 1 + 0 = 1, 14: 1...

  • I do not know how to factor this out. Can you please show the steps to...

    I do not know how to factor this out. Can you please show the steps to help me out? 3) f(x) 3x4 22x3 13x2 118x 40; (3x 1) and (x 5)

  • Please show steps here. I dont understand how this answer was reaches 6. Suppose that F(z,...

    Please show steps here. I dont understand how this answer was reaches 6. Suppose that F(z, y) is the force field F(z,y)-(sin(y), zcos(v)-sin(y)). (a) 16 pointsl Find a potential function for F, and show some work that checks your answer Solution. You can check that f(x, y)-sin(y) +cos() works.

  • Use Polya method to solve the problem. Prep, Plan, execute, check. Please do not respond to...

    Use Polya method to solve the problem. Prep, Plan, execute, check. Please do not respond to the question if you are not planning on using this method so I can see what you're doing. ONLY ANSWER D PLEASE!!!!! 26.37: An astronaut wishes to visit the Andromeda galaxy, making a one-way trip that will take 30.0 years in the spaceship’s frame of reference. Assume the galaxy is 2.00 million light-years away and his speed is constant. his spacecraft, which has mass...

  • The correct answer is B, please CLEARLY show how to do this and I will give...

    The correct answer is B, please CLEARLY show how to do this and I will give a thumbs up! Problems 7-8. A thin rod of length a rotates about its center (denoted by A in the figure below) with angular speed o. Attached to each end of the rod are two small spheres, one of mass M, the other of mass 3M 3M Problem 7. What is the magnitude of the translational angular momentum of this system about point A?...

  • Hello, can you please show me how to do this program with COMPLETE INPUT VALIDATION so...

    Hello, can you please show me how to do this program with COMPLETE INPUT VALIDATION so the computer tells the user to enter ints only if the user enters in floating point numbers or other characters? Write a method called evenNumbers that accepts a Scanner reading input from a file containing a series of integers, and report various statistics about the integers to the console. Report the total number of numbers, the sum of the numbers, the count of even...

  • Please explain why these are overflows. Also I do not understand how they got these numbers...

    Please explain why these are overflows. Also I do not understand how they got these numbers please show on paper how with good detail I am confused on these 1. int i; 2. unsigned int j; 3. ? = INT MAX ; // 2 , 147 , 483 , 647 5. printf("i - Sd\n", i); i--2,147,483,648 6. j- UINT MAX; // 4,294,967,295; 0

  • Do the following number conversions assuming two's complement representation is used for binary numbers. Douto check...

    Do the following number conversions assuming two's complement representation is used for binary numbers. Douto check your answers becauses mentioned in class.portul credt will not be please digit is wrong in your answer. Do not put any space between ages/bits in your answers a. (113710 - 02 (8-bit binary number) b. (-97)10 - 12 (8-bit binary number) C. (0101 11002 D10 (decimal number) d. (1010 00112 010 (decimal number e. (3C7B)16 12 (16-bit binary number) f. (0100 1011 1000 1110)2-(...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT