Question
Number Methods lesson https://www.w3schools.com/js/js_number_methods.asp 1. Number contains useful stuff. What is the cvalue of Number.MAX_VALUE ? Is it big? 2. So far we have looked
Number Methods lesson
https://www.w3schools.com/js/js_number_methods.asp
1. Number contains useful stuff. What is the cvalue of Number.MAX_VALUE? Is it big?
2. So far we have looked at calculating a conversion from base 16 numbers into base 10. The same idea applies to converting any base into base 10. What is the base 8 number 7654 in base 10?
3. What is the binary number 11101111 in base 10?
4. Next, consider converting base 10 numbers into base 16 or any other base.
Calculate what the base 10 number 1000 is in base 16 (show your work, without using JavaScript). You can check your answer JavaScript using toString() if you like.
5. What is 2000 in base 16 (hexadecimal)? Calculate it without using JavaScript and show your work.
6. Do this the fast way using toString(). What is the base 10 number 128 in base 2?
7. Do this the fast way using toString(). What is the base 10 number 128 in base 8?
8. Do this the fast way using toString(). What is the base 10 number 128 in base 36? toString() wont go above 36.
9. What is 200,000,000 in hexadecimal? Do it the fast way in JavaScript unless you have a lot of extra time on your hands.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started