aliensbrain
  • Home
  • Study
  • Quizzes
  • 🎤AI Practicefree
  • Notebooks
  • Community
  • Sign in
  • GATE Online Test 1 - Digital Circuits | Computer Science(CS)
  • In the following expression, AND and OR are arithmetic op...
Multiple choice

In the following expression, AND and OR are arithmetic operators (42 OR 72) AND 55.

The value of this expression is

  1. 15

  2. 85

  3. 34

  4. 59

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

In this expression, AND and OR are bitwise operators. 42 in binary is 00101010, 72 is 01001000, 55 is 00110111. (42 OR 72) = 01101010 = 106. Then 106 AND 55 = 00100010 = 34. The result is 34.

Keep practicing — related questions

  • Suppose a, b and c are integer variables assigned values 8, 3 and -5 respectively. In this case, the respec...
  • Which of the following expressions represents the value of the expression 2x – y + 4, if x = 0 and y = 3?
  • Which of the following is the difference between 2's place values in 42, 582?
  • Which of the following expressions represents the value of $\frac{7x^2 + 2x + 5}{x+5}$ at x = – 1?
  • Which of the following expressions represents the value of $\frac{7x^2y + 2xy^2 + 3}{(x+4)^3}$ at x = 1 and...
  • Which of the following expressions represents the value of x + y – 3 at x = 1, y = 2?
  • Which of the following options represents the value of x in expression 4x3 - 2x + 3 at x = 1?
  • Which of the following options represents the value of x in the expression x + 2y - 4 at x = 1 and y = 1?
Play the full quiz 🎤 Practise this topic out loud

Practice this topic

  • Digital Logic and Microprocessors (749 questions)
Advertisement
© Aliensbrain | all rights reserved
  • About
  • Contact
  • Terms and Condition
  • Privacy Policy