Skip to main content

Introduction to Computing MCQs with Answers

Practice important Introduction to Computing MCQs with answers and explanations.

Multiple Choice Questions

Q601: If you want to change the third bit from the high-order end to 0 without disturbing other bits, which mask would you use with AND?
  • A: 100000
  • B: 11011111
  • C: 11110000
  • D: 1111
View Answer
B

Q602: When using masking to filter colors in an RGB image, what is a common use of the AND operation?
  • A: To isolate and remove a specific color component
  • B: To combine color components
  • C: To invert the color values
  • D: To shift color values
View Answer
A

Q603: What does the XOR operation do to a bit string when used with a mask of all 1s?
  • A: Duplicates the bit string
  • B: Inverts the bit string
  • C: Sets all bits to 0
  • D: Sets all bits to 1
View Answer
B

Q604: What is a right circular shift?
  • A: Moving bits to the left and discarding the leftmost bit
  • B: Moving bits to the right and placing the rightmost bit in the leftmost position
  • C: Moving bits to the left and filling with zeros
  • D: Moving bits to the right and filling with ones
View Answer
B

Q605: What happens during a logical shift operation?
  • A: The bit that falls off the edge is placed in the hole at the other end
  • B: The bit that falls off is discarded and the hole is filled with zero
  • C: The bit that falls off is stored in a temporary register
  • D: The bit that falls off is replaced with the sign bit
View Answer
B

Q606: How does a left shift operation affect a binary number?
  • A: It divides the number by two
  • B: It multiplies the number by two
  • C: It inverts all bits
  • D: It rotates the bits circularly
View Answer
B

Q607: What is the result of a right arithmetic shift?
  • A: The bit that falls off the right end is discarded and zero is placed in the leftmost end
  • B: The bit that falls off is placed at the left end, and the sign bit remains unchanged
  • C: The bit that falls off is placed at the left end and the sign bit is also shifted
  • D: The bit that falls off is replaced with the original bit in the hole
View Answer
B

Q608: What term is used for a shift that preserves the sign bit?
  • A: Logical shift
  • B: Circular shift
  • C: Arithmetic shift
  • D: Rotational shift
View Answer
C

Q609: What is a circular shift?
  • A: Shifting bits to the right or left and discarding the bit that falls off
  • B: Shifting bits to the right or left and placing the bit that falls off at the other end
  • C: Shifting bits and filling the vacant space with a zero
  • D: Shifting bits and replacing the lost bit with the sign bit
View Answer
B

Q610: How is division by two accomplished in binary operations?
  • A: Left shift
  • B: Right shift
  • C: Circular shift
  • D: Arithmetic shift
View Answer
B

Test Your Knowledge

Take a timed quiz on Introduction to Computing

🚀 Start Quiz Now