Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

1.(+6) Problem #1 in the Chapter review problems on Page 73 Answer a is provided

ID: 2247310 • Letter: 1

Question

1.(+6) Problem #1 in the Chapter review problems on Page 73

Answer a is provided

a.

Upper

Lower

Output

1

0

0

0

1

0

  

. b.

Upper

Lower

Output

1

0

0

1

c.

Upper

Lower

Output

1

0

0

1

2.(+6 ) Problem #2 in the Chapter review problems on Page 73 Your answer should be OR or AND or XOR etc. gate(s)

                a.

b. .


4.(+6) Problem #5 in the Chapter review problems on Page 74

The correct contents of address 00 and 03 after the steps are executed is provided

Address       Contents

00 02

01     

02     

03 53

5.(+ 6) Problem #7 in the Chapter review problems on Page 74

Answer a, e are provided

a.1100 1101

b.

c.

d.

e.0001 0000

6.(+5 ) Problem #9 in the Chapter review problems on Page 74

Answer a and c areprovided

a.A0A

b.

c.0BE

7.(+5 ) In a two’s complement system, what value is represented by the pattern 111?

a.7

b.-7

c.1

.d-1

8. (+5 ) Problem #24 in the Chapter review problems on Page 75

Answer a is provided

a.00110010 00110011  

b.

9.(+6 ) Problem #30 in the Chapter review problems on Page 75

Answer a b c areprovided

a.15

b.-12

c.12

d.

e.

10.(+6 ) Problem #31 in the Chapter review problems on Page 75

Answer a d are provided

a.0001101

b.

c.

d.0000000

e.

11.(+6 ) Problem #34 in the Chapter review problems on Page 75

Answer a d are provided

a. 3 3/4

b.

c.

d. 1

e.

12. (+5) What is the result of the following addition problem (using two’s complement notation)? Highlight your answer

                          00001111

                      + 10101010

     A. 011000101                   B. 10111001    

C. 01010101                    D. 10110101

13.+5) What is the result of the following subtraction problem (using two’s complement notation)?

                          00001111

                      - 10101010

     A. 011000101         B. 10111001    

C. 01010101          D. 10110101

14.(+6)Problem #35 in the Chapter review problems on Page 75

Answer a d are provided

a. 101.11

b.

c.

d. 1.01

e.

15.(+5) Which of the following bit patterns represents the value -9 in two’s complement notation?

                A. 00011010        B. 11110111        C. 10001001        D. 11111011

16.(+5) Which of the following representations in two’s complement notation represents the smallest value?

                A. 00000010        B. 11110000        C. 00000001        D. 11111111

17.(+5)A7 is the hexadecimal representation for which of the bit patterns ?

                A. 10100111        B. 11000101        C. 01110101        D. 100110111

18.(+5) What is the largest positive integer that can be represented in a two’s complement system in which each value is represented by eight bits?

                A. 128                    B. 64                      C. 127                   D. 63

Upper

Lower

Output

1

0

0

0

1

0

Explanation / Answer

Two's complement is a mathematical operation on binary numbers, as well as a binary signed number representation based on this operation. Its wide use in computing makes it the most important example of a radix complement.

The two's complement of an N-bit number is defined as the complement with respect to 2N; This is also equivalent to taking the ones' complement and then adding one, since the sum of a number and its ones' complement is all 1 bits. The two's complement of a number behaves like the negative of the original number in most arithmetic, and positive and negative numbers can coexist in a natural way.

n mathematics and computing, hexadecimal (also base 16, or hex) is a positional numeral system with a radix, or base, of 16. It uses sixteen distinct symbols, most often the symbols 09 to represent values zero to nine, and A,B,C,D,E,F (or alternatively a, b, c, d, e, f) to represent values ten to fifteen.

Hexadecimal numerals are widely used by computer system designers and programmers. As each hexadecimal digit represents four binary digits (bits), it allows a more human-friendly representation of binary-coded values. One hexadecimal digit represents a nibble (4 bits), which is half of an octet or byte (8 bits). For example, a single byte can have values ranging from 00000000 to 11111111 in binary form, but this may be more conveniently represented as 00 to FF in hexadecimal.

In a non-programming context, a subscript is typically used to give the radix, for example the decimal value 10,995 would be expressed in hexadecimal as 2AF316. Several notations are used to support hexadecimal representation of constants in programming languages, usually involving a prefix or suffix. The prefix "0x" is used in C and related languages, where this value might be denoted as 0x2A