• Call Us : 03082533000 (WhatsApp)
  • Email Us : TestPointpk.com@gmail.com
Sticky Note
Determine the output of the following? JavaScript code: console.log(false == 0) console.log(false === 0)
  1. true, true
  2. false, false
  3. true, false
  4. false, true
Explanation

== does type coercion → false == 0 → true
=== checks type + value → boolean ≠ number → false

Related MCQs

سادہ زبان کو مشینی زبان میں تبدیل کرنے کے عمل کو کیا کہتے ہیں؟
  1. Compiler
  2. Modem
  3. Interpreter
  4. Translator
اس سوال کو وضاحت کے ساتھ پڑھیں

  1. Serial advanced technic attachment
  2. Serial advanced technology attachment
  3. Serial advised technology attachment
  4. None of these
اس سوال کو وضاحت کے ساتھ پڑھیں

  1. Syntax Error
  2. Logical error
  3. Both A and B
  4. None of these
اس سوال کو وضاحت کے ساتھ پڑھیں

مندرجہ ذیل میں سے کون سا نان وولیٹائل اسٹوریج ڈیوائس ہے جو بجلی بند ہونے کے بعد بھی ڈیٹا محفوظ رکھتا ہے؟
  1. ROM
  2. RAM
  3. CPU
  4. None of these
اس سوال کو وضاحت کے ساتھ پڑھیں

کمپیوٹر نیٹ ورکس میں فائر وال کا بنیادی کام کیا ہے؟
  1. To filter/prevent/block unauthorized access
  2. To block viruses
  3. To speed up network traffic
  4. None of these
اس سوال کو وضاحت کے ساتھ پڑھیں

All Rights Reserved © TestPointpk.com