aliensbrain
  • Home
  • Study
  • Quizzes
  • 🎤AI Practicefree
  • Notebooks
  • Community
  • Sign in
  • Computer Science Quiz Online
  • Truth table: A=0 and B=0 A OR B will OUTPUT?
Multiple choice

Truth table: A=0 and B=0 A OR B will OUTPUT?

  1. 0

  2. 1

  3. Neither

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

The OR logic gate outputs a 1 if at least one of its inputs is 1. Since both inputs A and B are 0, the output of the OR operation is 0.

Keep practicing — related questions

  • What will be the output of the program? class A { final public int GetResult(int a, int b) { return 0; } } ...
  • What will be the output of the following code snippet? main() { int a=11,b; clrscr(); for(a%10;a++); printf...
  • What will be the output of the following code snippet? main() { int a=1,b=1; clrscr(); a=++a||++b&&++a; pri...
  • What will be the output of the code snippet? int funct(a,b) int a,b; { return a*b; } void main() { int i=13...
  • What will be the output of the program? class Test { public static void main(String [] args) { int x= 0; in...
  • What will be the output of the program? public class Switch2 { final static short x = 2; public static int ...
  • What will be the output of the program (when you run with the -ea option) ? public class Test { public stat...
  • What will be the output of the program? public class Test { public static void main(String[] args) { int x ...
Play the full quiz 🎤 Practise this topic out loud
Advertisement
© Aliensbrain | all rights reserved
  • About
  • Contact
  • Terms and Condition
  • Privacy Policy