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
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...
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 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
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...
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!
1- Write a program to print only the even numbers from 100 to 200 2- Write...
1- Write a program to print only the even numbers from 100 to 200 2- Write a program to print the odd numbers from 22 – 99 3- Write a program to calculate howe many even number from 10 to 120 1- Write a program to find only the even numbers for 12 different numbers 2- Write a program to find the odd numbers for 10 different numbers 3- Write a program to calculate howe many even number and how...
Lottery The lottery game matches three different integer numbers between 1 and 10. Winning depends on...
Lottery The lottery game matches three different integer numbers between 1 and 10. Winning depends on how many matching numbers are provided by a player. The player provides three different integers between 1 and 10. If there is a match of all 3 numbers, the winning $ 1000. If there is a match with 2 numbers, the winning $ 10. If there is a match with 1 number, the winning $ 1. With no match, the winning is $0. Write...
The number of defects in 12 different production runs were 2, 5, 10, 0, 5, 3,...
The number of defects in 12 different production runs were 2, 5, 10, 0, 5, 3, 4, 3, 2, 2, 0 and 0. This data can be summarized in a frequency distribution as follows a. The values that occur in the set in increasing order are 0, 2, 3, 4, 5 and 10. b. The frequency of 0 is 3 since it occurs 3 times in the set. The frequency of 2 is 3 since it occurs 3 times in...
python programming Question #4: # Years ago the Romans used a different system to represent numbers....
python programming Question #4: # Years ago the Romans used a different system to represent numbers. # Instead of using the digits (0, 1, 2, 3, 4, 5, 6, etc.), the Romans # formed numbers by joining combinations of the characters # (I, V, X, L, C, D, and M). # Roman Numeral characters and their integer values are: # I = 1, V = 5, X = 10, L = 50, C = 100, D = 500, and M...
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT