Which logic gate outputs true only when inputs are different?
- NOT
- XOR
- OR
- AND
Explanation
- The XOR (Exclusive OR) gate outputs true only when the inputs are different.
- If both inputs are same (0,0 or 1,1), output is false (0).
- If inputs are different (0,1 or 1,0), output is true (1).
- It is widely used in comparisons and error detection.
Last verified on 09-06-2026
Related MCQs
- NOT
- XOR
- OR
- AND
اس سوال کو وضاحت کے ساتھ پڑھیں
کمپیوٹر نیٹ ورکس میں ڈی این ایس کا بنیادی مقصد کیا ہے؟
- Manage network hardware
- Translate domain names to IP addresses
- Establish secure connections
- None of these
اس سوال کو وضاحت کے ساتھ پڑھیں
مندرجہ ذیل میں سے کون سی آبجیکٹ اورینٹڈ پروگرامنگ کی خصوصیت نہیں ہے؟
- Compilation
- Polymorphism
- Encapsulation
- Inheritance
اس سوال کو وضاحت کے ساتھ پڑھیں
آپریٹنگ سسٹم کے کرنل کا بنیادی کام کیا ہے؟
- Manage hardware and system resources
- Run user applications
- Provide internet connectivity
- None of these
اس سوال کو وضاحت کے ساتھ پڑھیں
ایک ارے کس قسم کی ساخت ہے؟
- Data
- Loop
- Control
- None of these