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

Truth table: A=1 and B=1 A AND B will OUTPUT?

  1. 0

  2. 1

  3. Neither

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

An AND logic gate requires both inputs to be 1 in order to produce an output of 1. Since both A and B are 1, the output is 1.

Keep practicing — related questions

  • 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 program? class A { final public int GetResult(int a, int b) { return 0; } } ...
  • What will be the output of the program? String a = "newspaper"; a = a.substring(5,7); char b = a.charAt(1);...
  • What will be the output of the following code snippet? main() { int a=11,b; clrscr(); for(a%10;a++); printf...
  • Directions: For the word given above the table, match the dictionary definitions on the left (1, 2, 3, 4) w...
  • What will be the output of the following code snippet? main() { int num=1; clrscr(); for(j=1;j<=6;j++) { fo...
  • 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? public class Test { public static void main(String [] args) { int I...
Play the full quiz 🎤 Practise this topic out loud
Advertisement
© Aliensbrain | all rights reserved
  • About
  • Contact
  • Terms and Condition
  • Privacy Policy