Skip to main content

Introduction to Computing MCQs with Answers

Practice important Introduction to Computing MCQs with answers and explanations.

Chapter: 38
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
Correct Answer: B
Chapter: 38
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
Correct Answer: A
Chapter: 38
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
Correct Answer: B
Chapter: 39
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
Correct Answer: B
Chapter: 39
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
Correct Answer: B
Chapter: 39
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
Correct Answer: B
Chapter: 39
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
Correct Answer: B
Chapter: 39
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
Correct Answer: C
Chapter: 39
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
Correct Answer: B
Chapter: 39
Q610:
How is division by two accomplished in binary operations?
A. Left shift
B. Right shift
C. Circular shift
D. Arithmetic shift
Correct Answer: B
Chapter: 39
Q611:
What is a distinguishing feature of arithmetic shifts?
A. The sign bit is changed during the shift operation
B. The bit that falls off is always replaced with a zero
C. The sign bit remains unchanged during the shift operation
D. The bit that falls off is replaced by a new bit
Correct Answer: C
Chapter: 40
Q612:
How can subtraction be simulated in binary arithmetic?
A. By using multiplication
B. By using addition and negation
C. By using division
D. By using logical shifts
Correct Answer: B
Chapter: 40
Q613:
What does the operation 7 - 5 translate to in 2’s complement notation?
A. 7 + 5
B. 7 + (-5)
C. 7 - (-5)
D. 45419
Correct Answer: B
Chapter: 40
Q614:
How is multiplication achieved in binary arithmetic?
A. By direct calculation
B. By repetitive addition
C. By subtraction
D. By shifting
Correct Answer: B
Chapter: 40
Q615:
Which arithmetic operation is equivalent to division in binary arithmetic?
A. Addition
B. Subtraction
C. Multiplication
D. Repetitive subtraction
Correct Answer: D
Chapter: 40
Q616:
How is division typically implemented in small CPUs?
A. By using multiplication only
B. By using addition only
C. By using addition and subtraction
D. By using shifting operations
Correct Answer: C
Chapter: 40
Q617:
What notation is straightforward for arithmetic operations, including subtraction?
A. 2’s complement
B. Floating point
C. Binary-coded decimal
D. Hexadecimal
Correct Answer: A
Chapter: 40
Q618:
In floating-point notation, what components must be used for arithmetic operations?
A. Mantissa, exponent, and sign bit
B. Only mantissa and exponent
C. Only sign bit
D. Only exponent
Correct Answer: A
Chapter: 40
Q619:
What is a key difference between addition in 2’s complement and floating-point notation?
A. The method of multiplication
B. The method of addition
C. The representation of negative numbers
D. The storage of results
Correct Answer: C
Chapter: 40
Q620:
What is the process of achieving multiplication by 8 and 3?
A. Direct addition
B. Repetitive subtraction
C. Repetitive addition
D. Floating-point multiplication
Correct Answer: C

Test Your Knowledge

Take a timed quiz on Introduction to Computing

🚀 Start Quiz Now