🎴 Flashcard Mode

science & technology Online Quiz - 58

Card1 / 20
Mastered0
Review0
QuestionClick to flip

if a=0, b=1 a xor b =?

AnswerClick to flip back
A
1
💡 Explanation:

XOR (exclusive OR) returns 1 only when exactly one input is 1. With a=0 and b=1, exactly one input is 1, so the result is 1. XOR would return 0 only if both inputs were the same (both 0 or both 1).

Change Mode