Topic: Positional Number Systems and Conversion
1. What is the base of the hexadecimal number system? / হেক্সাডেসিমেল নম্বর সিস্টেমের বেস বা ভিত্তি কত?
Correct Answer / সঠিক উত্তর: D) 16
Explanation / ব্যাখ্যা: The hexadecimal number system uses 16 distinct symbols: 0-9 and A-F. Therefore, its base is 16. / হেক্সাডেসিমেল নম্বর সিস্টেমে 16টি ভিন্ন প্রতীক (0-9 এবং A-F) ব্যবহৃত হয়। তাই এর ভিত্তি বা বেস হলো 16।
2. The decimal equivalent of the binary number 10110 is: / বাইনারি সংখ্যা 10110-এর ডেসিমেল সমতুল্য মান কত?
Correct Answer / সঠিক উত্তর: B) 22
Explanation / ব্যাখ্যা: (1 * 2^4) + (0 * 2^3) + (1 * 2^2) + (1 * 2^1) + (0 * 2^0) = 16 + 0 + 4 + 2 + 0 = 22. / বাইনারি থেকে ডেসিমেল রূপান্তরের নিয়ম অনুযায়ী, (1 * 2^4) + (0 * 2^3) + (1 * 2^2) + (1 * 2^1) + (0 * 2^0) = 16 + 0 + 4 + 2 + 0 = 22।
3. The binary equivalent of the decimal number 25 is: / ডেসিমেল সংখ্যা 25-এর বাইনারি সমতুল্য মান কত?
Correct Answer / সঠিক উত্তর: A) 11001
Explanation / ব্যাখ্যা: To convert 25 to binary, we use division by 2: 25/2 = 12 rem 1; 12/2 = 6 rem 0; 6/2 = 3 rem 0; 3/2 = 1 rem 1; 1/2 = 0 rem 1. Reading remainders from bottom to top gives 11001. / 25-কে বাইনারিতে রূপান্তর করতে, আমরা 2 দিয়ে ভাগ করি: 25/2 = 12 ভাগশেষ 1; 12/2 = 6 ভাগশেষ 0; 6/2 = 3 ভাগশেষ 0; 3/2 = 1 ভাগশেষ 1; 1/2 = 0 ভাগশেষ 1। ভাগশেষগুলো নিচ থেকে উপরে পড়লে হয় 11001।
4. Which of the following is not a positional number system? / নিচের কোনটি পজিশনাল নম্বর সিস্টেম নয়?
Correct Answer / সঠিক উত্তর: B) Roman Number System / রোমান নম্বর সিস্টেম
Explanation / ব্যাখ্যা: In a positional number system, the value of a digit depends on its position. In the Roman system, symbols have a fixed value regardless of their position (e.g., ‘X’ is always 10), though their ordering matters for addition/subtraction. It is not a true positional system. / পজিশনাল নম্বর সিস্টেমে একটি অঙ্কের মান তার অবস্থানের উপর নির্ভর করে। রোমান সিস্টেমে প্রতীকের মান নির্দিষ্ট থাকে (যেমন, ‘X’ সর্বদা 10), যদিও যোগ/বিয়োগের জন্য তাদের ক্রম গুরুত্বপূর্ণ। এটি একটি প্রকৃত পজিশনাল সিস্টেম নয়।
5. The octal equivalent of the binary number 11011101 is: / বাইনারি সংখ্যা 11011101-এর অক্টাল সমতুল্য মান কত?
Correct Answer / সঠিক উত্তর: A) 335
Explanation / ব্যাখ্যা: Group the binary number into sets of 3 from the right: (011)(011)(101). Convert each group to octal: 011 = 3, 011 = 3, 101 = 5. So, the octal number is 335. / বাইনারি সংখ্যাটিকে ডান দিক থেকে ৩টি করে গ্রুপে ভাগ করুন: (011)(011)(101)। প্রতিটি গ্রুপকে অক্টালে রূপান্তর করুন: 011 = 3, 011 = 3, 101 = 5। সুতরাং, অক্টাল সংখ্যাটি হলো 335।
6. The hexadecimal equivalent of the decimal number 250 is: / ডেসিমেল সংখ্যা 250-এর হেক্সাডেসিমেল সমতুল্য মান কত?
Correct Answer / সঠিক উত্তর: A) FA
Explanation / ব্যাখ্যা: 250 / 16 = 15 remainder 10 (A). 15 / 16 = 0 remainder 15 (F). Reading from bottom to top, we get FA. / 250 / 16 = 15 ভাগশেষ 10 (A)। 15 / 16 = 0 ভাগশেষ 15 (F)। নিচ থেকে উপরে পড়লে হয় FA।
7. Convert the hexadecimal number 1A to decimal. / হেক্সাডেসিমেল সংখ্যা 1A-কে ডেসিমেলে রূপান্তর করুন।
Correct Answer / সঠিক উত্তর: A) 26
Explanation / ব্যাখ্যা: In 1A, A represents 10. So, (1 * 16^1) + (10 * 16^0) = 16 + 10 = 26. / 1A-তে, A হলো 10। সুতরাং, (1 * 16^1) + (10 * 16^0) = 16 + 10 = 26।
8. What is the value of the base ‘b’ if (121)b = (25)10? / যদি (121)b = (25)10 হয়, তাহলে বেস ‘b’-এর মান কত?
Correct Answer / সঠিক উত্তর: B) 4
Explanation / ব্যাখ্যা: (1*b^2) + (2*b^1) + (1*b^0) = 25 => b^2 + 2b + 1 = 25 => (b+1)^2 = 25 => b+1 = 5 => b = 4. / (1*b^2) + (2*b^1) + (1*b^0) = 25 => b^2 + 2b + 1 = 25 => (b+1)^2 = 25 => b+1 = 5 => b = 4।
9. The number of symbols used in the octal number system is: / অক্টাল নম্বর সিস্টেমে ব্যবহৃত প্রতীকের সংখ্যা কত?
Correct Answer / সঠিক উত্তর: B) 8
Explanation / ব্যাখ্যা: The octal number system has a base of 8 and uses the digits 0, 1, 2, 3, 4, 5, 6, and 7. / অক্টাল নম্বর সিস্টেমের ভিত্তি 8 এবং এটি 0, 1, 2, 3, 4, 5, 6, এবং 7 অঙ্কগুলো ব্যবহার করে।
10. Convert (53.5)10 to binary. / (53.5)10 কে বাইনারিতে রূপান্তর করুন।
Correct Answer / সঠিক উত্তর: A) 110101.1
Explanation / ব্যাখ্যা: Integer part: 53 in binary is 110101. Fractional part: 0.5 * 2 = 1.0. So the fractional part is .1. Combining both, we get 110101.1. / পূর্ণাংশ: 53-এর বাইনারি হলো 110101। ভগ্নাংশ: 0.5 * 2 = 1.0। তাই ভগ্নাংশ হলো .1। উভয়কে একত্রিত করলে পাওয়া যায় 110101.1।
11. The binary number 101101 is equivalent to which hexadecimal number? / বাইনারি সংখ্যা 101101 কোন হেক্সাডেসিমেল সংখ্যার সমতুল্য?
Correct Answer / সঠিক উত্তর: A) 2D
Explanation / ব্যাখ্যা: Group the binary number into sets of 4 from the right: (0010)(1101). Convert each group: 0010 = 2, 1101 = 13 (D). So, the hexadecimal number is 2D. / বাইনারি সংখ্যাটিকে ডান দিক থেকে ৪টি করে গ্রুপে ভাগ করুন: (0010)(1101)। প্রতিটি গ্রুপকে রূপান্তর করুন: 0010 = 2, 1101 = 13 (D)। সুতরাং, হেক্সাডেসিমেল সংখ্যাটি হলো 2D।
12. The octal number (651)8 is equivalent to which decimal number? / অক্টাল সংখ্যা (651)8 কোন ডেসিমেল সংখ্যার সমতুল্য?
Correct Answer / সঠিক উত্তর: A) 425
Explanation / ব্যাখ্যা: (6 * 8^2) + (5 * 8^1) + (1 * 8^0) = (6 * 64) + (5 * 8) + (1 * 1) = 384 + 40 + 1 = 425. / (6 * 8^2) + (5 * 8^1) + (1 * 8^0) = (6 * 64) + (5 * 8) + (1 * 1) = 384 + 40 + 1 = 425।
13. A computer uses which number system for calculations? / কম্পিউটার গণনার জন্য কোন নম্বর সিস্টেম ব্যবহার করে?
Correct Answer / সঠিক উত্তর: B) Binary
Explanation / ব্যাখ্যা: Computers operate on electrical signals which have two states: ON (1) and OFF (0). The binary system, with its two digits, naturally maps to these states. / কম্পিউটার বৈদ্যুতিক সংকেতের উপর কাজ করে যার দুটি অবস্থা আছে: অন (1) এবং অফ (0)। বাইনারি সিস্টেম তার দুটি অঙ্ক দিয়ে স্বাভাবিকভাবেই এই অবস্থাগুলোকে প্রকাশ করে।
14. The value of radix in binary number system is ________. / বাইনারি নম্বর সিস্টেমে রেডিক্স (radix)-এর মান ________।
Correct Answer / সঠিক উত্তর: B) 2
Explanation / ব্যাখ্যা: Radix is another term for the base of a number system. For the binary system, the base or radix is 2. / রেডিক্স হলো নম্বর সিস্টেমের ভিত্তির আরেকটি নাম। বাইনারি সিস্টেমের জন্য, ভিত্তি বা রেডিক্স হলো 2।
15. How many bits are required to represent a single hexadecimal digit? / একটি হেক্সাডেসিমেল অঙ্ককে প্রকাশ করতে কতগুলো বিট প্রয়োজন?
Correct Answer / সঠিক উত্তর: C) 4 bits
Explanation / ব্যাখ্যা: Hexadecimal has 16 symbols (0 to F). To represent 16 different values, you need 2^4 = 16 combinations, which requires 4 bits. / হেক্সাডেসিমেলের 16টি প্রতীক আছে (0 থেকে F)। 16টি ভিন্ন মান প্রকাশ করতে, আপনার 2^4 = 16টি সংমিশ্রণ প্রয়োজন, যার জন্য 4 বিট লাগে।
Topic: Binary Arithmetic
16. The result of the binary addition 1011 + 0110 is: / বাইনারি যোগ 1011 + 0110-এর ফল কত?
Correct Answer / সঠিক উত্তর: A) 10001
Explanation / ব্যাখ্যা:
1011 (11 in decimal) + 0110 (6 in decimal) ------- 10001 (17 in decimal)Step-by-step: 1+0=1; 1+1=0 carry 1; 1(carry)+0+1=0 carry 1; 1(carry)+1+0=0 carry 1; final carry is 1. Result: 10001. / ধাপে ধাপে: 1+0=1; 1+1=0 হাতে 1; 1(হাতে)+0+1=0 হাতে 1; 1(হাতে)+1+0=0 হাতে 1;最后的 হাতে থাকা 1। ফলাফল: 10001।
17. The result of the binary subtraction 1101 – 1011 is: / বাইনারি বিয়োগ 1101 – 1011-এর ফল কত?
Correct Answer / সঠিক উত্তর: A) 0010
Explanation / ব্যাখ্যা:
1101 (13 in decimal) - 1011 (11 in decimal) ------- 0010 (2 in decimal)Step-by-step: 1-1=0; 0-1 requires a borrow, so (10)-1=1, and the next digit becomes 0. 0-0=0; 1-1=0. Result: 0010. / ধাপে ধাপে: 1-1=0; 0-1 এর জন্য borrow দরকার, তাই (10)-1=1 এবং পরের অঙ্কটি 0 হয়ে যায়। 0-0=0; 1-1=0। ফলাফল: 0010।
18. Binary multiplication of 101 * 11 results in: / 101 * 11-এর বাইনারি গুণফল কত?
Correct Answer / সঠিক উত্তর: A) 1111
Explanation / ব্যাখ্যা:
101 (5) x 11 (3) ------ 101 1010 (shifted left by one) ------ 1111 (15)The result of the multiplication is 1111. / গুণফলটি হলো 1111।
19. What is overflow in binary arithmetic? / বাইনারি অ্যারিথমেটিকে ওভারফ্লো (overflow) কী?
Correct Answer / সঠিক উত্তর: B) A result that requires more bits than available to be represented. / একটি ফল যা প্রকাশ করার জন্য উপলব্ধ বিটের চেয়ে বেশি বিট প্রয়োজন।
Explanation / ব্যাখ্যা: Overflow occurs when an arithmetic operation, like addition, produces a result that is larger than what can be stored in the given number of bits. For example, adding two 8-bit numbers might result in a 9-bit number. / ওভারফ্লো তখন ঘটে যখন কোনো গাণিতিক ক্রিয়াকলাপ, যেমন যোগ, এমন একটি ফল তৈরি করে যা প্রদত্ত বিট সংখ্যায় সংরক্ষণ করা যায় না। উদাহরণস্বরূপ, দুটি 8-বিটের সংখ্যা যোগ করলে একটি 9-বিটের সংখ্যা হতে পারে।
20. Binary division of 1100 / 10 results in: / 1100 / 10 এর বাইনারি ভাগফল কত?
Correct Answer / সঠিক উত্তর: C) 110
Explanation / ব্যাখ্যা: 1100 in decimal is 12. 10 in binary is 2. 12 / 2 = 6. The binary representation of 6 is 110. / ডেসিমেল এ 1100 হলো 12। বাইনারিতে 10 হলো 2। 12 / 2 = 6। 6 এর বাইনারি রূপ হলো 110।
21. 1 + 1 + 1 in binary addition equals: / বাইনারি যোগে 1 + 1 + 1 সমান:
Correct Answer / সঠিক উত্তর: A) 1 with a carry of 1
Explanation / ব্যাখ্যা: In decimal, 1+1+1 = 3. In binary, 3 is represented as 11. So, the sum is 1 and the carry is 1. / ডেসিমেলে 1+1+1 = 3। বাইনারিতে 3 কে 11 হিসাবে লেখা হয়। সুতরাং, যোগফল হলো 1 এবং হাতে থাকে 1।
22. An overflow is detected in 2’s complement addition if: / 2’s কমপ্লিমেন্ট যোগে ওভারফ্লো শনাক্ত হয় যদি:
Correct Answer / সঠিক উত্তর: A) The carry-in and carry-out of the sign bit are different. / সাইন বিটের ক্যারি-ইন এবং ক্যারি-আউট ভিন্ন হয়।
Explanation / ব্যাখ্যা: This is the standard rule for detecting overflow in 2’s complement arithmetic. It occurs when adding two positive numbers yields a negative result, or adding two negative numbers yields a positive result. / 2’s কমপ্লিমেন্ট অ্যারিথমেটিকে ওভারফ্লো শনাক্ত করার এটিই স্ট্যান্ডার্ড নিয়ম। এটি ঘটে যখন দুটি ধনাত্মক সংখ্যা যোগ করলে একটি ঋণাত্মক ফল আসে, অথবা দুটি ঋণাত্মক সংখ্যা যোগ করলে একটি ধনাত্মক ফল আসে।
23. Subtracting a larger number from a smaller number in binary using borrowing results in: / বাইনারিতে একটি ছোট সংখ্যা থেকে একটি বড় সংখ্যা বিয়োগ করলে (borrowing ব্যবহার করে) কী ফল হয়?
Correct Answer / সঠিক উত্তর: B) A negative number that needs a sign representation / একটি ঋণাত্মক সংখ্যা যার জন্য একটি চিহ্ন প্রয়োজন
Explanation / ব্যাখ্যা: Standard binary subtraction doesn’t handle negative results directly. The result is conceptually negative and requires a representation method like 2’s complement. / সাধারণ বাইনারি বিয়োগ সরাসরি ঋণাত্মক ফল পরিচালনা করে না। ফলটি ধারণাগতভাবে ঋণাত্মক এবং এর জন্য 2’s কমপ্লিমেন্টের মতো একটি উপস্থাপনা পদ্ধতির প্রয়োজন হয়।
Topic: Negative Number Representation (1’s and 2’s Complement)
24. The 1’s complement of the binary number 10101 is: / বাইনারি সংখ্যা 10101-এর 1’s কমপ্লিমেন্ট কত?
Correct Answer / সঠিক উত্তর: A) 01010
Explanation / ব্যাখ্যা: The 1’s complement is found by inverting all the bits (changing 1s to 0s and 0s to 1s). So, 10101 becomes 01010. / 1’s কমপ্লিমেন্ট সব বিট উল্টে দিয়ে পাওয়া যায় (1-কে 0 এবং 0-কে 1 করে)। সুতরাং, 10101 হয়ে যায় 01010।
25. The 2’s complement of the binary number 10101 is: / বাইনারি সংখ্যা 10101-এর 2’s কমপ্লিমেন্ট কত?
Correct Answer / সঠিক উত্তর: B) 01011
Explanation / ব্যাখ্যা: First, find the 1’s complement: 01010. Then, add 1 to the result: 01010 + 1 = 01011. / প্রথমে 1’s কমপ্লিমেন্ট খুঁজুন: 01010। তারপর, ফলাফলের সাথে 1 যোগ করুন: 01010 + 1 = 01011।
26. Why is 2’s complement preferred over 1’s complement for representing negative numbers? / ঋণাত্মক সংখ্যা উপস্থাপনের জন্য 1’s কমপ্লিমেন্টের চেয়ে 2’s কমপ্লিমেন্ট কেন বেশি পছন্দের?
Correct Answer / সঠিক উত্তর: B) It has a unique representation for zero. / এর শূন্যের জন্য একটি অনন্য উপস্থাপনা রয়েছে।
Explanation / ব্যাখ্যা: In 1’s complement, there are two representations for zero (+0 is 0000 and -0 is 1111), which complicates arithmetic. 2’s complement has only one representation for zero (0000), simplifying hardware logic. / 1’s কমপ্লিমেন্টে শূন্যের জন্য দুটি উপস্থাপনা রয়েছে (+0 হলো 0000 এবং -0 হলো 1111), যা গাণিতিক কাজকে জটিল করে তোলে। 2’s কমপ্লিমেন্টে শূন্যের জন্য কেবল একটি উপস্থাপনা রয়েছে (0000), যা হার্ডওয়্যার লজিককে সহজ করে।
27. In an 8-bit 2’s complement system, what is the decimal value of 11111111? / একটি 8-বিটের 2’s কমপ্লিমেন্ট সিস্টেমে, 11111111-এর ডেসিমেল মান কত?
Correct Answer / সঠিক উত্তর: C) -1
Explanation / ব্যাখ্যা: The number is negative (MSB is 1). To find its magnitude, take the 2’s complement: 1’s complement is 00000000, adding 1 gives 00000001. So the value is -1. / সংখ্যাটি ঋণাত্মক (MSB হলো 1)। এর মান খুঁজে বের করতে, 2’s কমপ্লিমেন্ট নিন: 1’s কমপ্লিমেন্ট হলো 00000000, 1 যোগ করলে হয় 00000001। সুতরাং মানটি হলো -1।
28. How is the number -5 represented in 8-bit 2’s complement? / 8-বিটের 2’s কমপ্লিমেন্টে -5 সংখ্যাটি কীভাবে উপস্থাপিত হয়?
Correct Answer / সঠিক উত্তর: B) 11111011
Explanation / ব্যাখ্যা: First, represent +5 in 8 bits: 00000101. Then, find the 1’s complement: 11111010. Finally, add 1 to get the 2’s complement: 11111011. / প্রথমে +5 কে 8 বিটে প্রকাশ করুন: 00000101। তারপর, 1’s কমপ্লিমেন্ট খুঁজুন: 11111010। অবশেষে, 1 যোগ করে 2’s কমপ্লিমেন্ট পান: 11111011।
29. What is the range of numbers that can be represented using 8-bit 2’s complement? / 8-বিটের 2’s কমপ্লিমেন্ট ব্যবহার করে কোন পরিসরের সংখ্যা উপস্থাপন করা যায়?
Correct Answer / সঠিক উত্তর: B) -128 to +127
Explanation / ব্যাখ্যা: For an n-bit 2’s complement system, the range is from -(2^(n-1)) to +(2^(n-1) – 1). For n=8, this is -(2^7) to +(2^7 – 1), which is -128 to +127. / একটি n-বিটের 2’s কমপ্লিমেন্ট সিস্টেমের জন্য, পরিসর হলো -(2^(n-1)) থেকে +(2^(n-1) – 1)। n=8 এর জন্য, এটি -(2^7) থেকে +(2^7 – 1), যা -128 থেকে +127।
30. In a signed-magnitude representation, the leftmost bit is the: / একটি সাইন-ম্যাগনিটিউড উপস্থাপনায়, বামদিকের বিটটি হলো:
Correct Answer / সঠিক উত্তর: A) Sign bit / সাইন বিট
Explanation / ব্যাখ্যা: In signed-magnitude, the most significant bit (MSB), which is the leftmost bit, is used to represent the sign. Typically, 0 for positive and 1 for negative. / সাইন-ম্যাগনিটিউডে, সবচেয়ে গুরুত্বপূর্ণ বিট (MSB), যা বামদিকের বিট, চিহ্ন উপস্থাপনের জন্য ব্যবহৃত হয়। সাধারণত, ধনাত্মকের জন্য 0 এবং ঋণাত্মকের জন্য 1।
Topic: Various Codes (ASCII, EBCDIC, BCD) & BCD Arithmetic
31. What does ASCII stand for? / ASCII-এর পূর্ণরূপ কী?
Correct Answer / সঠিক উত্তর: A) American Standard Code for Information Interchange
Explanation / ব্যাখ্যা: ASCII is a character encoding standard for electronic communication. / ASCII হলো ইলেকট্রনিক যোগাযোগের জন্য একটি ক্যারেক্টার এনকোডিং স্ট্যান্ডার্ড।
32. What does BCD stand for? / BCD-এর পূর্ণরূপ কী?
Correct Answer / সঠিক উত্তর: A) Binary Coded Decimal
Explanation / ব্যাখ্যা: BCD is a system where each decimal digit is represented by a 4-bit binary number. / BCD হলো একটি সিস্টেম যেখানে প্রতিটি ডেসিমেল অঙ্ককে একটি 4-বিটের বাইনারি সংখ্যা দ্বারা উপস্থাপন করা হয়।
33. The BCD representation of the decimal number 59 is: / ডেসিমেল সংখ্যা 59-এর BCD উপস্থাপনা হলো:
Correct Answer / সঠিক উত্তর: A) 0101 1001
Explanation / ব্যাখ্যা: In BCD, each decimal digit is converted to its 4-bit binary equivalent. 5 is 0101 and 9 is 1001. So, 59 is 0101 1001. / BCD-তে প্রতিটি ডেসিমেল অঙ্ককে তার 4-বিটের বাইনারি সমতুল্যে রূপান্তর করা হয়। 5 হলো 0101 এবং 9 হলো 1001। সুতরাং, 59 হলো 0101 1001।
34. Which of the following 4-bit combinations is invalid in BCD? / নিচের কোন 4-বিটের সংমিশ্রণটি BCD-তে অবৈধ?
Correct Answer / সঠিক উত্তর: C) 1010
Explanation / ব্যাখ্যা: BCD represents decimal digits 0 through 9. The binary values for 10 through 15 (1010 to 1111) are not used and are considered invalid in BCD. / BCD ডেসিমেল অঙ্ক 0 থেকে 9 পর্যন্ত উপস্থাপন করে। 10 থেকে 15 (1010 থেকে 1111) এর বাইনারি মানগুলি ব্যবহৃত হয় না এবং BCD-তে অবৈধ বলে বিবেচিত হয়।
35. EBCDIC is mainly used in: / EBCDIC প্রধানত ব্যবহৃত হয়:
Correct Answer / সঠিক উত্তর: B) IBM mainframe computers / আইবিএম মেইনফ্রেম কম্পিউটারে
Explanation / ব্যাখ্যা: EBCDIC (Extended Binary Coded Decimal Interchange Code) is an 8-bit character encoding developed and primarily used by IBM for its mainframe operating systems. / EBCDIC (এক্সটেন্ডেড বাইনারি কোডেড ডেসিমেল ইন্টারচেঞ্জ কোড) হলো একটি 8-বিটের ক্যারেক্টার এনকোডিং যা আইবিএম দ্বারা তার মেইনফ্রেম অপারেটিং সিস্টেমের জন্য তৈরি এবং প্রধানত ব্যবহৃত হয়।
36. In BCD addition, if the sum of two digits is greater than 9, what must be done? / BCD যোগে, যদি দুটি অঙ্কের যোগফল 9-এর চেয়ে বেশি হয়, তাহলে কী করতে হবে?
Correct Answer / সঠিক উত্তর: B) Add 6 (0110) / 6 (0110) যোগ করুন
Explanation / ব্যাখ্যা: When the 4-bit sum is an invalid BCD code (greater than 9) or if a carry is generated, 6 (0110) is added to the sum to correct it and produce the proper BCD result. / যখন 4-বিটের যোগফল একটি অবৈধ BCD কোড (9-এর চেয়ে বড়) হয় বা যদি একটি ক্যারি তৈরি হয়, তখন সঠিক BCD ফল পেতে যোগফলের সাথে 6 (0110) যোগ করা হয়।
37. The ASCII value for the character ‘A’ is: / ‘A’ ক্যারেক্টারের জন্য ASCII মান হলো:
Correct Answer / সঠিক উত্তর: A) 65
Explanation / ব্যাখ্যা: In the ASCII standard, the decimal value for the uppercase letter ‘A’ is 65. The hexadecimal value is 41. / ASCII স্ট্যান্ডার্ডে, বড় হাতের ‘A’-এর ডেসিমেল মান 65। হেক্সাডেসিমেল মান 41।
38. How many bits does standard ASCII use? / স্ট্যান্ডার্ড ASCII কত বিট ব্যবহার করে?
Correct Answer / সঠিক উত্তর: B) 7
Explanation / ব্যাখ্যা: The original, standard ASCII is a 7-bit code, allowing for 128 different characters. Extended ASCII is an 8-bit code. / আসল, স্ট্যান্ডার্ড ASCII একটি 7-বিটের কোড, যা 128টি ভিন্ন ক্যারেক্টারের অনুমতি দেয়। এক্সটেন্ডেড ASCII একটি 8-বিটের কোড।
39. Add the BCD numbers 0100 and 0101. What is the result? / BCD সংখ্যা 0100 এবং 0101 যোগ করুন। ফল কী?
Correct Answer / সঠিক উত্তর: A) 1001
Explanation / ব্যাখ্যা: 0100 (4 in decimal) + 0101 (5 in decimal) = 1001 (9 in decimal). The result is less than 9, so no correction is needed. The BCD result is 1001. / 0100 (ডেসিমেল 4) + 0101 (ডেসিমেল 5) = 1001 (ডেসিমেল 9)। ফলটি 9-এর কম, তাই কোনো সংশোধনের প্রয়োজন নেই। BCD ফল হলো 1001।
40. Add the BCD numbers 0111 and 0101. What is the result? / BCD সংখ্যা 0111 এবং 0101 যোগ করুন। ফল কী?
Correct Answer / সঠিক উত্তর: B) 0001 0010
Explanation / ব্যাখ্যা: 0111 (7) + 0101 (5) = 1100. This is 12, which is > 9 and an invalid BCD code. So we add 6 (0110): 1100 + 0110 = 1 0010. The carry ‘1’ becomes the next BCD digit (0001) and the result is 0010. So, the final BCD is 0001 0010. / 0111 (7) + 0101 (5) = 1100। এটি 12, যা > 9 এবং একটি অবৈধ BCD কোড। তাই আমরা 6 (0110) যোগ করি: 1100 + 0110 = 1 0010। ক্যারি ‘1’ পরবর্তী BCD অঙ্ক (0001) হয়ে যায় এবং ফলটি হলো 0010। সুতরাং, চূড়ান্ত BCD হলো 0001 0010।
41. A nibble is a group of __ bits. / একটি নিবল হলো __ বিটের একটি গ্রুপ।
Correct Answer / সঠিক উত্তর: B) 4
Explanation / ব্যাখ্যা: A nibble is a four-bit aggregation, or half an octet (an 8-bit byte). It is often used to represent one hexadecimal or BCD digit. / একটি নিবল হলো একটি চার-বিটের সমষ্টি, বা একটি অক্টেটের (8-বিট বাইট) অর্ধেক। এটি প্রায়শই একটি হেক্সাডেসিমেল বা BCD অঙ্ককে উপস্থাপন করতে ব্যবহৃত হয়।
42. Perform 7 – 5 using 4-bit 2’s complement arithmetic. / 4-বিটের 2’s কমপ্লিমেন্ট অ্যারিথমেটিক ব্যবহার করে 7 – 5 সম্পাদন করুন।
Correct Answer / সঠিক উত্তর: A) 0010
Explanation / ব্যাখ্যা: 7 is 0111. -5 in 4-bit 2’s complement is (2’s comp of 0101) = 1011. Now add: 0111 + 1011 = 10010. Since we are using 4 bits, we discard the final carry. The result is 0010, which is 2. / 7 হলো 0111। 4-বিটের 2’s কমপ্লিমেন্টে -5 হলো (0101 এর 2’s কমপ্লিমেন্ট) = 1011। এখন যোগ করুন: 0111 + 1011 = 10010। যেহেতু আমরা 4 বিট ব্যবহার করছি, আমরা চূড়ান্ত ক্যারিটি বাতিল করি। ফল হলো 0010, যা 2।
43. Which code is a weighted code? / কোন কোডটি একটি ওয়েটেড কোড?
Correct Answer / সঠিক উত্তর: C) BCD (8421) Code / BCD (8421) কোড
Explanation / ব্যাখ্যা: A weighted code is one where each bit position has a fixed weight. In 8421 BCD, the weights are 8, 4, 2, and 1, corresponding to the bit positions. / একটি ওয়েটেড কোড হলো এমন একটি কোড যেখানে প্রতিটি বিট অবস্থানের একটি নির্দিষ্ট ওজন থাকে। 8421 BCD-তে, ওজনগুলি হলো 8, 4, 2, এবং 1, যা বিট অবস্থানগুলির সাথে মিলে যায়।
44. What is the decimal value of the 2’s complement number 1000? / 2’s কমপ্লিমেন্ট সংখ্যা 1000-এর ডেসিমেল মান কত?
Correct Answer / সঠিক উত্তর: D) -8
Explanation / ব্যাখ্যা: In a 4-bit 2’s complement system, 1000 represents the most negative number. The range is -8 to +7. The number is negative (MSB=1). Taking its 2’s complement gives 1000 itself, which represents the magnitude 8. So the value is -8. / একটি 4-বিটের 2’s কমপ্লিমেন্ট সিস্টেমে, 1000 সবচেয়ে ঋণাত্মক সংখ্যাটিকে উপস্থাপন করে। পরিসর হলো -8 থেকে +7। সংখ্যাটি ঋণাত্মক (MSB=1)। এর 2’s কমপ্লিমেন্ট নিলে 1000 নিজেই পাওয়া যায়, যা 8-এর মানকে বোঝায়। সুতরাং মানটি হলো -8।
45. The decimal number 10 is represented in its BCD form as ________. / ডেসিমেল সংখ্যা 10 তার BCD রূপে ________ হিসাবে উপস্থাপিত হয়।
Correct Answer / সঠিক উত্তর: B) 0001 0000
Explanation / ব্যাখ্যা: In BCD, each decimal digit is represented by 4 bits. So, 1 is 0001 and 0 is 0000. Therefore, 10 is 0001 0000. / BCD-তে প্রতিটি ডেসিমেল অঙ্ক 4 বিট দ্বারা উপস্থাপিত হয়। সুতরাং, 1 হলো 0001 এবং 0 হলো 0000। অতএব, 10 হলো 0001 0000।
46. Convert octal 75 to binary. / অক্টাল 75 কে বাইনারিতে রূপান্তর করুন।
Correct Answer / সঠিক উত্তর: A) 111101
Explanation / ব্যাখ্যা: Convert each octal digit to its 3-bit binary equivalent. 7 is 111, and 5 is 101. Combining them gives 111101. / প্রতিটি অক্টাল অঙ্ককে তার 3-বিটের বাইনারি সমতুল্যে রূপান্তর করুন। 7 হলো 111, এবং 5 হলো 101। তাদের একত্রিত করলে 111101 পাওয়া যায়।
47. The number (1001.01)2 is equivalent to what decimal number? / (1001.01)2 সংখ্যাটি কোন ডেসিমেল সংখ্যার সমতুল্য?
Correct Answer / সঠিক উত্তর: B) 9.25
Explanation / ব্যাখ্যা: Integer part: 1001 = 1*2^3 + 0*2^2 + 0*2^1 + 1*2^0 = 8+1 = 9. Fractional part: 01 = 0*2^-1 + 1*2^-2 = 0 + 1/4 = 0.25. Total = 9.25. / পূর্ণাংশ: 1001 = 1*2^3 + 0*2^2 + 0*2^1 + 1*2^0 = 8+1 = 9। ভগ্নাংশ: 01 = 0*2^-1 + 1*2^-2 = 0 + 1/4 = 0.25। মোট = 9.25।
48. The 1’s complement representation of -15 in 8 bits is: / 8 বিটে -15-এর 1’s কমপ্লিমেন্ট উপস্থাপনা হলো:
Correct Answer / সঠিক উত্তর: A) 11110000
Explanation / ব্যাখ্যা: First, +15 in 8 bits is 00001111. The 1’s complement is found by inverting all the bits, which gives 11110000. / প্রথমে, 8 বিটে +15 হলো 00001111। 1’s কমপ্লিমেন্ট সব বিট উল্টে দিয়ে পাওয়া যায়, যা 11110000 দেয়।
49. In which code is the decimal value of a codeword the sum of the weights of the bits that are 1s? / কোন কোডে একটি কোডওয়ার্ডের ডেসিমেল মান সেই বিটগুলির ওজনের যোগফলের সমান যেগুলির মান 1?
Correct Answer / সঠিক উত্তর: C) Weighted Codes like BCD / BCD-এর মতো ওয়েটেড কোড
Explanation / ব্যাখ্যা: This is the definition of a weighted code. Each bit position has a predefined weight, and the decimal value is the sum of the weights for all ‘1’ bits. / এটি একটি ওয়েটেড কোডের সংজ্ঞা। প্রতিটি বিট অবস্থানের একটি পূর্বনির্ধারিত ওজন থাকে, এবং ডেসিমেল মান হলো সমস্ত ‘1’ বিটের জন্য ওজনের যোগফল।
50. The ASCII code for the null character is: / নাল (null) ক্যারেক্টারের জন্য ASCII কোড হলো:
Correct Answer / সঠিক উত্তর: A) 0
Explanation / ব্যাখ্যা: The null character (NUL), used for various control purposes, is represented by the ASCII value 0 (all bits are zero). / নাল ক্যারেক্টার (NUL), যা বিভিন্ন নিয়ন্ত্রণ উদ্দেশ্যে ব্যবহৃত হয়, তা ASCII মান 0 দ্বারা উপস্থাপিত হয় (সব বিট শূন্য)।
51. Convert the hexadecimal number 2F.C to binary. / হেক্সাডেসিমেল সংখ্যা 2F.C কে বাইনারিতে রূপান্তর করুন।
Correct Answer / সঠিক উত্তর: A) 00101111.1100
Explanation / ব্যাখ্যা: Convert each hex digit to its 4-bit binary equivalent. 2 is 0010, F is 1111, C is 12 which is 1100. Combine them: 00101111.1100. / প্রতিটি হেক্স অঙ্ককে তার 4-বিটের বাইনারি সমতুল্যে রূপান্তর করুন। 2 হলো 0010, F হলো 1111, C হলো 12 যা 1100। তাদের একত্রিত করুন: 00101111.1100।
52. A 32-bit computer word typically represents: / একটি 32-বিটের কম্পিউটার ওয়ার্ড সাধারণত উপস্থাপন করে:
Correct Answer / সঠিক উত্তর: D) All of the above are possible / উপরের সবগুলিই সম্ভব
Explanation / ব্যাখ্যা: A computer word’s meaning is context-dependent. A 32-bit word can store an integer, a single-precision float (as per IEEE 754 standard), multiple characters (like 4 ASCII characters), or other data types. / একটি কম্পিউটার ওয়ার্ডের অর্থ প্রেক্ষাপটের উপর নির্ভরশীল। একটি 32-বিটের ওয়ার্ড একটি পূর্ণসংখ্যা, একটি সিঙ্গেল-প্রিসিশন ফ্লোট (IEEE 754 স্ট্যান্ডার্ড অনুযায়ী), একাধিক ক্যারেক্টার (যেমন 4টি ASCII ক্যারেক্টার) বা অন্যান্য ডেটা টাইপ সংরক্ষণ করতে পারে।
53. What is the result of 110101 – 011110 using 2’s complement? / 2’s কমপ্লিমেন্ট ব্যবহার করে 110101 – 011110 এর ফল কী?
Correct Answer / সঠিক উত্তর: A) 010111
Explanation / ব্যাখ্যা: The problem is (53) – (30). We calculate 53 + (-30). -30 in 2’s comp: +30 is 011110. 1’s comp is 100001. 2’s comp is 100010. Add: 110101 + 100010 = 1010111. Discarding the carry, we get 010111, which is 23 in decimal. / সমস্যাটি হলো (53) – (30)। আমরা 53 + (-30) গণনা করি। 2’s কমপ্লিমেন্টে -30: +30 হলো 011110। 1’s কমপ্লিমেন্ট হলো 100001। 2’s কমপ্লিমেন্ট হলো 100010। যোগ করুন: 110101 + 100010 = 1010111। ক্যারি বাদ দিলে আমরা পাই 010111, যা ডেসিমেল এ 23।
54. Unicode was developed to overcome the limitations of: / কিসের সীমাবদ্ধতা কাটিয়ে উঠতে ইউনিকোড তৈরি করা হয়েছিল?
Correct Answer / সঠিক উত্তর: D) All of the above / উপরের সবগুলি
Explanation / ব্যাখ্যা: Codes like ASCII and EBCDIC are limited to 256 characters (for 8-bit versions), which is insufficient for representing all the world’s languages. Unicode provides a unique code point for every character, regardless of platform, program, or language. / ASCII এবং EBCDIC এর মতো কোডগুলি 256টি ক্যারেক্টারে সীমাবদ্ধ (8-বিট সংস্করণের জন্য), যা বিশ্বের সমস্ত ভাষাকে উপস্থাপন করার জন্য অপর্যাপ্ত। ইউনিকোড প্ল্যাটফর্ম, প্রোগ্রাম বা ভাষা নির্বিশেষে প্রতিটি ক্যারেক্টারের জন্য একটি অনন্য কোড পয়েন্ট সরবরাহ করে।
55. In BCD subtraction using 9’s complement, what is added to the result if there is an end-around carry? / 9’s কমপ্লিমেন্ট ব্যবহার করে BCD বিয়োগে, যদি একটি এন্ড-অ্যারাউন্ড ক্যারি থাকে তবে ফলাফলের সাথে কী যোগ করা হয়?
Correct Answer / সঠিক উত্তর: A) 1
Explanation / ব্যাখ্যা: In complement-based subtraction (like 1’s or 9’s complement), an end-around carry (a carry out of the most significant bit) indicates a positive result, and this carry must be added back to the least significant bit to get the final correct answer. / কমপ্লিমেন্ট-ভিত্তিক বিয়োগে (যেমন 1’s বা 9’s কমপ্লিমেন্ট), একটি এন্ড-অ্যারাউন্ড ক্যারি (সবচেয়ে গুরুত্বপূর্ণ বিট থেকে একটি ক্যারি) একটি ধনাত্মক ফল নির্দেশ করে, এবং চূড়ান্ত সঠিক উত্তর পেতে এই ক্যারিটিকে অবশ্যই সর্বনিম্ন গুরুত্বপূর্ণ বিটে আবার যোগ করতে হবে।
56. The hexadecimal number system is often used in programming for: / হেক্সাডেসিমেল নম্বর সিস্টেম প্রায়শই প্রোগ্রামিংয়ে ব্যবহৃত হয়:
Correct Answer / সঠিক উত্তর: D) All of the above / উপরের সবগুলি
Explanation / ব্যাখ্যা: Hexadecimal is a compact way to represent binary data. Each hex digit corresponds to 4 bits, making it easy to read long binary strings, memory addresses, and color codes. / হেক্সাডেসিমেল বাইনারি ডেটা উপস্থাপনের একটি সংক্ষিপ্ত উপায়। প্রতিটি হেক্স অঙ্ক 4 বিটের সাথে মিলে যায়, যা দীর্ঘ বাইনারি স্ট্রিং, মেমরি অ্যাড্রেস এবং রঙ কোড পড়া সহজ করে তোলে।
57. The number 123 is invalid in which number system? / 123 সংখ্যাটি কোন নম্বর সিস্টেমে অবৈধ?
Correct Answer / সঠিক উত্তর: A) Binary / বাইনারি
Explanation / ব্যাখ্যা: The binary number system only uses the digits 0 and 1. The digits 2 and 3 are not part of the binary system. / বাইনারি নম্বর সিস্টেম শুধুমাত্র 0 এবং 1 অঙ্ক ব্যবহার করে। 2 এবং 3 অঙ্ক বাইনারি সিস্টেমের অংশ নয়।
58. What is the 2’s complement of 0000? / 0000 এর 2’s কমপ্লিমেন্ট কী?
Correct Answer / সঠিক উত্তর: C) 0000
Explanation / ব্যাখ্যা: The 1’s complement of 0000 is 1111. Adding 1 gives 10000. Discarding the carry bit, the result is 0000. This demonstrates the unique representation of zero in 2’s complement. / 0000 এর 1’s কমপ্লিমেন্ট হলো 1111। 1 যোগ করলে 10000 হয়। ক্যারি বিটটি বাতিল করলে ফল হয় 0000। এটি 2’s কমপ্লিমেন্টে শূন্যের অনন্য উপস্থাপনা প্রদর্শন করে।
59. The BCD code is a ________. / BCD কোড একটি ________।
Correct Answer / সঠিক উত্তর: D) Weighted code / ওয়েটেড কোড
Explanation / ব্যাখ্যা: Standard BCD is also known as 8421 code, where 8, 4, 2, and 1 are the weights assigned to the four bit positions. / স্ট্যান্ডার্ড BCD কে 8421 কোড হিসাবেও জানা যায়, যেখানে 8, 4, 2, এবং 1 হলো চারটি বিট অবস্থানে নির্ধারিত ওজন।
60. How would the decimal number 100 be represented in BCD? / ডেসিমেল সংখ্যা 100 কীভাবে BCD-তে উপস্থাপিত হবে?
Correct Answer / সঠিক উত্তর: C) 0001 0000 0000
Explanation / ব্যাখ্যা: Each digit is converted separately: 1 is 0001, 0 is 0000, and the second 0 is also 0000. So, 100 is 0001 0000 0000. / প্রতিটি অঙ্ককে আলাদাভাবে রূপান্তর করা হয়: 1 হলো 0001, 0 হলো 0000, এবং দ্বিতীয় 0টিও 0000। সুতরাং, 100 হলো 0001 0000 0000।
61. The base or radix of the octal system is: / অক্টাল সিস্টেমের বেস বা রেডিক্স হলো:
Correct Answer / সঠিক উত্তর: C) 8
Explanation / ব্যাখ্যা: The octal system uses 8 digits (0-7), so its base or radix is 8. / অক্টাল সিস্টেম 8টি অঙ্ক (0-7) ব্যবহার করে, তাই এর বেস বা রেডিক্স 8।
62. In 8-bit signed magnitude, what does 10000001 represent? / 8-বিট সাইনড ম্যাগনিটিউডে, 10000001 কী উপস্থাপন করে?
Correct Answer / সঠিক উত্তর: C) -1
Explanation / ব্যাখ্যা: In signed magnitude, the leftmost bit is the sign (1=negative). The remaining 7 bits (0000001) represent the magnitude, which is 1. So, the number is -1. / সাইনড ম্যাগনিটিউডে, বামদিকের বিটটি হলো চিহ্ন (1=ঋণাত্মক)। বাকি 7টি বিট (0000001) মান উপস্থাপন করে, যা 1। সুতরাং, সংখ্যাটি -1।
63. What is the decimal equivalent of the BCD number 1000 0110? / BCD সংখ্যা 1000 0110 এর ডেসিমেল সমতুল্য কী?
Correct Answer / সঠিক উত্তর: B) 86
Explanation / ব্যাখ্যা: In BCD, each 4-bit group is converted to a decimal digit. 1000 is 8, and 0110 is 6. So the decimal number is 86. / BCD-তে, প্রতিটি 4-বিটের গ্রুপকে একটি ডেসিমেল অঙ্কে রূপান্তরিত করা হয়। 1000 হলো 8, এবং 0110 হলো 6। সুতরাং ডেসিমেল সংখ্যাটি হলো 86।
64. Adding 1 to the largest 8-bit unsigned binary number results in: / বৃহত্তম 8-বিট আনসাইনড বাইনারি সংখ্যার সাথে 1 যোগ করলে ফল হয়:
Correct Answer / সঠিক উত্তর: A) Overflow / ওভারফ্লো
Explanation / ব্যাখ্যা: The largest 8-bit unsigned number is 11111111 (255). Adding 1 gives 100000000, which is a 9-bit number. Since the result cannot be stored in 8 bits, this is an overflow. The stored 8-bit result would be 00000000. / বৃহত্তম 8-বিট আনসাইনড সংখ্যাটি হলো 11111111 (255)। 1 যোগ করলে 100000000 হয়, যা একটি 9-বিটের সংখ্যা। যেহেতু ফলটি 8 বিটে সংরক্ষণ করা যায় না, এটি একটি ওভারফ্লো। সংরক্ষিত 8-বিটের ফল হবে 00000000।
65. Which character encoding is a superset of ASCII? / কোন ক্যারেক্টার এনকোডিং ASCII-এর একটি সুপারসেট?
Correct Answer / সঠিক উত্তর: C) UTF-8 (Unicode)
Explanation / ব্যাখ্যা: UTF-8 is designed so that the first 128 characters (0-127) correspond exactly to the ASCII character set, making it backward compatible. / UTF-8 এমনভাবে ডিজাইন করা হয়েছে যাতে প্রথম 128টি ক্যারেক্টার (0-127) হুবহু ASCII ক্যারেক্টার সেটের সাথে মিলে যায়, যা এটিকে পশ্চাৎমুখী সামঞ্জস্যপূর্ণ করে তোলে।
66. The value of 2^10 is commonly referred to as: / 2^10 এর মানকে সাধারণত বলা হয়:
Correct Answer / সঠিক উত্তর: A) Kilo (K)
Explanation / ব্যাখ্যা: In computing, Kilo (K) refers to 2^10, which is 1024. This is used for measuring memory and storage (e.g., Kilobyte). / কম্পিউটিং-এ, কিলো (K) বলতে 2^10 বোঝায়, যা 1024। এটি মেমরি এবং স্টোরেজ পরিমাপের জন্য ব্যবহৃত হয় (যেমন, কিলোবাইট)।
67. The binary representation 11010 corresponds to what octal number? / বাইনারি উপস্থাপনা 11010 কোন অক্টাল সংখ্যার সাথে মিলে যায়?
Correct Answer / সঠিক উত্তর: A) 32
Explanation / ব্যাখ্যা: Group into 3s from the right: (011)(010). Convert each group: 011 = 3, 010 = 2. The octal number is 32. / ডান থেকে 3-এর গ্রুপ করুন: (011)(010)। প্রতিটি গ্রুপকে রূপান্তর করুন: 011 = 3, 010 = 2। অক্টাল সংখ্যাটি 32।
68. What is the decimal value of the hexadecimal number ‘BEEF’? / হেক্সাডেসিমেল সংখ্যা ‘BEEF’ এর ডেসিমেল মান কী?
Correct Answer / সঠিক উত্তর: A) 48879
Explanation / ব্যাখ্যা: B=11, E=14, F=15. (11 * 16^3) + (14 * 16^2) + (14 * 16^1) + (15 * 16^0) = (11 * 4096) + (14 * 256) + (14 * 16) + 15 = 45056 + 3584 + 224 + 15 = 48879. / B=11, E=14, F=15. (11 * 16^3) + (14 * 16^2) + (14 * 16^1) + (15 * 16^0) = 45056 + 3584 + 224 + 15 = 48879।
69. The number of bits in an EBCDIC code is: / একটি EBCDIC কোডে বিটের সংখ্যা হলো:
Correct Answer / সঠিক উত্তর: B) 8
Explanation / ব্যাখ্যা: EBCDIC is an 8-bit character encoding, which allows for 2^8 = 256 different characters. / EBCDIC একটি 8-বিটের ক্যারেক্টার এনকোডিং, যা 2^8 = 256টি ভিন্ন ক্যারেক্টারের অনুমতি দেয়।
70. The Gray code is a/an: / গ্রে কোড একটি:
Correct Answer / সঠিক উত্তর: B) Non-weighted code / নন-ওয়েটেড কোড
Explanation / ব্যাখ্যা: In Gray code, the bit positions do not have a fixed weight. Its main property is that consecutive numbers differ by only one bit, which is useful in preventing errors in mechanical switches and sensors. / গ্রে কোডে, বিট অবস্থানগুলির কোনো নির্দিষ্ট ওজন নেই। এর প্রধান বৈশিষ্ট্য হলো পরপর সংখ্যাগুলি কেবল একটি বিটে ভিন্ন হয়, যা যান্ত্রিক সুইচ এবং সেন্সরগুলিতে ত্রুটি প্রতিরোধে কার্যকর।
71. Which logical operation is equivalent to finding the 1’s complement? / কোন লজিক্যাল অপারেশনটি 1’s কমপ্লিমেন্ট খুঁজে বের করার সমতুল্য?
Correct Answer / সঠিক উত্তর: C) NOT
Explanation / ব্যাখ্যা: The NOT operation inverts each bit (0 becomes 1, 1 becomes 0), which is exactly the definition of the 1’s complement. / NOT অপারেশন প্রতিটি বিটকে উল্টে দেয় (0 হয় 1, 1 হয় 0), যা ঠিক 1’s কমপ্লিমেন্টের সংজ্ঞা।
72. The Excess-3 code for the decimal digit 5 is: / ডেসিমেল অঙ্ক 5 এর জন্য এক্সেস-3 কোড হলো:
Correct Answer / সঠিক উত্তর: B) 1000
Explanation / ব্যাখ্যা: Excess-3 code is obtained by adding 3 to each decimal digit and then converting to a 4-bit binary number. For 5, we do 5 + 3 = 8. The 4-bit binary for 8 is 1000. / এক্সেস-3 কোড প্রতিটি ডেসিমেল অঙ্কের সাথে 3 যোগ করে এবং তারপর 4-বিটের বাইনারি সংখ্যায় রূপান্তরিত করে পাওয়া যায়। 5 এর জন্য, আমরা করি 5 + 3 = 8। 8 এর জন্য 4-বিটের বাইনারি হলো 1000।
73. The most significant bit (MSB) in a binary number represents the: / একটি বাইনারি সংখ্যায় সবচেয়ে গুরুত্বপূর্ণ বিট (MSB) উপস্থাপন করে:
Correct Answer / সঠিক উত্তর: B) Largest weight / বৃহত্তম ওজন
Explanation / ব্যাখ্যা: In a positional number system, the leftmost non-zero digit has the largest place value or weight. For signed numbers, it also serves as the sign bit. / একটি পজিশনাল নম্বর সিস্টেমে, বামদিকের অশূন্য অঙ্কটির সর্বোচ্চ স্থানিক মান বা ওজন থাকে। সাইনড সংখ্যার জন্য, এটি চিহ্ন বিট হিসাবেও কাজ করে।
74. A byte is equal to __ bits. / একটি বাইট __ বিটের সমান।
Correct Answer / সঠিক উত্তর: B) 8
Explanation / ব্যাখ্যা: A byte is a standard unit of digital information that consists of 8 bits. / একটি বাইট হলো ডিজিটাল তথ্যের একটি স্ট্যান্ডার্ড একক যা 8 বিট নিয়ে গঠিত।
75. To convert a binary number to octal, you group the bits in sets of: / একটি বাইনারি সংখ্যাকে অক্টালে রূপান্তর করতে, আপনি বিটগুলিকে ____ এর সেটে গ্রুপ করেন:
Correct Answer / সঠিক উত্তর: B) 3
Explanation / ব্যাখ্যা: Since 2^3 = 8, each group of 3 binary bits corresponds to exactly one octal digit. / যেহেতু 2^3 = 8, তাই প্রতিটি 3টি বাইনারি বিটের গ্রুপ ঠিক একটি অক্টাল অঙ্কের সাথে মিলে যায়।
76. Which of these is a self-complementing code? / এদের মধ্যে কোনটি একটি স্ব-পরিপূরক কোড?
Correct Answer / সঠিক উত্তর: C) Excess-3 Code
Explanation / ব্যাখ্যা: A code is self-complementing if the 9’s complement of a decimal number can be obtained by inverting the bits of its code representation. Excess-3 code has this property. For example, 2 is 0101 and its 9’s complement, 7, is 1010. / একটি কোড স্ব-পরিপূরক হয় যদি একটি ডেসিমেল সংখ্যার 9’s কমপ্লিমেন্ট তার কোড উপস্থাপনার বিটগুলি উল্টে দিয়ে পাওয়া যায়। এক্সেস-3 কোডের এই বৈশিষ্ট্য রয়েছে। উদাহরণস্বরূপ, 2 হলো 0101 এবং তার 9’s কমপ্লিমেন্ট, 7, হলো 1010।
77. The decimal equivalent of (10.1)2 is: / (10.1)2 এর ডেসিমেল সমতুল্য হলো:
Correct Answer / সঠিক উত্তর: A) 2.5
Explanation / ব্যাখ্যা: Integer part: 10 = 1*2^1 + 0*2^0 = 2. Fractional part: 1 = 1*2^-1 = 0.5. Total = 2 + 0.5 = 2.5. / পূর্ণাংশ: 10 = 1*2^1 + 0*2^0 = 2। ভগ্নাংশ: 1 = 1*2^-1 = 0.5। মোট = 2 + 0.5 = 2.5।
78. The range of an 8-bit unsigned integer is: / একটি 8-বিট আনসাইনড পূর্ণসংখ্যার পরিসর হলো:
Correct Answer / সঠিক উত্তর: A) 0 to 255
Explanation / ব্যাখ্যা: With 8 bits, you can represent 2^8 = 256 different values. For an unsigned integer, the range starts from 0 (00000000) up to 255 (11111111). / 8 বিট দিয়ে, আপনি 2^8 = 256টি ভিন্ন মান উপস্থাপন করতে পারেন। একটি আনসাইনড পূর্ণসংখ্যার জন্য, পরিসর 0 (00000000) থেকে শুরু করে 255 (11111111) পর্যন্ত।
79. The binary subtraction 0 – 1 results in: / বাইনারি বিয়োগ 0 – 1 এর ফল হলো:
Correct Answer / সঠিক উত্তর: C) 1 with a borrow / 1 এবং একটি borrow
Explanation / ব্যাখ্যা: In binary subtraction, when you subtract 1 from 0, you need to borrow from the next higher bit. The result of the current bit becomes 1, and a borrow is propagated. / বাইনারি বিয়োগে, যখন আপনি 0 থেকে 1 বিয়োগ করেন, আপনাকে পরবর্তী উচ্চতর বিট থেকে ধার (borrow) করতে হয়। বর্তমান বিটের ফল 1 হয়, এবং একটি borrow প্রচারিত হয়।
80. The character ‘a’ has a higher ASCII value than ‘A’. What is the difference? / ‘a’ ক্যারেক্টারের ASCII মান ‘A’ থেকে বেশি। পার্থক্য কত?
Correct Answer / সঠিক উত্তর: C) 32
Explanation / ব্যাখ্যা: ‘A’ is 65 in ASCII, and ‘a’ is 97. The difference is 97 – 65 = 32. This consistent difference applies to all letters of the alphabet. / ASCII তে ‘A’ হলো 65, এবং ‘a’ হলো 97। পার্থক্য 97 – 65 = 32। এই সামঞ্জস্যপূর্ণ পার্থক্যটি বর্ণমালার সমস্ত অক্ষরের জন্য প্রযোজ্য।
81. The decimal number -128 can be represented in 8-bit 2’s complement as: / ডেসিমেল সংখ্যা -128 কে 8-বিট 2’s কমপ্লিমেন্টে উপস্থাপন করা যেতে পারে:
Correct Answer / সঠিক উত্তর: A) 10000000
Explanation / ব্যাখ্যা: In an n-bit 2’s complement system, the most negative number is -2^(n-1). For n=8, this is -128, which is represented by 1 followed by 7 zeros: 10000000. / একটি n-বিট 2’s কমপ্লিমেন্ট সিস্টেমে, সবচেয়ে ঋণাত্মক সংখ্যাটি হলো -2^(n-1)। n=8 এর জন্য, এটি -128, যা 1 এবং তার পরে 7টি শূন্য দ্বারা উপস্থাপিত হয়: 10000000।
82. Parity bit is used for: / প্যারিটি বিট ব্যবহৃত হয়:
Correct Answer / সঠিক উত্তর: A) Error detection / ত্রুটি সনাক্তকরণ
Explanation / ব্যাখ্যা: A parity bit is an extra bit added to a string of binary code to ensure that the total number of 1-bits in the string is either even (even parity) or odd (odd parity). It can detect single-bit errors. / একটি প্যারিটি বিট হলো একটি অতিরিক্ত বিট যা বাইনারি কোডের একটি স্ট্রিং-এ যোগ করা হয় যাতে স্ট্রিং-এ মোট 1-বিটের সংখ্যা জোড় (even parity) বা বিজোড় (odd parity) হয়। এটি একক-বিট ত্রুটি সনাক্ত করতে পারে।
83. The result of (37)8 + (42)8 is: / (37)8 + (42)8 এর ফল হলো:
Correct Answer / সঠিক উত্তর: A) (101)8
Explanation / ব্যাখ্যা: Add the rightmost digits: 7 + 2 = 9. Since 9 is greater than 7 (max octal digit), we convert it to octal. 9 = 1*8 + 1. So, we write down 1 and carry over 1. Next, add the leftmost digits plus the carry: 1 + 3 + 4 = 8. Convert 8 to octal: 8 = 1*8 + 0. Write down 0 and carry 1. The final result is 101 in base 8. / ডানদিকের অঙ্কগুলি যোগ করুন: 7 + 2 = 9। যেহেতু 9 অক্টালের সর্বোচ্চ অঙ্ক 7 থেকে বড়, আমরা এটিকে অক্টালে রূপান্তর করি। 9 = 1*8 + 1। সুতরাং, আমরা 1 লিখি এবং 1 হাতে রাখি। এরপর, বামদিকের অঙ্ক এবং হাতে থাকা অঙ্ক যোগ করুন: 1 + 3 + 4 = 8। 8 কে অক্টালে রূপান্তর করুন: 8 = 1*8 + 0। 0 লিখুন এবং 1 হাতে রাখুন। চূড়ান্ত ফল হলো 101 বেস 8-এ।
84. In a floating-point representation, the part representing the magnitude of the number is called: / একটি ফ্লোটিং-পয়েন্ট উপস্থাপনায়, সংখ্যার মান উপস্থাপনকারী অংশটিকে বলা হয়:
Correct Answer / সঠিক উত্তর: B) Mantissa / ম্যান্টিসা
Explanation / ব্যাখ্যা: A floating-point number is typically composed of a sign bit, an exponent, and a mantissa (or significand). The mantissa contains the significant digits of the number. / একটি ফ্লোটিং-পয়েন্ট সংখ্যা সাধারণত একটি সাইন বিট, একটি এক্সপোনেন্ট এবং একটি ম্যান্টিসা (বা সিগনিফিক্যান্ড) নিয়ে গঠিত। ম্যান্টিসাতে সংখ্যার গুরুত্বপূর্ণ অঙ্কগুলি থাকে।
85. The decimal equivalent of the octal number 27 is: / অক্টাল সংখ্যা 27 এর ডেসিমেল সমতুল্য হলো:
Correct Answer / সঠিক উত্তর: A) 23
Explanation / ব্যাখ্যা: (2 * 8^1) + (7 * 8^0) = 16 + 7 = 23. / (2 * 8^1) + (7 * 8^0) = 16 + 7 = 23।
86. The hexadecimal addition of (A) + (B) results in: / হেক্সাডেসিমেল যোগ (A) + (B) এর ফল হলো:
Correct Answer / সঠিক উত্তর: A) 15
Explanation / ব্যাখ্যা: A is 10 and B is 11 in decimal. 10 + 11 = 21. To convert 21 to hexadecimal, 21 / 16 = 1 remainder 5. So, 21 in decimal is 15 in hexadecimal. / A হলো 10 এবং B হলো 11 ডেসিমেল-এ। 10 + 11 = 21। 21 কে হেক্সাডেসিমেল-এ রূপান্তর করতে, 21 / 16 = 1 ভাগশেষ 5। সুতরাং, ডেসিমেল-এ 21 হলো হেক্সাডেসিমেল-এ 15।
87. The process of subtracting a number by adding its complement is used because: / একটি সংখ্যার কমপ্লিমেন্ট যোগ করে বিয়োগ করার প্রক্রিয়াটি ব্যবহৃত হয় কারণ:
Correct Answer / সঠিক উত্তর: B) It simplifies hardware, allowing the same adder circuit to be used for subtraction. / এটি হার্ডওয়্যারকে সহজ করে, একই অ্যাডার সার্কিটকে বিয়োগের জন্য ব্যবহার করার অনুমতি দেয়।
Explanation / ব্যাখ্যা: By converting subtraction into an addition problem (A – B becomes A + (-B)), computer designers can use a single hardware unit (an adder) for both operations, reducing complexity and cost. / বিয়োগকে একটি যোগের সমস্যায় রূপান্তর করে (A – B হয়ে যায় A + (-B)), কম্পিউটার ডিজাইনাররা উভয় অপারেশনের জন্য একটি একক হার্ডওয়্যার ইউনিট (একটি অ্যাডার) ব্যবহার করতে পারেন, যা জটিলতা এবং খরচ কমায়।
88. The largest digit in the octal number system is: / অক্টাল নম্বর সিস্টেমের বৃহত্তম অঙ্কটি হলো:
Correct Answer / সঠিক উত্তর: C) 7
Explanation / ব্যাখ্যা: The octal system uses digits from 0 to 7. Therefore, 7 is the largest single digit. / অক্টাল সিস্টেম 0 থেকে 7 পর্যন্ত অঙ্ক ব্যবহার করে। অতএব, 7 হলো বৃহত্তম একক অঙ্ক।
89. A bit can hold how many values? / একটি বিট কতগুলি মান ধারণ করতে পারে?
Correct Answer / সঠিক উত্তর: B) 2
Explanation / ব্যাখ্যা: A bit (binary digit) is the most basic unit of information in computing and can have one of two values: 0 or 1. / একটি বিট (বাইনারি ডিজিট) কম্পিউটিং-এর সবচেয়ে মৌলিক তথ্য একক এবং এর দুটি মানের মধ্যে একটি থাকতে পারে: 0 বা 1।
90. The number (FACE)16 contains how many bits? / (FACE)16 সংখ্যাটিতে কতগুলি বিট রয়েছে?
Correct Answer / সঠিক উত্তর: C) 16
Explanation / ব্যাখ্যা: Each hexadecimal digit represents 4 bits. Since there are 4 hexadecimal digits (F, A, C, E), the total number of bits is 4 * 4 = 16. / প্রতিটি হেক্সাডেসিমেল অঙ্ক 4টি বিট উপস্থাপন করে। যেহেতু 4টি হেক্সাডেসিমেল অঙ্ক (F, A, C, E) আছে, মোট বিটের সংখ্যা 4 * 4 = 16।
91. A carry generated from the MSB in an adder is called: / একটি অ্যাডারে MSB থেকে উৎপন্ন ক্যারিকে বলা হয়:
Correct Answer / সঠিক উত্তর: D) All of the above are possible names / উপরের সবগুলিই সম্ভাব্য নাম
Explanation / ব্যাখ্যা: Depending on the context (e.g., 1’s complement vs 2’s complement vs unsigned addition), this carry bit can be referred to by different names and has different implications. / প্রেক্ষাপটের উপর নির্ভর করে (যেমন, 1’s কমপ্লিমেন্ট বনাম 2’s কমপ্লিমেন্ট বনাম আনসাইনড যোগ), এই ক্যারি বিটটিকে বিভিন্ন নামে উল্লেখ করা যেতে পারে এবং এর বিভিন্ন প্রভাব থাকে।
92. The 2’s complement of a number can be found by: / একটি সংখ্যার 2’s কমপ্লিমেন্ট খুঁজে পাওয়া যেতে পারে:
Correct Answer / সঠিক উত্তর: D) Both A and C are correct / A এবং C উভয়ই সঠিক
Explanation / ব্যাখ্যা: Method A is the standard definition. Method C is a quick shortcut. For example, for 101100, the LSB 1 is at the third position. Keep 100 as is, and invert the rest (101). So it becomes 010100. / পদ্ধতি A হলো স্ট্যান্ডার্ড সংজ্ঞা। পদ্ধতি C একটি দ্রুত শর্টকাট। উদাহরণস্বরূপ, 101100 এর জন্য, LSB 1 তৃতীয় অবস্থানে রয়েছে। 100 যেমন আছে তেমন রাখুন, এবং বাকিটা (101) উল্টে দিন। সুতরাং এটি 010100 হয়ে যায়।
93. Which of the following is an alphanumeric code? / নিচের কোনটি একটি আলফানিউমেরিক কোড?
Correct Answer / সঠিক উত্তর: C) ASCII
Explanation / ব্যাখ্যা: Alphanumeric codes represent both letters of the alphabet and numbers, as well as punctuation and control characters. ASCII and EBCDIC are common examples. BCD, Excess-3, and Gray code are primarily for representing numbers. / আলফানিউমেরিক কোডগুলি বর্ণমালার অক্ষর এবং সংখ্যা উভয়ই, সেইসাথে বিরামচিহ্ন এবং নিয়ন্ত্রণ ক্যারেক্টার উপস্থাপন করে। ASCII এবং EBCDIC সাধারণ উদাহরণ। BCD, এক্সেস-3, এবং গ্রে কোড প্রধানত সংখ্যা উপস্থাপনের জন্য।
94. What is the decimal value of the binary number 11111111? / বাইনারি সংখ্যা 11111111 এর ডেসিমেল মান কত?
Correct Answer / সঠিক উত্তর: D) Both B and C are correct depending on context / B এবং C উভয়ই সঠিক প্রেক্ষাপটের উপর নির্ভর করে
Explanation / ব্যাখ্যা: If interpreted as an 8-bit unsigned integer, its value is 255. If interpreted as an 8-bit signed integer using 2’s complement, its value is -1. The interpretation is crucial. / যদি একটি 8-বিট আনসাইনড পূর্ণসংখ্যা হিসাবে ব্যাখ্যা করা হয়, তবে এর মান 255। যদি 2’s কমপ্লিমেন্ট ব্যবহার করে একটি 8-বিট সাইনড পূর্ণসংখ্যা হিসাবে ব্যাখ্যা করা হয়, তবে এর মান -1। ব্যাখ্যাটি অত্যন্ত গুরুত্বপূর্ণ।
95. The main advantage of BCD is: / BCD এর প্রধান সুবিধা হলো:
Correct Answer / সঠিক উত্তর: C) It is easy to convert to and from decimal. / এটি ডেসিমেল থেকে এবং ডেসিমেল-এ রূপান্তর করা সহজ।
Explanation / ব্যাখ্যা: BCD is very close to the decimal representation, making it ideal for systems that perform a lot of input/output operations with decimal numbers, like calculators or digital clocks, as the conversion process is trivial. / BCD ডেসিমেল উপস্থাপনার খুব কাছাকাছি, যা এটিকে এমন সিস্টেমগুলির জন্য আদর্শ করে তোলে যেগুলি ডেসিমেল সংখ্যা নিয়ে অনেক ইনপুট/আউটপুট অপারেশন করে, যেমন ক্যালকুলেটর বা ডিজিটাল ঘড়ি, কারণ রূপান্তর প্রক্রিয়াটি খুবই সহজ।
96. The binary number for decimal 0.625 is: / ডেসিমেল 0.625 এর জন্য বাইনারি সংখ্যা হলো:
Correct Answer / সঠিক উত্তর: A) 0.101
Explanation / ব্যাখ্যা: Use successive multiplication by 2: 0.625 * 2 = 1.25 (integer part is 1); 0.25 * 2 = 0.5 (integer part is 0); 0.5 * 2 = 1.0 (integer part is 1). Read the integer parts from top to bottom: 0.101. / 2 দ্বারা ক্রমাগত গুণ ব্যবহার করুন: 0.625 * 2 = 1.25 (পূর্ণাংশ 1); 0.25 * 2 = 0.5 (পূর্ণাংশ 0); 0.5 * 2 = 1.0 (পূর্ণাংশ 1)। পূর্ণাংশগুলি উপর থেকে নিচে পড়ুন: 0.101।
97. In 1’s complement, what does 1111 represent in 4 bits? / 1’s কমপ্লিমেন্টে, 4 বিটে 1111 কী উপস্থাপন করে?
Correct Answer / সঠিক উত্তর: A) -0
Explanation / ব্যাখ্যা: 1’s complement has two representations for zero. 0000 is +0. To find -0, we take the 1’s complement of +0 (0000), which is 1111. This is a major drawback of the 1’s complement system. / 1’s কমপ্লিমেন্টের শূন্যের জন্য দুটি উপস্থাপনা রয়েছে। 0000 হলো +0। -0 খুঁজে পেতে, আমরা +0 (0000) এর 1’s কমপ্লিমেন্ট নিই, যা 1111। এটি 1’s কমপ্লিমেন্ট সিস্টেমের একটি বড় ত্রুটি।
98. The BCD number for decimal 487 is: / ডেসিমেল 487 এর জন্য BCD সংখ্যা হলো:
Correct Answer / সঠিক উত্তর: A) 0100 1000 0111
Explanation / ব্যাখ্যা: Convert each decimal digit to its 4-bit BCD equivalent: 4 is 0100, 8 is 1000, and 7 is 0111. / প্রতিটি ডেসিমেল অঙ্ককে তার 4-বিটের BCD সমতুল্যে রূপান্তর করুন: 4 হলো 0100, 8 হলো 1000, এবং 7 হলো 0111।
99. Which operation can be used to set a specific bit in a binary number to 1? / একটি বাইনারি সংখ্যায় একটি নির্দিষ্ট বিটকে 1-এ সেট করতে কোন অপারেশন ব্যবহার করা যেতে পারে?
Correct Answer / সঠিক উত্তর: B) Bitwise OR
Explanation / ব্যাখ্যা: Performing a bitwise OR operation with a mask where the desired bit is 1 will set that bit to 1, leaving other bits unchanged. For example, to set the 2nd bit of 1010, OR it with 0100: 1010 | 0100 = 1110. / একটি মাস্কের সাথে একটি বিটওয়াইজ OR অপারেশন করা যেখানে কাঙ্ক্ষিত বিটটি 1, সেই বিটটিকে 1-এ সেট করবে, অন্য বিটগুলিকে অপরিবর্তিত রেখে। উদাহরণস্বরূপ, 1010 এর দ্বিতীয় বিট সেট করতে, এটিকে 0100 দিয়ে OR করুন: 1010 | 0100 = 1110।
100. Which of the following is the fastest form of computer memory? / নিচের কোনটি কম্পিউটারের দ্রুততম মেমরি?
Correct Answer / সঠিক উত্তর: D) CPU Registers
Explanation / ব্যাখ্যা: CPU registers are small, high-speed storage locations directly within the CPU that hold data and instructions temporarily during processing. They are the fastest memory available to the processor. This relates to computer arithmetic as registers are where the operands and results of arithmetic operations are stored. / CPU রেজিস্টারগুলি হলো CPU-এর মধ্যে অবস্থিত ছোট, উচ্চ-গতির স্টোরেজ যা প্রসেসিংয়ের সময় অস্থায়ীভাবে ডেটা এবং নির্দেশাবলী ধারণ করে। এগুলি প্রসেসরের জন্য উপলব্ধ দ্রুততম মেমরি। এটি কম্পিউটার অ্যারিথমেটিকের সাথে সম্পর্কিত কারণ রেজিস্টারগুলিতেই গাণিতিক অপারেশনের অপারেন্ড এবং ফলাফল সংরক্ষণ করা হয়।