Which of the following is binary equivalent (?)₂ of decimal number (128)₁₀?
- 11001100
- 10000000
- 10000001
- None of these
Explanation
Let’s convert (128)₁₀ to binary step by step:
128 ÷ 2 = 64 remainder 0
64 ÷ 2 = 32 remainder 0
32 ÷ 2 = 16 remainder 0
16 ÷ 2 = 8 remainder 0
8 ÷ 2 = 4 remainder 0
4 ÷ 2 = 2 remainder 0
2 ÷ 2 = 1 remainder 0
1 ÷ 2 = 0 remainder 1
Reading remainders upward → 10000000
Decimal 128 equals binary 10000000.
Related MCQs
ایپلیکیشن لینگویج کو کس قسم کی زبان بھی کہا جاتا ہے؟
- High-level language
- Low-level language
- Machine language
- Assembly language
اس سوال کو وضاحت کے ساتھ پڑھیں
میک آپریٹنگ سسٹم کو _____ نے تیار کیا ہے؟
- Samsung
- Microsoft
- Apple
- IBM
اس سوال کو وضاحت کے ساتھ پڑھیں
ایک مرتب کیا ہے؟
- A compiler is a special program that processes statements written in a particular programming language and turns them into machine language
- A compiler is a language providing very efficient execution
- A compiler does a conversion line by line as the program is run
- None of these
اس سوال کو وضاحت کے ساتھ پڑھیں
درج ذیل میں سے کون سا اینڈرائیڈ کے آفیشل ورژن کا کوڈ نام نہیں ہے؟
- Muffin
- Cupcake
- Donut
- Lollipop
اس سوال کو وضاحت کے ساتھ پڑھیں
کسی ویب سائٹ کو صارف کی شناخت یاد رکھنے میں کون سی چیز مدد دیتی ہے؟
- Cookies
- Firewall
- Cache
- Compiler