Question

Convert numbers among different number systems: ( 281 )10 = ( )2 = ( )16 (...

  • Convert numbers among different number systems:
  • ( 281 )10 = ( )2 = ( )16
  • ( )10 = ( )2 = ( 281 )16
  • ( )10 = ( 0110 1010 1011 )2 = ( )16

CSE 118 fundamentals of programming Java 14.0

Homework Answers

Answer #1

General Explanation:

()2 means binary number.

()16 means hexadecimal number

()10 means decimal number.

To convert the decimal no to binary. Divide the decimal no by 2. And write the remainder from bottom to top.

-------------------------------------------------------------------

Consider the first part:

( 281 )10 = ( 100011001)2 = ( 119)16

Hex to binary calculation: (119)₁₆ = (1 × 16²) + (1 × 16¹) + (9 × 16⁰) = (281)₁₀

Second part:

( 641)10 = ( 1010000001)2 = ( 281 )16

Binary calculation: (281)₁₆ = (2 × 16²) + (8 × 16¹) + (1 × 16⁰) = (641)₁₀

Third part:

(1707 )10 = ( 0110 1010 1011 )2 = (6AB )16

Binary to decimal calculation: (011010101011)₂ = (0 × 2¹¹) + (1 × 2¹⁰) + (1 × 2⁹) + (0 × 2⁸) + (1 × 2⁷) + (0 × 2⁶) + (1 × 2⁵) + (0 × 2⁴) + (1 × 2³) + (0 × 2²) + (1 × 2¹) + (1 × 2⁰) = (1707)₁₀

-----------------------------------------------------------------------------------------

PLEASE UPVOTE

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
Find the binary representation of (255)10. Convert (0010 1100 1001 111 . 1011 0110)16 to hexadecimal....
Find the binary representation of (255)10. Convert (0010 1100 1001 111 . 1011 0110)16 to hexadecimal. Convert (734.16)8 to binary.
5. Convert each of the following binary numbers into base 10. Show your work. (a) 0011...
5. Convert each of the following binary numbers into base 10. Show your work. (a) 0011 0001 (b) 0011 1011 (c) 0101 0110 (d) 1101 1101 (e) 0001 1000 (f) 0010 1110
Write a Java program named BinaryConversion that will convert base 2 numbers to base 10 numbers....
Write a Java program named BinaryConversion that will convert base 2 numbers to base 10 numbers. The data for this program will be entered from the keyboard using JOptionPane one 16-bit binary number at a time. Note that each base 2 number is actually read in as a String. The program should continue until a 16-bit base 2 number consisting of all 0’s is entered. Once the 16-bit number has been entered your program should make sure that the input...
Convert each of following numbers to Hexadecimal numbers, showing all steps. a. (1111 0111)2 b. (1010...
Convert each of following numbers to Hexadecimal numbers, showing all steps. a. (1111 0111)2 b. (1010 1010 1010)2 c. (777) 8 d. (443) 8 e. (998)10 f. (1066)10
2 Convert each of the following octal numbers to 10-bit binary, hexadecimal, and decimal. Show your...
2 Convert each of the following octal numbers to 10-bit binary, hexadecimal, and decimal. Show your work. (a) 368 (b) 7568 3 Convert the following binary values into Decimal, Octal and hexadecimal. Show your work. (a) 111010101011112 (b) 1010111011001102 (c) 1011101010001112 (d) 1111101011102 4 Convert the following hexadecimal numbers to 16-bit binary and decimal numbers. Show your work. (a) FE9816 (b) FCAD16 (c) B00C16 (d) FEDF16 5 Perform the addition on the following unsigned binary numbers. Indicate whether or not...
Convert each following Base-R NUMBER TO THE equivalent BASE-10 NUMBER: A);(AC)16 Convert each following base-10 number...
Convert each following Base-R NUMBER TO THE equivalent BASE-10 NUMBER: A);(AC)16 Convert each following base-10 number to equivalent number base 2,3,4,8,16 b):(175)10 c);(56.4)10
Write a program in java that: 1. takes any number in any base between 2 and...
Write a program in java that: 1. takes any number in any base between 2 and 16 and converts it to base 10. 2. converts base 10 numbers to any given base between 2 & 16. The program should have a gui with an input box and two buttons, one button to convert any base between 2 and 16 to base 10; and one button to convert base 10 to any base between 2 and 16. **Please DO NOT upload...
Write program to generate random numbers in different range and display: (c) A number in range...
Write program to generate random numbers in different range and display: (c) A number in range [0, 10) (d) A number in range [0, 1000] (e) A number in range [-99, 99] (f) A double number in range [1000.0, 9999.0) In Java Please
Convert (96)10 to binary form in 2's complement representation. Given the two binary numbers X =...
Convert (96)10 to binary form in 2's complement representation. Given the two binary numbers X = 1010011 and Y = 1010010 perform the subtraction X - Y. Enter your result below: Which bit of a signed binary number represents the sign?
Find the 2's complement of the following decimal numbers (You must convert the number to binary...
Find the 2's complement of the following decimal numbers (You must convert the number to binary and the answer has to be in binary with the same number of bits as the conversion)? a. 20 b. 15 c. 2126 d. 266 e. 466 please explain how you did it!