Arithmetic and Logic Operations MCQs

By: Prof. Dr. Fazal Rehman | Last updated: September 20, 2024

Arithmetic operations in a CPU typically involve which component? A) Control Unit B) ALU C) Cache D) Memory Management Unit Answer: B The result of 7 mod 3 is: A) 1 B) 2 C) 3 D) 0 Answer: A The AND operation between two bits 1 and 0 results in: A) 0 B) 1 C) 2 D) Undefined Answer: A Which of the following is not an arithmetic operation? A) Addition B) Subtraction C) Multiplication D) OR Answer: D The XOR operation between two bits that are the same will always result in: A) 1 B) 0 C) The same bit value D) Undefined Answer: B In binary addition, what is the result of adding 1 and 1? A) 10 B) 0 C) 11 D) 1 Answer: A What does the OR operation produce when both input bits are 0? A) 1 B) 0 C) 2 D) Undefined Answer: B The ALU performs which of the following types of operations? A) Data storage B) Arithmetic and logic C) Instruction decoding D) I/O processing Answer: B What is the result of the binary operation 1101 AND 1011? A) 1001 B) 1100 C) 1110 D) 1010 Answer: A What is the result of the binary OR operation 1010 OR 0110? A) 1110 B) 1000 C) 1101 D) 0101 Answer: A Which operation produces a 1 only when both inputs are 1? A) OR B) XOR C) AND D) NOT Answer: C What is the result of 6 XOR 3 in binary (110 XOR 011)? A) 111 B) 101 C) 011 D) 100 Answer: B In two’s complement representation, what is the binary representation of -5 in an 8-bit system? A) 11111011 B) 00000101 C) 11111111 D) 11110000 Answer: A The result of 5 mod 2 is: A) 2 B) 1 C) 0 D) 3 Answer: B In binary subtraction, what is the result of 1101 – 1000? A) 0101 B) 0011 C) 0110 D) 1001 Answer: B Which of the following logic gates produces an output of 1 when at least one input is 1? A) AND B) XOR C) NOR D) OR Answer: D The NOT operation applied to a 0 results in: A) 0 B) 1 C) 2 D) Undefined Answer: B The two’s complement of 7 in binary (in an 8-bit system) is: A) 11111001 B) 10000000 C) 11111111 D) 00000111 Answer: A The result of 15 divided by 4 in integer division is: A) 3 B) 3.75 C) 4 D) 2 Answer: A Which operation is used to reverse the bits of a binary number? A) AND B) OR C) XOR D) NOT Answer: D In the binary system, what is the result of multiplying 101 by 11? A) 1111 B) 10011 C) 111 D) 1101 Answer: B Which arithmetic operation is the inverse of multiplication? A) Subtraction B) Division C) Modulus D) XOR Answer: B The operation 10 % 3 (modulus) results in: A) 0 B) 3 C) 1 D) 2 Answer: D Which of the following is true for the OR operation? A) Produces 1 if both inputs are 0 B) Produces 0 if both inputs are 1 C) Produces 1 if at least one input is 1 D) Produces 0 if at least one input is 0 Answer: C The XOR operation between 1010 and 1100 results in: A) 0110 B) 1011 C) 0101 D) 1001 Answer: A In binary, what is the result of subtracting 1001 – 0110? A) 0011 B) 1011 C) 1111 D) 0001 Answer: A The logic gate that produces a 1 output only when both inputs are 0 is the: A) AND gate B) XOR gate C) OR gate D) NOR gate Answer: D The operation 100 AND 011 results in: A) 001 B) 111 C) 101 D) 010 Answer: A In the binary system, 1101 shifted left by 1 position results in: A) 0110 B) 11010 C) 1011 D) 1110 Answer: B The sum of 1011 and 0111 in binary is: A) 0010 B) 10010 C) 1111 D) 10100 Answer: B The NOR operation between two bits produces a 1 only if: A) Both inputs are 0 B) Both inputs are 1 C) One input is 1 D) One input is 0 Answer: A The modulus operation gives the: A) Quotient of the division B) Product of two numbers C) Remainder after division D) Sum of two numbers Answer: C Which binary operation is commonly used in cryptographic algorithms? A) AND B) OR C) XOR D) NOT Answer: C What is the binary equivalent of decimal 15 divided by 3? A) 0001 B) 0101 C) 0011 D) 1000 Answer: C Which logic gate gives a 1 output only when one input is 1 and the other is 0? A) OR B) XOR C) AND D) NOR Answer: B In binary, 1001 divided by 11 results in: A) 0011 B) 1100 C) 1111 D) 1101 Answer: A The two’s complement of -3 in an 8-bit binary system is: A) 11111101 B) 11111100 C) 11111011 D) 11111001 Answer: C What is the result of shifting 1010 to the right by 2 positions? A) 0101 B) 0010 C) 1110 D) 1101 Answer: B The ALU performs logical operations like: A) Addition and subtraction B) Multiplication and division C) AND, OR, and XOR D) Memory read/write operations Answer: C Which of the following logic gates is known as a universal gate? A) AND B) OR C) XOR D) NAND Answer: D The result of 1000 mod 4 in binary is: A) 0010 B) 0000 C) 1001 D) 0100 Answer: B The ALU in a modern processor typically handles operations on: A) Floating-point numbers only B) Integers only C) Both integers and floating-point numbers D) Memory addresses Answer: C Which of the following is the correct result of multiplying binary numbers 101 and 11? A) 1110 B) 1101 C) 10001 D) 1011 Answer: C In an 8-bit system, what is the result of adding 10101010 and 01010101? A) 11111111 B) 10101010 C) 11011011 D) 00000000 Answer: A The result of 1101 XOR 1011 in binary is: A) 0010 B) 1111 C) 1010 D) 0100 Answer: A What does the binary operation 110 AND 011 result in? A) 010 B) 100 C) 001 D) 111 Answer: A The two’s complement of -7 in an 8-bit system is: A) 11111001 B) 11111111 C) 11111000 D) 11111010 Answer: A

Read More Computer Architecture MCQs

  1. SET 1: Computer Architecture MCQs
  2. SET 2: Computer Architecture MCQs
  3. SET 3: Computer Architecture MCQs
  4. SET 4: Computer Architecture MCQs
  5. SET 5: Computer Architecture MCQs
  6. SET 6: Computer Architecture MCQs
  7. SET 7: Computer Architecture MCQs
  8. SET 8: Computer Architecture MCQs
  9. SET 9: Computer Architecture MCQs
 
All Copyrights Reserved 2025 Reserved by T4Tutorials