Thẻ ghi nhớ: CSI104-chap4 | Quizlet

0.0(0)
studied byStudied by 0 people
0.0(0)
full-widthCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/19

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

20 Terms

1
New cards

1. _______ is an arithmetic operation.

a. The exclusive OR

b. The unary NOT

c. Subtraction

d. The binary AND

c. Subtraction

2
New cards

2. _______ is a logical bit operator.

a. The exclusive OR

b. The unary NOT

c. The binary AND

d. exclusive OR, unary NOT, or binary AND

d. exclusive OR, unary NOT, or binary AND

3
New cards

3. The _______ method of integer representation is the most common method for storing integers in computer memory.

a. sign-and-magnitude

b. one's complement

c. two's complement

d. unsigned integers

c. two's complement

4
New cards

4. In two's complement addition, if there is a final carry after the left most column addition, _______.

a. add it to the right most column

b. add it to the left most column

c. discard it

d. increase the bit length

c. discard it

5
New cards

5. For an 8-bit allocation, the smallest decimal number that can be represented in two's complement form is _______.

a. -8

b. -127

c. -128

d. -256

c. -128

6
New cards

6. For an 8-bit allocation, the largest decimal number that can be represented in two's complement form is _______.

a. 8

b. 127

c. 128

d. 256

b. 127

7
New cards

7. In two's complement representation with a 4-bit allocation, we get _______ when we add 1 to 7.

a. 8

b. 1

c. -7

d. -8

d. -8

8
New cards

8. In two's complement representation with a 4-bit allocation, we get _______ when we add 5 to 5.

a. -5

b. -6

c. -7

d. 10

b. -6

9
New cards

9. If the exponent in Excess_127 is binary 10000101, the exponent in decimal is _______.

a. 6

b. 7

c. 8

d. 9

a. 6

10
New cards

10. If we are adding two numbers, one of which has an exponent value of 7 and the other an exponent value of 9, we need to shift the decimal point of the smaller number _______.

a. one place to the left

b. one place to the right

c. two places to the left

d. two places to the right

c. two places to the left

11
New cards

11. _______ operator (s) takes two inputs to produce one output.

a. Only AND

b. Only OR

c. Only XOR

d. AND, OR, or XOR

d. AND, OR, or XOR

12
New cards

12. The unary _______ operator inverts its single input.

a. AND

b. OR

c. NOT

d. XOR

c. NOT

13
New cards

13. _______ operator (s), if the input is two 0s, the output is 0.

a. In only AND

b. In only OR

c. In only XOR

d. In AND, OR, or XOR

d. In AND, OR, or XOR

14
New cards

14. _______ operator (s), if the input is two 1s, the output is 0.

a. In only AND

b. In only OR

c. In only XOR

d. In AND, OR, or XOR

c. In only XOR

15
New cards

15. For the binary AND operation, only an input of _______ gives an output of 1.

a. two 0s

b. two 1s

c. one 0 and one 1

d. two 2s

b. two 1s

16
New cards

16. For the binary OR operation, only an input of _______ gives an output of 0.

a. two 0s

b. two 1s

c. one 0 and one 1

d. two 2s

a. two 0s

17
New cards

17. We use a bit pattern called a _______ to modify another bit pattern.

a. mask

b. carry

c. float

d. byte

a. mask

18
New cards

18. To flip all the bits of a bit pattern, make a mask of all 1s and then _______ the bit pattern and the mask.

a. AND

b. OR

c. XOR

d. NOT

c. XOR

19
New cards

19. To un-set (force to 0) all the bits of a bit pattern, make a mask of all 0s and then _______ the bit pattern and the mask.

a. AND

b. OR

c. XOR

d. NOT

a. AND

20
New cards

20. To set (force to 1) all the bits of a bit pattern, make a mask of all 1s and then _______ the bit pattern and the mask.

a. AND

b. OR

c. XOR

d. NOT

b. OR

Explore top flashcards

vocab quiz 2
Updated 765d ago
flashcards Flashcards (25)
progressive movement
Updated 755d ago
flashcards Flashcards (44)
Chapters 1-3
Updated 640d ago
flashcards Flashcards (123)
Exam 1
Updated 39d ago
flashcards Flashcards (128)
Svaly bérce - popis
Updated 312d ago
flashcards Flashcards (42)
vocab quiz 2
Updated 765d ago
flashcards Flashcards (25)
progressive movement
Updated 755d ago
flashcards Flashcards (44)
Chapters 1-3
Updated 640d ago
flashcards Flashcards (123)
Exam 1
Updated 39d ago
flashcards Flashcards (128)
Svaly bérce - popis
Updated 312d ago
flashcards Flashcards (42)