Question

101b= 2610, what is b?   How the following numbers will be represented in 4-bit (a) sign-magnitude...

  1. 101b= 2610, what is b?  

  1. How the following numbers will be represented in 4-bit (a) sign-magnitude (b) two’s complement and (c) unsigned representations. Indicate if not possible.

2,  5,   7,   8  

  1. How the following negative numbers will be represented in 4-bit (a) sign-magnitude and b) two’s complement representations. Indicate if not possible.
    -2,     -5,   -7,  -8

  1. Consider the following java program snippet (hint: byte is represented as 8-bit 2’s complement number in java- run the program in java to check it). What will be printed? Explain.

byte x = 127, y = -128;

System.out.println(++x);

System.out.println(--y);

  1. Perform the indicated operations on 4-bit 2’s compliment numbers.  Which of the following will overflow?

1111 + 1100         b)  1000 + 1111   c)  0001 + 0011    d) 0111 + 00

0 0
Add a comment Improve this question Transcribed image text
Know the answer?
Add Answer to:
101b= 2610, what is b?   How the following numbers will be represented in 4-bit (a) sign-magnitude...
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
  • 21. What is AA BA in 8-bit unsigned representation? [all numbers are given in hex] a. Overflow b. 10 1A C. d. A1 22. Wh...

    21. What is AA BA in 8-bit unsigned representation? [all numbers are given in hex] a. Overflow b. 10 1A C. d. A1 22. What is the 8-bit 2's complement representation of a number which is represented as 811s in 8-bit sign- magnitude integer representation? а. FF16 b. 1816 1116 C. d. Cannot be determined 23. What is 3B16 AB16 in 8-bit sign-magnitude representation? а. DB:6 b. 1016 2B16 C. d. Cannot be determined 24. What is 1100 - 0001...

  • Perform two’s complement addition on the following pairs of numbers. In each case, indicate whether an...

    Perform two’s complement addition on the following pairs of numbers. In each case, indicate whether an overflow has occurred. a. 1001 1101 + 1111 1110 b. 0111 1110 + 0110 0111 c. 1000 0011 + 1000 0010 d. 1010 1000 + 0010 1100

  • 1. Convert the decimal number +164 and -164 to 9-bit binary numbers according to Sign magnitude,...

    1. Convert the decimal number +164 and -164 to 9-bit binary numbers according to Sign magnitude, One’s complement, and Two’s complement 2. Convert the binary number 111011010 to base 10 decimal form (our regular number system) treating it as each of the following representations: Sign magnitude, One’s complement, and Two’s complement

  • Question 12 1 pts What is the decimal for the 2's Complement Binary addition of the...

    Question 12 1 pts What is the decimal for the 2's Complement Binary addition of the following 8 Bit numbers (Assume 8 Bit full adder i.e. overflow is possible) 1000 0001 + 1000 0010 Question 13 1 pts What is the 2's complement binary number for the 2's complement operation of the following 8 bit numbers (Assume 8 Bit full adder i.e. overflow is possible) 0010 1111 - 0011 0000 Question 14 1 pts What is the 2's complement binary...

  • Exercise 1.25 Convert the following decimal numbers to unsigned binary numbers Exercise 1.31 Repeat Exercise 1.29,...

    Exercise 1.25 Convert the following decimal numbers to unsigned binary numbers Exercise 1.31 Repeat Exercise 1.29, but convert to 8-bit sign/magnitude numbers KExercise 1.32 Repeat Exercise 1.30, but convert to 8-bit sign/magnitude numbers (a) 4210 (b) 6310 Exercise 1.33 Convert the following 4-bit two's complement numbers to 8-bit two's complement numbers. (c) 22910 (d) 84510 (a) 0101 b) 1010 XExercise 1.26 Convert the following decimal numbers to unsigned binary numbers. Exercise 1.34 Convert the following 4-bit two's complement numbers to...

  • PLEASE SHOW MATH OF IT ALL Given n bits, how many signed numbers can be represented...

    PLEASE SHOW MATH OF IT ALL Given n bits, how many signed numbers can be represented using the sign-and-magnitude method, the ones’ complement method, and the two’s complement method, respectively? (5 points) Number conversion (2.5 x 22 = 55 points) Convert the following unsigned binary numbers to decimal: 11111 101 Convert the following decimal numbers to binary: 111 35 Convert the following octal numbers to binary: 1111 731 Convert the following unsigned binary numbers to octal: 101010111001 1001 Convert the...

  • (1) Convert this Hexadecimal to Binary, Octal and Decimal : ABCDEF (2) how the representation of...

    (1) Convert this Hexadecimal to Binary, Octal and Decimal : ABCDEF (2) how the representation of each of these numbers in both two’s complement and sign magnitude formats. Use the following assumptions: ● Assume that the sign magnitude number should be represented in the fewest number of bits possible. ● Assume that the sign bit for negative sign magnitude numbers should be a 1. ● Assume that the two’s complement numbers should be 8 bit numbers. 1. 108 2. -65

  • CS 3503-06 Homework 1 Due: 11:59pm, Friday, Jan. 24. Please show the details of your work....

    CS 3503-06 Homework 1 Due: 11:59pm, Friday, Jan. 24. Please show the details of your work. Please submit in D2L using the associated link. Problems (total: 100 points) Representation of signed numbers (5 x 4 = 20 points) In an 8-bit system, find out the binary representation for the following numbers using sign-and-magnitude, ones’ complement, and two’s complement, respectively: 55 -47 In a 4-bit system, find out the binary representation for the following numbers using sign-and-magnitude, ones’ complement, and two’s...

  • Note: Please post your homework to ICS232 D2L on or before the due date. If you...

    Note: Please post your homework to ICS232 D2L on or before the due date. If you do not post your homework on or before the due date, please post your late homework when complete (Late Homework: -15% Penalty). 1. (5 pts) Define the following a. Combination Logic: b. Sequential Logic: c. How are sequential circuits different than combinational circuits? 2. (5 pts) Add the following 8-bit two's complement numbers (i.e. one sign bit and seven data bits) AND indicate "Overflow"...

  • CruzlD: @ucsc.odu Arithmetic and Logical Operations 19. Which of these 8-bit two's complement computations has carry...

    CruzlD: @ucsc.odu Arithmetic and Logical Operations 19. Which of these 8-bit two's complement computations has carry out but no overflow? Select two answers: 1 1 011001 10 0 111 1 110 O A. averflas 1IIOOIOO O B. 1 0000000 has 11 1 1 111 1 co has c.o 1110i no dverfle + 0100 1101 1 1 01 011 O D. overluw + 0101 1 1 0 1 E 1 1 10 1 0 + 11 1 1 1000 20. Using...

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