Q1
What is the highest decimal number that can be represented by 8 binary digits?
أكبر رقم عشري يمكن تمثيله بـ n من الخانات الثنائية يُحسب بالمعادلة (2n - 1).
Formula: 2n - 1
Here, n = 8.
Value = 28 - 1
Value = 256 - 1 = 255
Answer: 255
Q2
State the primary difference between Analog and Digital quantities.
الكميات التناظرية تتغير بشكل مستمر، بينما الكميات الرقمية تتغير في خطوات متقطعة.
Analog quantities vary over a continuous range of values.
Digital quantities are represented by symbols (digits) and change in discrete steps.
Answer: Analog = Continuous, Digital = Discrete
Q3
Convert the binary number 10101102 to decimal.
نضرب كل بت في وزنه المطابق لقوى العدد 2 ثم نجمع:
Weights: 26 25 24 23 22 21 20
Binary: 1 0 1 0 1 1 0
Value = 26 + 24 + 22 + 21
= 64 + 16 + 4 + 2
= 86
Answer: 8610
Q4
Convert the fractional binary number 0.11012 to decimal.
بالنسبة للكسور، نستخدم الأسس السالبة للرقم 2:
Weights: 2-1 2-2 2-3 2-4
Binary: 0. 1 1 0 1
Value = 2-1 + 2-2 + 2-4
= 0.5 + 0.25 + 0.0625
= 0.8125
Answer: 0.812510
Q5
Convert the binary number 111000.012 to decimal.
نجمع قيم الجزء الصحيح والجزء الكسري كلٌ على حدة:
Integer part: 1110002 = 25 + 24 + 23 = 32 + 16 + 8 = 56
Fractional part: 0.012 = 2-2 = 0.25
Total = 56 + 0.25 = 56.25
Answer: 56.2510