Introduction to Computing MCQs with Answers
Practice important Introduction to Computing MCQs with answers and explanations.
Multiple Choice Questions
Q591: What happens to the Program Counter after fetching instruction from address A6?
- A: It is decremented to A4
- B: It remains at A6
- C: It is incremented to A8
- D: It is reset to A2
View Answer
C
Q592: In the execution example, which register holds the result of the addition operation?
- A: Register 5
- B: Register 6
- C: Register 0
- D: Memory location 6E
View Answer
C
Q593: What is the content of the instruction register just before the halt instruction is executed?
- A: 5056
- B: 306E
- C: 166D
- D: C000
View Answer
D
Q594: What is the result of ANDing the bit patterns 10011010 and 11001001?
- A: 10001000
- B: 11011001
- C: 10001001
- D: 11001000
View Answer
A
Q595: What does the OR operation do in bitwise operations?
- A: Sets bits to 0
- B: Sets bits to 1
- C: Inverts bits
- D: Duplicates bits with 0s
View Answer
B
Q596: What is the purpose of using the AND operation with a mask in bit manipulation?
- A: To duplicate a part of a bit string while setting 1s
- B: To copy a part of a bit string while setting 0s
- C: To mask off bits and set specific bits to 1
- D: To invert all bits in the string
View Answer
B
Q597: Which operation is used to form the complement of a bit string?
- A: AND
- B: OR
- C: XOR
- D: NOT
View Answer
C
Q598: In the example, what happens when you AND a byte with the mask 00100000?
- A: The third bit from the high-order end is set to 1
- B: The third bit from the high-order end is set to 0
- C: The entire byte is set to 0
- D: The entire byte is set to 1
View Answer
B
Q599: How does ORing a byte with 11110000 affect the result?
- A: It sets the least significant four bits to 1
- B: It sets the most significant four bits to 1
- C: It duplicates the least significant four bits
- D: It inverts all the bits
View Answer
B
Q600: What is the effect of XORing a byte with a mask of all 1s?
- A: It leaves the byte unchanged
- B: It inverts all the bits of the byte
- C: It sets all bits to 1
- D: It sets all bits to 0
View Answer
B