L4: Unsigned and Signed Numbers

Réussis tes devoirs et examens dès maintenant avec Quizwiz!

+42 sub 10

Convert a binary number that uses the 2's complement representation to decimal: 00101010 sub 2

+29 sub 10

Convert a binary number that uses the 2's complement representation to decimal: 0011101 sub 2

-85 sub 10

Convert a binary number that uses the 2's complement representation to decimal: 10101011 sub 2

-25 sub 10

Convert a binary number that uses the 2's complement representation to decimal: 11100111 sub 2

-1 sub 10

Convert a binary number that uses the 2's complement representation to decimal: 11111111 sub 2

-29 sub 10

Convert a binary number that uses the sign and magnitude representation to decimal: 1011101 sub 2

-27 sub 10

Convert a binary number that uses the sign and magnitude representation to decimal: 111011 sub 2

011011 sub 2

Convert the following decimal numbers to a binary number using the 2's complement representation: +27 sub 10

01000001 sub 2

Convert the following decimal numbers to a binary number using the 2's complement representation: +65 sub 10

101111100 sub 2

Convert the following decimal numbers to a binary number using the 2's complement representation: -132 sub 10

=11011 sub 2 =011011 sub 2 =100100 sub 2 =100101 sub 2

Convert the following decimal numbers to a binary number using the 2's complement representation: -27 sub 10

1011110 sub 2

Convert the following decimal numbers to a binary number using the 2's complement representation: -34 sub 10

2B7 sub 16

Convert the following numbers: 1010110111 sub 2 (hexadecimal)

1267 sub 8

Convert the following numbers: 1010110111 sub 2 (octal)

Octal: 327 sub 8 Hexadecimal: D7 sub 16

Convert the following numbers: 11010111 sub 2 (Octal and Hexadecimal)

100111010011 sub 2

Convert the following numbers: 4723 sub 8 (binary)

9D3 sub 16

Convert the following numbers: 4723 sub 8 (hexadecimal)

0100101011101001 sub 2

Convert the following numbers: 4AE9 sub 16 (binary)

Binary: 110111100101 sub 2 Hexadecimal: DE5H

Convert the following numbers: 6745 sub 8 (Binary and Hexadecimal)

Binary: 1111100101001100 sub 2 Octal: 174514 sub 8

Convert the following numbers: F94C sub 16 (Binary and Octal)

n=log(26)/log(2) 4.7 bits 5 bits

If N=26, the number of bits needed to represent N is?

0 to 2^8-1 0 to 255

If n=8 bits, then the range is?

11010 sub 2 (unsigned)

Represent 26 sub 10 in unsigned binary code

There are not enough bits to represent 26 sub 10

Represent 26 sub 10 in unsigned binary code using 4 bits.

00011010 sub 2

Represent 26 sub 10 in unsigned binary code using 8 bits.

signed: 00110110 unsigned: 00110110

Represent in sign and unsigned: +54 sub 10 (8 bits)

-35 sub 10

Convert a binary number that uses the 2's complement representation to decimal: 1011101 sub 2

+21 sub 10

Convert a binary number that uses the sign and magnitude representation to decimal: 010101 sub 2

-40 sub 10

Convert a binary number that uses the sign and magnitude representation to decimal: 10101000 sub 2

-23 sub 10

Convert a binary number that uses the sign and magnitude representation to decimal: 1010111 sub 2

011011 sub 2

Convert the following decimal numbers using the 1's complement representation: +27 sub 10

01000001 sub 2

Convert the following decimal numbers using the 1's complement representation: +65 sub 10

101111011 sub 2

Convert the following decimal numbers using the 1's complement representation: -132 sub 10

=11011 sub 2 =011011 sub 2 =100100 sub 2

Convert the following decimal numbers using the 1's complement representation: -27 sub 10

1011101 sub 2

Convert the following decimal numbers using the 1's complement representation: -34 sub 10

11011 sub 2 (unsigned) 111011 sub 2 (add a 1 to its leftmost bit position)

Convert to a binary number using the sign and magnitude representation: -27 sub 10

= 11011 sub 2 =0011011 sub 2 =1011011 sub 2

Convert to a binary number using the sign and magnitude representation: -27 sub 10 (7 bits)

0 to 2^4-1 0 to 15

If n=4 bits, then the range is?

0 to 2^5-1 0 to 31

If n=5 bits, then the range is?

signed: 10010110 sub 2 unsigned: 10010110 will be 150 sub 10

Represent in sign and unsigned: -22 sub 10 (8 bits)


Ensembles d'études connexes

Psychology Chapter 9: Lifespan Quiz

View Set

Marketing Concepts and Strategies

View Set

Chapter 21 Blood Vessels and Circulation Checkpoint Questions

View Set

s66 quizes: fin profiles/ ret. & educ savings plans

View Set