Computer Science

SLST Computer Science

WBSSC SLST Computer Science IX & X : Computer Fundamentals

Computer Fundamentals MCQ Quiz

1. Which technology was used in first-generation computers?
১. প্রথম প্রজন্মের কম্পিউটারে কোন প্রযুক্তি ব্যবহার করা হয়েছিল?

  • A) Transistors / ট্রানজিস্টর
  • B) Vacuum Tubes / ভ্যাকুয়াম টিউব
  • C) Integrated Circuits / ইন্টিগ্রেটেড সার্কিট
  • D) Microprocessors / মাইক্রোপ্রসেসর

Correct Answer: B) Vacuum Tubes
সঠিক উত্তর: B) ভ্যাকুয়াম টিউব

Explanation: First-generation computers (1940-1956) used vacuum tubes as the primary component for circuitry and memory. They were large, expensive, and generated a lot of heat.
ব্যাখ্যা: প্রথম প্রজন্মের কম্পিউটার (১৯৪০-১৯৫৬) সার্কিট এবং মেমরির জন্য প্রধান উপাদান হিসেবে ভ্যাকুয়াম টিউব ব্যবহার করত। এগুলি আকারে বড়, ব্যয়বহুল এবং প্রচুর তাপ উৎপন্ন করত।

2. The basic building blocks of a computer system are?
২. একটি কম্পিউটার সিস্টেমের মৌলিক উপাদানগুলি কী কী?

  • A) Input Unit, Output Unit
  • B) CPU, Memory Unit
  • C) Input Unit, CPU, Memory Unit, Output Unit
  • D) Keyboard, Mouse, Monitor

Correct Answer: C) Input Unit, CPU, Memory Unit, Output Unit
সঠিক উত্তর: C) ইনপুট ইউনিট, সিপিইউ, মেমরি ইউনিট, আউটপুট ইউনিট

Explanation: A computer system functionally consists of four main parts: the Input Unit for data entry, the Central Processing Unit (CPU) for processing, the Memory Unit for storage, and the Output Unit for displaying results.
ব্যাখ্যা: একটি কম্পিউটার সিস্টেম কার্যকরীভাবে চারটি প্রধান অংশ নিয়ে গঠিত: ডেটা প্রবেশের জন্য ইনপুট ইউনিট, প্রক্রিয়াকরণের জন্য সেন্ট্রাল প্রসেসিং ইউনিট (CPU), সংরক্ষণের জন্য মেমরি ইউনিট এবং ফলাফল প্রদর্শনের জন্য আউটপুট ইউনিট।

3. What is the base or radix of the Binary number system?
৩. বাইনারি সংখ্যা পদ্ধতির বেস বা র‍্যাডিক্স কত?

  • A) 10
  • B) 8
  • C) 16
  • D) 2

Correct Answer: D) 2
সঠিক উত্তর: D) ২

Explanation: The binary number system uses only two digits: 0 and 1. Therefore, its base or radix is 2.
ব্যাখ্যা: বাইনারি সংখ্যা পদ্ধতি কেবল দুটি অঙ্ক ব্যবহার করে: ০ এবং ১। তাই, এর বেস বা র‍্যাডিক্স হল ২।

4. The decimal equivalent of the binary number (10110)₂ is?
৪. বাইনারি সংখ্যা (10110)₂ এর দশমিক সমতুল্য কত?

  • A) 22
  • B) 26
  • C) 30
  • D) 18

Correct Answer: A) 22
সঠিক উত্তর: A) 22

Explanation: (10110)₂ = 1×2⁴ + 0×2³ + 1×2² + 1×2¹ + 0×2⁰ = 16 + 0 + 4 + 2 + 0 = 22.
ব্যাখ্যা: (10110)₂ = ১×২⁴ + ০×২³ + ১×২² + ১×২¹ + ০×২⁰ = ১৬ + ০ + ৪ + ২ + ০ = ২২।

5. Which of the following is a non-weighted code?
৫. নিচের কোনটি একটি নন-ওয়েটেড কোড?

  • A) BCD (8421)
  • B) Excess-3 Code
  • C) 2421 Code
  • D) Binary Number System

Correct Answer: B) Excess-3 Code
সঠিক উত্তর: B) এক্সেস-৩ কোড

Explanation: In weighted codes like BCD, each bit position has a specific weight. In non-weighted codes like Excess-3 and Gray code, the bit positions do not have any fixed weight.
ব্যাখ্যা: BCD-এর মতো ওয়েটেড কোডে প্রতিটি বিট পজিশনের একটি নির্দিষ্ট ওজন থাকে। এক্সেস-৩ এবং গ্রে কোডের মতো নন-ওয়েটেড কোডে, বিট পজিশনগুলির কোনো নির্দিষ্ট ওজন থাকে না।

6. What does CPU stand for?
৬. CPU-এর পূর্ণরূপ কী?

  • A) Central Processing Unit
  • B) Central Program Unit
  • C) Computer Processing Unit
  • D) Central Peripheral Unit

Correct Answer: A) Central Processing Unit
সঠিক উত্তর: A) সেন্ট্রাল প্রসেসিং ইউনিট

Explanation: The CPU is the primary component of a computer that performs most of the processing inside the computer. It is often referred to as the “brain” of the computer.
ব্যাখ্যা: সিপিইউ হলো কম্পিউটারের প্রধান উপাদান যা কম্পিউটারের ভেতরের বেশিরভাগ প্রক্রিয়াকরণ সম্পন্ন করে। একে প্রায়শই কম্পিউটারের “মস্তিষ্ক” বলা হয়।

7. The hexadecimal number system has a base of:
৭. হেক্সাডেসিমেল সংখ্যা পদ্ধতির বেস কত?

  • A) 2
  • B) 8
  • C) 10
  • D) 16

Correct Answer: D) 16
সঠিক উত্তর: D) ১৬

Explanation: The hexadecimal system uses 16 distinct symbols: 0-9 to represent values zero to nine, and A, B, C, D, E, F to represent values ten to fifteen.
ব্যাখ্যা: হেক্সাডেসিমেল পদ্ধতিতে ১৬টি ভিন্ন প্রতীক ব্যবহৃত হয়: ০-৯ শূন্য থেকে নয় পর্যন্ত মান বোঝাতে এবং A, B, C, D, E, F দশ থেকে পনেরো পর্যন্ত মান বোঝাতে ব্যবহৃত হয়।

8. The 2’s complement of the binary number 1010 is:
৮. বাইনারি সংখ্যা 1010-এর 2’s কমপ্লিমেন্ট কত?

  • A) 0101
  • B) 0110
  • C) 1011
  • D) 0100

Correct Answer: B) 0110
সঠিক উত্তর: B) 0110

Explanation: First, find the 1’s complement of 1010 by inverting the bits, which is 0101. Then, add 1 to the 1’s complement: 0101 + 1 = 0110.
ব্যাখ্যা: প্রথমে, 1010-এর বিটগুলিকে উল্টে দিয়ে 1’s কমপ্লিমেন্ট বের করুন, যা হলো 0101। এরপর 1’s কমপ্লিমেন্টের সাথে ১ যোগ করুন: 0101 + 1 = 0110।

9. Which code is used by computers to represent character data?
৯. ক্যারেক্টার ডেটা উপস্থাপনের জন্য কম্পিউটার কোন কোড ব্যবহার করে?

  • A) BCD
  • B) Gray Code
  • C) ASCII
  • D) Excess-3

Correct Answer: C) ASCII
সঠিক উত্তর: C) ASCII

Explanation: ASCII (American Standard Code for Information Interchange) is a character encoding standard for electronic communication. It represents text in computers, telecommunications equipment, and other devices.
ব্যাখ্যা: ASCII (American Standard Code for Information Interchange) হলো ইলেকট্রনিক যোগাযোগের জন্য একটি ক্যারেক্টার এনকোডিং মান। এটি কম্পিউটার, টেলিযোগাযোগ সরঞ্জাম এবং অন্যান্য ডিভাইসে টেক্সট উপস্থাপন করে।

10. What is the octal equivalent of the decimal number (73)₁₀?
১০. দশমিক সংখ্যা (73)₁₀-এর অক্টাল সমতুল্য কত?

  • A) 111
  • B) 101
  • C) 110
  • D) 109

Correct Answer: A) 111
সঠিক উত্তর: A) 111

Explanation: To convert decimal to octal, we divide the number by 8 repeatedly. 73 ÷ 8 = 9 remainder 1. 9 ÷ 8 = 1 remainder 1. 1 ÷ 8 = 0 remainder 1. Reading the remainders from bottom to top, we get (111)₈.
ব্যাখ্যা: দশমিক থেকে অক্টালে রূপান্তর করতে, আমরা সংখ্যাটিকে বারবার ৮ দ্বারা ভাগ করি। ৭৩ ÷ ৮ = ৯ ভাগশেষ ১। ৯ ÷ ৮ = ১ ভাগশেষ ১। ১ ÷ ৮ = ০ ভাগশেষ ১। ভাগশেষগুলিকে নিচ থেকে উপরে পড়লে আমরা পাই (111)₈।

11. Transistors were used in which generation of computers?
১১. কোন প্রজন্মের কম্পিউটারে ট্রানজিস্টর ব্যবহৃত হয়েছিল?

  • A) First Generation / প্রথম প্রজন্ম
  • B) Second Generation / দ্বিতীয় প্রজন্ম
  • C) Third Generation / তৃতীয় প্রজন্ম
  • D) Fourth Generation / চতুর্থ প্রজন্ম

Correct Answer: B) Second Generation
সঠিক উত্তর: B) দ্বিতীয় প্রজন্ম

Explanation: Second-generation computers (1956-1963) replaced vacuum tubes with transistors. Transistors were smaller, faster, cheaper, more energy-efficient, and more reliable.
ব্যাখ্যা: দ্বিতীয় প্রজন্মের কম্পিউটার (১৯৫৬-১৯৬৩) ভ্যাকুয়াম টিউবের পরিবর্তে ট্রানজিস্টর ব্যবহার করে। ট্রানজিস্টরগুলি ছিল ছোট, দ্রুত, সস্তা, বেশি শক্তি-সাশ্রয়ী এবং বেশি নির্ভরযোগ্য।

12. The ALU and CU are two main components of the…?
১২. ALU এবং CU কিসের দুটি প্রধান উপাদান?

  • A) Memory Unit / মেমরি ইউনিট
  • B) Input Device / ইনপুট ডিভাইস
  • C) CPU (Central Processing Unit) / সিপিইউ (সেন্ট্রাল প্রসেসিং ইউনিট)
  • D) Control Bus / কন্ট্রোল বাস

Correct Answer: C) CPU (Central Processing Unit)
সঠিক উত্তর: C) সিপিইউ (সেন্ট্রাল প্রসেসিং ইউনিট)

Explanation: The Central Processing Unit (CPU) consists of the Arithmetic Logic Unit (ALU), which performs arithmetic and logical operations, and the Control Unit (CU), which directs the computer’s operations.
ব্যাখ্যা: সেন্ট্রাল প্রসেসিং ইউনিট (CPU) দুটি অংশ নিয়ে গঠিত: অ্যারিথমেটিক লজিক ইউনিট (ALU), যা গাণিতিক এবং যৌক্তিক ক্রিয়াকলাপ সম্পাদন করে, এবং কন্ট্রোল ইউনিট (CU), যা কম্পিউটারের ক্রিয়াকলাপ পরিচালনা করে।

13. Which of the following is a volatile memory?
১৩. নিচের কোনটি একটি উদ্বায়ী (volatile) মেমরি?

  • A) ROM (Read-Only Memory)
  • B) RAM (Random Access Memory)
  • C) HDD (Hard Disk Drive)
  • D) SSD (Solid State Drive)

Correct Answer: B) RAM (Random Access Memory)
সঠিক উত্তর: B) RAM (র‍্যান্ডম অ্যাক্সেস মেমরি)

Explanation: RAM is volatile memory, which means it requires power to maintain the stored information. All data in RAM is lost when the power is turned off. ROM, HDD, and SSD are non-volatile.
ব্যাখ্যা: RAM হলো উদ্বায়ী মেমরি, যার মানে সংরক্ষিত তথ্য ধরে রাখার জন্য পাওয়ারের প্রয়োজন হয়। বিদ্যুৎ বন্ধ হয়ে গেলে RAM-এর সমস্ত ডেটা মুছে যায়। ROM, HDD, এবং SSD হলো অনুদ্বায়ী (non-volatile) মেমরি।

14. The binary addition of 1101 + 1011 is:
১৪. 1101 + 1011 এর বাইনারি যোগফল কত?

  • A) 11000
  • B) 10100
  • C) 11100
  • D) 10000

Correct Answer: A) 11000
সঠিক উত্তর: A) 11000

Explanation: 1101 (Decimal 13)
+1011 (Decimal 11)
—–
11000 (Decimal 24)
Step-by-step: 1+1=0 carry 1; 0+1+1=0 carry 1; 1+0+1=0 carry 1; 1+1+1=1 carry 1. Result is 11000.

ব্যাখ্যা: ১১০১ (দশমিক ১৩)
+১০১১ (দশমিক ১১)
—–
১১০০০ (দশমিক ২৪)
ধাপে ধাপে: ১+১=০ হাতে ১; ০+১+১=০ হাতে ১; ১+০+১=০ হাতে ১; ১+১+১=১ হাতে ১। ফলাফল হলো ১১০০০।

15. The number (1A5.B)₁₆ is equivalent to which octal number?
১৫. (1A5.B)₁₆ সংখ্যাটি কোন অক্টাল সংখ্যার সমতুল্য?

  • A) 645.54
  • B) 545.54
  • C) 645.50
  • D) 654.54

Correct Answer: A) 645.54
সঠিক উত্তর: A) 645.54

Explanation: First, convert Hex to Binary (4 bits per digit):
1 -> 0001, A (10) -> 1010, 5 -> 0101, B (11) -> 1011
So, (1A5.B)₁₆ = (0001 1010 0101 . 1011)₂
Now, group binary into 3 bits for Octal:
(000 110 100 101 . 101 100)₂ = (0645.54)₈ = (645.54)₈.

ব্যাখ্যা: প্রথমে, হেক্সাকে বাইনারিতে রূপান্তর করুন (প্রতি ডিজিটের জন্য ৪ বিট):
১ -> ০০০১, A (১০) -> ১০১০, ৫ -> ০১০১, B (১১) -> ১০১১
সুতরাং, (1A5.B)₁₆ = (০০০১ ১০১০ ০১০১ . ১০১১)₂
এখন, অক্টালের জন্য বাইনারিকে ৩ বিটের গ্রুপে ভাগ করুন:
(০০০ ১১০ ১০০ ১০১ . ১০১ ১০০)₂ = (০৬৪৫.৫৪)₈ = (৬৪৫.৫৪)₈।

16. What is the BCD representation of the decimal number 49?
১৬. দশমিক সংখ্যা ৪৯-এর BCD উপস্থাপনা কী?

  • A) 0100 1001
  • B) 0011 0001
  • C) 110001
  • D) 01001001

Correct Answer: A) 0100 1001
সঠিক উত্তর: A) 0100 1001

Explanation: In BCD (Binary Coded Decimal), each decimal digit is represented by its 4-bit binary equivalent. For 4, the binary is 0100. For 9, the binary is 1001. So, 49 in BCD is 0100 1001.
ব্যাখ্যা: BCD-তে (বাইনারি কোডেড ডেসিমাল), প্রতিটি দশমিক অঙ্ককে তার ৪-বিটের বাইনারি সমতুল্য দ্বারা উপস্থাপন করা হয়। ৪-এর জন্য বাইনারি হলো ০100। ৯-এর জন্য বাইনারি হলো ১০০১। সুতরাং, BCD-তে ৪৯ হলো 0100 1001।

17. Which of the following is a self-complementing code?
১৭. নিচের কোনটি একটি সেলফ-কমপ্লিমেন্টিং কোড?

  • A) 8421 BCD Code
  • B) Gray Code
  • C) Excess-3 Code
  • D) ASCII Code

Correct Answer: C) Excess-3 Code
সঠিক উত্তর: C) এক্সেস-৩ কোড

Explanation: A code is self-complementing if the 9’s complement of a decimal digit can be obtained by inverting the bits of its binary representation. Excess-3 code has this property. For example, 2 in Excess-3 is 0101. Its 9’s complement, 7, in Excess-3 is 1010, which is the bitwise complement of 0101.
ব্যাখ্যা: একটি কোড সেলফ-কমপ্লিমেন্টিং হয় যদি একটি দশমিক সংখ্যার 9’s কমপ্লিমেন্ট তার বাইনারি উপস্থাপনার বিটগুলিকে উল্টে (invert) দিয়ে পাওয়া যায়। এক্সেস-৩ কোডের এই বৈশিষ্ট্য রয়েছে। উদাহরণস্বরূপ, এক্সেস-৩ তে ২ হলো ০১০১। এর 9’s কমপ্লিমেন্ট ৭, এক্সেস-৩ তে হলো ১০১০, যা ০১০১-এর বিটওয়াইজ কমপ্লিমেন্ট।

18. Microprocessors were introduced in which generation of computers?
১৮. কোন প্রজন্মের কম্পিউটারে মাইক্রোপ্রসেসর চালু হয়েছিল?

  • A) First Generation
  • B) Second Generation
  • C) Third Generation
  • D) Fourth Generation

Correct Answer: D) Fourth Generation
সঠিক উত্তর: D) চতুর্থ প্রজন্ম

Explanation: The Fourth Generation (1971-Present) of computers is marked by the invention of the microprocessor, which integrated thousands of ICs onto a single silicon chip. This led to the development of personal computers (PCs).
ব্যাখ্যা: কম্পিউটারের চতুর্থ প্রজন্ম (১৯৭১-বর্তমান) মাইক্রোপ্রসেসরের আবিষ্কার দ্বারা চিহ্নিত, যা হাজার হাজার আইসি-কে একটি একক সিলিকন চিপে একীভূত করেছিল। এর ফলে পার্সোনাল কম্পিউটার (PC) তৈরি হয়।

19. Floating-point representation is used to store:
১৯. ফ্লোটিং-পয়েন্ট উপস্থাপনা কী সংরক্ষণ করতে ব্যবহৃত হয়?

  • A) Only integers / শুধুমাত্র পূর্ণসংখ্যা
  • B) Only boolean values / শুধুমাত্র বুলিয়ান মান
  • C) Real numbers with a fractional part / ভগ্নাংশ সহ বাস্তব সংখ্যা
  • D) Characters and strings / অক্ষর এবং স্ট্রিং

Correct Answer: C) Real numbers with a fractional part
সঠিক উত্তর: C) ভগ্নাংশ সহ বাস্তব সংখ্যা

Explanation: Floating-point representation is a method for representing an approximation of a real number in a way that can support a wide range of values. It consists of a sign, mantissa (or significand), and an exponent.
ব্যাখ্যা: ফ্লোটিং-পয়েন্ট উপস্থাপনা হলো একটি বাস্তব সংখ্যার আসন্ন মানকে এমনভাবে উপস্থাপন করার একটি পদ্ধতি যা মানের একটি বিস্তৃত পরিসরকে সমর্থন করতে পারে। এটি একটি চিহ্ন, ম্যান্টিসা (বা সিগনিফিক্যান্ড) এবং একটি এক্সপোনেন্ট নিয়ে গঠিত।

20. What does EBCDIC stand for?
২০. EBCDIC-এর পূর্ণরূপ কী?

  • A) Extended Binary Coded Decimal Interchange Code
  • B) Extended Bit Code Decimal Interchange Code
  • C) External Binary Coded Decimal Interchange Code
  • D) Encoded Binary Coded Decimal Interchange Code

Correct Answer: A) Extended Binary Coded Decimal Interchange Code
সঠিক উত্তর: A) এক্সটেন্ডেড বাইনারি কোডেড ডেসিমাল ইন্টারচেঞ্জ কোড

Explanation: EBCDIC is an 8-bit character encoding used mainly on IBM mainframe and IBM midrange computer operating systems.
ব্যাখ্যা: EBCDIC একটি ৮-বিটের ক্যারেক্টার এনকোডিং যা প্রধানত IBM মেইনফ্রেম এবং IBM মিডরেঞ্জ কম্পিউটার অপারেটিং সিস্টেমে ব্যবহৃত হয়।

21. The Gray code for the binary number 1011 is:
২১. বাইনারি সংখ্যা 1011-এর জন্য গ্রে কোডটি হল:

  • A) 1110
  • B) 1101
  • C) 1010
  • D) 0100

Correct Answer: A) 1110
সঠিক উত্তর: A) 1110

Explanation: To convert binary to Gray code: MSB of Gray code is same as MSB of binary. For other bits, XOR the current binary bit with the previous binary bit. B3=1 -> G3=1. G2 = B3⊕B2 = 1⊕0 = 1. G1 = B2⊕B1 = 0⊕1 = 1. G0 = B1⊕B0 = 1⊕1 = 0. So Gray code is 1110.
ব্যাখ্যা: বাইনারি থেকে গ্রে কোডে রূপান্তর করতে: গ্রে কোডের MSB বাইনারির MSB-এর সমান। অন্যান্য বিটের জন্য, বর্তমান বাইনারি বিটকে পূর্ববর্তী বাইনারি বিটের সাথে XOR করুন। B3=1 -> G3=1. G2 = B3⊕B2 = 1⊕0 = 1. G1 = B2⊕B1 = 0⊕1 = 1. G0 = B1⊕B0 = 1⊕1 = 0. সুতরাং গ্রে কোডটি হল 1110।

22. What is the main characteristic of the Fifth Generation of computers?
২২. পঞ্চম প্রজন্মের কম্পিউটারের প্রধান বৈশিষ্ট্য কী?

  • A) Vacuum Tubes / ভ্যাকুয়াম টিউব
  • B) Transistors / ট্রানজিস্টর
  • C) Artificial Intelligence / কৃত্রিম বুদ্ধিমত্তা
  • D) Integrated Circuits / ইন্টিগ্রেটেড সার্কিট

Correct Answer: C) Artificial Intelligence
সঠিক উত্তর: C) কৃত্রিম বুদ্ধিমত্তা

Explanation: Fifth-generation computing devices, based on Artificial Intelligence (AI), are still in development, though there are some applications, such as voice recognition, that are being used today.
ব্যাখ্যা: পঞ্চম প্রজন্মের কম্পিউটিং ডিভাইসগুলি কৃত্রিম বুদ্ধিমত্তার (AI) উপর ভিত্তি করে তৈরি এবং এখনও বিকাশের অধীনে রয়েছে, যদিও ভয়েস রিকগনিশনের মতো কিছু অ্যাপ্লিকেশন বর্তমানে ব্যবহৃত হচ্ছে।

23. In a number system, the value of the base determines the:
২৩. একটি সংখ্যা পদ্ধতিতে, বেসের মান কী নির্ধারণ করে?

  • A) Total number of unique digits used in the system / সিস্টেমে ব্যবহৃত মোট স্বতন্ত্র অঙ্কের সংখ্যা
  • B) Position of the digits / অঙ্কের অবস্থান
  • C) Value of the digits / অঙ্কের মান
  • D) Sign of the number / সংখ্যার চিহ্ন

Correct Answer: A) Total number of unique digits used in the system
সঠিক উত্তর: A) সিস্টেমে ব্যবহৃত মোট স্বতন্ত্র অঙ্কের সংখ্যা

Explanation: The base or radix of a number system is the number of unique digits or characters used to represent numbers in that system. For example, base-10 has 10 digits (0-9), and base-2 has 2 digits (0-1).
ব্যাখ্যা: একটি সংখ্যা পদ্ধতির বেস বা র‍্যাডিক্স হল সেই সিস্টেমে সংখ্যা উপস্থাপনের জন্য ব্যবহৃত স্বতন্ত্র অঙ্ক বা অক্ষরের সংখ্যা। উদাহরণস্বরূপ, বেস-১০-এ ১০টি অঙ্ক (০-৯) এবং বেস-২-এ ২টি অঙ্ক (০-১) রয়েছে।

24. What is the 1’s complement of 11001010?
২৪. 11001010-এর 1’s কমপ্লিমেন্ট কত?

  • A) 00110101
  • B) 00110110
  • C) 11001011
  • D) 00110100

Correct Answer: A) 00110101
সঠিক উত্তর: A) 00110101

Explanation: The 1’s complement is found by simply inverting all the bits. 1 becomes 0, and 0 becomes 1.
ব্যাখ্যা: 1’s কমপ্লিমেন্ট শুধুমাত্র সমস্ত বিট উল্টে দিয়ে পাওয়া যায়। ১ হয়ে যায় ০, এবং ০ হয়ে যায় ১।

25. Which device is responsible for converting human-readable data into a machine-readable format?
২৫. কোন ডিভাইস মানুষের পঠনযোগ্য ডেটাকে মেশিনের পঠনযোগ্য ফর্ম্যাটে রূপান্তর করার জন্য দায়ী?

  • A) Output Device / আউটপুট ডিভাইস
  • B) Input Device / ইনপুট ডিভাইস
  • C) CPU / সিপিইউ
  • D) Memory / মেমরি

Correct Answer: B) Input Device
সঠিক উত্তর: B) ইনপুট ডিভাইস

Explanation: Input devices, such as keyboards and mice, take data from the user (in human-readable form) and convert it into electrical signals (machine-readable form) that the computer can process.
ব্যাখ্যা: ইনপুট ডিভাইস, যেমন কীবোর্ড এবং মাউস, ব্যবহারকারীর কাছ থেকে ডেটা (মানুষের পঠনযোগ্য আকারে) নিয়ে সেটিকে বৈদ্যুতিক সংকেতে (মেশিনের পঠনযোগ্য আকারে) রূপান্তর করে যা কম্পিউটার প্রক্রিয়া করতে পারে।

… Questions 26 to 99 would be here, each in its own container …

100. Using 2’s complement, subtract 1010 from 1101.
১০০. 2’s কমপ্লিমেন্ট ব্যবহার করে 1101 থেকে 1010 বিয়োগ করুন।

  • A) 0010
  • B) 0011
  • C) 1100
  • D) 0101

Correct Answer: B) 0011
সঠিক উত্তর: B) 0011

Explanation: Subtraction using 2’s complement is equivalent to addition. We need to calculate 1101 + (2’s complement of 1010).
2’s complement of 1010 is (1’s complement + 1) = 0101 + 1 = 0110.
Now add: 1101 + 0110 = 10011.
Since there is a carry-out (the leading 1), we discard it. The result is 0011. (In decimal: 13 – 10 = 3, and 0011 is 3 in binary).

ব্যাখ্যা: 2’s কমপ্লিমেন্ট ব্যবহার করে বিয়োগ করা যোগের সমতুল্য। আমাদের 1101 + (1010-এর 2’s কমপ্লিমেন্ট) গণনা করতে হবে।
1010-এর 2’s কমপ্লিমেন্ট হলো (1’s কমপ্লিমেন্ট + 1) = 0101 + 1 = 0110।
এখন যোগ করুন: 1101 + 0110 = 10011।
যেহেতু একটি ক্যারি-আউট (প্রথম ১) রয়েছে, আমরা এটি বাতিল করি। ফলাফল হলো 0011। (দশমিকে: ১৩ – ১০ = ৩, এবং 0011 বাইনারিতে ৩)।

26. Integrated Circuits (ICs) are related to which generation of computers?
২৬. ইন্টিগ্রেটেড সার্কিট (ICs) কম্পিউটারের কোন প্রজন্মের সাথে সম্পর্কিত?

  • A) First Generation / প্রথম প্রজন্ম
  • B) Second Generation / দ্বিতীয় প্রজন্ম
  • C) Third Generation / তৃতীয় প্রজন্ম
  • D) Fourth Generation / চতুর্থ প্রজন্ম

Correct Answer: C) Third Generation
সঠিক উত্তর: C) তৃতীয় প্রজন্ম

Explanation: Third-generation computers (1964-1971) used Integrated Circuits (ICs) instead of transistors. A single IC has many transistors, resistors, and capacitors along with the associated circuitry. This made computers smaller, cheaper, and faster.
ব্যাখ্যা: তৃতীয় প্রজন্মের কম্পিউটার (১৯৬৪-১৯৭১) ট্রানজিস্টরের পরিবর্তে ইন্টিগ্রেটেড সার্কিট (IC) ব্যবহার করে। একটি একক IC-তে অনেক ট্রানজিস্টর, রেজিস্টর এবং ক্যাপাসিটার সহ সংশ্লিষ্ট সার্কিট্রি থাকে। এটি কম্পিউটারকে ছোট, সস্তা এবং দ্রুত করে তোলে।

27. What is the binary equivalent of the octal number (345)₈?
২৭. অক্টাল সংখ্যা (345)₈-এর বাইনারি সমতুল্য কী?

  • A) 11100101
  • B) 011100101
  • C) 11010101
  • D) 011010101

Correct Answer: B) 011100101
সঠিক উত্তর: B) 011100101

Explanation: To convert from octal to binary, convert each octal digit to its 3-bit binary equivalent. 3 → 011, 4 → 100, 5 → 101. Combining these, we get (345)₈ = (011100101)₂.
ব্যাখ্যা: অক্টাল থেকে বাইনারিতে রূপান্তর করতে, প্রতিটি অক্টাল অঙ্ককে তার ৩-বিটের বাইনারি সমতুল্যে রূপান্তর করুন। ৩ → ০১১, ৪ → ১০০, ৫ → ১০১। এগুলি একত্রিত করে আমরা পাই (345)₈ = (011100101)₂।

28. A key property of Gray code is that:
২৮. গ্রে কোডের একটি মূল বৈশিষ্ট্য হলো:

  • A) It is a weighted code. / এটি একটি ওয়েটেড কোড।
  • B) Two successive values differ by only one bit. / দুটি ধারাবাহিক মানের মধ্যে কেবল একটি বিটের পার্থক্য থাকে।
  • C) It is used for arithmetic operations. / এটি গাণিতিক ক্রিয়াকলাপের জন্য ব্যবহৃত হয়।
  • D) It is the same as BCD code. / এটি BCD কোডের মতোই।

Correct Answer: B) Two successive values differ by only one bit.
সঠিক উত্তর: B) দুটি ধারাবাহিক মানের মধ্যে কেবল একটি বিটের পার্থক্য থাকে।

Explanation: Gray code is also known as a minimum change code because consecutive values in the sequence differ by only a single bit. This property is useful in preventing errors in electromechanical systems.
ব্যাখ্যা: গ্রে কোডকে মিনিমাম চেঞ্জ কোডও বলা হয় কারণ এই কোডের অনুক্রমিক মানগুলির মধ্যে কেবল একটি বিটের পার্থক্য থাকে। এই বৈশিষ্ট্যটি ইলেক্ট্রোমেকানিক্যাল সিস্টেমে ত্রুটি প্রতিরোধে সহায়ক।

29. The main function of the Control Unit (CU) in the CPU is to:
২৯. সিপিইউ-তে কন্ট্রোল ইউনিট (CU)-এর প্রধান কাজ হলো:

  • A) Perform arithmetic and logical operations. / গাণিতিক এবং যৌক্তিক কাজ করা।
  • B) Store data and instructions. / ডেটা এবং নির্দেশাবলী সংরক্ষণ করা।
  • C) Decode instructions and generate control signals. / নির্দেশাবলী ডিকোড করা এবং কন্ট্রোল সিগন্যাল তৈরি করা।
  • D) Transfer data between memory and I/O devices. / মেমরি এবং I/O ডিভাইসের মধ্যে ডেটা স্থানান্তর করা।

Correct Answer: C) Decode instructions and generate control signals.
সঠিক উত্তর: C) নির্দেশাবলী ডিকোড করা এবং কন্ট্রোল সিগন্যাল তৈরি করা।

Explanation: The Control Unit acts as the nervous system of the computer. It fetches instructions from memory, decodes them, and then generates control signals to direct the other parts of the computer to execute them.
ব্যাখ্যা: কন্ট্রোল ইউনিট কম্পিউটারের স্নায়ুতন্ত্রের মতো কাজ করে। এটি মেমরি থেকে নির্দেশাবলী নিয়ে আসে, সেগুলি ডিকোড করে, এবং তারপর সেগুলিকে কার্যকর করার জন্য কম্পিউটারের অন্যান্য অংশকে নির্দেশ দেওয়ার জন্য কন্ট্রোল সিগন্যাল তৈরি করে।

30. The sum of hexadecimal numbers (1A)₁₆ and (B2)₁₆ is:
৩০. হেক্সাডেসিমেল সংখ্যা (1A)₁₆ এবং (B2)₁₆-এর যোগফল কত?

  • A) (CC)₁₆
  • B) (CB)₁₆
  • C) (DC)₁₆
  • D) (CD)₁₆

Correct Answer: A) (CC)₁₆
সঠিক উত্তর: A) (CC)₁₆

Explanation: A + 2 = 10 + 2 = 12, which is C in hexadecimal. 1 + B = 1 + 11 = 12, which is C in hexadecimal. So, the result is (CC)₁₆.
ব্যাখ্যা: A + 2 = ১০ + ২ = ১২, যা হেক্সাডেসিমেলে C। ১ + B = ১ + ১১ = ১২, যা হেক্সাডেসিমেলে C। সুতরাং, ফলাফল হলো (CC)₁₆।

31. What is the smallest unit of data in a computer?
৩১. কম্পিউটারে ডেটার ক্ষুদ্রতম একক কী?

  • A) Byte
  • B) Nibble
  • C) Bit
  • D) Word

Correct Answer: C) Bit
সঠিক উত্তর: C) বিট

Explanation: A bit (short for binary digit) is the smallest unit of data in a computer. It can have a value of either 0 or 1.
ব্যাখ্যা: একটি বিট (বাইনারি ডিজিটের সংক্ষিপ্ত রূপ) হলো কম্পিউটারের ডেটার ক্ষুদ্রতম একক। এর মান ০ বা ১ হতে পারে।

32. Which generation of computers is associated with VLSI (Very Large Scale Integration)?
৩২. কোন প্রজন্মের কম্পিউটার ভিএলএসআই (ভেরি লার্জ স্কেল ইন্টিগ্রেশন)-এর সাথে সম্পর্কিত?

  • A) Second / দ্বিতীয়
  • B) Third / তৃতীয়
  • C) Fourth / চতুর্থ
  • D) Fifth / পঞ্চম

Correct Answer: C) Fourth
সঠিক উত্তর: C) চতুর্থ

Explanation: The fourth generation brought VLSI technology, where hundreds of thousands of transistors were placed on a single chip, leading to the development of microprocessors.
ব্যাখ্যা: চতুর্থ প্রজন্ম ভিএলএসআই প্রযুক্তি নিয়ে আসে, যেখানে লক্ষ লক্ষ ট্রানজিস্টর একটি একক চিপে স্থাপন করা হয়েছিল, যা মাইক্রোপ্রসেসরের বিকাশে সাহায্য করে।

33. The Excess-3 code for the decimal number 5 is:
৩৩. দশমিক সংখ্যা ৫-এর জন্য এক্সেস-৩ কোডটি হলো:

  • A) 0101
  • B) 1000
  • C) 0110
  • D) 1001

Correct Answer: B) 1000
সঠিক উত্তর: B) 1000

Explanation: To get the Excess-3 code, add 3 to the decimal digit and then convert it to its 4-bit binary equivalent. 5 + 3 = 8. The 4-bit binary for 8 is 1000.
ব্যাখ্যা: এক্সেস-৩ কোড পেতে, দশমিক অঙ্কের সাথে ৩ যোগ করুন এবং তারপর এটিকে তার ৪-বিটের বাইনারি সমতুল্যে রূপান্তর করুন। ৫ + ৩ = ৮। ৮-এর ৪-বিটের বাইনারি হলো ১০০০।

34. The purpose of registers in a CPU is to:
৩৪. একটি সিপিইউতে রেজিস্টারের উদ্দেশ্য হলো:

  • A) Store large amounts of data permanently. / স্থায়ীভাবে প্রচুর পরিমাণে ডেটা সংরক্ষণ করা।
  • B) Hold data and instructions temporarily for fast access. / দ্রুত অ্যাক্সেসের জন্য ডেটা এবং নির্দেশাবলী অস্থায়ীভাবে ধরে রাখা।
  • C) Control the speed of the computer. / কম্পিউটারের গতি নিয়ন্ত্রণ করা।
  • D) Connect the CPU to peripheral devices. / সিপিইউকে পেরিফেরাল ডিভাইসের সাথে সংযুক্ত করা।

Correct Answer: B) Hold data and instructions temporarily for fast access.
সঠিক উত্তর: B) দ্রুত অ্যাক্সেসের জন্য ডেটা এবং নির্দেশাবলী অস্থায়ীভাবে ধরে রাখা।

Explanation: Registers are small, high-speed storage locations within the CPU that hold data, instructions, and addresses that are being actively used by the processor.
ব্যাখ্যা: রেজিস্টার হলো সিপিইউ-এর মধ্যে ছোট, উচ্চ-গতির স্টোরেজ যা প্রসেসর দ্বারা সক্রিয়ভাবে ব্যবহৃত ডেটা, নির্দেশাবলী এবং ঠিকানাগুলি ধরে রাখে।

35. Signed-magnitude representation is a method for representing:
৩৫. সাইনড-ম্যাগনিটিউড উপস্থাপনা কী উপস্থাপনের একটি পদ্ধতি?

  • A) Only positive numbers / শুধুমাত্র ধনাত্মক সংখ্যা
  • B) Only negative numbers / শুধুমাত্র ঋণাত্মক সংখ্যা
  • C) Both positive and negative numbers / ধনাত্মক এবং ঋণাত্মক উভয় সংখ্যা
  • D) Fractional numbers / ভগ্নাংশ সংখ্যা

Correct Answer: C) Both positive and negative numbers
সঠিক উত্তর: C) ধনাত্মক এবং ঋণাত্মক উভয় সংখ্যা

Explanation: In signed-magnitude representation, the most significant bit (MSB) is used as a sign bit (0 for positive, 1 for negative), and the remaining bits represent the magnitude (absolute value) of the number.
ব্যাখ্যা: সাইনড-ম্যাগনিটিউড উপস্থাপনায়, সবচেয়ে গুরুত্বপূর্ণ বিট (MSB) চিহ্ন বিট হিসাবে ব্যবহৃত হয় (ধনাত্মক-এর জন্য ০, ঋণাত্মক-এর জন্য ১), এবং বাকি বিটগুলি সংখ্যার মান (পরম মান) উপস্থাপন করে।

36. What is the decimal value of the binary number 101.11?
৩৬. বাইনারি সংখ্যা 101.11-এর দশমিক মান কত?

  • A) 5.75
  • B) 5.50
  • C) 5.25
  • D) 6.75

Correct Answer: A) 5.75
সঠিক উত্তর: A) 5.75

Explanation: Integer part: 1×2² + 0×2¹ + 1×2⁰ = 4 + 0 + 1 = 5. Fractional part: 1×2⁻¹ + 1×2⁻² = 0.5 + 0.25 = 0.75. Total = 5 + 0.75 = 5.75.
ব্যাখ্যা: পূর্ণসংখ্যার অংশ: ১×২² + ০×২¹ + ১×২⁰ = ৪ + ০ + ১ = ৫। ভগ্নাংশের অংশ: ১×২⁻¹ + ১×২⁻² = ০.৫ + ০.২৫ = ০.৭৫। মোট = ৫ + ০.৭৫ = ৫.৭৫।

37. A group of 4 bits is called a:
৩৭. ৪ বিটের একটি গ্রুপকে কী বলা হয়?

  • A) Byte
  • B) Word
  • C) Bit
  • D) Nibble

Correct Answer: D) Nibble
সঠিক উত্তর: D) নিবল

Explanation: A nibble (or nybble) is a four-bit aggregation, or half an octet (an 8-bit byte). It is often used in the context of hexadecimal representation.
ব্যাখ্যা: একটি নিবল (বা নাইবল) হলো একটি চার-বিটের সমষ্টি, বা একটি অক্টেটের (একটি ৮-বিটের বাইট) অর্ধেক। এটি প্রায়শই হেক্সাডেসিমেল উপস্থাপনার প্রসঙ্গে ব্যবহৃত হয়।

38. Which was the first commercially available electronic digital computer?
৩৮. প্রথম বাণিজ্যিকভাবে উপলব্ধ ইলেকট্রনিক ডিজিটাল কম্পিউটার কোনটি ছিল?

  • A) ENIAC
  • B) EDVAC
  • C) UNIVAC I
  • D) IBM 701

Correct Answer: C) UNIVAC I
সঠিক উত্তর: C) UNIVAC I

Explanation: The UNIVAC I (Universal Automatic Computer I) was the first general-purpose electronic digital computer design for business application produced in the United States and was made available commercially in 1951.
ব্যাখ্যা: UNIVAC I (ইউনিভার্সাল অটোমেটিক কম্পিউটার I) ছিল মার্কিন যুক্তরাষ্ট্রে উৎপাদিত ব্যবসায়িক অ্যাপ্লিকেশনের জন্য ডিজাইন করা প্রথম সাধারণ-উদ্দেশ্যমূলক ইলেকট্রনিক ডিজিটাল কম্পিউটার এবং এটি ১৯৫১ সালে বাণিজ্যিকভাবে উপলব্ধ করা হয়েছিল।

39. The main advantage of using 2’s complement for subtraction is that:
৩৯. বিয়োগের জন্য 2’s কমপ্লিমেন্ট ব্যবহার করার প্রধান সুবিধা হলো:

  • A) It is faster than direct subtraction. / এটি সরাসরি বিয়োগের চেয়ে দ্রুত।
  • B) It simplifies the hardware, as subtraction can be performed by an adder circuit. / এটি হার্ডওয়্যারকে সহজ করে, কারণ বিয়োগ একটি অ্যাডার সার্কিট দ্বারা সঞ্চালিত হতে পারে।
  • C) It can represent more numbers. / এটি আরও বেশি সংখ্যা উপস্থাপন করতে পারে।
  • D) It is easier for humans to understand. / এটি মানুষের বোঝার জন্য সহজ।

Correct Answer: B) It simplifies the hardware, as subtraction can be performed by an adder circuit.
সঠিক উত্তর: B) এটি হার্ডওয়্যারকে সহজ করে, কারণ বিয়োগ একটি অ্যাডার সার্কিট দ্বারা সঞ্চালিত হতে পারে।

Explanation: Using 2’s complement, the operation A – B becomes A + (-B). This means a CPU doesn’t need a separate subtractor circuit; it can use its existing adder circuit for both addition and subtraction, which simplifies the hardware design.
ব্যাখ্যা: 2’s কমপ্লিমেন্ট ব্যবহার করে, A – B অপারেশনটি A + (-B) হয়ে যায়। এর মানে হলো একটি সিপিইউর আলাদা সাবট্র্যাক্টর সার্কিটের প্রয়োজন নেই; এটি যোগ এবং বিয়োগ উভয়ের জন্য তার বিদ্যমান অ্যাডার সার্কিট ব্যবহার করতে পারে, যা হার্ডওয়্যার ডিজাইনকে সহজ করে।

40. The binary multiplication of 101 × 11 is:
৪০. 101 × 11-এর বাইনারি গুণফল কত?

  • A) 1111
  • B) 1011
  • C) 1101
  • D) 1001

Correct Answer: A) 1111
সঠিক উত্তর: A) 1111

Explanation: 101 (Decimal 5)
× 11 (Decimal 3)
—-
101
1010 (Shifted left by one position)
—-
1111 (Decimal 15)

ব্যাখ্যা: ১০১ (দশমিক ৫)
× ১১ (দশমিক ৩)
—-
১০১
১০১০ (এক ঘর বামে সরানো)
—-
১১১১ (দশমিক ১৫)

41. The role of the Address Bus is to:
৪১. অ্যাড্রেস বাসের কাজ হলো:

  • A) Carry data between components. / বিভিন্ন উপাদানের মধ্যে ডেটা বহন করা।
  • B) Carry memory addresses from the CPU to memory. / সিপিইউ থেকে মেমরিতে মেমরি অ্যাড্রেস বহন করা।
  • C) Carry control signals. / কন্ট্রোল সিগন্যাল বহন করা।
  • D) Provide power to components. / বিভিন্ন উপাদানে শক্তি সরবরাহ করা।

Correct Answer: B) Carry memory addresses from the CPU to memory.
সঠিক উত্তর: B) সিপিইউ থেকে মেমরিতে মেমরি অ্যাড্রেস বহন করা।

Explanation: The address bus is a unidirectional bus that carries the memory address that the CPU wants to read from or write to. The width of the address bus determines the maximum memory capacity of the system.
ব্যাখ্যা: অ্যাড্রেস বাস একটি একমুখী বাস যা সিপিইউ যে মেমরি অ্যাড্রেস থেকে ডেটা পড়তে বা লিখতে চায় তা বহন করে। অ্যাড্রেস বাসের প্রস্থ সিস্টেমের সর্বোচ্চ মেমরি ক্ষমতা নির্ধারণ করে।

42. How many different characters can be represented by standard 7-bit ASCII?
৪২. স্ট্যান্ডার্ড ৭-বিট ASCII দ্বারা কতগুলি ভিন্ন অক্ষর উপস্থাপন করা যায়?

  • A) 64
  • B) 128
  • C) 256
  • D) 512

Correct Answer: B) 128
সঠিক উত্তর: B) 128

Explanation: With 7 bits, you can represent 2⁷ different combinations. 2⁷ = 128. Therefore, standard ASCII can represent 128 different characters (from 0 to 127).
ব্যাখ্যা: ৭ বিট দিয়ে, আপনি 2⁷টি ভিন্ন সংমিশ্রণ উপস্থাপন করতে পারেন। 2⁷ = 128। সুতরাং, স্ট্যান্ডার্ড ASCII 128টি ভিন্ন অক্ষর (০ থেকে ১২৭ পর্যন্ত) উপস্থাপন করতে পারে।

43. The first generation of computers was characterized by being:
৪৩. প্রথম প্রজন্মের কম্পিউটারের বৈশিষ্ট্য ছিল:

  • A) Small and portable / ছোট এবং বহনযোগ্য
  • B) Very large in size and consuming a lot of power / আকারে খুব বড় এবং প্রচুর শক্তি খরচ করত
  • C) Based on AI / কৃত্রিম বুদ্ধিমত্তা ভিত্তিক
  • D) Cheap and reliable / সস্তা এবং নির্ভরযোগ্য

Correct Answer: B) Very large in size and consuming a lot of power
সঠিক উত্তর: B) আকারে খুব বড় এবং প্রচুর শক্তি খরচ করত

Explanation: First-generation computers used vacuum tubes, which made them enormous, often taking up entire rooms. They also generated immense heat and consumed a large amount of electricity.
ব্যাখ্যা: প্রথম প্রজন্মের কম্পিউটার ভ্যাকুয়াম টিউব ব্যবহার করত, যা তাদের বিশাল করে তুলেছিল, প্রায়শই পুরো ঘর দখল করে নিত। তারা 엄청 তাপ উৎপন্ন করত এবং প্রচুর পরিমাণে বিদ্যুৎ খরচ করত।

44. In floating-point representation, the part that represents the number’s magnitude is called the:
৪৪. ফ্লোটিং-পয়েন্ট উপস্থাপনায়, যে অংশটি সংখ্যার মান উপস্থাপন করে তাকে কী বলা হয়?

  • A) Exponent / এক্সপোনেন্ট
  • B) Sign bit / সাইন বিট
  • C) Mantissa / ম্যান্টিসা
  • D) Radix / র‍্যাডিক্স

Correct Answer: C) Mantissa
সঠিক উত্তর: C) ম্যান্টিসা

Explanation: A floating-point number is represented by a sign, a mantissa (or significand), and an exponent. The mantissa contains the significant digits of the number.
ব্যাখ্যা: একটি ফ্লোটিং-পয়েন্ট সংখ্যা একটি চিহ্ন, একটি ম্যান্টিসা (বা সিগনিফিক্যান্ড) এবং একটি এক্সপোনেন্ট দ্বারা উপস্থাপিত হয়। ম্যান্টিসাতে সংখ্যার গুরুত্বপূর্ণ অঙ্কগুলি থাকে।

45. High-level programming languages like FORTRAN and COBOL were introduced in which generation?
৪৫. ফোরট্রান (FORTRAN) এবং কোবোল (COBOL) এর মতো উচ্চ-স্তরের প্রোগ্রামিং ভাষা কোন প্রজন্মে চালু হয়েছিল?

  • A) First Generation / প্রথম প্রজন্ম
  • B) Second Generation / দ্বিতীয় প্রজন্ম
  • C) Third Generation / তৃতীয় প্রজন্ম
  • D) Fourth Generation / চতুর্থ প্রজন্ম

Correct Answer: B) Second Generation
সঠিক উত্তর: B) দ্বিতীয় প্রজন্ম

Explanation: Along with the move to transistors, second-generation computers saw the development of high-level programming languages, making programming easier and more abstract than machine or assembly language.
ব্যাখ্যা: ট্রানজিস্টরে স্থানান্তরের পাশাপাশি, দ্বিতীয় প্রজন্মের কম্পিউটারগুলি উচ্চ-স্তরের প্রোগ্রামিং ভাষার বিকাশ দেখেছিল, যা প্রোগ্রামিংকে মেশিন বা অ্যাসেম্বলি ভাষার চেয়ে সহজ এবং আরও বিমূর্ত করে তুলেছিল।

46. The hexadecimal equivalent of the binary number 1110101100 is:
৪৬. বাইনারি সংখ্যা 1110101100 এর হেক্সাডেসিমেল সমতুল্য হল:

  • A) 3AC
  • B) 3BC
  • C) 2AC
  • D) 3AD

Correct Answer: A) 3AC
সঠিক উত্তর: A) 3AC

Explanation: Group the binary number into sets of 4 from right to left: (0011)(1010)(1100). 0011 = 3. 1010 = 10 (A in Hex). 1100 = 12 (C in Hex). So, the number is 3AC₁₆.
ব্যাখ্যা: বাইনারি সংখ্যাটিকে ডান থেকে বামে ৪-এর সেটে গ্রুপ করুন: (০০১১)(১০১০)(১১০০)। ০০১১ = ৩। ১০১০ = ১০ (হেক্সাডেসিমেলে A)। ১১০০ = ১২ (হেক্সাডেসিমেলে C)। সুতরাং, সংখ্যাটি হল 3AC₁₆।

47. Which code is primarily used in IBM mainframe systems?
৪৭. কোন কোডটি প্রধানত আইবিএম মেইনফ্রেম সিস্টেমে ব্যবহৃত হয়?

  • A) ASCII
  • B) BCD
  • C) EBCDIC
  • D) Gray Code

Correct Answer: C) EBCDIC
সঠিক উত্তর: C) EBCDIC

Explanation: EBCDIC (Extended Binary Coded Decimal Interchange Code) is an 8-bit character encoding developed by IBM and is used predominantly on its mainframe and midrange systems.
ব্যাখ্যা: EBCDIC (এক্সটেন্ডেড বাইনারি কোডেড ডেসিমাল ইন্টারচেঞ্জ কোড) হল আইবিএম দ্বারা তৈরি একটি ৮-বিটের ক্যারেক্টার এনকোডিং এবং এটি প্রধানত এর মেইনফ্রেম এবং মিডরেঞ্জ সিস্টেমে ব্যবহৃত হয়।

48. What is the largest decimal number that can be represented by a 4-bit binary number?
৪৮. একটি ৪-বিট বাইনারি সংখ্যা দ্বারা উপস্থাপন করা যেতে পারে এমন বৃহত্তম দশমিক সংখ্যাটি কত?

  • A) 7
  • B) 8
  • C) 15
  • D) 16

Correct Answer: C) 15
সঠিক উত্তর: C) 15

Explanation: The largest number is when all bits are 1. For a 4-bit number, this is 1111. (1111)₂ = 1×2³ + 1×2² + 1×2¹ + 1×2⁰ = 8 + 4 + 2 + 1 = 15. Alternatively, the formula is 2ⁿ – 1, where n=4. So, 2⁴ – 1 = 16 – 1 = 15.
ব্যাখ্যা: বৃহত্তম সংখ্যাটি হল যখন সমস্ত বিট ১ হয়। একটি ৪-বিট সংখ্যার জন্য, এটি হল ১১১১। (১১১১)₂ = ১×২³ + ১×২² + ১×২¹ + ১×২⁰ = ৮ + ৪ + ২ + ১ = ১৫। বিকল্পভাবে, সূত্রটি হল 2ⁿ – 1, যেখানে n=4। সুতরাং, 2⁴ – 1 = ১৬ – ১ = ১৫।

49. The ASCII value for the uppercase letter ‘A’ is:
৪৯. বড় হাতের অক্ষর ‘A’-এর জন্য ASCII মান হল:

  • A) 65
  • B) 97
  • C) 41
  • D) 50

Correct Answer: A) 65
সঠিক উত্তর: A) 65

Explanation: In the ASCII table, the decimal value for the character ‘A’ is 65 (or 41 in Hexadecimal). The lowercase ‘a’ has a decimal value of 97.
ব্যাখ্যা: ASCII টেবিলে, ‘A’ অক্ষরের জন্য দশমিক মান হল ৬৫ (বা হেক্সাডেসিমেলে ৪১)। ছোট হাতের ‘a’-এর দশমিক মান হল ৯৭।

50. Which part of the computer is considered its “brain”?
৫০. কম্পিউটারের কোন অংশকে তার “মস্তিষ্ক” হিসাবে বিবেচনা করা হয়?

  • A) Memory / মেমরি
  • B) Input/Output Unit / ইনপুট/আউটপুট ইউনিট
  • C) Control Unit / কন্ট্রোল ইউনিট
  • D) Central Processing Unit (CPU) / সেন্ট্রাল প্রসেসিং ইউনিট (সিপিইউ)

Correct Answer: D) Central Processing Unit (CPU)
সঠিক উত্তর: D) সেন্ট্রাল প্রসেসিং ইউনিট (সিপিইউ)

Explanation: The CPU is called the brain of the computer because it performs all types of data processing operations. It stores data, intermediate results, and instructions (program) and controls the operation of all parts of the computer.
ব্যাখ্যা: সিপিইউকে কম্পিউটারের মস্তিষ্ক বলা হয় কারণ এটি সমস্ত ধরনের ডেটা প্রক্রিয়াকরণ কার্যক্রম সম্পাদন করে। এটি ডেটা, মধ্যবর্তী ফলাফল, এবং নির্দেশাবলী (প্রোগ্রাম) সংরক্ষণ করে এবং কম্পিউটারের সমস্ত অংশের কার্যক্রম নিয়ন্ত্রণ করে।

51. Which register in the CPU holds the address of the next instruction to be executed?
৫১. সিপিইউ-এর কোন রেজিস্টার পরবর্তী কার্যকর হতে যাওয়া নির্দেশের ঠিকানা ধরে রাখে?

  • A) Accumulator (AC) / অ্যাকুমুলেটর (AC)
  • B) Program Counter (PC) / প্রোগ্রাম কাউন্টার (PC)
  • C) Instruction Register (IR) / ইন্সট্রাকশন রেজিস্টার (IR)
  • D) Memory Address Register (MAR) / মেমরি অ্যাড্রেস রেজিস্টার (MAR)

Correct Answer: B) Program Counter (PC)
সঠিক উত্তর: B) প্রোগ্রাম কাউন্টার (PC)

Explanation: The Program Counter (PC) is a special register that keeps track of the memory address of the instruction that is to be executed next. After an instruction is fetched, the PC is incremented to point to the next instruction.
ব্যাখ্যা: প্রোগ্রাম কাউন্টার (PC) একটি বিশেষ রেজিস্টার যা পরবর্তীতে কার্যকর করা হবে এমন নির্দেশের মেমরি ঠিকানা ট্র্যাক করে। একটি নির্দেশ আনার পর, PC-এর মান বৃদ্ধি পেয়ে পরবর্তী নির্দেশের দিকে নির্দেশ করে।

52. What is the decimal equivalent of the hexadecimal number (2AF)₁₆?
৫২. হেক্সাডেসিমেল সংখ্যা (2AF)₁₆-এর দশমিক সমতুল্য কত?

  • A) 687
  • B) 678
  • C) 587
  • D) 786

Correct Answer: A) 687
সঠিক উত্তর: A) 687

Explanation: (2AF)₁₆ = 2 × 16² + A × 16¹ + F × 16⁰ = 2 × 256 + 10 × 16 + 15 × 1 = 512 + 160 + 15 = 687.
ব্যাখ্যা: (2AF)₁₆ = ২ × ১৬² + A × ১৬¹ + F × ১৬⁰ = ২ × ২৫৬ + ১০ × ১৬ + ১৫ × ১ = ৫১২ + ১৬০ + ১৫ = ৬৮৭।

53. A major disadvantage of BCD is that:
৫৩. BCD-এর একটি প্রধান অসুবিধা হলো:

  • A) It is difficult to convert to decimal. / এটি দশমিকে রূপান্তর করা কঠিন।
  • B) It uses more bits than pure binary to represent a decimal number. / এটি একটি দশমিক সংখ্যা প্রকাশ করতে বিশুদ্ধ বাইনারির চেয়ে বেশি বিট ব্যবহার করে।
  • C) It cannot represent numbers greater than 9. / এটি ৯-এর চেয়ে বড় সংখ্যা উপস্থাপন করতে পারে না।
  • D) It is a weighted code. / এটি একটি ওয়েটেড কোড।

Correct Answer: B) It uses more bits than pure binary to represent a decimal number.
সঠিক উত্তর: B) এটি একটি দশমিক সংখ্যা প্রকাশ করতে বিশুদ্ধ বাইনারির চেয়ে বেশি বিট ব্যবহার করে।

Explanation: BCD is inefficient as it wastes some bit combinations (1010 to 1111 are unused for single digits). For example, the number 13 requires 8 bits in BCD (0001 0011) but only 4 bits in pure binary (1101).
ব্যাখ্যা: BCD অদক্ষ কারণ এটি কিছু বিট সংমিশ্রণ নষ্ট করে (একক অঙ্কের জন্য ১০১০ থেকে ১১১১ অব্যবহৃত থাকে)। উদাহরণস্বরূপ, ১৩ সংখ্যাটির জন্য BCD-তে ৮ বিট (০০০১ ০০১১) প্রয়োজন, কিন্তু বিশুদ্ধ বাইনারিতে মাত্র ৪ বিট (১১০১) প্রয়োজন।

54. ULSI (Ultra Large Scale Integration) technology is associated with which generation of computers?
৫৪. ULSI (আল্ট্রা লার্জ স্কেল ইন্টিগ্রেশন) প্রযুক্তি কম্পিউটারের কোন প্রজন্মের সাথে সম্পর্কিত?

  • A) Third Generation / তৃতীয় প্রজন্ম
  • B) Fourth Generation / চতুর্থ প্রজন্ম
  • C) Fifth Generation / পঞ্চম প্রজন্ম
  • D) Second Generation / দ্বিতীয় প্রজন্ম

Correct Answer: C) Fifth Generation
সঠিক উত্তর: C) পঞ্চম প্রজন্ম

Explanation: While VLSI marked the fourth generation, the fifth generation aims for ULSI technology, which could place millions or even billions of components on a single chip, enabling powerful AI and parallel processing capabilities.
ব্যাখ্যা: যদিও VLSI চতুর্থ প্রজন্মকে চিহ্নিত করে, পঞ্চম প্রজন্মের লক্ষ্য হল ULSI প্রযুক্তি, যা একটি একক চিপে লক্ষ লক্ষ বা এমনকি কোটি কোটি উপাদান স্থাপন করতে পারে, যা শক্তিশালী AI এবং সমান্তরাল প্রক্রিয়াকরণ ক্ষমতা সক্ষম করে।

55. Which number representation scheme has two different representations for zero?
৫৫. কোন সংখ্যা উপস্থাপনা পদ্ধতিতে শূন্যের জন্য দুটি ভিন্ন উপস্থাপনা রয়েছে?

  • A) 2’s Complement / ২-এর কমপ্লিমেন্ট
  • B) Signed-Magnitude / সাইনড-ম্যাগনিটিউড
  • C) Unsigned Binary / আনসাইনড বাইনারি
  • D) BCD / বিসিডি

Correct Answer: B) Signed-Magnitude
সঠিক উত্তর: B) সাইনড-ম্যাগনিটিউড

Explanation: In Signed-Magnitude (and 1’s Complement), there are two representations for zero: positive zero (+0) and negative zero (-0). For example, in an 8-bit system, 00000000 is +0 and 10000000 is -0. 2’s complement representation has only one representation for zero.
ব্যাখ্যা: সাইনড-ম্যাগনিটিউড (এবং ১-এর কমপ্লিমেন্ট) পদ্ধতিতে শূন্যের দুটি উপস্থাপনা রয়েছে: ধনাত্মক শূন্য (+0) এবং ঋণাত্মক শূন্য (-0)। উদাহরণস্বরূপ, একটি ৮-বিট সিস্টেমে, ০০০০০০০০ হল +0 এবং ১০০০০০০০ হল -0। ২-এর কমপ্লিমেন্ট উপস্থাপনায় শূন্যের জন্য কেবল একটি উপস্থাপনা থাকে।

56. In binary addition, when the sum of two N-bit numbers results in an (N+1)-bit number, it is called:
৫৬. বাইনারি যোগে, যখন দুটি N-বিট সংখ্যার যোগফল একটি (N+1)-বিট সংখ্যা হয়, তখন তাকে কী বলা হয়?

  • A) Overflow / ওভারফ্লো
  • B) Underflow / আন্ডারফ্লো
  • C) Carry / ক্যারি
  • D) Parity / প্যারিটি

Correct Answer: A) Overflow
সঠিক উত্তর: A) ওভারফ্লো

Explanation: Overflow is a condition that occurs when the result of an arithmetic operation, like addition, is too large to be stored in the available number of bits. The final carry bit from the MSB is a key indicator of overflow in unsigned arithmetic.
ব্যাখ্যা: ওভারফ্লো এমন একটি অবস্থা যা ঘটে যখন একটি গাণিতিক ক্রিয়াকলাপের, যেমন যোগের, ফলাফল উপলব্ধ বিটের সংখ্যায় সংরক্ষণ করার জন্য খুব বড় হয়। MSB থেকে চূড়ান্ত ক্যারি বিট আনসাইনড গাণিতিক হিসাবে ওভারফ্লোর একটি মূল সূচক।

57. The Data Bus in a computer system is:
৫৭. একটি কম্পিউটার সিস্টেমে ডেটা বাস হলো:

  • A) Unidirectional / একমুখী
  • B) Bidirectional / দ্বিমুখী
  • C) A type of memory / এক ধরনের মেমরি
  • D) A part of the ALU / ALU-এর একটি অংশ

Correct Answer: B) Bidirectional
সঠিক উত্তর: B) দ্বিমুখী

Explanation: The data bus is bidirectional because data can flow from the CPU to memory/I.O devices (a ‘write’ operation) and from memory/I.O devices to the CPU (a ‘read’ operation).
ব্যাখ্যা: ডেটা বাস দ্বিমুখী কারণ ডেটা সিপিইউ থেকে মেমরি/I.O ডিভাইসে (একটি ‘রাইট’ অপারেশন) এবং মেমরি/I.O ডিভাইস থেকে সিপিইউতে (একটি ‘রিড’ অপারেশন) প্রবাহিত হতে পারে।

58. What is the binary equivalent of the decimal fraction 0.625?
৫৮. দশমিক ভগ্নাংশ 0.625-এর বাইনারি সমতুল্য কী?

  • A) 0.101
  • B) 0.110
  • C) 0.011
  • D) 0.111

Correct Answer: A) 0.101
সঠিক উত্তর: A) 0.101

Explanation: To convert a decimal fraction to binary, multiply by 2 repeatedly and record the integer part:
0.625 × 2 = 1.25 (Integer part is 1)
0.25 × 2 = 0.50 (Integer part is 0)
0.50 × 2 = 1.00 (Integer part is 1)
Reading the integer parts from top to bottom gives 0.101.

ব্যাখ্যা: একটি দশমিক ভগ্নাংশকে বাইনারিতে রূপান্তর করতে, বারবার ২ দ্বারা গুণ করুন এবং পূর্ণসংখ্যার অংশটি রেকর্ড করুন:
০.৬২৫ × ২ = ১.২৫ (পূর্ণসংখ্যা অংশ হল ১)
০.২৫ × ২ = ০.৫০ (পূর্ণসংখ্যা অংশ হল ০)
০.৫০ × ২ = ১.০০ (পূর্ণসংখ্যা অংশ হল ১)
পূর্ণসংখ্যার অংশগুলি উপর থেকে নিচে পড়লে ০.১০১ পাওয়া যায়।

59. The binary number for the Gray code 1101 is:
৫৯. গ্রে কোড 1101-এর জন্য বাইনারি সংখ্যাটি হলো:

  • A) 1010
  • B) 1001
  • C) 1110
  • D) 1011

Correct Answer: B) 1001
সঠিক উত্তর: B) 1001

Explanation: To convert Gray to Binary: MSB of binary is same as MSB of Gray. For other bits, XOR the current Gray bit with the previously calculated binary bit. G3=1 -> B3=1. B2 = B3 ⊕ G2 = 1 ⊕ 1 = 0. B1 = B2 ⊕ G1 = 0 ⊕ 0 = 0. B0 = B1 ⊕ G0 = 0 ⊕ 1 = 1. So, the binary number is 1001.
ব্যাখ্যা: গ্রে থেকে বাইনারিতে রূপান্তর করতে: বাইনারির MSB গ্রে-এর MSB-এর সমান। অন্যান্য বিটের জন্য, বর্তমান গ্রে বিটকে পূর্ববর্তী গণনা করা বাইনারি বিটের সাথে XOR করুন। G3=1 -> B3=1. B2 = B3 ⊕ G2 = 1 ⊕ 1 = 0. B1 = B2 ⊕ G1 = 0 ⊕ 0 = 0. B0 = B1 ⊕ G0 = 0 ⊕ 1 = 1. সুতরাং, বাইনারি সংখ্যাটি হলো ১০০১।

60. In fixed-point number representation, the position of the binary point is:
৬০. ফিক্সড-পয়েন্ট সংখ্যা উপস্থাপনায়, বাইনারি পয়েন্টের অবস্থান হলো:

  • A) Variable / পরিবর্তনশীল
  • B) Always at the end / সর্বদা শেষে
  • C) Fixed / নির্দিষ্ট
  • D) Always at the beginning / সর্বদা শুরুতে

Correct Answer: C) Fixed
সঠিক উত্তর: C) নির্দিষ্ট

Explanation: In a fixed-point representation, the position of the binary point is assumed to be at a fixed location within the number. This is in contrast to floating-point representation, where the position of the point can “float”.
ব্যাখ্যা: একটি ফিক্সড-পয়েন্ট উপস্থাপনায়, বাইনারি পয়েন্টের অবস্থান সংখ্যার মধ্যে একটি নির্দিষ্ট স্থানে ধরে নেওয়া হয়। এটি ফ্লোটিং-পয়েন্ট উপস্থাপনার বিপরীত, যেখানে পয়েন্টের অবস্থান “ভাসতে” পারে।

61. What is the range of numbers that can be represented using 8-bit 2’s complement?
৬১. ৮-বিট ২-এর কমপ্লিমেন্ট ব্যবহার করে কোন পরিসরের সংখ্যা উপস্থাপন করা যায়?

  • A) -127 to +127
  • B) -128 to +127
  • C) -128 to +128
  • D) 0 to 255

Correct Answer: B) -128 to +127
সঠিক উত্তর: B) -128 থেকে +127

Explanation: The range for an n-bit 2’s complement system is from -2ⁿ⁻¹ to +2ⁿ⁻¹ – 1. For n=8, this is -2⁷ to +2⁷ – 1, which is -128 to +127.
ব্যাখ্যা: একটি n-বিট ২-এর কমপ্লিমেন্ট সিস্টেমের পরিসর হলো -2ⁿ⁻¹ থেকে +2ⁿ⁻¹ – 1 পর্যন্ত। n=8-এর জন্য, এটি হলো -2⁷ থেকে +2⁷ – 1, যা -128 থেকে +127।

62. The IBM System/360, which introduced the concept of a “family” of compatible computers, belongs to which generation?
৬২. IBM System/360, যা সামঞ্জস্যপূর্ণ কম্পিউটারের “পরিবার” ধারণাটি চালু করেছিল, কোন প্রজন্মের অন্তর্গত?

  • A) First / প্রথম
  • B) Second / দ্বিতীয়
  • C) Third / তৃতীয়
  • D) Fourth / চতুর্থ

Correct Answer: C) Third
সঠিক উত্তর: C) তৃতীয়

Explanation: The IBM System/360 family of computers was a landmark of the third generation. It used integrated circuits and provided a range of models with varying performance and price, all of which could run the same software.
ব্যাখ্যা: IBM System/360 কম্পিউটার পরিবার তৃতীয় প্রজন্মের একটি মাইলফলক ছিল। এটি ইন্টিগ্রেটেড সার্কিট ব্যবহার করত এবং বিভিন্ন কর্মক্ষমতা ও মূল্যের মডেল সরবরাহ করত, যার সবকটিই একই সফটওয়্যার চালাতে পারত।

63. How is the decimal number 8 represented in Excess-3 code?
৬৩. দশমিক সংখ্যা ৮-কে এক্সেস-৩ কোডে কীভাবে উপস্থাপন করা হয়?

  • A) 1000
  • B) 1011
  • C) 1100
  • D) 1001

Correct Answer: B) 1011
সঠিক উত্তর: B) 1011

Explanation: Add 3 to the decimal digit: 8 + 3 = 11. The 4-bit binary representation of 11 is 1011.
ব্যাখ্যা: দশমিক অঙ্কের সাথে ৩ যোগ করুন: ৮ + ৩ = ১১। ১১-এর ৪-বিটের বাইনারি উপস্থাপনা হলো ১০১১।

64. The process of converting information into a digital format is called:
৬৪. তথ্যকে ডিজিটাল ফরম্যাটে রূপান্তর করার প্রক্রিয়াকে কী বলা হয়?

  • A) Digitization / ডিজিটাইজেশন
  • B) Normalization / নরমালাইজেশন
  • C) Modulation / মডুলেশন
  • D) Encoding / এনকোডিং

Correct Answer: A) Digitization
সঠিক উত্তর: A) ডিজিটাইজেশন

Explanation: Digitization is the process of converting analog information (like a sound wave or a picture) into a digital format, which is a binary representation that computers can process. Encoding is a more general term for converting data into a specific format.
ব্যাখ্যা: ডিজিটাইজেশন হলো অ্যানালগ তথ্যকে (যেমন একটি শব্দ তরঙ্গ বা একটি ছবি) ডিজিটাল ফরম্যাটে রূপান্তর করার প্রক্রিয়া, যা একটি বাইনারি উপস্থাপনা যা কম্পিউটার প্রক্রিয়া করতে পারে। এনকোডিং ডেটাকে একটি নির্দিষ্ট ফরম্যাটে রূপান্তর করার জন্য একটি আরও সাধারণ শব্দ।

65. What is the result of the binary subtraction 11001 – 10110?
৬৫. বাইনারি বিয়োগ 11001 – 10110-এর ফলাফল কী?

  • A) 00011
  • B) 00111
  • C) 01011
  • D) 00001

Correct Answer: A) 00011
সঠিক উত্তর: A) 00011

Explanation: 11001 (Decimal 25) – 10110 (Decimal 22) = 3. The binary for 3 is 00011. Using subtraction with borrowing:

                  11001
                - 10110
                -------
                  00011
                

ব্যাখ্যা: ১১০০১ (দশমিক ২৫) – ১০১১০ (দশমিক ২২) = ৩। ৩-এর বাইনারি হলো ০০১১। ধার করে বিয়োগ ব্যবহার করে:
                  ১১০০১
                - ১০১১০
                -------
                  ০০১১
                

66. Which one of the following is a non-volatile memory?
৬৬. নিচের কোনটি একটি অনুদ্বায়ী (non-volatile) মেমরি?

  • A) RAM / র‍্যাম
  • B) Cache Memory / ক্যাশে মেমরি
  • C) Registers / রেজিস্টার
  • D) ROM (Read-Only Memory) / রম (রিড-অনলি মেমরি)

Correct Answer: D) ROM (Read-Only Memory)
সঠিক উত্তর: D) রম (রিড-অনলি মেমরি)

Explanation: Non-volatile memory retains its stored information even when not powered. ROM is a classic example, as it holds the computer’s boot-up instructions. RAM, Cache, and Registers are all volatile.
ব্যাখ্যা: অনুদ্বায়ী মেমরি পাওয়ার না থাকলেও তার সংরক্ষিত তথ্য ধরে রাখে। ROM একটি ক্লাসিক উদাহরণ, কারণ এটি কম্পিউটারের বুট-আপ নির্দেশাবলী ধারণ করে। র‍্যাম, ক্যাশে এবং রেজিস্টার সবই উদ্বায়ী।

67. The number (53.6)₈ is equivalent to:
৬৭. (53.6)₈ সংখ্যাটি কিসের সমতুল্য?

  • A) (43.75)₁₀
  • B) (43.5)₁₀
  • C) (53.75)₁₀
  • D) (53.6)₁₀

Correct Answer: A) (43.75)₁₀
সঠিক উত্তর: A) (43.75)₁₀

Explanation: (53.6)₈ = 5 × 8¹ + 3 × 8⁰ + 6 × 8⁻¹ = 40 + 3 + 6/8 = 43 + 0.75 = 43.75.
ব্যাখ্যা: (53.6)₈ = ৫ × ৮¹ + ৩ × ৮⁰ + ৬ × ৮⁻¹ = ৪০ + ৩ + ৬/৮ = ৪৩ + ০.৭৫ = ৪৩.৭৫।

68. The ASCII code for the space character is:
৬৮. স্পেস ক্যারেক্টারের জন্য ASCII কোডটি হলো:

  • A) 0
  • B) 20
  • C) 32
  • D) 48

Correct Answer: C) 32
সঠিক উত্তর: C) 32

Explanation: In the decimal representation of the ASCII table, the space character has a value of 32. The value 48 represents the character ‘0’.
ব্যাখ্যা: ASCII টেবিলের দশমিক উপস্থাপনায়, স্পেস ক্যারেক্টারের মান ৩২। ৪৮ মানটি ‘0’ অক্ষরকে উপস্থাপন করে।

69. Normalization in floating-point representation is the process of:
৬৯. ফ্লোটিং-পয়েন্ট উপস্থাপনায় নরমালাইজেশন প্রক্রিয়াটি হলো:

  • A) Converting the number to an integer. / সংখ্যাটিকে একটি পূর্ণসংখ্যায় রূপান্তর করা।
  • B) Adjusting the exponent and mantissa so the mantissa is within a specific range. / এক্সপোনেন্ট এবং ম্যান্টিসা সামঞ্জস্য করা যাতে ম্যান্টিসা একটি নির্দিষ্ট পরিসরের মধ্যে থাকে।
  • C) Rounding the number to the nearest value. / সংখ্যাটিকে নিকটতম মানে রাউন্ড করা।
  • D) Checking for errors in the number. / সংখ্যাটিতে ত্রুটি পরীক্ষা করা।

Correct Answer: B) Adjusting the exponent and mantissa so the mantissa is within a specific range.
সঠিক উত্তর: B) এক্সপোনেন্ট এবং ম্যান্টিসা সামঞ্জস্য করা যাতে ম্যান্টিসা একটি নির্দিষ্ট পরিসরের মধ্যে থাকে।

Explanation: Normalization ensures that a floating-point number is represented uniquely by adjusting its mantissa to start with a non-zero digit (usually 1) and modifying the exponent accordingly. This maximizes precision.
ব্যাখ্যা: নরমালাইজেশন নিশ্চিত করে যে একটি ফ্লোটিং-পয়েন্ট সংখ্যাকে স্বতন্ত্রভাবে উপস্থাপন করা হয়, এর ম্যান্টিসাকে একটি অশূন্য অঙ্ক (সাধারণত ১) দিয়ে শুরু করার জন্য সামঞ্জস্য করে এবং সেই অনুযায়ী এক্সপোনেন্ট পরিবর্তন করে। এটি নির্ভুলতা সর্বাধিক করে।

WBSSC SLST Computer Science IX & X : Computer Fundamentals Read More »

SLST Computer Science

WBSSC SLST Computer Science IX & X : Computer Network & Web Technology

Computer Network MCQ | কম্পিউটার নেটওয়ার্ক MCQ

1. What does LAN stand for? / LAN-এর পূর্ণরূপ কী?

A) Large Area Network / লার্জ এরিয়া নেটওয়ার্ক

B) Local Area Network / লোকাল এরিয়া নেটওয়ার্ক

C) Lengthy Area Network / লেংদি এরিয়া নেটওয়ার্ক

D) Land Access Network / ল্যান্ড অ্যাক্সেস নেটওয়ার্ক

2. Which topology requires a central controller or hub? / কোন টপোলজিতে একটি কেন্দ্রীয় নিয়ন্ত্রক বা হাব প্রয়োজন?

A) Ring Topology / রিং টপোলজি

B) Bus Topology / বাস টপোলজি

C) Star Topology / স্টার টপোলজি

D) Mesh Topology / মেশ টপোলজি

3. What is the main function of a router in a network? / একটি নেটওয়ার্কে রাউটারের প্রধান কাজ কী?

A) To connect different networks together / বিভিন্ন নেটওয়ার্ককে একসাথে সংযুক্ত করা

B) To amplify the signal / সংকেতকে বিবর্ধিত করা

C) To filter network traffic based on MAC addresses / MAC অ্যাড্রেসের উপর ভিত্তি করে নেটওয়ার্ক ট্র্যাফিক ফিল্টার করা

D) To connect devices within the same network / একই নেটওয়ার্কের মধ্যে ডিভাইস সংযোগ করা

4. Which of the following is responsible for requesting services in a client-server model? / ক্লায়েন্ট-সার্ভার মডেলে পরিষেবা অনুরোধ করার জন্য কোনটি দায়ী?

A) Server / সার্ভার

B) Network / নেটওয়ার্ক

C) Client / ক্লায়েন্ট

D) Protocol / প্রোটোকল

5. What does HTML stand for? / HTML-এর পূর্ণরূপ কী?

A) Hyper Text Markup Language / হাইপার টেক্সট মার্কআপ ল্যাঙ্গুয়েজ

B) High-Level Text Machine Language / হাই-লেভেল টেক্সট মেশিন ল্যাঙ্গুয়েজ

C) Hyperlink and Text Markup Language / হাইপারলিঙ্ক অ্যান্ড টেক্সট মার্কআপ ল্যাঙ্গুয়েজ

D) Home Tool Markup Language / হোম টুল মার্কআপ ল্যাঙ্গুয়েজ

6. Which protocol is used for sending e-mail? / ই-মেইল পাঠানোর জন্য কোন প্রোটোকল ব্যবহার করা হয়?

A) FTP / এফটিপি

B) POP3 / পিওপি৩

C) SMTP / এসএমটিপি

D) HTTP / এইচটিটিপি

7. What is the full form of WWW? / WWW-এর পূর্ণরূপ কী?

A) World Wide Web / ওয়ার্ল্ড ওয়াইড ওয়েব

B) Wide World Web / ওয়াইড ওয়ার্ল্ড ওয়েব

C) Web World Wide / ওয়েব ওয়ার্ল্ড ওয়াইড

D) World Web Window / ওয়ার্ল্ড ওয়েব উইন্ডো

8. Which of the following is a client-side scripting language? / নিচের কোনটি একটি ক্লায়েন্ট-সাইড স্ক্রিপ্টিং ল্যাঙ্গুয়েজ?

A) PHP / পিএইচপি

B) Java / জাভা

C) JavaScript / জাভাস্ক্রিপ্ট

D) Python / পাইথন

9. Which HTML tag is used to define an internal style sheet? / একটি ইন্টারনাল স্টাইল শীট সংজ্ঞায়িত করতে কোন HTML ট্যাগ ব্যবহার করা হয়?

A) <css>

B) <script>

C) <style>

D) <link>

10. What does ‘Chat’ typically refer to in a networking context? / নেটওয়ার্কিং প্রসঙ্গে ‘চ্যাট’ বলতে সাধারণত কী বোঝায়?

A) Real-time text-based communication between two or more users / দুই বা ততোধিক ব্যবহারকারীর মধ্যে রিয়েল-টাইম টেক্সট-ভিত্তিক যোগাযোগ

B) Sending a file to another user / অন্য ব্যবহারকারীকে একটি ফাইল পাঠানো

C) A formal e-mail / একটি আনুষ্ঠানিক ই-মেইল

D) Browsing a website / একটি ওয়েবসাইট ব্রাউজ করা

11. What is the Internet? / ইন্টারনেট কী?

A) A single, large computer / একটি একক, বড় কম্পিউটার

B) A network of networks / নেটওয়ার্কের একটি নেটওয়ার্ক

C) A software to browse web pages / ওয়েব পেজ ব্রাউজ করার একটি সফটওয়্যার

D) A company that provides web services / একটি সংস্থা যা ওয়েব পরিষেবা প্রদান করে

12. In the OSI model, which layer is responsible for routing and forwarding? / OSI মডেলে, কোন লেয়ার রাউটিং এবং ফরওয়ার্ডিংয়ের জন্য দায়ী?

A) Data Link Layer / ডেটা লিঙ্ক লেয়ার

B) Transport Layer / ট্রান্সপোর্ট লেয়ার

C) Network Layer / নেটওয়ার্ক লেয়ার

D) Physical Layer / ফিজিক্যাল লেয়ার

13. Which HTML tag creates a paragraph? / কোন HTML ট্যাগ একটি প্যারাগ্রাফ তৈরি করে?

A) <br>

B) <p>

C) <h1>

D) <para>

14. What does CSS stand for in web design? / ওয়েব ডিজাইনে CSS-এর পূর্ণরূপ কী?

A) Creative Style Sheets / ক্রিয়েটিভ স্টাইল শীটস

B) Computer Style Sheets / কম্পিউটার স্টাইল শীটস

C) Cascading Style Sheets / ক্যাসকেডিং স্টাইল শীটস

D) Colorful Style Sheets / কালারফুল স্টাইল শীটস

15. What is the role of a ‘Server’ in a client-server model? / ক্লায়েন্ট-সার্ভার মডেলে ‘সার্ভার’-এর ভূমিকা কী?

A) To request data from the client / ক্লায়েন্টের কাছ থেকে ডেটা অনুরোধ করা

B) To provide services or resources to clients / ক্লায়েন্টদের পরিষেবা বা রিসোর্স সরবরাহ করা

C) To browse the internet / ইন্টারনেট ব্রাউজ করা

D) To create web pages / ওয়েব পেজ তৈরি করা

16. Which protocol is used to retrieve e-mail from a mail server? / মেল সার্ভার থেকে ই-মেইল পুনরুদ্ধার করতে কোন প্রোটোকল ব্যবহৃত হয়?

A) SMTP / এসএমটিপি

B) FTP / এফটিপি

C) POP3 / পিওপি৩

D) Telnet / টেলনেট

17. Which tag is used to create a hyperlink in HTML? / HTML এ হাইপারলিঙ্ক তৈরি করতে কোন ট্যাগ ব্যবহার করা হয়?

A) <link>

B) <href>

C) <a>

D) <hyperlink>

18. What is a “Web Browser”? / “ওয়েব ব্রাউজার” কী?

A) A program to create websites / ওয়েবসাইট তৈরির একটি প্রোগ্রাম

B) A server that stores websites / একটি সার্ভার যা ওয়েবসাইট সংরক্ষণ করে

C) A software application for accessing information on the World Wide Web / ওয়ার্ল্ড ওয়াইড ওয়েবে তথ্য অ্যাক্সেস করার জন্য একটি সফটওয়্যার অ্যাপ্লিকেশন

D) A type of network / এক ধরনের নেটওয়ার্ক

19. Which of these is NOT a valid top-level domain (TLD)? / এর মধ্যে কোনটি একটি বৈধ টপ-লেভেল ডোমেইন (TLD) নয়?

A) .com

B) .org

C) .gov

D) .web

20. Which device operates at the Data Link Layer (Layer 2)? / কোন ডিভাইস ডেটা লিঙ্ক লেয়ারে (লেয়ার 2) কাজ করে?

A) Hub / হাব

B) Repeater / রিপিটার

C) Router / রাউটার

D) Switch / সুইচ

21. What does IP stand for? / IP-এর পূর্ণরূপ কী?

A) Internet Provider / ইন্টারনেট প্রোভাইডার

B) Internet Protocol / ইন্টারনেট প্রোটোকল

C) Internal Protocol / ইন্টারনাল প্রোটোকল

D) Information Process / ইনফরমেশন প্রসেস

22. Which HTML attribute is used to define inline styles? / ইনলাইন স্টাইল সংজ্ঞায়িত করতে কোন HTML অ্যাট্রিবিউট ব্যবহার করা হয়?

A) class / ক্লাস

B) styles / স্টাইলস

C) font / ফন্ট

D) style / স্টাইল

23. In the context of e-mail, what does ‘BCC’ stand for? / ই-মেইলের প্রসঙ্গে, ‘BCC’ এর পূর্ণরূপ কী?

A) Blind Carbon Copy / ব্লাইন্ড কার্বন কপি

B) Basic Carbon Copy / বেসিক কার্বন কপি

C) Bold Carbon Copy / বোল্ড কার্বন কপি

D) Blank Carbon Copy / ব্ল্যাঙ্ক কার্বন কপি

24. Which scripting language is primarily used for adding interactivity to web pages? / ওয়েব পেজে ইন্টারেক্টিভিটি যোগ করার জন্য প্রাথমিকভাবে কোন স্ক্রিপ্টিং ভাষা ব্যবহার করা হয়?

A) HTML

B) CSS

C) JavaScript / জাভাস্ক্রিপ্ট

D) SQL / এসকিউএল

25. A collection of interconnected web pages is known as a…? / আন্তঃসংযুক্ত ওয়েব পৃষ্ঠাগুলির একটি সংগ্রহকে কী বলা হয়?

A) Web Server / ওয়েব সার্ভার

B) Web Browser / ওয়েব ব্রাউজার

C) Website / ওয়েবসাইট

D) Web Page / ওয়েব পেজ

26. Which of the following is not a type of network? / নিচের কোনটি এক ধরনের নেটওয়ার্ক নয়?

A) PAN (Personal Area Network)

B) MAN (Metropolitan Area Network)

C) RAN (Random Area Network)

D) WAN (Wide Area Network)

27. HTTP is a protocol that operates at which layer of the TCP/IP model? / HTTP একটি প্রোটোকল যা TCP/IP মডেলের কোন স্তরে কাজ করে?

A) Application Layer / অ্যাপ্লিকেশন লেয়ার

B) Transport Layer / ট্রান্সপোর্ট লেয়ার

C) Internet Layer / ইন্টারনেট লেয়ার

D) Network Access Layer / নেটওয়ার্ক অ্যাক্সেস লেয়ার

28. Which HTML element is the root element of an HTML page? / কোন HTML এলিমেন্ট একটি HTML পৃষ্ঠার মূল এলিমেন্ট?

A) <body>

B) <head>

C) <html>

D) <title>

29. What is a “scripting language”? / “স্ক্রিপ্টিং ল্যাঙ্গুয়েজ” কী?

A) A language that must be compiled before running / একটি ভাষা যা চালানোর আগে কম্পাইল করতে হবে

B) A language that is interpreted at runtime / একটি ভাষা যা রানটাইমে ইন্টারপ্রেট করা হয়

C) A language used only for creating graphics / শুধুমাত্র গ্রাফিক্স তৈরির জন্য ব্যবহৃত একটি ভাষা

D) A markup language like HTML / HTML এর মতো একটি মার্কআপ ল্যাঙ্গুয়েজ

30. What does the ‘S’ in HTTPS stand for? / HTTPS-এ ‘S’-এর অর্থ কী?

A) Safe / সেফ

B) Server / সার্ভার

C) Secure / সিকিওর

D) Script / স্ক্রিপ্ট

31. Which HTML tag is used to insert an image? / একটি ছবি যুক্ত করতে কোন HTML ট্যাগ ব্যবহার করা হয়?

A) <image>

B) <img>

C) <pic>

D) <picture>

32. The process of converting digital signals to analog signals for transmission over telephone lines is called? / টেলিফোন লাইনের মাধ্যমে প্রেরণের জন্য ডিজিটাল সংকেতকে অ্যানালগ সংকেতে রূপান্তর করার প্রক্রিয়াকে কী বলা হয়?

A) Demodulation / ডিমডুলেশন

B) Modulation / মডুলেশন

C) Encoding / এনকোডিং

D) Decoding / ডিকোডিং

33. What is a peer-to-peer (P2P) network? / পিয়ার-টু-পিয়ার (P2P) নেটওয়ার্ক কী?

A) A network with a central server / একটি কেন্দ্রীয় সার্ভার সহ একটি নেটওয়ার্ক

B) A network where all computers have equal status and can act as both client and server / একটি নেটওয়ার্ক যেখানে সমস্ত কম্পিউটারের সমান স্ট্যাটাস থাকে এবং ক্লায়েন্ট এবং সার্ভার উভয় হিসাবে কাজ করতে পারে

C) A network used only for chatting / শুধুমাত্র চ্যাটিংয়ের জন্য ব্যবহৃত একটি নেটওয়ার্ক

D) A very small local area network / একটি খুব ছোট লোকাল এরিয়া নেটওয়ার্ক

34. Which HTML element defines the title of a document, shown in the browser’s title bar or tab? / কোন HTML এলিমেন্ট একটি ডকুমেন্টের শিরোনাম সংজ্ঞায়িত করে, যা ব্রাউজারের শিরোনাম বার বা ট্যাবে দেখানো হয়?

A) <head>

B) <meta>

C) <title>

D) <header>

35. A unique address for a resource on the web is called a…? / ওয়েবে একটি রিসোর্সের জন্য একটি অনন্য ঠিকানাকে কী বলা হয়?

A) IP Address / আইপি অ্যাড্রেস

B) MAC Address / ম্যাক অ্যাড্রেস

C) URL (Uniform Resource Locator) / ইউআরএল (ইউনিফর্ম রিসোর্স লোকেটর)

D) Protocol / প্রোটোকল

36. Which of these is a popular server-side scripting language? / এর মধ্যে কোনটি একটি জনপ্রিয় সার্ভার-সাইড স্ক্রিপ্টিং ল্যাঙ্গুয়েজ?

A) JavaScript

B) CSS

C) PHP

D) HTML

37. How can you make a numbered list in HTML? / আপনি HTML-এ কীভাবে একটি সংখ্যাযুক্ত তালিকা তৈরি করতে পারেন?

A) <ul>

B) <ol>

C) <list>

D) <dl>

38. In e-mail, what is the ‘Subject’ line for? / ই-মেইলে, ‘Subject’ লাইনটি কিসের জন্য?

A) The recipient’s address / প্রাপকের ঠিকানা

B) The main content of the email / ইমেলের মূল বিষয়বস্তু

C) A brief summary of the email’s topic / ইমেলের বিষয়ের একটি সংক্ষিপ্ত সারসংক্ষেপ

D) The sender’s signature / প্রেরকের স্বাক্ষর

39. The physical layout of a computer network is called…? / একটি কম্পিউটার নেটওয়ার্কের ভৌত বিন্যাসকে কী বলা হয়?

A) Protocol / প্রোটোকল

B) Architecture / আর্কিটেকচার

C) Topology / টপোলজি

D) Signal / সংকেত

40. Which tag is used to create a table in HTML? / HTML-এ একটি টেবিল তৈরি করতে কোন ট্যাগ ব্যবহার করা হয়?

A) <table>

B) <tab>

C) <tr>

D) <td>

41. What does DNS stand for? / DNS-এর পূর্ণরূপ কী?

A) Domain Name System / ডোমেইন নেম সিস্টেম

B) Dynamic Name Server / ডাইনামিক নেম সার্ভার

C) Direct Network Service / ডিরেক্ট নেটওয়ার্ক সার্ভিস

D) Domain Naming Standard / ডোমেইন নেমিং স্ট্যান্ডার্ড

42. What is the correct HTML for creating a text input field? / একটি টেক্সট ইনপুট ফিল্ড তৈরি করার জন্য সঠিক HTML কোনটি?

A) <input type=”textfield”>

B) <textfield>

C) <textinput type=”text”>

D) <input type=”text”>

43. Which device regenerates a weak signal? / কোন ডিভাইস একটি দুর্বল সংকেতকে পুনরায় তৈরি করে?

A) Switch / সুইচ

B) Hub / হাব

C) Repeater / রিপিটার

D) Router / রাউটার

44. A file that contains information about the styling of a web page is called a…? / একটি ফাইল যা একটি ওয়েব পেজের স্টাইলিং সম্পর্কে তথ্য ধারণ করে তাকে কী বলা হয়?

A) JavaScript file / জাভাস্ক্রিপ্ট ফাইল

B) HTML file / এইচটিএমএল ফাইল

C) Stylesheet / স্টাইলশীট

D) Script file / স্ক্রিপ্ট ফাইল

45. What does the `alt` attribute in an `` tag do? / একটি `` ট্যাগে `alt` অ্যাট্রিবিউট কী করে?

A) It specifies the alignment of the image. / এটি ছবির অ্যালাইনমেন্ট নির্দিষ্ট করে।

B) It provides alternative text for an image if it cannot be displayed. / ছবিটি প্রদর্শিত না হলে এটি একটি বিকল্প টেক্সট প্রদান করে।

C) It defines the title of the image. / এটি ছবির শিরোনাম নির্ধারণ করে।

D) It sets the image’s height and width. / এটি ছবির উচ্চতা এবং প্রস্থ নির্ধারণ করে।

46. FTP is a protocol used for…? / FTP একটি প্রোটোকল যা কিসের জন্য ব্যবহৃত হয়?

A) Sending emails / ইমেল পাঠানোর জন্য

B) Browsing websites / ওয়েবসাইট ব্রাউজ করার জন্য

C) Transferring files between computers / কম্পিউটারের মধ্যে ফাইল স্থানান্তর করার জন্য

D) Real-time chat / রিয়েল-টাইম চ্যাটের জন্য

47. Which HTML tag defines a table row? / কোন HTML ট্যাগ একটি টেবিল সারি নির্ধারণ করে?

A) <th>

B) <td>

C) <tr>

D) <t-row>

48. The concept of linking documents to other documents is known as…? / একটি ডকুমেন্টের সাথে অন্য ডকুমেন্ট লিঙ্ক করার ধারণাকে কী বলা হয়?

A) Scripting / স্ক্রিপ্টিং

B) Hypertext / হাইপারটেক্সট

C) Networking / নেটওয়ার্কিং

D) Programming / প্রোগ্রামিং

49. Which of the following is a valid IPv4 address? / নিচের কোনটি একটি বৈধ IPv4 অ্যাড্রেস?

A) 192.168.1.256

B) 192.168.1.1

C) 192.168.1

D) 192-168-1-1

50. To apply a style to a single, unique element, which CSS selector should be used? / একটি একক, অনন্য এলিমেন্টে একটি স্টাইল প্রয়োগ করতে, কোন CSS সিলেক্টর ব্যবহার করা উচিত?

A) Class selector / ক্লাস সিলেক্টর

B) ID selector / আইডি সিলেক্টর

C) Tag selector / ট্যাগ সিলেক্টর

D) Universal selector / ইউনিভার্সাল সিলেক্টর

51. What is the main purpose of a firewall? / একটি ফায়ারওয়ালের প্রধান উদ্দেশ্য কী?

A) To increase network speed / নেটওয়ার্কের গতি বাড়ানো

B) To monitor and control incoming and outgoing network traffic / ইনকামিং এবং আউটগোয়িং নেটওয়ার্ক ট্র্যাফিক নিরীক্ষণ এবং নিয়ন্ত্রণ করা

C) To store website data / ওয়েবসাইট ডেটা সংরক্ষণ করা

D) To translate domain names into IP addresses / ডোমেন নামকে আইপি অ্যাড্রেসে অনুবাদ করা

52. In JavaScript, how do you declare a variable? / জাভাস্ক্রিপ্টে, আপনি কীভাবে একটি ভেরিয়েবল ঘোষণা করেন?

A) `v myVar;`

B) `variable myVar;`

C) `var myVar;` or `let myVar;` or `const myVar;`

D) `declare myVar;`

53. Which technology is used to make a phone call over an Internet connection? / ইন্টারনেট সংযোগের মাধ্যমে ফোন কল করার জন্য কোন প্রযুক্তি ব্যবহার করা হয়?

A) SMTP

B) FTP

C) VoIP (Voice over IP) / ভিওআইপি (ভয়েস ওভার আইপি)

D) DNS

54. Which is the correct way to link an external stylesheet named `style.css`? / `style.css` নামের একটি এক্সটার্নাল স্টাইলশীট লিঙ্ক করার সঠিক উপায় কোনটি?

A) <style src=”style.css”>

B) <stylesheet>style.css</stylesheet>

C) <link rel=”stylesheet” type=”text/css” href=”style.css”>

D) <css href=”style.css”>

55. Which of the following is an example of a web server software? / নিচের কোনটি একটি ওয়েব সার্ভার সফটওয়্যারের উদাহরণ?

A) Google Chrome

B) Microsoft Word

C) Apache

D) Adobe Photoshop

56. What does the term “unshielded twisted pair” (UTP) refer to? / “আনশিল্ডেড টুইস্টেড পেয়ার” (UTP) শব্দটি কী বোঝায়?

A) A type of wireless connection / এক ধরনের ওয়্যারলেস সংযোগ

B) A type of network cable / এক ধরনের নেটওয়ার্ক কেবল

C) A type of server / এক ধরনের সার্ভার

D) A type of network protocol / এক ধরনের নেটওয়ার্ক প্রোটোকল

57. Which HTML tag is used to create a form? / একটি ফর্ম তৈরি করতে কোন HTML ট্যাগ ব্যবহার করা হয়?

A) <input>

B) <form>

C) <submit>

D) <button>

58. The process by which a client computer gets an IP address automatically from a server is called…? / যে প্রক্রিয়ার মাধ্যমে একটি ক্লায়েন্ট কম্পিউটার একটি সার্ভার থেকে স্বয়ংক্রিয়ভাবে একটি আইপি অ্যাড্রেস পায় তাকে কী বলা হয়?

A) Static IP allocation / স্ট্যাটিক আইপি বরাদ্দ

B) DNS

C) DHCP (Dynamic Host Configuration Protocol) / ডিএইচসিপি

D) NAT (Network Address Translation)

59. How do you add a comment in an HTML file? / আপনি কীভাবে একটি HTML ফাইলে একটি মন্তব্য যোগ করবেন?

A) // This is a comment

B) /* This is a comment */

C) <!– This is a comment –>

D) # This is a comment

60. IMAP, a protocol for e-mail, stands for…? / IMAP, ইমেলের জন্য একটি প্রোটোকল, এর পূর্ণরূপ কী?

A) Internet Mail Access Protocol / ইন্টারনেট মেল অ্যাক্সেস প্রোটোকল

B) Internal Message Application Protocol / ইন্টারনাল মেসেজ অ্যাপ্লিকেশন প্রোটোকল

C) Internet Message Access Protocol / ইন্টারনেট মেসেজ অ্যাক্সেস প্রোটোকল

D) Instant Mail Application Protocol / ইনস্ট্যান্ট মেল অ্যাপ্লিকেশন প্রোটোকল

61. Which type of web page content changes based on user interactions or other factors? / কোন ধরণের ওয়েব পৃষ্ঠার বিষয়বস্তু ব্যবহারকারীর মিথস্ক্রিয়া বা অন্যান্য কারণের উপর ভিত্তি করে পরিবর্তিত হয়?

A) Static Web Page / স্ট্যাটিক ওয়েব পেজ

B) Dynamic Web Page / ডাইনামিক ওয়েব পেজ

C) Plain Web Page / প্লেইন ওয়েব পেজ

D) Simple Web Page / সিম্পল ওয়েব পেজ

62. What is a MAC address? / একটি MAC অ্যাড্রেস কী?

A) A logical address used for routing / রাউটিংয়ের জন্য ব্যবহৃত একটি লজিক্যাল অ্যাড্রেস

B) The address of a website / একটি ওয়েবসাইটের ঠিকানা

C) A unique physical address assigned to a network interface controller (NIC) / একটি নেটওয়ার্ক ইন্টারফেস কন্ট্রোলার (NIC)-কে নির্ধারিত একটি অনন্য ফিজিক্যাল অ্যাড্রেস

D) A type of computer memory / এক ধরনের কম্পিউটার মেমরি

63. Which HTML tag defines the most important heading? / কোন HTML ট্যাগ সবচেয়ে গুরুত্বপূর্ণ হেডিং নির্ধারণ করে?

A) <h6>

B) <heading>

C) <head>

D) <h1>

64. A “cookie” in web terminology is…? / ওয়েব পরিভাষায় একটি “কুকি” হলো…?

A) A virus / একটি ভাইরাস

B) A small piece of data sent from a website and stored on the user’s computer / একটি ওয়েবসাইট থেকে পাঠানো এবং ব্যবহারকারীর কম্পিউটারে সংরক্ষিত একটি ছোট ডেটা

C) An image file / একটি ইমেজ ফাইল

D) A web server program / একটি ওয়েব সার্ভার প্রোগ্রাম

65. Which of these protocols is connectionless? / এই প্রোটোকলগুলির মধ্যে কোনটি সংযোগহীন (connectionless)?

A) TCP (Transmission Control Protocol)

B) UDP (User Datagram Protocol)

C) HTTP (Hypertext Transfer Protocol)

D) FTP (File Transfer Protocol)

66. What is the correct syntax for referring to an external script called `script.js`? / `script.js` নামের একটি এক্সটার্নাল স্ক্রিপ্ট রেফার করার সঠিক সিনট্যাক্স কী?

A) <script href=”script.js”>

B) <script name=”script.js”>

C) <script src=”script.js”>

D) <javascript src=”script.js”>

67. The first page of a website is typically called the…? / একটি ওয়েবসাইটের প্রথম পৃষ্ঠাটিকে সাধারণত কী বলা হয়?

A) Main Page / প্রধান পাতা

B) Design Page / ডিজাইন পাতা

C) First Page / প্রথম পাতা

D) Home Page / হোম পেজ

68. Which tag is used to define a division or a section in an HTML document? / একটি HTML ডকুমেন্টে একটি বিভাগ বা একটি সেকশন নির্ধারণ করতে কোন ট্যাগ ব্যবহার করা হয়?

A) <section>

B) <div>

C) <span>

D) <group>

69. In a client-server architecture, where is the website’s data (HTML, CSS files) primarily stored? / একটি ক্লায়েন্ট-সার্ভার আর্কিটেকচারে, ওয়েবসাইটের ডেটা (HTML, CSS ফাইল) প্রাথমিকভাবে কোথায় সংরক্ষণ করা হয়?

A) On the Client’s computer / ক্লায়েন্টের কম্পিউটারে

B) On the Web Server / ওয়েব সার্ভারে

C) On the Router / রাউটারে

D) In the Web Browser / ওয়েব ব্রাউজারে

70. What does the `href` attribute specify? / `href` অ্যাট্রিবিউট কী নির্দিষ্ট করে?

A) The height of a link / একটি লিঙ্কের উচ্চতা

B) The target of a link / একটি লিঙ্কের লক্ষ্য (URL)

C) The style of a link / একটি লিঙ্কের স্টাইল

D) The text of a link / একটি লিঙ্কের টেক্সট

71. Which network covers a large geographical area, such as a country or continent? / কোন নেটওয়ার্ক একটি বড় ভৌগোলিক এলাকা, যেমন একটি দেশ বা মহাদেশ জুড়ে বিস্তৃত থাকে?

A) LAN

B) PAN

C) MAN

D) WAN

72. Which HTML element is used to specify a footer for a document or section? / একটি ডকুমেন্ট বা সেকশনের জন্য একটি ফুটার নির্দিষ্ট করতে কোন HTML এলিমেন্ট ব্যবহার করা হয়?

A) <bottom>

B) <section>

C) <footer>

D) <end>

73. What is the function of an ISP? / একটি ISP-এর কাজ কী?

A) To manufacture computers / কম্পিউটার তৈরি করা

B) To provide access to the Internet / ইন্টারনেট অ্যাক্সেস প্রদান করা

C) To create web browsers / ওয়েব ব্রাউজার তৈরি করা

D) To host all websites in the world / বিশ্বের সমস্ত ওয়েবসাইট হোস্ট করা

74. How can you create an email link in HTML? / আপনি কীভাবে HTML-এ একটি ইমেল লিঙ্ক তৈরি করতে পারেন?

A) <a href=”mailto:someone@example.com”>

B) <mail>someone@example.com</mail>

C) <a href=”someone@example.com”>

D) <email link=”someone@example.com”>

75. The `

` tag is a block-level element, while the `` tag is a…? / `
` ট্যাগ একটি ব্লক-লেভেল এলিমেন্ট, যেখানে `` ট্যাগ একটি…?

A) Block-level element / ব্লক-লেভেল এলিমেন্ট

B) Section-level element / সেকশন-লেভেল এলিমেন্ট

C) Inline element / ইনলাইন এলিমেন্ট

D) Grouping element / গ্রুপিং এলিমেন্ট

76. What is the purpose of the `` declaration? / `` ঘোষণার উদ্দেশ্য কী?

A) It defines the document type to be HTML. / এটি ডকুমেন্ট টাইপকে HTML হিসাবে নির্ধারণ করে।

B) It’s a comment. / এটি একটি মন্তব্য।

C) It creates a link to the HTML specification. / এটি HTML স্পেসিফিকেশনের একটি লিঙ্ক তৈরি করে।

D) It’s an outdated tag and not required. / এটি একটি পুরানো ট্যাগ এবং প্রয়োজন নেই।

77. In the client-server model, HTTP requests are sent by the…? / ক্লায়েন্ট-সার্ভার মডেলে, HTTP অনুরোধগুলি কে পাঠায়?

A) Server / সার্ভার

B) Client (Web Browser) / ক্লায়েন্ট (ওয়েব ব্রাউজার)

C) Router / রাউটার

D) ISP / আইএসপি

78. An email “attachment” is…? / একটি ইমেল “অ্যাটাচমেন্ট” হলো…?

A) The main text of the email / ইমেলের প্রধান টেক্সট

B) The email’s subject line / ইমেলের সাবজেক্ট লাইন

C) A file sent along with an email message / একটি ইমেল বার্তার সাথে পাঠানো একটি ফাইল

D) The recipient’s email address / প্রাপকের ইমেল ঠিকানা

79. Which language is used for structuring content on a web page? / একটি ওয়েব পৃষ্ঠায় কন্টেন্ট কাঠামোবদ্ধ করার জন্য কোন ভাষা ব্যবহৃত হয়?

A) CSS

B) JavaScript

C) HTML

D) Python

80. Which topology is the most redundant and reliable? / কোন টপোলজি সবচেয়ে বেশি রিডানড্যান্ট এবং নির্ভরযোগ্য?

A) Bus / বাস

B) Star / স্টার

C) Ring / রিং

D) Mesh / মেশ

81. Which character is used to indicate an end tag in HTML? / HTML-এ একটি শেষ ট্যাগ নির্দেশ করতে কোন অক্ষর ব্যবহার করা হয়?

A) ^

B) /

C) *

D) <

82. The act of designing, creating, and maintaining websites is called…? / ওয়েবসাইট ডিজাইন, তৈরি এবং রক্ষণাবেক্ষণের কাজকে কী বলা হয়?

A) Web Hosting / ওয়েব হোস্টিং

B) Web Browsing / ওয়েব ব্রাউজিং

C) Web Development / ওয়েব ডেভেলপমেন্ট

D) Web Surfing / ওয়েব সার্ফিং

83. Which of the following is NOT a web browser? / নিচের কোনটি একটি ওয়েব ব্রাউজার নয়?

A) Mozilla Firefox / মোজিলা ফায়ারফক্স

B) Microsoft Excel / মাইক্রোসফট এক্সেল

C) Google Chrome / গুগল ক্রোম

D) Apple Safari / অ্যাপল সাফারি

84. `var x = “Hello” + ” ” + “World”;` In JavaScript, what is the value of x? / `var x = “Hello” + ” ” + “World”;` জাভাস্ক্রিপ্টে, x এর মান কী?

A) HelloWorld

B) Hello World

C) Error

D) Hello+World

85. Which HTML tag makes text bold? / কোন HTML ট্যাগ টেক্সটকে বোল্ড করে?

A) <i>

B) <bold>

C) <strong>

D) <em>

86. A program that searches for and identifies items in a database that correspond to keywords is a…? / একটি প্রোগ্রাম যা একটি ডেটাবেসে কীওয়ার্ডের সাথে সম্পর্কিত আইটেমগুলি অনুসন্ধান করে এবং সনাক্ত করে তা হলো একটি…?

A) Web Browser / ওয়েব ব্রাউজার

B) Search Engine / সার্চ ইঞ্জিন

C) Web Server / ওয়েব সার্ভার

D) Chat Client / চ্যাট ক্লায়েন্ট

87. Which CSS property is used to change the background color of an element? / একটি এলিমেন্টের পটভূমির রঙ পরিবর্তন করতে কোন CSS প্রপার্টি ব্যবহার করা হয়?

A) color

B) bgcolor

C) background-color

D) background

88. An “email client” is a…? / একটি “ইমেল ক্লায়েন্ট” হলো একটি…?

A) Server that stores emails / সার্ভার যা ইমেল সংরক্ষণ করে

B) Person who sends an email / ব্যক্তি যিনি একটি ইমেল পাঠান

C) Program on a computer used to access and manage a user’s email / একটি কম্পিউটারে একটি প্রোগ্রাম যা ব্যবহারকারীর ইমেল অ্যাক্সেস এবং পরিচালনা করতে ব্যবহৃত হয়

D) The address of an email account / একটি ইমেল অ্যাকাউন্টের ঠিকানা

89. What is a “responsive” web design? / একটি “রেসপন্সিভ” ওয়েব ডিজাইন কী?

A) A design that responds quickly to user clicks / একটি ডিজাইন যা ব্যবহারকারীর ক্লিকে দ্রুত সাড়া দেয়

B) A design that works well on a variety of devices and screen sizes / একটি ডিজাইন যা বিভিন্ন ডিভাইস এবং স্ক্রিন আকারে ভালভাবে কাজ করে

C) A design that uses a lot of JavaScript / একটি ডিজাইন যা প্রচুর জাভাস্ক্রিপ্ট ব্যবহার করে

D) A design with a fixed width / একটি নির্দিষ্ট প্রস্থ সহ একটি ডিজাইন

90. Which tag defines an unordered (bulleted) list? / কোন ট্যাগ একটি আনঅর্ডারড (বুলেটযুক্ত) তালিকা নির্ধারণ করে?

A) <ol>

B) <ul>

C) <list>

D) <li>

91. What is the World Wide Web Consortium (W3C)? / ওয়ার্ল্ড ওয়াইড ওয়েব কনসোর্টিয়াম (W3C) কী?

A) A web hosting company / একটি ওয়েব হোস্টিং কোম্পানি

B) The main international standards organization for the World Wide Web / ওয়ার্ল্ড ওয়াইড ওয়েবের জন্য প্রধান আন্তর্জাতিক মান সংস্থা

C) A manufacturer of network hardware / নেটওয়ার্ক হার্ডওয়্যারের একটি প্রস্তুতকারক

D) A search engine company / একটি সার্চ ইঞ্জিন কোম্পানি

92. In CSS, how do you select an element with id “demo”? / CSS-এ, আপনি “demo” আইডি সহ একটি এলিমেন্ট কীভাবে নির্বাচন করবেন?

A) .demo

B) demo

C) *demo

D) #demo

93. Which protocol provides reliable, ordered, and error-checked delivery of a stream of octets? / কোন প্রোটোকল একটি অক্টেটের স্ট্রিমের নির্ভরযোগ্য, অর্ডার করা এবং ত্রুটি-পরীক্ষিত ডেলিভারি প্রদান করে?

A) UDP

B) IP

C) TCP

D) ICMP

94. What does the HTML <br> tag do? / HTML <br> ট্যাগ কী করে?

A) Creates a bold text / বোল্ড টেক্সট তৈরি করে

B) Creates a horizontal rule / একটি অনুভূমিক রেখা তৈরি করে

C) Inserts a single line break / একটি একক লাইন ব্রেক সন্নিবেশ করে

D) Creates a paragraph / একটি প্যারাগ্রাফ তৈরি করে

95. In chat applications, what does “instant messaging” (IM) mean? / চ্যাট অ্যাপ্লিকেশনগুলিতে, “ইনস্ট্যান্ট মেসেজিং” (IM) এর অর্থ কী?

A) Sending messages that are deleted instantly / এমন বার্তা পাঠানো যা সঙ্গে সঙ্গে মুছে ফেলা হয়

B) Real-time, text-based communication over the Internet / ইন্টারনেটে রিয়েল-টাইম, টেক্সট-ভিত্তিক যোগাযোগ

C) A type of formal email / এক ধরনের আনুষ্ঠানিক ইমেল

D) Sending a message that arrives after a delay / একটি বার্তা পাঠানো যা দেরিতে পৌঁছায়

96. Which part of a URL is the top-level domain (TLD)? `http://www.example.com/page.html` / একটি URL-এর কোন অংশটি টপ-লেভেল ডোমেইন (TLD)? `http://www.example.com/page.html`

A) http

B) www

C) example

D) com

97. Which of the following defines a cell in a table’s header? / নিচের কোনটি একটি টেবিলের হেডারে একটি সেল নির্ধারণ করে?

A) <td>

B) <head>

C) <th>

D) <caption>

98. A scripting language can be…? / একটি স্ক্রিপ্টিং ল্যাঙ্গুয়েজ হতে পারে…?

A) Only client-side / শুধুমাত্র ক্লায়েন্ট-সাইড

B) Only server-side / শুধুমাত্র সার্ভার-সাইড

C) Both client-side and server-side / ক্লায়েন্ট-সাইড এবং সার্ভার-সাইড উভয়ই

D) Neither client-side nor server-side / ক্লায়েন্ট-সাইড বা সার্ভার-সাইড কোনোটিই নয়

99. Which of the following is an example of an “online chat” service? / নিচের কোনটি একটি “অনলাইন চ্যাট” পরিষেবার উদাহরণ?

A) FTP

B) Wikipedia

C) WhatsApp / হোয়াটসঅ্যাপ

D) E-commerce website / ই-কমার্স ওয়েবসাইট

100. The basic concept of networking is to…? / নেটওয়ার্কিংয়ের মূল ধারণাটি হলো…?

A) Isolate computers from each other / কম্পিউটারগুলিকে একে অপরের থেকে বিচ্ছিন্ন করা

B) Share resources and information / রিসোর্স এবং তথ্য শেয়ার করা

C) Make computers run faster / কম্পিউটারগুলিকে দ্রুত চালানো

D) Design better computer hardware / আরও ভালো কম্পিউটার হার্ডওয়্যার ডিজাইন করা

WBSSC SLST Computer Science IX & X : Computer Network & Web Technology Read More »

SLST Computer Science

WBSSC SLST Computer Science IX & X : Software and Packages

MCQ on Overview of Software and Packages

Q1. Which DOS command is used to list the contents of a directory? / কোন DOS কমান্ড একটি ডিরেক্টরির বিষয়বস্তু তালিকাভুক্ত করতে ব্যবহৃত হয়?

  1. LIST
  2. DIR
  3. SHOW
  4. CAT

Q2. In Linux, what command is used to change file permissions? / লিনাক্সে, ফাইলের পারমিশন পরিবর্তন করতে কোন কমান্ড ব্যবহার করা হয়?

  1. chown
  2. chgrp
  3. chmod
  4. perm

Q3. What is the primary function of a batch file (.bat) in Windows? / উইন্ডোজে একটি ব্যাচ ফাইলের (.bat) প্রাথমিক কাজ কী?

  1. To store large databases / বড় ডেটাবেস সংরক্ষণ করা
  2. To execute a sequence of commands automatically / স্বয়ংক্রিয়ভাবে কমান্ডের একটি ক্রম সম্পাদন করা
  3. To create graphical user interfaces / গ্রাফিক্যাল ইউজার ইন্টারফেস তৈরি করা
  4. To compress files / ফাইল সংকুচিত করা

Q4. In spreadsheet packages like StarOffice Calc or Excel, what does a formula always begin with? / StarOffice Calc বা Excel-এর মতো স্প্রেডশিট প্যাকেজে, একটি ফর্মুলা সবসময় কী দিয়ে শুরু হয়?

  1. A colon (:) / একটি কোলন (:)
  2. A dollar sign ($) / একটি ডলার চিহ্ন ($)
  3. An equal sign (=) / একটি সমান চিহ্ন (=)
  4. A hash symbol (#) / একটি হ্যাশ চিহ্ন (#)

Q5. What is the term for a single piece of information in a database table record, such as a name or age? / একটি ডাটাবেস টেবিল রেকর্ডের একক তথ্য, যেমন নাম বা বয়স, এর পরিভাষা কী?

  1. Field / ফিল্ড
  2. Record / রেকর্ড
  3. Table / টেবিল
  4. Query / কোয়েরি

Q6. Which feature in word processing allows you to create personalized letters for a large number of recipients? / ওয়ার্ড প্রসেসিংয়ের কোন বৈশিষ্ট্যটি আপনাকে বিপুল সংখ্যক প্রাপকের জন্য ব্যক্তিগতকৃত চিঠি তৈরি করতে দেয়?

  1. Mail Merge / মেইল মার্জ
  2. AutoCorrect / অটোকারেক্ট
  3. Track Changes / ট্র্যাক চেঞ্জেস
  4. Header & Footer / হেডার এবং ফুটার

Q7. The command `cd ..` in DOS, Windows, and Linux is used for what purpose? / DOS, Windows এবং Linux-এ `cd ..` কমান্ডটি কী উদ্দেশ্যে ব্যবহৃত হয়?

  1. To move to the root directory / রুট ডিরেক্টরিতে যাওয়ার জন্য
  2. To move to the parent directory (one level up) / প্যারেন্ট ডিরেক্টরিতে (এক লেভেল উপরে) যাওয়ার জন্য
  3. To create a new directory named ‘..’ / ‘..’ নামে একটি নতুন ডিরেক্টরি তৈরি করার জন্য
  4. To delete the current directory / বর্তমান ডিরেক্টরি মুছে ফেলার জন্য

Q8. In Linux shell scripting, which character is used to start a comment line? / লিনাক্স শেল স্ক্রিপ্টিংয়ে, একটি কমেন্ট লাইন শুরু করতে কোন অক্ষর ব্যবহার করা হয়?

  1. //
  2. /*
  3. REM
  4. #

Q9. What does ‘GUI’ stand for in the context of operating systems? / অপারেটিং সিস্টেমের প্রসঙ্গে ‘GUI’ এর পূর্ণরূপ কী?

  1. General User Input / জেনারেল ইউজার ইনপুট
  2. Graphical User Interface / গ্রাফিকাল ইউজার ইন্টারফেস
  3. Global Unique Identifier / গ্লোবাল ইউনিক আইডেন্টিফায়ার
  4. Game Utility Interface / গেম ইউটিলিটি ইন্টারফেস

Q10. In a spreadsheet, the intersection of a row and a column is called a: / একটি স্প্রেডশিটে, একটি সারি এবং একটি কলামের সংযোগস্থলকে বলা হয়:

  1. Cell / সেল
  2. Formula / ফর্মুলা
  3. Worksheet / ওয়ার্কশিট
  4. Address / অ্যাড্রেস

Q11. Which command in Windows is used to check a disk for logical and physical errors? / উইন্ডোজে ডিস্কের লজিক্যাল এবং ফিজিক্যাল ত্রুটি পরীক্ষা করার জন্য কোন কমান্ড ব্যবহার করা হয়?

  1. FORMAT
  2. SCAN
  3. CHKDSK
  4. DEFRAG

Q12. What is a “primary key” in a database? / একটি ডাটাবেসে “প্রাইমারি কী” কী?

  1. A key that opens the database file / একটি কী যা ডাটাবেস ফাইল খোলে
  2. The first field in any table / যেকোনো টেবিলের প্রথম ফিল্ড
  3. A field that uniquely identifies each record in a table / একটি ফিল্ড যা একটি টেবিলের প্রতিটি রেকর্ডকে স্বতন্ত্রভাবে চিহ্নিত করে
  4. A password to access the database / ডাটাবেস অ্যাক্সেস করার জন্য একটি পাসওয়ার্ড

Q13. The hierarchical structure of files and directories on a disk is called: / একটি ডিস্কে ফাইল এবং ডিরেক্টরির অনুক্রমিক কাঠামোকে বলা হয়:

  1. File System / ফাইল সিস্টেম
  2. File Allocation Table / ফাইল অ্যালোকেশন টেবিল
  3. Directory Tree / ডিরেক্টরি ট্রি
  4. File Cluster / ফাইল ক্লাস্টার

Q14. In Linux, which command is used to copy files? / লিনাক্সে, ফাইল কপি করতে কোন কমান্ড ব্যবহার করা হয়?

  1. COPY
  2. cp
  3. move
  4. rn

Q15. In word processing, “font” refers to: / ওয়ার্ড প্রসেসিংয়ে, “ফন্ট” বলতে বোঝায়:

  1. The size of the characters / অক্ষরের আকার
  2. The style of the characters (bold, italic) / অক্ষরের স্টাইল (বোল্ড, ইটালিক)
  3. The color of the text / টেক্সটের রঙ
  4. The design of the characters (e.g., Times New Roman, Arial) / অক্ষরের নকশা (যেমন, Times New Roman, Arial)

Q16. What is the wildcard character in DOS/Windows that represents any number of characters? / DOS/Windows-এ কোন ওয়াইল্ডকার্ড অক্ষরটি যেকোনো সংখ্যক অক্ষর বোঝাতে ব্যবহৃত হয়?

  1. ?
  2. #
  3. *
  4. &

Q17. In a shell script, what does `#!/bin/bash` at the beginning of the file signify? / একটি শেল স্ক্রিপ্টে, ফাইলের শুরুতে `#!/bin/bash` কী নির্দেশ করে?

  1. It’s a comment and is ignored / এটি একটি কমেন্ট এবং উপেক্ষা করা হয়
  2. It specifies the interpreter (the shell) to be used to execute the script / এটি স্ক্রিপ্টটি চালানোর জন্য ব্যবহৃত ইন্টারপ্রেটার (শেল) নির্দিষ্ট করে
  3. It’s a variable declaration / এটি একটি ভেরিয়েবল ঘোষণা
  4. It’s an error message / এটি একটি ত্রুটি বার্তা

Q18. Which of the following is an example of utility software? / নিচের কোনটি ইউটিলিটি সফটওয়্যারের উদাহরণ?

  1. Microsoft Word (Word Processor) / মাইক্রোসফট ওয়ার্ড (ওয়ার্ড প্রসেসর)
  2. Antivirus Software / অ্যান্টিভাইরাস সফটওয়্যার
  3. Google Chrome (Web Browser) / গুগল ক্রোম (ওয়েব ব্রাউজার)
  4. Adobe Photoshop (Image Editor) / অ্যাডোব ফটোশপ (ইমেজ এডিটর)

Q19. In a spreadsheet, what does the function `SUM(A1:A5)` do? / একটি স্প্রেডশিটে `SUM(A1:A5)` ফাংশনটি কী কাজ করে?

  1. It calculates the average of cells A1 to A5 / এটি A1 থেকে A5 সেলের গড় গণনা করে
  2. It counts the number of cells from A1 to A5 / এটি A1 থেকে A5 পর্যন্ত সেলের সংখ্যা গণনা করে
  3. It adds the values in cells A1 through A5 / এটি A1 থেকে A5 পর্যন্ত সেলের মান যোগ করে
  4. It finds the smallest value between A1 and A5 / এটি A1 এবং A5 এর মধ্যে ক্ষুদ্রতম মান খুঁজে বের করে

Q20. Which term refers to the process of arranging data in a specific order (e.g., alphabetical or numerical) in a database or spreadsheet? / ডাটাবেস বা স্প্রেডশিটে ডেটাকে একটি নির্দিষ্ট ক্রমে (যেমন, বর্ণানুক্রমিক বা সংখ্যাসূচক) সাজানোর প্রক্রিয়াকে কোন শব্দটি বোঝায়?

  1. Filtering / ফিল্টারিং
  2. Sorting / সর্টিং
  3. Querying / কোয়েরিইং
  4. Indexing / ইনডেক্সিং

Q21. The command `mkdir` in Linux and DOS is used to: / Linux এবং DOS-এ `mkdir` কমান্ডটি ব্যবহৃত হয়:

  1. Remove a directory / একটি ডিরেক্টরি মুছে ফেলতে
  2. Make a new directory / একটি নতুন ডিরেক্টরি তৈরি করতে
  3. Move a directory / একটি ডিরেক্টরি সরাতে
  4. Rename a directory / একটি ডিরেক্টরির নাম পরিবর্তন করতে

Q22. What is an ‘absolute path’ in a file system? / একটি ফাইল সিস্টেমে ‘অ্যাবসলিউট পাথ’ কী?

  1. A path relative to the current directory / বর্তমান ডিরেক্টরির সাপেক্ষে একটি পাথ
  2. A path that starts from the root directory / একটি পাথ যা রুট ডিরেক্টরি থেকে শুরু হয়
  3. A shortcut to a file / একটি ফাইলের শর্টকাট
  4. A path that contains wildcards / একটি পাথ যাতে ওয়াইল্ডকার্ড থাকে

Q23. In word processing, what does ‘WYSIWYG’ stand for? / ওয়ার্ড প্রসেসিংয়ে, ‘WYSIWYG’ এর পূর্ণরূপ কী?

  1. What You See Is What You Get / হোয়াট ইউ সি ইজ হোয়াট ইউ গেট
  2. What You Say Is What You Gain / হোয়াট ইউ সে ইজ হোয়াট ইউ গেইন
  3. Why You See Is Why You Get / হোয়াই ইউ সি ইজ হোয়াই ইউ গেট
  4. Windows Yields Secure Information, Why You Gamble? / উইন্ডোজ ইল্ডস সিকিওর ইনফরমেশন, হোয়াই ইউ গ্যাম্বল?

Q24. In StarOffice Base or similar database packages, what is a ‘Form’ used for? / StarOffice Base বা অনুরূপ ডাটাবেস প্যাকেজে, একটি ‘ফর্ম’ কীসের জন্য ব্যবহৃত হয়?

  1. To retrieve specific data from tables / টেবিল থেকে নির্দিষ্ট ডেটা পুনরুদ্ধার করতে
  2. To create a printable summary of data / ডেটার একটি মুদ্রণযোগ্য সারসংক্ষেপ তৈরি করতে
  3. To provide a user-friendly interface for entering and viewing data / ডেটা প্রবেশ করানো এবং দেখার জন্য একটি ব্যবহারকারী-বান্ধব ইন্টারফেস প্রদান করতে
  4. To define the structure of the database table / ডাটাবেস টেবিলের কাঠামো নির্ধারণ করতে

Q25. The `grep` command in Linux is primarily used for: / লিনাক্সে `grep` কমান্ডটি প্রধানত ব্যবহৃত হয়:

  1. Creating new files / নতুন ফাইল তৈরি করার জন্য
  2. Searching for a text pattern within files / ফাইলের মধ্যে একটি টেক্সট প্যাটার্ন খোঁজার জন্য
  3. Editing text files / টেক্সট ফাইল সম্পাদনা করার জন্য
  4. Compressing files / ফাইল সংকুচিত করার জন্য

Q26. Which file system is most commonly used by modern Windows operating systems? / আধুনিক উইন্ডোজ অপারেটিং সিস্টেম দ্বারা সবচেয়ে বেশি ব্যবহৃত ফাইল সিস্টেম কোনটি?

  1. FAT32
  2. ext4
  3. NTFS
  4. HFS+

Q27. In a batch file, what does `@ECHO OFF` do? / একটি ব্যাচ ফাইলে `@ECHO OFF` কী কাজ করে?

  1. It turns off the computer / এটি কম্পিউটার বন্ধ করে দেয়
  2. It prevents the commands themselves from being displayed in the command prompt / এটি কমান্ড প্রম্পটে কমান্ডগুলি প্রদর্শিত হওয়া থেকে বিরত রাখে
  3. It deletes all files in the current directory / এটি বর্তমান ডিরেক্টরির সমস্ত ফাইল মুছে দেয়
  4. It silences the computer’s speakers / এটি কম্পিউটারের স্পিকার নীরব করে দেয়

Q28. What is a “cell reference” in a spreadsheet? / একটি স্প্রেডশিটে “সেল রেফারেন্স” কী?

  1. The data inside a cell / একটি সেলের ভিতরের ডেটা
  2. A comment attached to a cell / একটি সেলের সাথে সংযুক্ত একটি মন্তব্য
  3. The address of a cell, used in formulas (e.g., B4) / একটি সেলের ঠিকানা, যা ফর্মুলায় ব্যবহৃত হয় (যেমন, B4)
  4. A chart based on cell data / সেলের ডেটার উপর ভিত্তি করে একটি চার্ট

Q29. Which command is used to remove a file in Linux? / লিনাক্সে একটি ফাইল মুছে ফেলতে কোন কমান্ড ব্যবহার করা হয়?

  1. del
  2. erase
  3. rm
  4. rd

Q30. In database terminology, what is a “Query”? / ডাটাবেসের পরিভাষায়, “কোয়েরি” কী?

  1. A complete database table / একটি সম্পূর্ণ ডাটাবেস টেবিল
  2. A user-friendly data entry screen / একটি ব্যবহারকারী-বান্ধব ডেটা এন্ট্রি স্ক্রিন
  3. A request to the database for specific information / নির্দিষ্ট তথ্যের জন্য ডাটাবেসের কাছে একটি অনুরোধ
  4. A backup copy of the database / ডাটাবেসের একটি ব্যাকআপ কপি

Q31. Which of the following is an element of word processing? / নিচের কোনটি ওয়ার্ড প্রসেসিং এর একটি উপাদান?

  1. Cell Formatting / সেল ফরম্যাটিং
  2. Database Querying / ডাটাবেস কোয়েরিইং
  3. Text Formatting (Bold, Italic, Underline) / টেক্সট ফরম্যাটিং (বোল্ড, ইটালিক, আন্ডারলাইন)
  4. Executing shell commands / শেল কমান্ড কার্যকর করা

Q32. In DOS, what is the purpose of the `DEL` command? / DOS-এ `DEL` কমান্ডের উদ্দেশ্য কী?

  1. To create a directory / একটি ডিরেক্টরি তৈরি করা
  2. To delete one or more files / এক বা একাধিক ফাইল মুছে ফেলা
  3. To display file contents / ফাইলের বিষয়বস্তু প্রদর্শন করা
  4. To delay the execution of a command / একটি কমান্ডের সম্পাদন বিলম্বিত করা
  5. ol>

Q33. What is a “relative path” in file management? / ফাইল ব্যবস্থাপনায় “রিলেটিভ পাথ” কী?

  1. The full path from the root directory / রুট ডিরেক্টরি থেকে সম্পূর্ণ পাথ
  2. A path that starts from the current working directory / একটি পাথ যা বর্তমান ওয়ার্কিং ডিরেক্টরি থেকে শুরু হয়
  3. A path that cannot be changed / একটি পাথ যা পরিবর্তন করা যায় না
  4. The physical address of the file on the disk / ডিস্কে ফাইলের ফিজিক্যাল ঠিকানা

Q34. A collection of related data stored in a structured format is known as a: / একটি কাঠামোবদ্ধ বিন্যাসে সংরক্ষিত সম্পর্কিত ডেটার সংগ্রহকে বলা হয়:

  1. Spreadsheet / স্প্রেডশিট
  2. Word Document / ওয়ার্ড ডকুমেন্ট
  3. Database / ডাটাবেস
  4. Batch File / ব্যাচ ফাইল

Q35. In a spreadsheet, `A1:D4` represents a: / একটি স্প্রেডশিটে `A1:D4` কীসের প্রতিনিধিত্ব করে?

  1. Single cell / একক সেল
  2. Range of cells / সেলের একটি পরিসর (রেঞ্জ)
  3. Formula / একটি ফর্মুলা
  4. Function / একটি ফাংশন

Q36. What is the command to create a symbolic link in Linux? / লিনাক্সে একটি সিম্বলিক লিঙ্ক তৈরি করার কমান্ড কী?

  1. `ln -s`
  2. `link`
  3. `mklink`
  4. `slink`

Q37. The ‘shell’ in an operating system like Linux or DOS is a: / লিনাক্স বা DOS-এর মতো একটি অপারেটিং সিস্টেমে ‘শেল’ হলো একটি:

  1. Hardware component / হার্ডওয়্যার উপাদান
  2. Graphical icon / গ্রাফিকাল আইকন
  3. Command-line interpreter / কমান্ড-লাইন ইন্টারপ্রেটার
  4. File protection system / ফাইল সুরক্ষা ব্যবস্থা

Q38. In StarOffice Writer or MS Word, what is the function of ‘Headers and Footers’? / StarOffice Writer বা MS Word-এ ‘হেডার এবং ফুটার’-এর কাজ কী?

  1. To add main headings to the document / ডকুমেন্টে প্রধান শিরোনাম যুক্ত করা
  2. To place repetitive text (like page numbers or titles) at the top and bottom of every page / প্রতিটি পৃষ্ঠার উপরে এবং নীচে পুনরাবৃত্তিমূলক টেক্সট (যেমন পৃষ্ঠা নম্বর বা শিরোনাম) স্থাপন করা
  3. To check for spelling and grammar errors / বানান এবং ব্যাকরণের ভুল পরীক্ষা করা
  4. To create a table of contents / একটি সূচিপত্র তৈরি করা

Q39. A chart or graph in a spreadsheet is used to: / একটি স্প্রেডশিটে একটি চার্ট বা গ্রাফ ব্যবহৃত হয়:

  1. Perform complex calculations / জটিল গণনা সম্পাদন করতে
  2. Visually represent data / ডেটাকে দৃশ্যমানভাবে উপস্থাপন করতে
  3. Store large amounts of text / প্রচুর পরিমাণে টেক্সট সংরক্ষণ করতে
  4. Sort data alphabetically / ডেটাকে বর্ণানুক্রমিকভাবে সাজাতে

Q40. The Windows utility `DEFRAG` is used to: / উইন্ডোজ ইউটিলিটি `DEFRAG` ব্যবহৃত হয়:

  1. Delete temporary files / অস্থায়ী ফাইল মুছতে
  2. Check the disk for errors / ডিস্কের ত্রুটি পরীক্ষা করতে
  3. Rearrange fragmented data on a disk to improve performance / পারফরম্যান্স উন্নত করতে একটি ডিস্কে খণ্ডিত ডেটা পুনরায় সাজাতে
  4. Format a disk drive / একটি ডিস্ক ড্রাইভ ফরম্যাট করতে

Q41. What is the purpose of the `man` command in Linux? / লিনাক্সে `man` কমান্ডের উদ্দেশ্য কী?

  1. To manage system memory / সিস্টেম মেমরি পরিচালনা করা
  2. To create a new user / নতুন ব্যবহারকারী তৈরি করা
  3. To display the user manual for other commands / অন্যান্য কমান্ডের জন্য ব্যবহারকারী ম্যানুয়াল প্রদর্শন করা
  4. To format a manual hard disk / একটি ম্যানুয়াল হার্ড ডিস্ক ফরম্যাট করা

Q42. In a database, a `Report` is used to: / একটি ডাটাবেসে, একটি `রিপোর্ট` ব্যবহৃত হয়:

  1. Enter new data into a table / একটি টেবিলে নতুন ডেটা প্রবেশ করাতে
  2. Modify the structure of the database / ডাটাবেসের কাঠামো পরিবর্তন করতে
  3. Present data from tables and queries in a formatted, printable way / টেবিল এবং কোয়েরি থেকে ডেটাকে একটি ফরম্যাট করা, মুদ্রণযোগ্য উপায়ে উপস্থাপন করতে
  4. Execute complex commands / জটিল কমান্ড সম্পাদন করতে

Q43. The `for` loop in shell programming is a type of: / শেল প্রোগ্রামিংয়ে `for` লুপ একটি ধরনের:

  1. Conditional statement / শর্তাধীন বিবৃতি
  2. Control structure for iteration / পুনরাবৃত্তির জন্য নিয়ন্ত্রণ কাঠামো
  3. Variable assignment / ভেরিয়েবল অ্যাসাইনমেন্ট
  4. Function definition / ফাংশন সংজ্ঞা

Q44. What does an absolute cell reference like `$A$1` in a spreadsheet mean? / একটি স্প্রেডশিটে `$A$1` এর মতো একটি অ্যাবসলিউট সেল রেফারেন্সের অর্থ কী?

  1. The reference changes when the formula is copied / ফর্মুলাটি কপি করা হলে রেফারেন্সটি পরিবর্তিত হয়
  2. The reference is invalid and will cause an error / রেফারেন্সটি অবৈধ এবং একটি ত্রুটি সৃষ্টি করবে
  3. The reference does not change when the formula is copied / ফর্মুলাটি কপি করা হলে রেফারেন্সটি পরিবর্তিত হয় না
  4. The cell contains currency data / সেলটিতে মুদ্রা ডেটা রয়েছে

Q45. Which of these is NOT a function of an operating system? / এর মধ্যে কোনটি অপারেটিং সিস্টেমের কাজ নয়?

  1. Memory Management / মেমরি ম্যানেজমেন্ট
  2. Process Management / প্রসেস ম্যানেজমেন্ট
  3. File Management / ফাইল ম্যানেজমেন্ট
  4. Web Browsing / ওয়েব ব্রাউজিং

Q46. The command `pwd` in Linux stands for: / লিনাক্সে `pwd` কমান্ডটির পূর্ণরূপ হলো:

  1. Password Directory
  2. Print Working Directory
  3. Path to Working Directory
  4. Previous Working Directory

Q47. In a batch file, how do you refer to the first argument passed to the script? / একটি ব্যাচ ফাইলে, স্ক্রিপ্টে পাস করা প্রথম আর্গুমেন্টকে আপনি কীভাবে উল্লেখ করবেন?

  1. $1
  2. %1
  3. @1
  4. #1

Q48. The feature in word processors that automatically corrects common spelling errors as you type is called: / ওয়ার্ড প্রসেসরে যে বৈশিষ্ট্যটি টাইপ করার সময় সাধারণ বানান ভুলগুলি স্বয়ংক্রিয়ভাবে সংশোধন করে তাকে বলা হয়:

  1. AutoCorrect
  2. AutoFormat
  3. AutoComplete
  4. Spell Check

Q49. In database management, what does SQL stand for? / ডাটাবেস ব্যবস্থাপনায়, SQL এর পূর্ণরূপ কী?

  1. Standard Query Language
  2. Structured Query Language
  3. Simple Query Logic
  4. System Query Language

Q50. The command `ls -l` in Linux provides what kind of listing? / লিনাক্সে `ls -l` কমান্ডটি কী ধরনের তালিকা প্রদান করে?

  1. A short, simple list of file names only / শুধুমাত্র ফাইলের নামের একটি সংক্ষিপ্ত, সরল তালিকা
  2. A long, detailed list including permissions, owner, size, and modification date / অনুমতি, মালিক, আকার এবং পরিবর্তনের তারিখ সহ একটি দীর্ঘ, বিস্তারিত তালিকা
  3. A list of all files, including hidden ones / লুকানো ফাইল সহ সমস্ত ফাইলের একটি তালিকা
  4. A list sorted by file size / ফাইলের আকার অনুসারে সাজানো একটি তালিকা

Q51. To create a new, blank document in a word processor, you typically use which command? / একটি ওয়ার্ড প্রসেসরে একটি নতুন, ফাঁকা ডকুমেন্ট তৈরি করতে, আপনি সাধারণত কোন কমান্ডটি ব্যবহার করেন?

  1. File > Open
  2. File > New
  3. File > Save As
  4. File > Print

Q52. Which DOS command is used to copy an entire directory structure, including subdirectories? / সাবডিরেক্টরি সহ একটি সম্পূর্ণ ডিরেক্টরি কাঠামো অনুলিপি করতে কোন DOS কমান্ড ব্যবহার করা হয়?

  1. COPY
  2. MOVE
  3. XCOPY
  4. TREE

Q53. A row in a database table is also known as a: / একটি ডাটাবেস টেবিলের একটি সারিকে অন্য কী নামেও ডাকা হয়?

  1. Field / ফিল্ড
  2. Attribute / অ্যাট্রিবিউট
  3. Record / রেকর্ড
  4. Key / কী

Q54. What is the main purpose of the `if-then-else` structure in shell programming? / শেল প্রোগ্রামিংয়ে `if-then-else` কাঠামোর প্রধান উদ্দেশ্য কী?

  1. To perform loops / লুপ সম্পাদন করা
  2. To make decisions and execute different code blocks based on a condition / সিদ্ধান্ত গ্রহণ করা এবং একটি শর্তের উপর ভিত্তি করে বিভিন্ন কোড ব্লক সম্পাদন করা
  3. To define a function / একটি ফাংশন সংজ্ঞায়িত করা
  4. To print text to the screen / স্ক্রিনে টেক্সট মুদ্রণ করা

Q55. In a spreadsheet, the function `AVERAGE()` calculates the: / একটি স্প্রেডশিটে `AVERAGE()` ফাংশনটি গণনা করে:

  1. Sum of the numbers / সংখ্যাগুলির যোগফল
  2. Arithmetic mean of the numbers / সংখ্যাগুলির গাণিতিক গড়
  3. Middle value in a set of numbers (Median) / সংখ্যাগুলির একটি সেটের মধ্যম মান (মিডিয়ান)
  4. Most frequently occurring number (Mode) / সর্বাধিকবার ঘটা সংখ্যা (মোড)

Q56. The command to change the current directory in DOS, Windows, and Linux is: / DOS, Windows, এবং Linux-এ বর্তমান ডিরেক্টরি পরিবর্তন করার কমান্ডটি হলো:

  1. `cd`
  2. `dir`
  3. `chd`
  4. `path`

Q57. What is the purpose of the ‘Find and Replace’ feature in word processing? / ওয়ার্ড প্রসেসিংয়ে ‘ফাইন্ড অ্যান্ড রিপ্লেস’ বৈশিষ্ট্যের উদ্দেশ্য কী?

  1. To find grammatical errors and replace them with corrections / ব্যাকরণগত ভুল খুঁজে বের করা এবং সংশোধন দিয়ে প্রতিস্থাপন করা
  2. To locate a specific word or phrase and replace it with another / একটি নির্দিষ্ট শব্দ বা বাক্যাংশ খুঁজে বের করা এবং অন্য একটি দিয়ে প্রতিস্থাপন করা
  3. To search the internet for information / তথ্যের জন্য ইন্টারনেট অনুসন্ধান করা
  4. To replace the entire document with a new one / সম্পূর্ণ ডকুমেন্টটি একটি নতুন দিয়ে প্রতিস্থাপন করা

Q58. In Linux, which command is used to display the last few lines of a file? / লিনাক্সে, একটি ফাইলের শেষ কয়েকটি লাইন প্রদর্শন করতে কোন কমান্ড ব্যবহার করা হয়?

  1. `head`
  2. `cat`
  3. `tail`
  4. `more`

Q59. The folder at the very top of a file system hierarchy is called the: / ফাইল সিস্টেম অনুক্রমের একেবারে শীর্ষে থাকা ফোল্ডারটিকে বলা হয়:

  1. Home directory / হোম ডিরেক্টরি
  2. Parent directory / প্যারেন্ট ডিরেক্টরি
  3. Root directory / রুট ডিরেক্টরি
  4. Working directory / ওয়ার্কিং ডিরেক্টরি

Q60. Which type of software is StarOffice or its modern successor LibreOffice? / স্টারঅফিস বা এর আধুনিক উত্তরাধিকারী লিব্রেঅফিস কোন ধরনের সফটওয়্যার?

  1. Operating System / অপারেটিং সিস্টেম
  2. Utility Software / ইউটিলিটি সফটওয়্যার
  3. Application Suite / অ্যাপ্লিকেশন স্যুট
  4. Programming Language / প্রোগ্রামিং ল্যাঙ্গুয়েজ

Q61. What does the `ping` command do? / `ping` কমান্ড কী করে?

  1. It measures the temperature of the CPU / এটি CPU-এর তাপমাত্রা পরিমাপ করে
  2. It tests the reachability of a host on an IP network and measures the round-trip time for messages / এটি একটি আইপি নেটওয়ার্কে একটি হোস্টের নাগালযোগ্যতা পরীক্ষা করে এবং বার্তাগুলির জন্য রাউন্ড-ট্রিপ সময় পরিমাপ করে
  3. It formats the network adapter / এটি নেটওয়ার্ক অ্যাডাপ্টার ফরম্যাট করে
  4. It displays the current network configuration / এটি বর্তমান নেটওয়ার্ক কনফিগারেশন প্রদর্শন করে

Q62. In a word processor, changing the space between lines of text is called adjusting the: / একটি ওয়ার্ড প্রসেসরে, টেক্সটের লাইনগুলির মধ্যে ফাঁক পরিবর্তন করাকে বলা হয়:

  1. Margin / মার্জিন
  2. Indentation / ইন্ডেন্টেশন
  3. Line Spacing / লাইন স্পেসিং
  4. Kerning / কার্নিং

Q63. The file extension `.sh` typically indicates what kind of file? / `.sh` ফাইল এক্সটেনশনটি সাধারণত কোন ধরনের ফাইল নির্দেশ করে?

  1. A spreadsheet file / একটি স্প্রেডশিট ফাইল
  2. A system hardware file / একটি সিস্টেম হার্ডওয়্যার ফাইল
  3. A shell script file / একটি শেল স্ক্রিপ্ট ফাইল
  4. A shared library file / একটি শেয়ার্ড লাইব্রেরি ফাইল

Q64. In a database, a relationship between two tables is established using a: / একটি ডাটাবেসে, দুটি টেবিলের মধ্যে একটি সম্পর্ক স্থাপন করা হয় কী ব্যবহার করে?

  1. Primary Key and Foreign Key / প্রাইমারি কী এবং ফরেন কী
  2. Record and a Field / রেকর্ড এবং একটি ফিল্ড
  3. Query and a Report / কোয়েরি এবং একটি রিপোর্ট
  4. Username and a Password / ইউজারনেম এবং একটি পাসওয়ার্ড

Q65. Which command in DOS/Windows displays the version of the operating system? / DOS/Windows-এ কোন কমান্ডটি অপারেটিং সিস্টেমের সংস্করণ প্রদর্শন করে?

  1. `VER`
  2. `VERSION`
  3. `INFO`
  4. `OS`

Q66. The process of converting source code into an executable program is called: / সোর্স কোডকে একটি এক্সিকিউটেবল প্রোগ্রামে রূপান্তর করার প্রক্রিয়াকে বলা হয়:

  1. Debugging / ডিবাগিং
  2. Running / রানিং
  3. Compilation / কম্পাইলেশন
  4. Scripting / স্ক্রিপ্টিং

Q67. In a spreadsheet, which error is displayed when a formula refers to a cell that is not valid? / একটি স্প্রেডশিটে, যখন একটি ফর্মুলা একটি অবৈধ সেলকে রেফার করে তখন কোন ত্রুটি প্রদর্শিত হয়?

  1. `#VALUE!`
  2. `#DIV/0!`
  3. `#REF!`
  4. `#NAME?`

Q68. What is the function of the `sudo` command in Linux? / লিনাক্সে `sudo` কমান্ডের কাজ কী?

  1. To shut down the system / সিস্টেম বন্ধ করা
  2. To switch to a different user account / একটি ভিন্ন ব্যবহারকারী অ্যাকাউন্টে স্যুইচ করা
  3. To execute a command with superuser (administrator) privileges / সুপারইউজার (প্রশাসক) বিশেষাধিকার নিয়ে একটি কমান্ড সম্পাদন করা
  4. To find a user’s documentation / একজন ব্যবহারকারীর ডকুমেন্টেশন খুঁজে বের করা

Q69. A software package like StarOffice is considered ‘proprietary’ if: / স্টারঅফিসের মতো একটি সফটওয়্যার প্যাকেজকে ‘প্রোপ্রাইটারি’ বা ‘মালিকানাধীন’ হিসেবে বিবেচনা করা হয় যদি:

  1. It is free to use / এটি ব্যবহারে বিনামূল্যে হয়
  2. Its source code is openly available / এর সোর্স কোড প্রকাশ্যে উপলব্ধ থাকে
  3. It is under restrictive copyright and the source code is usually hidden / এটি সীমাবদ্ধ কপিরাইটের অধীনে থাকে এবং সোর্স কোড সাধারণত গোপন রাখা হয়
  4. It can only run on one type of computer / এটি শুধুমাত্র এক ধরনের কম্পিউটারে চলতে পারে

Q70. In word processing, what is ‘justification’ or ‘alignment’? / ওয়ার্ড প্রসেসিংয়ে, ‘জাস্টিফিকেশন’ বা ‘অ্যালাইনমেন্ট’ কী?

  1. The process of checking for spelling errors / বানান ভুল পরীক্ষা করার প্রক্রিয়া
  2. How text is positioned horizontally between the margins / মার্জিনের মধ্যে টেক্সট অনুভূমিকভাবে কীভাবে অবস্থান করবে
  3. The color and style of the text font / টেক্সট ফন্টের রঙ এবং শৈলী
  4. The space between individual characters / পৃথক অক্ষরগুলির মধ্যে ফাঁক

Q71. What does the Linux command `touch` do? / লিনাক্স কমান্ড `touch` কী করে?

  1. It changes the text inside a file / এটি একটি ফাইলের ভিতরের টেক্সট পরিবর্তন করে
  2. It creates a new, empty file or updates the timestamp of an existing file / এটি একটি নতুন, খালি ফাইল তৈরি করে বা একটি বিদ্যমান ফাইলের টাইমস্ট্যাম্প আপডেট করে
  3. It deletes a file / এটি একটি ফাইল মুছে ফেলে
  4. It displays the file’s content on the screen / এটি ফাইলের বিষয়বস্তু স্ক্রিনে প্রদর্শন করে

Q72. In a batch file, the command `PAUSE` will: / একটি ব্যাচ ফাইলে, `PAUSE` কমান্ডটি:

  1. Stop the script permanently / স্ক্রিপ্টটি স্থায়ীভাবে বন্ধ করে দেবে
  2. Halt the execution and display a message like “Press any key to continue . . .” / সম্পাদন থামিয়ে দেবে এবং “Press any key to continue . . .” এর মতো একটি বার্তা প্রদর্শন করবে
  3. Wait for a specific amount of time before continuing / চালিয়ে যাওয়ার আগে একটি নির্দিষ্ট সময়ের জন্য অপেক্ষা করবে
  4. Delete the script file / স্ক্রিপ্ট ফাইলটি মুছে ফেলবে

Q73. What is a “workbook” in the context of spreadsheet packages? / স্প্রেডশিট প্যাকেজের প্রসঙ্গে “ওয়ার্কবুক” কী?

  1. A single grid of cells / সেলের একটি একক গ্রিড
  2. A collection of one or more worksheets in a single file / একটি একক ফাইলে এক বা একাধিক ওয়ার্কশিটের একটি সংগ্রহ
  3. A book of instructions for using the software / সফটওয়্যার ব্যবহারের জন্য একটি নির্দেশিকা বই
  4. A specific type of chart / একটি নির্দিষ্ট ধরনের চার্ট

Q74. A column in a database table is also known as a/an: / একটি ডাটাবেস টেবিলের একটি কলামকে অন্য কী নামেও ডাকা হয়?

  1. Record / রেকর্ড
  2. Tuple / টুপল
  3. Attribute or Field / অ্যাট্রিবিউট বা ফিল্ড
  4. Entity / এনটিটি

Q75. The `ipconfig` command in Windows (or `ifconfig` in Linux) is used to: / উইন্ডোজে `ipconfig` কমান্ড (বা লিনাক্সে `ifconfig`) ব্যবহৃত হয়:

  1. Configure the system’s IP address and display network adapter information / সিস্টেমের আইপি ঠিকানা কনফিগার করতে এবং নেটওয়ার্ক অ্যাডাপ্টারের তথ্য প্রদর্শন করতে
  2. Ping a remote server / একটি দূরবর্তী সার্ভারকে পিং করতে
  3. Configure the computer’s firewall / কম্পিউটারের ফায়ারওয়াল কনফিগার করতে
  4. Display the content of a configuration file / একটি কনফিগারেশন ফাইলের বিষয়বস্তু প্রদর্শন করতে

Q76. Which of the following is an element of word processing for structuring long documents? / দীর্ঘ ডকুমেন্ট কাঠামোবদ্ধ করার জন্য নিচের কোনটি ওয়ার্ড প্রসেসিং এর একটি উপাদান?

  1. Pivot Tables / পিভট টেবিল
  2. Table of Contents (TOC) / সূচিপত্র (TOC)
  3. Conditional Formatting / কন্ডিশনাল ফরম্যাটিং
  4. VLOOKUP function / VLOOKUP ফাংশন

Q77. What does the command `mv` do in Linux? / লিনাক্সে `mv` কমান্ডটি কী কাজ করে?

  1. Makes a new version of a file / একটি ফাইলের নতুন সংস্করণ তৈরি করে
  2. Moves or renames files and directories / ফাইল এবং ডিরেক্টরি সরায় বা নাম পরিবর্তন করে
  3. Measures the volume of a disk / একটি ডিস্কের আয়তন পরিমাপ করে
  4. Verifies the integrity of a file / একটি ফাইলের অখণ্ডতা যাচাই করে

Q78. In a spreadsheet, the feature that automatically fills in values in a series (e.g., days of the week, numbers) is called: / একটি স্প্রেডশিটে যে বৈশিষ্ট্যটি একটি সিরিজে (যেমন, সপ্তাহের দিন, সংখ্যা) মান স্বয়ংক্রিয়ভাবে পূরণ করে তাকে বলা হয়:

  1. AutoFill / অটোফিল
  2. AutoSum / অটোসাম
  3. AutoCorrect / অটোকারেক্ট
  4. AutoFormat / অটোফরম্যাট

Q79. What is a ‘shell variable’ in shell programming? / শেল প্রোগ্রামিংয়ে ‘শেল ভেরিয়েবল’ কী?

  1. A command that creates a new shell / একটি কমান্ড যা একটি নতুন শেল তৈরি করে
  2. A character that represents one or more other characters, like `*` / একটি অক্ষর যা এক বা একাধিক অন্য অক্ষরকে প্রতিনিধিত্ব করে, যেমন `*`
  3. A named memory location used to store a value that can be used by the shell or scripts / একটি নামযুক্ত মেমরি অবস্থান যা একটি মান সংরক্ষণ করতে ব্যবহৃত হয় যা শেল বা স্ক্রিপ্ট দ্বারা ব্যবহার করা যেতে পারে
  4. A file that contains shell commands / একটি ফাইল যা শেল কমান্ড ধারণ করে

Q80. In DOS and Windows, what is the purpose of the `ATTRIB` command? / DOS এবং উইন্ডোজে `ATTRIB` কমান্ডের উদ্দেশ্য কী?

  1. To change the color attributes of the command prompt / কমান্ড প্রম্পটের রঙের বৈশিষ্ট্য পরিবর্তন করা
  2. To display or change the attributes of a file (e.g., Read-only, Hidden) / একটি ফাইলের বৈশিষ্ট্যগুলি (যেমন, রিড-অনলি, হিডেন) প্রদর্শন বা পরিবর্তন করা
  3. To assign a variable / একটি ভেরিয়েবল অ্যাসাইন করা
  4. To search for text within a file / একটি ফাইলের মধ্যে টেক্সট অনুসন্ধান করা

Q81. A ‘flat-file database’ consists of: / একটি ‘ফ্ল্যাট-ফাইল ডাটাবেস’ গঠিত হয়:

  1. Multiple, interconnected tables / একাধিক, আন্তঃসংযুক্ত টেবিল
  2. A single table of data / ডেটার একটি একক টেবিল
  3. A database stored in a compressed format / একটি সংকুচিত বিন্যাসে সংরক্ষিত একটি ডাটাবেস
  4. A database with no records / কোনো রেকর্ড ছাড়া একটি ডাটাবেস

Q82. In word processing, page orientation can be either: / ওয়ার্ড প্রসেসিংয়ে, পৃষ্ঠা ওরিয়েন্টেশন হতে পারে:

  1. Left or Right / বাম বা ডান
  2. Up or Down / উপরে বা নীচে
  3. Portrait or Landscape / পোর্ট্রেট বা ল্যান্ডস্কেপ
  4. Open or Closed / খোলা বা বন্ধ

Q83. Which character is used to pipe the output of one command to the input of another in both Windows and Linux? / উইন্ডোজ এবং লিনাক্স উভয় ক্ষেত্রে একটি কমান্ডের আউটপুটকে অন্যটির ইনপুটে পাইপ করতে কোন অক্ষরটি ব্যবহৃত হয়?

  1. `>`
  2. `<`
  3. `|`
  4. `&`

Q84. What is the main difference between system software and application software? / সিস্টেম সফটওয়্যার এবং অ্যাপ্লিকেশন সফটওয়্যারের মধ্যে প্রধান পার্থক্য কী?

  1. System software is free, application software is not / সিস্টেম সফটওয়্যার বিনামূল্যে, অ্যাপ্লিকেশন সফটওয়্যার নয়
  2. System software runs the computer’s hardware and provides a platform, while application software performs user-specific tasks / সিস্টেম সফটওয়্যার কম্পিউটারের হার্ডওয়্যার চালায় এবং একটি প্ল্যাটফর্ম সরবরাহ করে, যখন অ্যাপ্লিকেশন সফটওয়্যার ব্যবহারকারী-নির্দিষ্ট কাজ সম্পাদন করে
  3. System software is written in low-level languages, application software in high-level languages / সিস্টেম সফটওয়্যার নিম্ন-স্তরের ভাষায় লেখা হয়, অ্যাপ্লিকেশন সফটওয়্যার উচ্চ-স্তরের ভাষায়
  4. There is no difference / কোনো পার্থক্য নেই

Q85. In a spreadsheet, if you want to count the number of cells in a range that contain numbers, you would use which function? / একটি স্প্রেডশিটে, যদি আপনি একটি পরিসরে সংখ্যা ধারণকারী সেলের সংখ্যা গণনা করতে চান, তাহলে আপনি কোন ফাংশনটি ব্যবহার করবেন?

  1. `COUNT()`
  2. `COUNTA()`
  3. `SUM()`
  4. `LEN()`

Q86. Which command is used to display text on the screen in a DOS batch file or Linux shell script? / একটি DOS ব্যাচ ফাইল বা লিনাক্স শেল স্ক্রিপ্টে স্ক্রিনে টেক্সট প্রদর্শন করতে কোন কমান্ড ব্যবহার করা হয়?

  1. `PRINT`
  2. `DISPLAY`
  3. `WRITE`
  4. `ECHO`

Q87. What does the term ‘data validation’ mean in the context of databases and spreadsheets? / ডাটাবেস এবং স্প্রেডশিটের প্রসঙ্গে ‘ডেটা ভ্যালিডেশন’ শব্দটির অর্থ কী?

  1. The process of backing up data / ডেটা ব্যাক আপ করার প্রক্রিয়া
  2. The process of ensuring that data entered is sensible and conforms to predefined rules / প্রবেশ করা ডেটা বোধগম্য এবং পূর্বনির্ধারিত নিয়ম মেনে চলে তা নিশ্চিত করার প্রক্রিয়া
  3. The process of sorting data alphabetically / ডেটাকে বর্ণানুক্রমিকভাবে সাজানোর প্রক্রিয়া
  4. The process of visualizing data with charts / চার্ট দিয়ে ডেটা ভিজ্যুয়ালাইজ করার প্রক্রিয়া

Q88. Which command removes an empty directory in DOS/Windows and Linux? / কোন কমান্ডটি DOS/Windows এবং Linux-এ একটি খালি ডিরেক্টরি মুছে ফেলে?

  1. `DEL`
  2. `ERASE`
  3. `RD` or `RMDIR`
  4. `RM -R`

Q89. In a word processor, what does the ‘undo’ function typically do? / একটি ওয়ার্ড প্রসেসরে, ‘আনডু’ ফাংশনটি সাধারণত কী কাজ করে?

  1. Saves the document / ডকুমেন্টটি সংরক্ষণ করে
  2. Deletes the entire document / সম্পূর্ণ ডকুমেন্টটি মুছে ফেলে
  3. Reverts the last action performed / সঞ্চালিত শেষ ক্রিয়াটি বাতিল করে
  4. Repeats the last action performed / সঞ্চালিত শেষ ক্রিয়াটির পুনরাবৃত্তি করে

Q90. Which of these is a popular, modern, open-source relational database management system (RDBMS)? / এর মধ্যে কোনটি একটি জনপ্রিয়, আধুনিক, ওপেন-সোর্স রিলেশনাল ডাটাবেস ম্যানেজমেন্ট সিস্টেম (RDBMS)?

  1. StarOffice Base
  2. Microsoft Access
  3. MySQL / PostgreSQL
  4. dBase IV

Q91. The concept of using folders/directories to organize files is an example of what kind of system? / ফাইল সংগঠিত করার জন্য ফোল্ডার/ডিরেক্টরি ব্যবহার করার ধারণাটি কোন ধরনের সিস্টেমের উদাহরণ?

  1. A flat file system / একটি ফ্ল্যাট ফাইল সিস্টেম
  2. A hierarchical file system / একটি হায়ারার্কিকাল ফাইল সিস্টেম
  3. A relational file system / একটি রিলেশনাল ফাইল সিস্টেম
  4. A chronological file system / একটি কালানুক্রমিক ফাইল সিস্টেম

Q92. The `FORMAT` command in DOS/Windows is a destructive command that: / DOS/Windows-এ `FORMAT` কমান্ডটি একটি ধ্বংসাত্মক কমান্ড যা:

  1. Organizes files on a disk / একটি ডিস্কে ফাইল সংগঠিত করে
  2. Prepares a disk for use by creating a new file system and erases all existing data / একটি নতুন ফাইল সিস্টেম তৈরি করে একটি ডিস্ক ব্যবহারের জন্য প্রস্তুত করে এবং বিদ্যমান সমস্ত ডেটা মুছে ফেলে
  3. Copies the format of one file to another / একটি ফাইলের ফরম্যাট অন্যটিতে অনুলিপি করে
  4. Changes the date and time format of the system / সিস্টেমের তারিখ এবং সময় ফরম্যাট পরিবর্তন করে

Q93. A loop in a batch file can be created using the `FOR` command combined with: / একটি ব্যাচ ফাইলে একটি লুপ `FOR` কমান্ডের সাথে কীসের সমন্বয়ে তৈরি করা যেতে পারে?

  1. A list of files (e.g., `FOR %f IN (*.txt) DO…`) / ফাইলের একটি তালিকা (যেমন, `FOR %f IN (*.txt) DO…`)
  2. A range of numbers / সংখ্যার একটি পরিসর
  3. The output of another command / অন্য একটি কমান্ডের আউটপুট
  4. All of the above / উপরের সবগুলো

Q94. In a spreadsheet, a ‘Pivot Table’ is a powerful tool used for: / একটি স্প্রেডশিটে, ‘পিভট টেবিল’ একটি শক্তিশালী সরঞ্জাম যা ব্যবহৃত হয়:

  1. Creating graphical charts / গ্রাফিকাল চার্ট তৈরি করা
  2. Summarizing, grouping, and analyzing large amounts of data / প্রচুর পরিমাণে ডেটা সংক্ষিপ্ত করা, গোষ্ঠীভুক্ত করা এবং বিশ্লেষণ করা
  3. Writing complex mathematical formulas / জটিল গাণিতিক ফর্মুলা লেখা
  4. Validating data entry / ডেটা এন্ট্রি যাচাই করা

Q95. Which of the following is an example of a text editor, often used for shell programming, rather than a full word processor? / নিচের কোনটি একটি টেক্সট এডিটরের উদাহরণ, যা প্রায়শই শেল প্রোগ্রামিংয়ের জন্য ব্যবহৃত হয়, একটি পূর্ণাঙ্গ ওয়ার্ড প্রসেসরের পরিবর্তে?

  1. Microsoft Word
  2. StarOffice Writer
  3. Notepad (Windows) or vi/nano (Linux)
  4. StarOffice Calc

Q96. The `>` character in shell commands is used for: / শেল কমান্ডে `>` অক্ষরটি ব্যবহৃত হয়:

  1. Input redirection / ইনপুট রিডাইরেকশন
  2. Output redirection (overwrite) / আউটপুট রিডাইরেকশন (ওভাররাইট)
  3. Piping / পাইপিং
  4. Appending output / আউটপুট যুক্ত করা

Q97. In a database application like StarOffice Base, what is the role of an ‘Index’? / স্টারঅফিস বেসের মতো একটি ডাটাবেস অ্যাপ্লিকেশনে, ‘ইনডেক্স’-এর ভূমিকা কী?

  1. To provide a user-friendly interface / একটি ব্যবহারকারী-বান্ধব ইন্টারফেস প্রদান করা
  2. To create a printed summary of the data / ডেটার একটি মুদ্রিত সারসংক্ষেপ তৈরি করা
  3. To speed up the retrieval of records from a table / একটি টেবিল থেকে রেকর্ড পুনরুদ্ধার দ্রুত করা
  4. To enforce data validation rules / ডেটা ভ্যালিডেশন নিয়ম প্রয়োগ করা

Q98. To set a variable in a Windows batch file, you use the command: / একটি উইন্ডোজ ব্যাচ ফাইলে একটি ভেরিয়েবল সেট করতে, আপনি কমান্ডটি ব্যবহার করেন:

  1. `VAR name=value`
  2. `SET name=value`
  3. `LET name=value`
  4. `name := value`

Q99. The combination of a spreadsheet and a database in a single package is a key feature of: / একটি একক প্যাকেজে একটি স্প্রেডশিট এবং একটি ডাটাবেসের সংমিশ্রণ একটি মূল বৈশিষ্ট্য হলো:

  1. Operating Systems like Windows / উইন্ডোজের মতো অপারেটিং সিস্টেম
  2. Office Suites like StarOffice/LibreOffice / স্টারঅফিস/লিব্রেঅফিসের মতো অফিস স্যুট
  3. Text Editors like Notepad / নোটপ্যাডের মতো টেক্সট এডিটর
  4. Web Browsers like Chrome / ক্রোমের মতো ওয়েব ব্রাউজার

Q100. The core component of the Linux operating system, which manages the system’s resources, is called the: / লিনাক্স অপারেটিং সিস্টেমের মূল উপাদান, যা সিস্টেমের সম্পদ পরিচালনা করে, তাকে বলা হয়:

  1. Shell / শেল
  2. Kernel / কার্নেল
  3. GUI / জিইউআই
  4. Bootloader / বুটলোডার

WBSSC SLST Computer Science IX & X : Software and Packages Read More »

SLST Computer Science

WBSSC SLST Computer Science IX & XN : Programming Languages & Concepts

100 MCQs on Programming Concepts

1. Which of the following is a procedural programming language?

১. নিচের কোনটি একটি প্রসিডিউরাল প্রোগ্রামিং ল্যাঙ্গুয়েজ?

  • A) Java
  • B) C++
  • C) C
  • D) Python

Correct Answer: C) C

Explanation: C is a classic example of a procedural language, where programs are organized around procedures or functions. Java, C++, and Python are primarily object-oriented, although they support procedural paradigms.

ব্যাখ্যা: C একটি প্রসিডিউরাল ল্যাঙ্গুয়েজের ক্লাসিক উদাহরণ, যেখানে প্রোগ্রামগুলি প্রসিডিউর বা ফাংশনকে কেন্দ্র করে সাজানো হয়। Java, C++ এবং Python মূলত অবজেক্ট-ওরিয়েন্টেড, যদিও তারা প্রসিডিউরাল ধারণাকেও সমর্থন করে।

2. What does OOP stand for?

২. OOP-এর পূর্ণরূপ কী?

  • A) Object-oriented Protocol
  • B) Object-oriented Programming
  • C) Open-source Object Programming
  • D) Original Object Paradigm

Correct Answer: B) Object-oriented Programming

Explanation: OOP stands for Object-Oriented Programming, a programming paradigm based on the concept of “objects”, which can contain data and code.

ব্যাখ্যা: OOP-এর পূর্ণরূপ হলো অবজেক্ট-ওরিয়েন্টেড প্রোগ্রামিং, যা “অবজেক্ট” ধারণার উপর ভিত্তি করে একটি প্রোগ্রামিং প্যারাডাইম। এই অবজেক্টগুলিতে ডেটা এবং কোড উভয়ই থাকতে পারে।

3. In C++, which keyword is used to create a new object (instance of a class)?

৩. C++ এ, একটি নতুন অবজেক্ট (ক্লাসের ইনস্ট্যান্স) তৈরি করতে কোন কীওয়ার্ড ব্যবহার করা হয়?

  • A) new
  • B) create
  • C) object
  • D) instance

Correct Answer: A) new

Explanation: The `new` keyword in C++ is used to dynamically allocate memory for an object and returns a pointer to that object.

ব্যাখ্যা: C++ এ `new` কীওয়ার্ডটি ডাইনামিকভাবে একটি অবজেক্টের জন্য মেমরি বরাদ্দ করতে ব্যবহৃত হয় এবং সেই অবজেক্টের একটি পয়েন্টার রিটার্ন করে।

4. Which of the following is NOT a fundamental data type in C?

৪. নিচের কোনটি C-এর একটি মৌলিক ডেটা টাইপ নয়?

  • A) int
  • B) float
  • C) string
  • D) char

Correct Answer: C) string

Explanation: C does not have a built-in `string` data type. Strings in C are implemented as an array of characters (`char[]`) terminated by a null character (`\0`).

ব্যাখ্যা: C-তে কোনো বিল্ট-ইন `string` ডেটা টাইপ নেই। C-তে স্ট্রিংগুলিকে ক্যারেক্টার অ্যারে (`char[]`) হিসেবে প্রয়োগ করা হয়, যা একটি নাল ক্যারেক্টার (`\0`) দ্বারা শেষ হয়।

5. The concept of wrapping data and functions into a single unit is called?

৫. ডেটা এবং ফাংশনগুলিকে একটি একক ইউনিটে আবদ্ধ করার ধারণাকে কী বলা হয়?

  • A) Inheritance
  • B) Polymorphism
  • C) Abstraction
  • D) Encapsulation

Correct Answer: D) Encapsulation

Explanation: Encapsulation is one of the fundamental principles of OOP. It refers to the bundling of data (attributes) and the methods (functions) that operate on the data into a single unit called a class.

ব্যাখ্যা: এনক্যাপসুলেশন হলো OOP-এর অন্যতম মৌলিক নীতি। এটি ডেটা (অ্যাট্রিবিউট) এবং সেই ডেটার উপর কাজ করে এমন মেথড (ফাংশন) গুলিকে একটি একক ইউনিটে (ক্লাস) একত্রিত করাকে বোঝায়।

6. What is the purpose of the `PRINT` statement in BASIC language?

৬. BASIC ভাষায় `PRINT` স্টেটমেন্টের উদ্দেশ্য কী?

  • A) To take input from the user
  • B) To display output on the screen
  • C) To declare a variable
  • D) To perform a calculation

Correct Answer: B) To display output on the screen

Explanation: In BASIC (Beginner’s All-purpose Symbolic Instruction Code), the `PRINT` statement is used to show text or the value of variables on the output screen.

ব্যাখ্যা: BASIC (বিগিনার্স অল-পারপাস সিম্বলিক ইন্সট্রাকশন কোড) এ, `PRINT` স্টেটমেন্টটি আউটপুট স্ক্রিনে টেক্সট বা ভেরিয়েবলের মান প্রদর্শন করতে ব্যবহৃত হয়।

7. A flowchart that outlines the main segments of a program is called a?

৭. একটি ফ্লোচার্ট যা একটি প্রোগ্রামের প্রধান অংশগুলির রূপরেখা দেয়, তাকে কী বলা হয়?

  • A) Micro flowchart
  • B) Macro flowchart
  • C) Detail flowchart
  • D) System flowchart

Correct Answer: B) Macro flowchart

Explanation: A macro flowchart provides a high-level overview of a program’s structure, showing the main modules and the flow of control between them, without going into the details of each module.

ব্যাখ্যা: একটি ম্যাক্রো ফ্লোচার্ট একটি প্রোগ্রামের কাঠামোর একটি উচ্চ-স্তরের চিত্র প্রদান করে, যা প্রতিটি মডিউলের বিস্তারিত বিবরণে না গিয়ে প্রধান মডিউল এবং তাদের মধ্যে নিয়ন্ত্রণের প্রবাহ দেখায়।

8. In C, what does `sizeof(int)` return?

৮. C-তে, `sizeof(int)` কী রিটার্ন করে?

  • A) The value of an integer
  • B) The memory address of an integer
  • C) The size of an integer in bytes
  • D) The maximum value an integer can hold

Correct Answer: C) The size of an integer in bytes

Explanation: The `sizeof` operator in C is a compile-time unary operator that returns the size, in bytes, of its operand. `sizeof(int)` returns the number of bytes allocated to store an integer, which can vary depending on the system architecture (e.g., 4 bytes on a 32-bit system).

ব্যাখ্যা: C-তে `sizeof` অপারেটরটি একটি কম্পাইল-টাইম ইউনারি অপারেটর যা তার অপারেন্ডের আকার বাইটে রিটার্ন করে। `sizeof(int)` একটি ইন্টিজার সংরক্ষণের জন্য বরাদ্দকৃত বাইটের সংখ্যা রিটার্ন করে, যা সিস্টেম আর্কিটেকচারের উপর নির্ভর করে পরিবর্তিত হতে পারে (যেমন, একটি 32-বিট সিস্টেমে 4 বাইট)।

9. Which data structure follows the LIFO (Last-In, First-Out) principle?

৯. কোন ডেটা স্ট্রাকচার LIFO (লাস্ট-ইন, ফার্স্ট-আউট) নীতি অনুসরণ করে?

  • A) Queue
  • B) Stack
  • C) Linked List
  • D) Tree

Correct Answer: B) Stack

Explanation: A stack is a linear data structure that follows the LIFO principle. The last element added to the stack is the first one to be removed. Think of a stack of plates.

ব্যাখ্যা: স্ট্যাক একটি লিনিয়ার ডেটা স্ট্রাকচার যা LIFO নীতি অনুসরণ করে। স্ট্যাকে যে উপাদানটি শেষে যোগ করা হয়, সেটিই প্রথমে সরানো হয়। এটি প্লেটের স্ট্যাকের মতো।

10. A function that calls itself is known as a?

১০. একটি ফাংশন যা নিজেকে কল করে, তাকে কী বলা হয়?

  • A) Recursive function
  • B) Inline function
  • C) Friend function
  • D) Virtual function

Correct Answer: A) Recursive function

Explanation: Recursion is a programming technique where a function calls itself directly or indirectly to solve a problem. It must have a base case to stop the recursion.

ব্যাখ্যা: রিকার্সন একটি প্রোগ্রামিং কৌশল যেখানে একটি ফাংশন কোনো সমস্যা সমাধানের জন্য প্রত্যক্ষ বা পরোক্ষভাবে নিজেকে কল করে। রিকার্সন থামানোর জন্য এটির একটি বেস কেস থাকা আবশ্যক।

11. What is a pointer in C/C++?

১১. C/C++ এ পয়েন্টার কী?

  • A) A variable that stores the value of another variable
  • B) A variable that stores the memory address of another variable
  • C) A special keyword for functions
  • D) A data type for storing decimal numbers

Correct Answer: B) A variable that stores the memory address of another variable

Explanation: A pointer is a special variable that is designed to store the memory address of another variable. It “points” to the location of the data in memory.

ব্যাখ্যা: পয়েন্টার হলো একটি বিশেষ ভেরিয়েবল যা অন্য একটি ভেরিয়েবলের মেমরি অ্যাড্রেস সংরক্ষণ করার জন্য ডিজাইন করা হয়েছে। এটি মেমরিতে ডেটার অবস্থানে “পয়েন্ট” করে।

12. Which of these allows a class to inherit properties from more than one class?

১২. নিচের কোনটি একটি ক্লাসকে একাধিক ক্লাস থেকে বৈশিষ্ট্য ইনহেরিট করার অনুমতি দেয়?

  • A) Single Inheritance
  • B) Multilevel Inheritance
  • C) Multiple Inheritance
  • D) Hierarchical Inheritance

Correct Answer: C) Multiple Inheritance

Explanation: Multiple inheritance is a feature of some object-oriented languages like C++ where a class can inherit attributes and methods from more than one parent class.

ব্যাখ্যা: মাল্টিপল ইনহেরিটেন্স C++ এর মতো কিছু অবজেক্ট-ওরিয়েন্টেড ল্যাঙ্গুয়েজের একটি বৈশিষ্ট্য, যেখানে একটি ক্লাস একাধিক প্যারেন্ট ক্লাস থেকে অ্যাট্রিবিউট এবং মেথড ইনহেরিট করতে পারে।

13. The `&` operator in C is used for?

১৩. C-তে `&` অপারেটরটি কীসের জন্য ব্যবহৃত হয়?

  • A) Value at address
  • B) Address of
  • C) Bitwise AND
  • D) Both B and C

Correct Answer: D) Both B and C

Explanation: The `&` symbol has two meanings in C. As a unary operator, it is the “address-of” operator (`&variable`). As a binary operator, it performs a bitwise AND operation (`a & b`).

ব্যাখ্যা: C-তে `&` চিহ্নের দুটি অর্থ রয়েছে। একটি ইউনারি অপারেটর হিসাবে, এটি “অ্যাড্রেস-অফ” অপারেটর (`&variable`)। একটি বাইনারি অপারেটর হিসাবে, এটি একটি বিটওয়াইজ AND অপারেশন (`a & b`) সম্পাদন করে।

14. Which concept allows a function or operator to have different meanings in different contexts?

১৪. কোন ধারণাটি একটি ফাংশন বা অপারেটরকে বিভিন্ন প্রসঙ্গে বিভিন্ন অর্থ ধারণ করার অনুমতি দেয়?

  • A) Encapsulation
  • B) Inheritance
  • C) Polymorphism
  • D) Abstraction

Correct Answer: C) Polymorphism

Explanation: Polymorphism, meaning “many forms,” allows the same interface (like a function name or operator) to be used for different underlying data types. Function overloading and operator overloading are examples of compile-time polymorphism.

ব্যাখ্যা: পলিমরফিজম, যার অর্থ “বহুরূপতা”, একই ইন্টারফেসকে (যেমন একটি ফাংশনের নাম বা অপারেটর) বিভিন্ন ডেটা টাইপের জন্য ব্যবহার করার অনুমতি দেয়। ফাংশন ওভারলোডিং এবং অপারেটর ওভারলোডিং হলো কম্পাইল-টাইম পলিমরফিজমের উদাহরণ।

15. What is the default access specifier for members of a class in C++?

১৫. C++ এ একটি ক্লাসের সদস্যদের জন্য ডিফল্ট অ্যাক্সেস স্পেসিফায়ার কী?

  • A) public
  • B) private
  • C) protected
  • D) No default

Correct Answer: B) private

Explanation: In C++, if you do not specify an access specifier for members of a class, they are `private` by default. For a `struct`, they are `public` by default.

ব্যাখ্যা: C++ এ, যদি আপনি একটি ক্লাসের সদস্যদের জন্য কোনো অ্যাক্সেস স্পেসিফায়ার উল্লেখ না করেন, তবে তারা ডিফল্টভাবে `private` হয়। একটি `struct` এর জন্য, তারা ডিফল্টভাবে `public` হয়।

16. Which of the following is a primitive data structure?

১৬. নিচের কোনটি একটি প্রিমিটিভ ডেটা স্ট্রাকচার?

  • A) Array
  • B) Stack
  • C) Integer
  • D) Linked List

Correct Answer: C) Integer

Explanation: Primitive data structures are the most basic structures and are directly operated upon by machine instructions. Examples include integer, float, character, and boolean. Arrays, stacks, and linked lists are non-primitive (or composite) data structures.

ব্যাখ্যা: প্রিমিটিভ ডেটা স্ট্রাকচার হলো সবচেয়ে মৌলিক স্ট্রাকচার এবং মেশিন ইন্সট্রাকশন দ্বারা সরাসরি চালিত হয়। এর উদাহরণ হলো ইন্টিজার, ফ্লোট, ক্যারেক্টার এবং বুলিয়ান। অ্যারে, স্ট্যাক এবং লিঙ্কড লিস্ট হলো নন-প্রিমিটিভ (বা কম্পোজিট) ডেটা স্ট্রাকচার।

17. A compiler translates source code into…?

১৭. একটি কম্পাইলার সোর্স কোডকে কিসে অনুবাদ করে?

  • A) Assembly code
  • B) Machine code
  • C) Bytecode
  • D) All of the above are possible

Correct Answer: D) All of the above are possible

Explanation: A compiler’s job is to translate high-level source code. Depending on the language and compiler, the target can be machine code (like for C/C++), assembly code (which is then assembled into machine code), or an intermediate representation like bytecode (like for Java).

ব্যাখ্যা: একটি কম্পাইলারের কাজ হলো উচ্চ-স্তরের সোর্স কোড অনুবাদ করা। ল্যাঙ্গুয়েজ এবং কম্পাইলারের উপর নির্ভর করে, এর টার্গেট হতে পারে মেশিন কোড (যেমন C/C++ এর জন্য), অ্যাসেম্বলি কোড (যা পরে মেশিন কোডে রূপান্তরিত হয়), অথবা বাইটকোডের মতো একটি মধ্যবর্তী কোড (যেমন Java-এর জন্য)।

18. In BASIC, which command is used to take input from the user?

১৮. BASIC-এ, ব্যবহারকারীর কাছ থেকে ইনপুট নিতে কোন কমান্ড ব্যবহার করা হয়?

  • A) GET
  • B) READ
  • C) INPUT
  • D) TAKE

Correct Answer: C) INPUT

Explanation: The `INPUT` statement in the BASIC language is used to prompt the user for data and store the entered value into a variable.

ব্যাখ্যা: BASIC ভাষায় `INPUT` স্টেটমেন্টটি ব্যবহারকারীকে ডেটার জন্য অনুরোধ করতে এবং প্রবেশ করানো মান একটি ভেরিয়েবলে সংরক্ষণ করতে ব্যবহৃত হয়।

19. What is the role of a constructor in a C++ class?

১৯. একটি C++ ক্লাসে কনস্ট্রাক্টরের ভূমিকা কী?

  • A) To destroy the object
  • B) To initialize the data members of an object
  • C) To copy an object
  • D) To perform a calculation

Correct Answer: B) To initialize the data members of an object

Explanation: A constructor is a special member function of a class that is automatically called when an object of that class is created. Its primary purpose is to initialize the object’s data members.

ব্যাখ্যা: কনস্ট্রাক্টর হলো একটি ক্লাসের বিশেষ সদস্য ফাংশন যা সেই ক্লাসের একটি অবজেক্ট তৈরি করার সময় স্বয়ংক্রিয়ভাবে কল হয়। এর প্রধান উদ্দেশ্য হলো অবজেক্টের ডেটা সদস্যদের ইনিশিয়ালাইজ (initialize) করা।

20. Which data structure uses FIFO (First-In, First-Out) principle?

২০. কোন ডেটা স্ট্রাকচার FIFO (ফার্স্ট-ইন, ফার্স্ট-আউট) নীতি ব্যবহার করে?

  • A) Stack
  • B) Queue
  • C) Tree
  • D) Graph

Correct Answer: B) Queue

Explanation: A queue is a linear data structure that follows the FIFO principle. The first element added to the queue will be the first one to be removed, similar to a line of people waiting for a service.

ব্যাখ্যা: কিউ (Queue) একটি লিনিয়ার ডেটা স্ট্রাকচার যা FIFO নীতি অনুসরণ করে। কিউতে যে উপাদানটি প্রথমে যোগ করা হয়, সেটিই প্রথমে সরানো হয়, যেমন কোনো সেবার জন্য অপেক্ষারত মানুষের লাইন।

21. In program design, what is pseudocode?

২১. প্রোগ্রাম ডিজাইনে, সিউডোকোড (pseudocode) কী?

  • A) A visual representation of an algorithm
  • B) A formal programming language
  • C) An informal, high-level description of an algorithm’s operating principle
  • D) A machine-readable code

Correct Answer: C) An informal, high-level description of an algorithm’s operating principle

Explanation: Pseudocode is not a real programming language. It’s a plain language description of the steps in an algorithm, intended for human reading rather than machine reading. It helps programmers plan an algorithm before writing it in actual code.

ব্যাখ্যা: সিউডোকোড কোনো আসল প্রোগ্রামিং ভাষা নয়। এটি একটি অ্যালগরিদমের ধাপগুলোর একটি সরল ভাষার বর্ণনা, যা মেশিনের পরিবর্তে মানুষের পড়ার জন্য তৈরি। এটি প্রোগ্রামারদের আসল কোড লেখার আগে একটি অ্যালগরিদম পরিকল্পনা করতে সহায়তা করে।

22. What does the `\0` character represent in a C string?

২২. C স্ট্রিং-এ `\0` অক্ষরটি কী নির্দেশ করে?

  • A) A space character
  • B) The start of the string
  • C) The null terminator, marking the end of the string
  • D) An invalid character

Correct Answer: C) The null terminator, marking the end of the string

Explanation: In C, strings are arrays of characters. The end of the string is marked by a special null character, `\0`, called the null terminator. Functions that work with strings rely on this character to know where the string ends.

ব্যাখ্যা: C-তে স্ট্রিং হলো ক্যারেক্টার অ্যারে। স্ট্রিংয়ের শেষ একটি বিশেষ নাল ক্যারেক্টার `\0` দ্বারা চিহ্নিত করা হয়, যাকে নাল টার্মিনেটর বলা হয়। স্ট্রিং নিয়ে কাজ করা ফাংশনগুলো স্ট্রিংয়ের শেষ কোথায় তা জানতে এই অক্ষরের উপর নির্ভর করে।

23. Which concept hides the complex implementation details and shows only the essential features of the object?

২৩. কোন ধারণাটি জটিল বাস্তবায়নের বিবরণ লুকিয়ে রাখে এবং শুধুমাত্র অবজেক্টের প্রয়োজনীয় বৈশিষ্ট্যগুলো দেখায়?

  • A) Encapsulation
  • B) Inheritance
  • C) Abstraction
  • D) Polymorphism

Correct Answer: C) Abstraction

Explanation: Abstraction is the concept of hiding the internal details and showing only the functionality. For example, when you drive a car, you only need to know how to use the steering wheel and pedals (the interface), not how the engine works internally (the implementation).

ব্যাখ্যা: অ্যাবস্ট্রাকশন হলো অভ্যন্তরীণ বিবরণ লুকিয়ে রেখে শুধুমাত্র কার্যকারিতা প্রদর্শন করার ধারণা। উদাহরণস্বরূপ, আপনি যখন একটি গাড়ি চালান, তখন আপনাকে কেবল স্টিয়ারিং হুইল এবং প্যাডেল (ইন্টারফেস) কীভাবে ব্যবহার করতে হয় তা জানতে হবে, ইঞ্জিন অভ্যন্তরীণভাবে কীভাবে কাজ করে (বাস্তবায়ন) তা নয়।

24. In C++, a destructor is a member function that is automatically called when…

২৪. C++ এ, ডেস্ট্রাক্টর একটি সদস্য ফাংশন যা স্বয়ংক্রিয়ভাবে কখন কল করা হয়?

  • A) an object is created
  • B) an object is copied
  • C) an object goes out of scope or is explicitly deleted
  • D) an object’s member is accessed

Correct Answer: C) an object goes out of scope or is explicitly deleted

Explanation: A destructor is the counterpart to the constructor. It is called automatically when an object is destroyed (e.g., when it goes out of scope or when `delete` is called on a pointer to the object). Its purpose is to release resources acquired by the object.

ব্যাখ্যা: ডেস্ট্রাক্টর হলো কনস্ট্রাক্টরের বিপরীত। এটি স্বয়ংক্রিয়ভাবে কল করা হয় যখন একটি অবজেক্ট ধ্বংস হয় (যেমন, যখন এটি স্কোপের বাইরে চলে যায় বা অবজেক্টের পয়েন্টারে `delete` কল করা হয়)। এর উদ্দেশ্য হলো অবজেক্ট দ্বারা অর্জিত রিসোর্স মুক্ত করা।

25. Which of these is a correct way to declare a pointer to an integer in C?

২৫. C-তে একটি ইন্টিজারের জন্য পয়েন্টার ঘোষণা করার সঠিক উপায় কোনটি?

  • A) int p;
  • B) pointer int p;
  • C) int *p;
  • D) int &p;

Correct Answer: C) int *p;

Explanation: In C and C++, a pointer is declared using the asterisk `*` symbol between the data type and the variable name. `int *p;` declares `p` as a pointer that can hold the address of an integer variable.

ব্যাখ্যা: C এবং C++ এ, ডেটা টাইপ এবং ভেরিয়েবলের নামের মধ্যে অ্যাস্টেরিস্ক `*` চিহ্ন ব্যবহার করে একটি পয়েন্টার ঘোষণা করা হয়। `int *p;` ঘোষণা করে যে `p` একটি পয়েন্টার যা একটি ইন্টিজার ভেরিয়েবলের অ্যাড্রেস ধারণ করতে পারে।

26. An array is a collection of elements of…

২৬. একটি অ্যারে হলো … উপাদানের একটি সংগ্রহ।

  • A) Different data types
  • B) The same data type
  • C) Only integers
  • D) Only characters

Correct Answer: B) The same data type

Explanation: An array is a fundamental data structure that stores a collection of elements of the same data type in contiguous memory locations. This allows for efficient access to elements using an index.

ব্যাখ্যা: অ্যারে একটি মৌলিক ডেটা স্ট্রাকচার যা একই ডেটা টাইপের উপাদানগুলির একটি সংগ্রহকে সংলগ্ন মেমরি অবস্থানে সংরক্ষণ করে। এটি একটি ইন্ডেক্স ব্যবহার করে উপাদানগুলিতে কার্যকর অ্যাক্সেসের অনুমতি দেয়।

27. Which keyword in C++ is used to prevent a method from being overridden in a derived class?

২৭. C++ এ কোন কীওয়ার্ড একটি ডিরাইভড ক্লাসে মেথডকে ওভাররাইড করা থেকে বিরত রাখতে ব্যবহৃত হয়?

  • A) static
  • B) const
  • C) final
  • D) sealed

Correct Answer: C) final

Explanation: In modern C++ (C++11 and later), the `final` specifier is used to indicate that a virtual function cannot be overridden in a derived class, or that a class cannot be inherited from.

ব্যাখ্যা: আধুনিক C++ (C++11 এবং পরবর্তী) এ, `final` স্পেসিফায়ারটি বোঝাতে ব্যবহৃত হয় যে একটি ভার্চুয়াল ফাংশন কোনো ডিরাইভড ক্লাসে ওভাররাইড করা যাবে না, অথবা একটি ক্লাস থেকে ইনহেরিট করা যাবে না।

28. What is the main difference between a `struct` and a `class` in C++?

২৮. C++ এ `struct` এবং `class` এর মধ্যে প্রধান পার্থক্য কী?

  • A) `struct` cannot have member functions
  • B) `class` members are `public` by default, `struct` members are `private`
  • C) `class` members are `private` by default, `struct` members are `public`
  • D) There is no difference

Correct Answer: C) `class` members are `private` by default, `struct` members are `public`

Explanation: The only difference between a `class` and a `struct` in C++ is the default access level. For a `class`, members are `private` by default. For a `struct`, members are `public` by default.

ব্যাখ্যা: C++ এ `class` এবং `struct` এর মধ্যে একমাত্র পার্থক্য হলো ডিফল্ট অ্যাক্সেস লেভেল। একটি `class` এর জন্য, সদস্যরা ডিফল্টভাবে `private` হয়। একটি `struct` এর জন্য, সদস্যরা ডিফল্টভাবে `public` হয়।

29. Which C standard library header is required for dynamic memory allocation functions like `malloc()` and `free()`?

২৯. `malloc()` এবং `free()` এর মতো ডাইনামিক মেমরি অ্যালোকেশন ফাংশনের জন্য কোন C স্ট্যান্ডার্ড লাইব্রেরি হেডার প্রয়োজন?

  • A) <stdio.h>
  • B) <string.h>
  • C) <math.h>
  • D) <stdlib.h>

Correct Answer: D) <stdlib.h>

Explanation: The Standard Library header `` (or `` in C++) contains declarations for general purpose functions, including dynamic memory management (`malloc`, `calloc`, `realloc`, `free`), random number generation, and string conversions.

ব্যাখ্যা: স্ট্যান্ডার্ড লাইব্রেরি হেডার `` (বা C++ এ ``) তে সাধারণ উদ্দেশ্যে ব্যবহৃত ফাংশনের ঘোষণা থাকে, যার মধ্যে ডাইনামিক মেমরি ম্যানেজমেন্ট (`malloc`, `calloc`, `realloc`, `free`), র‍্যান্ডম সংখ্যা তৈরি এবং স্ট্রিং রূপান্তর অন্তর্ভুক্ত।

30. In BASIC, what does the `LET` keyword do?

৩০. BASIC-এ `LET` কীওয়ার্ড কী কাজ করে?

  • A) It defines a subroutine
  • B) It assigns a value to a variable
  • C) It creates a loop
  • D) It ends the program

Correct Answer: B) It assigns a value to a variable

Explanation: The `LET` statement is used to assign a value to a variable. For example, `LET X = 10`. In many modern dialects of BASIC, the `LET` keyword is optional.

ব্যাখ্যা: `LET` স্টেটমেন্টটি একটি ভেরিয়েবলে একটি মান নির্ধারণ করতে ব্যবহৃত হয়। উদাহরণস্বরূপ, `LET X = 10`। BASIC-এর অনেক আধুনিক সংস্করণে `LET` কীওয়ার্ডটি ঐচ্ছিক।

31. What is a “virtual function” in C++?

৩১. C++ এ “ভার্চুয়াল ফাংশন” কী?

  • A) A function that does not exist
  • B) A member function in a base class that you expect to be redefined in derived classes
  • C) A function that cannot be overridden
  • D) A global function that can be accessed by any class

Correct Answer: B) A member function in a base class that you expect to be redefined in derived classes

Explanation: A virtual function is a member function declared in a base class and overridden by a derived class. When you refer to a derived class object using a pointer or a reference to the base class, you can call the virtual function for that object and execute the derived class’s version of the function. This is the mechanism for runtime polymorphism.

ব্যাখ্যা: একটি ভার্চুয়াল ফাংশন হলো একটি বেস ক্লাসে ঘোষিত সদস্য ফাংশন যা একটি ডিরাইভড ক্লাস দ্বারা ওভাররাইড করা হয়। যখন আপনি বেস ক্লাসের একটি পয়েন্টার বা রেফারেন্স ব্যবহার করে একটি ডিরাইভড ক্লাস অবজেক্টকে রেফার করেন, তখন আপনি সেই অবজেক্টের জন্য ভার্চুয়াল ফাংশন কল করতে পারেন এবং ডিরাইভড ক্লাসের ফাংশন সংস্করণটি কার্যকর করতে পারেন। এটি রানটাইম পলিমরফিজমের পদ্ধতি।

32. The process of finding and fixing errors in a program is called?

৩২. একটি প্রোগ্রামে ভুল খুঁজে বের করা এবং ঠিক করার প্রক্রিয়াকে কী বলা হয়?

  • A) Compiling
  • B) Linking
  • C) Debugging
  • D) Executing

Correct Answer: C) Debugging

Explanation: Debugging is the systematic process of finding and reducing the number of bugs, or defects, in a computer program, to make it behave as expected.

ব্যাখ্যা: ডিবাগিং হলো একটি কম্পিউটার প্রোগ্রামে বাগ বা ত্রুটির সংখ্যা খুঁজে বের করা এবং কমানোর একটি পদ্ধতিগত প্রক্রিয়া, যাতে এটি প্রত্যাশিত আচরণ করে।

33. Which of the following is an interpreted language?

৩৩. নিচের কোনটি একটি ইন্টারপ্রেটেড ল্যাঙ্গুয়েজ?

  • A) C
  • B) C++
  • C) BASIC
  • D) Assembly

Correct Answer: C) BASIC

Explanation: Traditional BASIC is an interpreted language, where an interpreter executes the program line by line. C, C++, and Assembly are typically compiled languages, where the entire source code is translated to machine code before execution.

ব্যাখ্যা: প্রচলিত BASIC একটি ইন্টারপ্রেটেড ল্যাঙ্গুয়েজ, যেখানে একটি ইন্টারপ্রেটার প্রোগ্রামটি লাইন বাই লাইন এক্সিকিউট করে। C, C++ এবং অ্যাসেম্বলি সাধারণত কম্পাইলড ল্যাঙ্গুয়েজ, যেখানে সম্পূর্ণ সোর্স কোড এক্সিকিউশনের আগে মেশিন কোডে অনুবাদ করা হয়।

34. A `union` in C allows you to…

৩৪. C-তে একটি `union` আপনাকে কী করতে দেয়?

  • A) Store multiple data types simultaneously in the same memory location.
  • B) Store different data types at different times in the same memory location.
  • C) Group related functions together.
  • D) Create a constant variable.

Correct Answer: B) Store different data types at different times in the same memory location.

Explanation: A `union` is a special data type that allows storing different data types in the same memory location. You can define a union with many members, but only one member can contain a value at any given time. The size of the union is the size of its largest member.

ব্যাখ্যা: একটি `union` একটি বিশেষ ডেটা টাইপ যা একই মেমরি অবস্থানে বিভিন্ন ডেটা টাইপ সংরক্ষণ করার অনুমতি দেয়। আপনি অনেক সদস্য সহ একটি ইউনিয়ন সংজ্ঞায়িত করতে পারেন, কিন্তু যেকোনো নির্দিষ্ট সময়ে শুধুমাত্র একজন সদস্যের একটি মান থাকতে পারে। ইউনিয়নের আকার তার বৃহত্তম সদস্যের আকারের সমান।

35. What is “operator overloading” in C++?

৩৫. C++ এ “অপারেটর ওভারলোডিং” কী?

  • A) Giving a new meaning to an existing operator for user-defined types.
  • B) Creating a new operator.
  • C) Deleting an existing operator.
  • D) Using an operator with too many operands.

Correct Answer: A) Giving a new meaning to an existing operator for user-defined types.

Explanation: Operator overloading is a form of polymorphism where an operator like `+`, `-`, or `*` is given a special meaning for a user-defined data type (a class). For example, you could overload the `+` operator to add two complex number objects.

ব্যাখ্যা: অপারেটর ওভারলোডিং হলো পলিমরফিজমের একটি রূপ যেখানে `+`, `-`, বা `*` এর মতো একটি অপারেটরকে একটি ব্যবহারকারী-সংজ্ঞায়িত ডেটা টাইপের (একটি ক্লাস) জন্য একটি বিশেষ অর্থ দেওয়া হয়। উদাহরণস্বরূপ, আপনি দুটি জটিল সংখ্যা অবজেক্ট যোগ করার জন্য `+` অপারেটরকে ওভারলোড করতে পারেন।

36. What is the output of `printf(“%d”, 10/3);` in C?

৩৬. C-তে `printf(“%d”, 10/3);` এর আউটপুট কী হবে?

  • A) 3.333333
  • B) 3.0
  • C) 3
  • D) Compilation Error

Correct Answer: C) 3

Explanation: In C, when two integers are divided, the result is an integer division. The fractional part is truncated (discarded). So, `10 / 3` evaluates to 3.

ব্যাখ্যা: C-তে, যখন দুটি পূর্ণসংখ্যা (integer) ভাগ করা হয়, তখন ফলাফলটিও একটি পূর্ণসংখ্যা হয়। ভগ্নাংশ অংশটি বাদ দেওয়া হয়। তাই, `10 / 3` এর ফল 3 হবে।

37. In OOP, the “is-a” relationship is represented by?

৩৭. OOP-তে, “is-a” সম্পর্কটি কীসের দ্বারা উপস্থাপিত হয়?

  • A) Encapsulation
  • B) Polymorphism
  • C) Inheritance
  • D) Composition

Correct Answer: C) Inheritance

Explanation: The “is-a” relationship signifies that one object is a specialized type of another. This is modeled using inheritance. For example, a `Car` is-a `Vehicle`.

ব্যাখ্যা: “is-a” সম্পর্কটি বোঝায় যে একটি অবজেক্ট অন্য একটির বিশেষায়িত রূপ। এটি ইনহেরিটেন্স ব্যবহার করে মডেল করা হয়। উদাহরণস্বরূপ, একটি `Car` হলো একটি `Vehicle`।

38. Which header file is needed to use `cout` and `cin` in C++?

৩৮. C++ এ `cout` এবং `cin` ব্যবহার করার জন্য কোন হেডার ফাইলের প্রয়োজন?

  • A) <stdio.h>
  • B) <conio.h>
  • C) <iostream>
  • D) <string>

Correct Answer: C) <iostream>

Explanation: The `` header file contains the definitions for the standard input/output stream objects, such as `cin` (standard input), `cout` (standard output), and `cerr` (standard error).

ব্যাখ্যা: `` হেডার ফাইলে স্ট্যান্ডার্ড ইনপুট/আউটপুট স্ট্রিম অবজেক্টের সংজ্ঞা রয়েছে, যেমন `cin` (স্ট্যান্ডার্ড ইনপুট), `cout` (স্ট্যান্ডার্ড আউটপুট), এবং `cerr` (স্ট্যান্ডার্ড এরর)।

39. A node in a singly linked list contains a data field and a…?

৩৯. একটি সিঙ্গল লিঙ্কড লিস্টের নোডে একটি ডেটা ফিল্ড এবং একটি … থাকে।

  • A) Pointer to the previous node
  • B) Pointer to the next node
  • C) Pointer to the head node
  • D) An integer value

Correct Answer: B) Pointer to the next node

Explanation: Each node in a singly linked list consists of two parts: the data itself and a pointer (or link) to the next node in the sequence. The last node’s pointer is typically `NULL`.

ব্যাখ্যা: একটি সিঙ্গল লিঙ্কড লিস্টের প্রতিটি নোড দুটি অংশ নিয়ে গঠিত: ডেটা এবং ক্রমের পরবর্তী নোডের একটি পয়েন্টার (বা লিঙ্ক)। শেষ নোডের পয়েন্টারটি সাধারণত `NULL` হয়।

40. In object-oriented programming, an object is an instance of a…?

৪০. অবজেক্ট-ওরিয়েন্টেড প্রোগ্রামিং-এ, একটি অবজেক্ট হলো একটি … এর ইনস্ট্যান্স।

  • A) Method
  • B) Class
  • C) Variable
  • D) Program

Correct Answer: B) Class

Explanation: A class is a blueprint for creating objects. An object is a concrete instance of a class, with actual values for the attributes defined in the class.

ব্যাখ্যা: একটি ক্লাস হলো অবজেক্ট তৈরির একটি ব্লুপ্রিন্ট। একটি অবজেক্ট হলো ক্লাসের একটি বাস্তব উদাহরণ, যেখানে ক্লাসে সংজ্ঞায়িত বৈশিষ্ট্যগুলির জন্য আসল মান থাকে।

41. In C++, what is the `this` pointer?

৪১. C++ এ `this` পয়েন্টার কী?

  • A) A pointer to the base class
  • B) A pointer to the current object invoking the member function
  • C) A null pointer
  • D) A pointer to a static member

Correct Answer: B) A pointer to the current object invoking the member function

Explanation: The `this` pointer is an implicit pointer that is available to all non-static member functions of a class. It points to the specific object on which the member function was called.

ব্যাখ্যা: `this` পয়েন্টার হলো একটি অপ্রকাশিত (implicit) পয়েন্টার যা একটি ক্লাসের সমস্ত নন-স্ট্যাটিক সদস্য ফাংশনের জন্য উপলব্ধ। এটি সেই নির্দিষ্ট অবজেক্টের দিকে নির্দেশ করে যার উপর সদস্য ফাংশনটি কল করা হয়েছিল।

42. What is an algorithm?

৪২. অ্যালগরিদম কী?

  • A) A computer program
  • B) A flowchart
  • C) A step-by-step procedure for solving a problem
  • D) A programming language syntax

Correct Answer: C) A step-by-step procedure for solving a problem

Explanation: An algorithm is a well-defined, finite set of instructions or rules designed to perform a specific task or solve a particular problem. It is the logical foundation of a program.

ব্যাখ্যা: অ্যালগরিদম হলো একটি নির্দিষ্ট কাজ সম্পাদন বা কোনো বিশেষ সমস্যা সমাধানের জন্য ডিজাইন করা সুস্পষ্ট, সসীম নির্দেশাবলী বা নিয়মের একটি সেট। এটি একটি প্রোগ্রামের যৌক্তিক ভিত্তি।

43. Which of the following is not a type of inheritance?

৪৩. নিচের কোনটি ইনহেরিটেন্সের একটি প্রকার নয়?

  • A) Multiple
  • B) Multilevel
  • C) Distributed
  • D) Hierarchical

Correct Answer: C) Distributed

Explanation: Multiple, Multilevel, Single, and Hierarchical are all valid types of inheritance in object-oriented programming. “Distributed” is not a standard type of inheritance; it relates to distributed computing.

ব্যাখ্যা: মাল্টিপল, মাল্টিলেভেল, সিঙ্গেল এবং হায়ারারকিক্যাল হলো অবজেক্ট-ওরিয়েন্টেড প্রোগ্রামিং-এ ইনহেরিটেন্সের বৈধ প্রকার। “ডিস্ট্রিবিউটেড” ইনহেরিটেন্সের কোনো স্ট্যান্ডার্ড প্রকার নয়; এটি ডিস্ট্রিবিউটেড কম্পিউটিং এর সাথে সম্পর্কিত।

44. The `const` keyword in C is used to…

৪৪. C-তে `const` কীওয়ার্ডটি কীসের জন্য ব্যবহৃত হয়?

  • A) Make a variable’s value unmodifiable
  • B) Declare a static variable
  • C) Declare a global variable
  • D) Make a variable volatile

Correct Answer: A) Make a variable’s value unmodifiable

Explanation: The `const` qualifier is used to declare a variable whose value cannot be changed after initialization. It enforces read-only access to the variable.

ব্যাখ্যা: `const` কোয়ালিফায়ারটি একটি ভেরিয়েবল ঘোষণা করতে ব্যবহৃত হয় যার মান ইনিশিয়ালাইজেশনের পরে পরিবর্তন করা যায় না। এটি ভেরিয়েবলে শুধুমাত্র পঠনযোগ্য (read-only) অ্যাক্সেস নিশ্চিত করে।

45. In BASIC, the `GOTO` statement creates a(n)…

৪৫. BASIC-এ `GOTO` স্টেটমেন্ট একটি … তৈরি করে।

  • A) Conditional branch
  • B) Unconditional branch
  • C) Function call
  • D) Variable assignment

Correct Answer: B) Unconditional branch

Explanation: The `GOTO` statement provides an unconditional jump from one line of code to another specified by a line number. Its overuse can lead to “spaghetti code,” which is hard to read and maintain.

ব্যাখ্যা: `GOTO` স্টেটমেন্ট একটি লাইন নম্বর দ্বারা নির্দিষ্ট করা কোডের এক লাইন থেকে অন্য লাইনে একটি শর্তহীন লাফ (unconditional jump) প্রদান করে। এর অতিরিক্ত ব্যবহার “স্প্যাগেটি কোড” তৈরি করতে পারে, যা পড়া এবং রক্ষণাবেক্ষণ করা কঠিন।

46. What is an Abstract Class?

৪৬. একটি অ্যাবস্ট্রাক্ট ক্লাস কী?

  • A) A class that cannot have objects
  • B) A class that has at least one pure virtual function
  • C) A class used only for inheritance
  • D) All of the above

Correct Answer: D) All of the above

Explanation: An abstract class in C++ is a class that has at least one pure virtual function (a function with no definition, e.g., `virtual void func() = 0;`). Because it’s incomplete, you cannot create objects of an abstract class. It is designed to be a base class from which other classes are derived.

ব্যাখ্যা: C++ এ একটি অ্যাবস্ট্রাক্ট ক্লাস হলো এমন একটি ক্লাস যার অন্তত একটি পিওর ভার্চুয়াল ফাংশন রয়েছে (একটি ফাংশন যার কোনো সংজ্ঞা নেই, যেমন `virtual void func() = 0;`)। এটি অসম্পূর্ণ হওয়ায় আপনি একটি অ্যাবস্ট্রাক্ট ক্লাসের অবজেক্ট তৈরি করতে পারবেন না। এটি একটি বেস ক্লাস হিসেবে ডিজাইন করা হয়, যেখান থেকে অন্যান্য ক্লাস ডিরাইভ করা হয়।

47. What does the preprocessor directive `#include` do in C/C++?

৪৭. C/C++ এ `#include` প্রিপ্রসেসর ডিরেক্টিভটি কী কাজ করে?

  • A) It links the library files during compilation.
  • B) It includes the content of another file into the source file.
  • C) It compiles the included file separately.
  • D) It defines a macro.

Correct Answer: B) It includes the content of another file into the source file.

Explanation: The `#include` directive tells the preprocessor to treat the contents of a specified file as if they appear in the source program at the point where the directive appears. It is typically used for header files.

ব্যাখ্যা: `#include` ডিরেক্টিভটি প্রিপ্রসেসরকে বলে যে একটি নির্দিষ্ট ফাইলের বিষয়বস্তু সোর্স প্রোগ্রামের সেই স্থানে বসাতে হবে যেখানে ডিরেক্টিভটি রয়েছে। এটি সাধারণত হেডার ফাইলের জন্য ব্যবহৃত হয়।

48. The `break` statement is used to exit from a…?

৪৮. `break` স্টেটমেন্টটি কী থেকে বের হতে ব্যবহৃত হয়?

  • A) `for` loop
  • B) `while` loop
  • C) `switch` statement
  • D) All of the above

Correct Answer: D) All of the above

Explanation: The `break` statement in C/C++ terminates the execution of the nearest enclosing loop (`for`, `while`, `do-while`) or `switch` statement. Control passes to the statement that follows the terminated statement.

ব্যাখ্যা: C/C++ এ `break` স্টেটমেন্টটি নিকটতম লুপ (`for`, `while`, `do-while`) বা `switch` স্টেটমেন্টের এক্সিকিউশন বন্ধ করে দেয়। নিয়ন্ত্রণ সমাপ্ত স্টেটমেন্টের পরবর্তী স্টেটমেন্টে চলে যায়।

49. What is the time complexity of accessing an element in an array by its index?

৪৯. ইন্ডেক্স দ্বারা একটি অ্যারের উপাদানে অ্যাক্সেস করার টাইম কমপ্লেক্সিটি কত?

  • A) O(1)
  • B) O(n)
  • C) O(log n)
  • D) O(n^2)

Correct Answer: A) O(1)

Explanation: Accessing an element in an array is a constant time operation, O(1), because the memory location of the element can be calculated directly using its index and the base address of the array, regardless of the array’s size.

ব্যাখ্যা: একটি অ্যারেতে একটি উপাদান অ্যাক্সেস করা একটি ধ্রুবক সময়ের অপারেশন, O(1), কারণ অ্যারের আকার নির্বিশেষে, উপাদানের মেমরি অবস্থান সরাসরি তার ইন্ডেক্স এবং অ্যারের বেস অ্যাড্রেস ব্যবহার করে গণনা করা যায়।

50. Which symbol is used for a single-line comment in C++?

৫০. C++ এ এক-লাইনের কমেন্টের জন্য কোন প্রতীক ব্যবহৃত হয়?

  • A) //
  • B) /* … */
  • C) #
  • D) —

Correct Answer: A) //

Explanation: In C++, `//` is used to start a single-line comment. The compiler ignores everything from `//` to the end of the line. `/* … */` is used for multi-line comments.

ব্যাখ্যা: C++ এ, `//` একটি এক-লাইনের কমেন্ট শুরু করতে ব্যবহৃত হয়। কম্পাইলার `//` থেকে লাইনের শেষ পর্যন্ত সবকিছু উপেক্ষা করে। `/* … */` বহু-লাইনের কমেন্টের জন্য ব্যবহৃত হয়।

51. The scope resolution operator in C++ is?

৫১. C++ এ স্কোপ রেজোলিউশন অপারেটর কোনটি?

  • A) .
  • B) ->
  • C) ::
  • D) :

Correct Answer: C) ::

Explanation: The `::` (Scope Resolution) operator is used to define a function outside a class, access a class’s static members, or to access a global variable when there is a local variable with the same name.

ব্যাখ্যা: `::` (স্কোপ রেজোলিউশন) অপারেটরটি একটি ক্লাসের বাইরে একটি ফাংশন সংজ্ঞায়িত করতে, একটি ক্লাসের স্ট্যাটিক সদস্যদের অ্যাক্সেস করতে, বা একই নামের একটি লোকাল ভেরিয়েবল থাকলে গ্লোবাল ভেরিয়েবল অ্যাক্সেস করতে ব্যবহৃত হয়।

52. Which of the following is not a valid loop structure in C?

৫২. নিচের কোনটি C-তে একটি বৈধ লুপ স্ট্রাকচার নয়?

  • A) for
  • B) while
  • C) repeat…until
  • D) do…while

Correct Answer: C) repeat…until

Explanation: C provides `for`, `while`, and `do-while` loops. The `repeat…until` loop structure is found in other languages like Pascal, but not in C.

ব্যাখ্যা: C-তে `for`, `while`, এবং `do-while` লুপ রয়েছে। `repeat…until` লুপ স্ট্রাকচারটি প্যাসকেলের মতো অন্যান্য ভাষায় পাওয়া যায়, কিন্তু C-তে নয়।

53. What is the difference between `i++` and `++i` in C?

৫৩. C-তে `i++` এবং `++i` এর মধ্যে পার্থক্য কী?

  • A) `i++` is post-increment, `++i` is pre-increment
  • B) `++i` is post-increment, `i++` is pre-increment
  • C) Both are pre-increment
  • D) There is no difference

Correct Answer: A) `i++` is post-increment, `++i` is pre-increment

Explanation: `++i` (pre-increment) increments the value of `i` and then returns the incremented value. `i++` (post-increment) returns the original value of `i` first, and then increments it.

ব্যাখ্যা: `++i` (প্রি-ইনক্রিমেন্ট) `i`-এর মান বৃদ্ধি করে এবং তারপর বর্ধিত মানটি রিটার্ন করে। `i++` (পোস্ট-ইনক্রিমেন্ট) প্রথমে `i`-এর আসল মান রিটার্ন করে এবং তারপর এটিকে বৃদ্ধি করে।

54. A function prototype in C is used to…

৫৪. C-তে একটি ফাংশন প্রোটোটাইপ কীসের জন্য ব্যবহৃত হয়?

  • A) Define the function’s logic
  • B) Call the function
  • C) Declare the function’s signature to the compiler
  • D) Allocate memory for the function

Correct Answer: C) Declare the function’s signature to the compiler

Explanation: A function prototype is a declaration that tells the compiler about a function’s name, return type, and parameters. This allows the compiler to perform type checking when the function is called before it is defined.

ব্যাখ্যা: একটি ফাংশন প্রোটোটাইপ হলো একটি ঘোষণা যা কম্পাইলারকে একটি ফাংশনের নাম, রিটার্ন টাইপ এবং প্যারামিটার সম্পর্কে জানায়। এটি কম্পাইলারকে ফাংশনটি সংজ্ঞায়িত করার আগে কল করার সময় টাইপ চেকিং করতে দেয়।

55. In early BASIC, what was the primary purpose of line numbers?

৫৫. প্রাথমিক BASIC-এ, লাইন নম্বরের প্রধান উদ্দেশ্য কী ছিল?

  • A) To count the lines of code
  • B) For debugging purposes only
  • C) To specify the sequence of execution and as targets for statements like GOTO
  • D) To declare variables

Correct Answer: C) To specify the sequence of execution and as targets for statements like GOTO

Explanation: In traditional BASIC, every line had to start with a number. These numbers determined the order of execution and were used as labels for control flow statements like `GOTO` and `GOSUB`.

ব্যাখ্যা: প্রচলিত BASIC-এ, প্রতিটি লাইন একটি সংখ্যা দিয়ে শুরু হতে হতো। এই সংখ্যাগুলি এক্সিকিউশনের ক্রম নির্ধারণ করত এবং `GOTO` ও `GOSUB`-এর মতো কন্ট্রোল ফ্লো স্টেটমেন্টের জন্য লেবেল হিসাবে ব্যবহৃত হতো।

56. Which of the following is an example of a “has-a” relationship in OOP?

৫৬. নিচের কোনটি OOP-তে “has-a” সম্পর্কের একটি উদাহরণ?

  • A) A `Dog` is an `Animal`.
  • B) A `Car` has an `Engine`.
  • C) An `Apple` is a `Fruit`.
  • D) A `Manager` is an `Employee`.

Correct Answer: B) A `Car` has an `Engine`.

Explanation: The “has-a” relationship is modeled using composition or aggregation, where one class contains an object of another class as a member. A `Car` containing an `Engine` object is a classic example. The “is-a” relationship (A, C, D) is modeled by inheritance.

ব্যাখ্যা: “has-a” সম্পর্কটি কম্পোজিশন বা অ্যাগ্রিগেশন ব্যবহার করে মডেল করা হয়, যেখানে একটি ক্লাস অন্য একটি ক্লাসের অবজেক্টকে সদস্য হিসাবে ধারণ করে। একটি `Car`-এর মধ্যে একটি `Engine` অবজেক্ট থাকা একটি ক্লাসিক উদাহরণ। “is-a” সম্পর্ক (A, C, D) ইনহেরিটেন্স দ্বারা মডেল করা হয়।

57. `malloc()` in C returns a pointer of type…

৫৭. C-তে `malloc()` কোন টাইপের একটি পয়েন্টার রিটার্ন করে?

  • A) `int *`
  • B) `char *`
  • C) `void *`
  • D) `NULL`

Correct Answer: C) `void *`

Explanation: The `malloc()` function allocates a block of memory of a specified size and returns a pointer to the beginning of the block. This pointer is of type `void*` (generic pointer), which can be cast to any pointer type.

ব্যাখ্যা: `malloc()` ফাংশনটি একটি নির্দিষ্ট আকারের মেমরি ব্লক বরাদ্দ করে এবং ব্লকের শুরুতে একটি পয়েন্টার রিটার্ন করে। এই পয়েন্টারটি `void*` (জেনেরিক পয়েন্টার) টাইপের, যা যেকোনো পয়েন্টার টাইপে কাস্ট করা যেতে পারে।

58. The process of converting a high-level language program into machine language is done by a(n)…

৫৮. একটি উচ্চ-স্তরের ভাষার প্রোগ্রামকে মেশিন ভাষায় রূপান্তর করার প্রক্রিয়াটি কে করে?

  • A) Assembler
  • B) Linker
  • C) Compiler
  • D) Loader

Correct Answer: C) Compiler

Explanation: A compiler is a special program that takes source code written in a high-level language (like C, C++) and translates it into a lower-level language, typically machine code, that the computer’s CPU can execute directly.

ব্যাখ্যা: একটি কম্পাইলার হলো একটি বিশেষ প্রোগ্রাম যা উচ্চ-স্তরের ভাষায় (যেমন C, C++) লেখা সোর্স কোড নেয় এবং এটিকে একটি নিম্ন-স্তরের ভাষায়, সাধারণত মেশিন কোডে, অনুবাদ করে যা কম্পিউটারের CPU সরাসরি এক্সিকিউট করতে পারে।

59. What is a copy constructor in C++?

৫৯. C++ এ একটি কপি কনস্ট্রাক্টর কী?

  • A) A constructor that takes no arguments.
  • B) A constructor that creates a new object as a copy of an existing object.
  • C) A constructor that is used to copy files.
  • D) A constructor that is part of the `string` class only.

Correct Answer: B) A constructor that creates a new object as a copy of an existing object.

Explanation: A copy constructor is a member function which initializes an object using another object of the same class. It is called when a new object is created from an existing object, as a copy.

ব্যাখ্যা: একটি কপি কনস্ট্রাক্টর একটি সদস্য ফাংশন যা একই ক্লাসের অন্য একটি অবজেক্ট ব্যবহার করে একটি অবজেক্টকে ইনিশিয়ালাইজ করে। এটি তখন কল করা হয় যখন একটি বিদ্যমান অবজেক্ট থেকে একটি নতুন অবজেক্ট কপি হিসেবে তৈরি করা হয়।

60. In program design, what does “Top-Down Design” refer to?

৬০. প্রোগ্রাম ডিজাইনে, “টপ-ডাউন ডিজাইন” বলতে কী বোঝায়?

  • A) Starting with the details and building up to the whole system.
  • B) Breaking down a large problem into smaller, more manageable sub-problems.
  • C) Writing code from the last function to the first.
  • D) Designing the user interface first.

Correct Answer: B) Breaking down a large problem into smaller, more manageable sub-problems.

Explanation: Top-Down Design, also known as stepwise refinement, is a problem-solving strategy where you start with the main problem and break it down into smaller, more manageable parts. You then solve each of these smaller parts, which collectively solve the larger problem.

ব্যাখ্যা: টপ-ডাউন ডিজাইন, যা স্টেপওয়াইজ রিফাইনমেন্ট নামেও পরিচিত, একটি সমস্যা সমাধানের কৌশল যেখানে আপনি প্রধান সমস্যা দিয়ে শুরু করেন এবং এটিকে ছোট, আরও পরিচালনাযোগ্য অংশে ভাগ করেন। তারপরে আপনি এই ছোট অংশগুলির প্রত্যেকটির সমাধান করেন, যা সম্মিলিতভাবে বড় সমস্যাটির সমাধান করে।

61. What is the purpose of the `static` keyword on a local variable in C?

৬১. C-তে একটি লোকাল ভেরিয়েবলে `static` কীওয়ার্ডের উদ্দেশ্য কী?

  • A) To make it global.
  • B) To limit its scope to the file.
  • C) To preserve its value between function calls.
  • D) To allocate it on the heap.

Correct Answer: C) To preserve its value between function calls.

Explanation: A `static` local variable retains its value between function invocations. It is initialized only once, when the program starts, and its lifetime extends for the entire duration of the program run, but its scope is still limited to the function where it is declared.

ব্যাখ্যা: একটি `static` লোকাল ভেরিয়েবল ফাংশন কলের মধ্যে তার মান ধরে রাখে। এটি প্রোগ্রাম শুরু হওয়ার সময় শুধুমাত্র একবার ইনিশিয়ালাইজ করা হয় এবং এর জীবনকাল সম্পূর্ণ প্রোগ্রাম চলাকালীন স্থায়ী হয়, কিন্তু এর স্কোপ শুধুমাত্র সেই ফাংশনের মধ্যে সীমাবদ্ধ থাকে যেখানে এটি ঘোষিত হয়েছে।

62. Which data structure is typically used to implement a recursive function call mechanism?

৬২. রিকার্সিভ ফাংশন কল মেকানিজম বাস্তবায়ন করতে সাধারণত কোন ডেটা স্ট্রাকচার ব্যবহার করা হয়?

  • A) Queue
  • B) Stack
  • C) Array
  • D) Linked List

Correct Answer: B) Stack

Explanation: The call stack is a stack data structure that stores information about the active subroutines (functions) of a computer program. Each time a function is called, a new frame is pushed onto the stack containing its local variables and return address. This LIFO (Last-In, First-Out) behavior is perfect for managing nested and recursive function calls.

ব্যাখ্যা: কল স্ট্যাক একটি স্ট্যাক ডেটা স্ট্রাকচার যা একটি কম্পিউটার প্রোগ্রামের সক্রিয় সাবরুটিন (ফাংশন) সম্পর্কে তথ্য সংরক্ষণ করে। প্রতিবার যখন একটি ফাংশন কল করা হয়, তখন এর লোকাল ভেরিয়েবল এবং রিটার্ন অ্যাড্রেসসহ একটি নতুন ফ্রেম স্ট্যাকে পুশ করা হয়। এই LIFO (লাস্ট-ইন, ফার্স্ট-আউট) আচরণটি নেস্টেড এবং রিকার্সিভ ফাংশন কল পরিচালনার জন্য উপযুক্ত।

63. What is the result of `10 % 3` in C/C++?

৬৩. C/C++ এ `10 % 3`-এর ফল কী?

  • A) 3
  • B) 1
  • C) 0
  • D) 3.33

Correct Answer: B) 1

Explanation: The `%` operator is the modulus (or remainder) operator. It computes the remainder of the division of the first operand by the second. `10` divided by `3` is `3` with a remainder of `1`.

ব্যাখ্যা: `%` অপারেটরটি হলো মডুলাস (বা ভাগশেষ) অপারেটর। এটি প্রথম অপারেন্ডকে দ্বিতীয়টি দ্বারা ভাগ করার ভাগশেষ গণনা করে। `10` কে `3` দ্বারা ভাগ করলে ফল `3` এবং ভাগশেষ `1` হয়।

64. An “interface” in object-oriented design is…

৬৪. অবজেক্ট-ওরিয়েন্টেড ডিজাইনে একটি “ইন্টারফেস” হলো…

  • A) The physical user interface of the program.
  • B) A description of all the functions that a class must have in order to be a “new-and-improved” version of that interface.
  • C) The private members of a class.
  • D) The internal implementation of a class.

Correct Answer: B) A description of all the functions that a class must have in order to be a “new-and-improved” version of that interface.

Explanation: An interface defines a contract. It specifies a set of method signatures that a class must implement, without providing the implementation itself. In C++, this is often achieved using an abstract class with only pure virtual functions.

ব্যাখ্যা: একটি ইন্টারফেস একটি চুক্তি সংজ্ঞায়িত করে। এটি মেথড সিগনেচারের একটি সেট নির্দিষ্ট করে যা একটি ক্লাসকে অবশ্যই বাস্তবায়ন করতে হবে, কিন্তু নিজে কোনো বাস্তবায়ন প্রদান করে না। C++ এ, এটি প্রায়শই শুধুমাত্র পিওর ভার্চুয়াল ফাংশনসহ একটি অ্যাবস্ট্রাক্ট ক্লাস ব্যবহার করে অর্জন করা হয়।

65. Which of these keywords is used to manually deallocate memory in C++ that was allocated with `new`?

৬৫. `new` দিয়ে বরাদ্দ করা মেমরি C++ এ ম্যানুয়ালি ডি-অ্যালোকেট করতে কোন কীওয়ার্ড ব্যবহার করা হয়?

  • A) `free`
  • B) `remove`
  • C) `delete`
  • D) `clear`

Correct Answer: C) `delete`

Explanation: In C++, memory allocated with the `new` operator must be deallocated with the `delete` operator to prevent memory leaks. For arrays allocated with `new[]`, you must use `delete[]`.

ব্যাখ্যা: C++ এ, `new` অপারেটর দিয়ে বরাদ্দ করা মেমরি মেমরি লিক প্রতিরোধ করতে `delete` অপারেটর দিয়ে ডি-অ্যালোকেট করতে হবে। `new[]` দিয়ে বরাদ্দ করা অ্যারের জন্য, আপনাকে অবশ্যই `delete[]` ব্যবহার করতে হবে।

66. A rhombus symbol in a flowchart represents…

৬৬. একটি ফ্লোচার্টে রম্বস প্রতীক কী নির্দেশ করে?

  • A) Input/Output
  • B) Process
  • C) Decision
  • D) Terminator (Start/End)

Correct Answer: C) Decision

Explanation: In standard flowcharts, the rhombus (or diamond) shape is used to represent a decision point, such as an `if-else` condition. It typically has one entry point and two or more exit points (e.g., True/False).

ব্যাখ্যা: স্ট্যান্ডার্ড ফ্লোচার্টে, রম্বস (বা ডায়মন্ড) আকৃতিটি একটি সিদ্ধান্ত বিন্দু, যেমন একটি `if-else` শর্ত, উপস্থাপন করতে ব্যবহৃত হয়। এর সাধারণত একটি প্রবেশ বিন্দু এবং দুই বা ততোধিক প্রস্থান বিন্দু (যেমন, True/False) থাকে।

67. The `typedef` keyword in C is used to…

৬৭. C-তে `typedef` কীওয়ার্ডটি কীসের জন্য ব্যবহৃত হয়?

  • A) Define a new data type.
  • B) Give an existing data type a new name.
  • C) Define a variable type.
  • D) Declare a function.

Correct Answer: B) Give an existing data type a new name.

Explanation: `typedef` allows you to create an alias or a new name for an existing data type. This can be used to make complex type declarations (like for structs or function pointers) easier to read and use.

ব্যাখ্যা: `typedef` আপনাকে একটি বিদ্যমান ডেটা টাইপের জন্য একটি উপনাম বা নতুন নাম তৈরি করতে দেয়। এটি জটিল টাইপ ঘোষণাগুলিকে (যেমন struct বা ফাংশন পয়েন্টারের জন্য) পড়া এবং ব্যবহার করা সহজ করতে ব্যবহার করা যেতে পারে।

68. A class in which all member functions are `static` is most similar to…

৬৮. এমন একটি ক্লাস যার সমস্ত সদস্য ফাংশন `static`, সেটি কিসের সাথে সবচেয়ে বেশি সাদৃশ্যপূর্ণ?

  • A) An abstract class
  • B) A namespace grouping related functions
  • C) An interface
  • D) A derived class

Correct Answer: B) A namespace grouping related functions

Explanation: If all functions in a class are static, you don’t need to create an object of the class to call them. You can call them directly using the class name (e.g., `MyClass::myFunction()`). This behavior is very similar to grouping a set of related functions inside a namespace.

ব্যাখ্যা: যদি একটি ক্লাসের সমস্ত ফাংশন স্ট্যাটিক হয়, তবে সেগুলিকে কল করার জন্য ক্লাসের একটি অবজেক্ট তৈরি করার প্রয়োজন নেই। আপনি ক্লাসের নাম ব্যবহার করে সরাসরি কল করতে পারেন (যেমন, `MyClass::myFunction()`)। এই আচরণটি একটি নেমস্পেসের ভিতরে সম্পর্কিত ফাংশনগুলির একটি সেটকে গোষ্ঠীবদ্ধ করার মতো।

69. Dereferencing a `NULL` pointer in C/C++ typically leads to…

৬৯. C/C++ এ একটি `NULL` পয়েন্টার ডি-রেফারেন্স করলে সাধারণত কী হয়?

  • A) A compile-time error
  • B) A warning
  • C) Undefined behavior (often a runtime crash)
  • D) The program continuing normally

Correct Answer: C) Undefined behavior (often a runtime crash)

Explanation: A `NULL` pointer does not point to any valid memory location. Attempting to access the memory it “points” to (dereferencing) is a serious error that results in undefined behavior. On most modern operating systems, this causes a segmentation fault and the program crashes.

ব্যাখ্যা: একটি `NULL` পয়েন্টার কোনো বৈধ মেমরি অবস্থানের দিকে নির্দেশ করে না। এটি যে মেমরিকে “নির্দেশ” করে তা অ্যাক্সেস করার চেষ্টা করা (ডি-রেফারেন্সিং) একটি গুরুতর ত্রুটি যা অনির্ধারিত আচরণের (undefined behavior) দিকে পরিচালিত করে। বেশিরভাগ আধুনিক অপারেটিং সিস্টেমে, এটি একটি সেগমেন্টেশন ফল্ট ঘটায় এবং প্রোগ্রামটি ক্র্যাশ করে।

70. What is a “friend function” in C++?

৭০. C++ এ “ফ্রেন্ড ফাংশন” কী?

  • A) A function that is a member of another class.
  • B) A non-member function that is granted access to the private and protected members of a class.
  • C) A function that can only be called by friends of the programmer.
  • D) A function that belongs to every class.

Correct Answer: B) A non-member function that is granted access to the private and protected members of a class.

Explanation: A friend function of a class is a function that is not a member of the class but has access to its private and protected members. It is declared inside the class with the `friend` keyword.

ব্যাখ্যা: একটি ক্লাসের ফ্রেন্ড ফাংশন এমন একটি ফাংশন যা ক্লাসের সদস্য নয় কিন্তু তার প্রাইভেট এবং প্রোটেক্টেড সদস্যদের অ্যাক্সেস করার অনুমতি পায়। এটি ক্লাসের ভিতরে `friend` কীওয়ার্ড দিয়ে ঘোষণা করা হয়।

71. Which statement is true about BASIC language?

৭১. BASIC ভাষা সম্পর্কে কোন বক্তব্যটি সত্য?

  • A) It was designed for complex scientific computing.
  • B) It was designed to be easy for beginners to learn.
  • C) It is a systems programming language.
  • D) It is a purely object-oriented language.

Correct Answer: B) It was designed to be easy for beginners to learn.

Explanation: BASIC stands for Beginner’s All-purpose Symbolic Instruction Code. Its primary design goal was to be simple and easy for students and non-computer science majors to learn and use.

ব্যাখ্যা: BASIC-এর পূর্ণরূপ হলো Beginner’s All-purpose Symbolic Instruction Code। এর প্রধান ডিজাইনের লক্ষ্য ছিল ছাত্র এবং নন-কম্পিউটার সায়েন্স মেজরদের জন্য শেখা এবং ব্যবহার করা সহজ হওয়া।

72. Implementation of a primitive data structure is directly supported by…

৭২. একটি প্রিমিটিভ ডেটা স্ট্রাকচারের বাস্তবায়ন সরাসরি কী দ্বারা সমর্থিত?

  • A) The operating system
  • B) The compiler
  • C) Machine-level instructions
  • D) A standard library

Correct Answer: C) Machine-level instructions

Explanation: Primitive data types (like `int`, `float`, `char`) are “primitive” because they are the most basic types available, and there are direct machine-level instructions (like ADD, LOAD, STORE) to operate on them.

ব্যাখ্যা: প্রিমিটিভ ডেটা টাইপ (যেমন `int`, `float`, `char`) “প্রিমিটিভ” কারণ এগুলি সবচেয়ে মৌলিক টাইপ এবং এগুলির উপর কাজ করার জন্য সরাসরি মেশিন-স্তরের নির্দেশাবলী (যেমন ADD, LOAD, STORE) রয়েছে।

73. The `continue` statement in C…

৭৩. C-তে `continue` স্টেটমেন্ট…

  • A) Exits the loop completely.
  • B) Skips the rest of the current iteration and starts the next one.
  • C) Pauses the program execution.
  • D) Continues to the next line of code.

Correct Answer: B) Skips the rest of the current iteration and starts the next one.

Explanation: Unlike `break` which exits the loop, the `continue` statement forces the next iteration of the loop to take place, skipping any code in between.

ব্যাখ্যা: `break`-এর মতো লুপ থেকে বেরিয়ে যাওয়ার পরিবর্তে, `continue` স্টেটমেন্টটি লুপের পরবর্তী ইটারেশন শুরু করতে বাধ্য করে এবং এর মাঝখানের কোনো কোড এড়িয়ে যায়।

74. In C++, which stream is used for standard error output?

৭৪. C++ এ, স্ট্যান্ডার্ড এরর আউটপুটের জন্য কোন স্ট্রিম ব্যবহার করা হয়?

  • A) `cin`
  • B) `cout`
  • C) `cerr` or `clog`
  • D) `cfile`

Correct Answer: C) `cerr` or `clog`

Explanation: `cerr` is the standard error stream, which is unbuffered. `clog` is also for error messages but is buffered. They are used for displaying error messages, which are often directed to a different destination than standard output.

ব্যাখ্যা: `cerr` হলো স্ট্যান্ডার্ড এরর স্ট্রিম, যা আনবাফার্ড। `clog` ও এরর মেসেজের জন্য, কিন্তু এটি বাফার্ড। এগুলি এরর মেসেজ প্রদর্শনের জন্য ব্যবহৃত হয়, যা প্রায়শই স্ট্যান্ডার্ড আউটপুট থেকে ভিন্ন গন্তব্যে পাঠানো হয়।

75. The ability of an object to take on many forms is a key part of which OOP concept?

৭৫. একটি অবজেক্টের বিভিন্ন রূপ ধারণ করার ক্ষমতা কোন OOP ধারণার একটি মূল অংশ?

  • A) Encapsulation
  • B) Inheritance
  • C) Abstraction
  • D) Polymorphism

Correct Answer: D) Polymorphism

Explanation: Polymorphism literally means “many forms”. It is the ability for a message or data to be processed in more than one form. This is achieved through mechanisms like function overloading, operator overloading, and virtual functions.

ব্যাখ্যা: পলিমরফিজম এর আক্ষরিক অর্থ “বহুরূপতা”। এটি একটি মেসেজ বা ডেটাকে একাধিক রূপে প্রক্রিয়া করার ক্ষমতা। এটি ফাংশন ওভারলোডিং, অপারেটর ওভারলোডিং এবং ভার্চুয়াল ফাংশনের মতো পদ্ধতির মাধ্যমে অর্জন করা হয়।

76. A pointer that has been deallocated but is still being used is called a…

৭৬. এমন একটি পয়েন্টার যা ডি-অ্যালোকেট করা হয়েছে কিন্তু এখনও ব্যবহৃত হচ্ছে, তাকে কী বলা হয়?

  • A) Null pointer
  • B) Void pointer
  • C) Dangling pointer
  • D) Wild pointer

Correct Answer: C) Dangling pointer

Explanation: A dangling pointer is a pointer that points to a memory location that has been freed (deallocated). Using a dangling pointer leads to undefined behavior and can be a source of serious bugs.

ব্যাখ্যা: একটি ড্যাংলিং পয়েন্টার হলো এমন একটি পয়েন্টার যা একটি মুক্ত (ডি-অ্যালোকেটেড) মেমরি অবস্থানের দিকে নির্দেশ করে। একটি ড্যাংলিং পয়েন্টার ব্যবহার করলে অনির্ধারিত আচরণ ঘটে এবং এটি গুরুতর বাগের উৎস হতে পারে।

77. In program design, “Bottom-Up Design” is a methodology where…

৭৭. প্রোগ্রাম ডিজাইনে, “বটম-আপ ডিজাইন” এমন একটি পদ্ধতি যেখানে…

  • A) The system is broken down into smaller components.
  • B) Individual components are designed and tested first, then integrated into larger systems.
  • C) The design starts from the user interface.
  • D) The main function is designed first.

Correct Answer: B) Individual components are designed and tested first, then integrated into larger systems.

Explanation: Bottom-Up Design is the opposite of Top-Down Design. It starts with designing, implementing, and testing the lowest-level components (the “primitives”) and then uses them to build up more complex, higher-level systems.

ব্যাখ্যা: বটম-আপ ডিজাইন হলো টপ-ডাউন ডিজাইনের বিপরীত। এটি সর্বনিম্ন স্তরের উপাদানগুলি (“প্রিমিটিভ”) ডিজাইন, বাস্তবায়ন এবং পরীক্ষা করার মাধ্যমে শুরু হয় এবং তারপরে সেগুলিকে আরও জটিল, উচ্চ-স্তরের সিস্টেম তৈরি করতে ব্যবহার করে।

78. What does `->` operator do in C/C++?

৭৮. C/C++ এ `->` অপারেটর কী কাজ করে?

  • A) Accesses a member of an object directly.
  • B) Accesses a member of a class through a pointer to an object of that class.
  • C) It is used for pointer arithmetic.
  • D) It indicates inheritance.

Correct Answer: B) Accesses a member of a class through a pointer to an object of that class.

Explanation: The arrow operator (`->`) is used to access members (variables or functions) of a struct or class when you have a pointer to the object. `ptr->member` is a convenient shorthand for `(*ptr).member`.

ব্যাখ্যা: অ্যারো অপারেটর (`->`) একটি struct বা ক্লাসের সদস্যদের (ভেরিয়েবল বা ফাংশন) অ্যাক্সেস করতে ব্যবহৃত হয় যখন আপনার কাছে অবজেক্টের একটি পয়েন্টার থাকে। `ptr->member` হলো `(*ptr).member`-এর একটি সুবিধাজনক সংক্ষিপ্ত রূপ।

79. A “pure virtual function” in C++ is a virtual function that…

৭৯. C++ এ একটি “পিওর ভার্চুয়াল ফাংশন” হলো একটি ভার্চুয়াল ফাংশন যা…

  • A) Has no body/implementation in the base class.
  • B) Is initialized to zero.
  • C) Cannot be overridden.
  • D) Returns an integer.

Correct Answer: A) Has no body/implementation in the base class.

Explanation: A pure virtual function is declared by assigning `= 0` in its declaration, like `virtual void myFunction() = 0;`. This makes the class abstract and forces any concrete derived class to provide an implementation for that function.

ব্যাখ্যা: একটি পিওর ভার্চুয়াল ফাংশন তার ঘোষণায় `= 0` নির্ধারণ করে ঘোষণা করা হয়, যেমন `virtual void myFunction() = 0;`। এটি ক্লাসটিকে অ্যাবস্ট্রাক্ট করে তোলে এবং যেকোনো কঙ্ক্রিট ডিরাইভড ক্লাসকে সেই ফাংশনের জন্য একটি বাস্তবায়ন প্রদান করতে বাধ্য করে।

80. The first element of an array in C has an index of?

৮০. C-তে একটি অ্যারের প্রথম উপাদানের ইন্ডেক্স কত?

  • A) 1
  • B) 0
  • C) -1
  • D) It depends on the declaration

Correct Answer: B) 0

Explanation: C, C++, Java, and many other programming languages use zero-based indexing for arrays. This means the first element is at index 0, the second at index 1, and so on.

ব্যাখ্যা: C, C++, Java, এবং অন্যান্য অনেক প্রোগ্রামিং ভাষা অ্যারের জন্য শূন্য-ভিত্তিক ইন্ডেক্সিং ব্যবহার করে। এর মানে হলো প্রথম উপাদানটি ইন্ডেক্স 0-এ, দ্বিতীয়টি ইন্ডেক্স 1-এ, এবং এভাবেই চলতে থাকে।

81. What is the role of the `linker` in the C/C++ build process?

৮১. C/C++ বিল্ড প্রসেসে `লিঙ্কার`-এর ভূমিকা কী?

  • A) To translate source code to machine code.
  • B) To combine multiple object files and libraries into a single executable file.
  • C) To preprocess the source code.
  • D) To load the program into memory.

Correct Answer: B) To combine multiple object files and libraries into a single executable file.

Explanation: After the compiler translates source files into object files, the linker’s job is to take these object files, along with any required library code (like for `printf` or `cout`), and combine them to produce a final executable program.

ব্যাখ্যা: কম্পাইলার সোর্স ফাইলগুলিকে অবজেক্ট ফাইলে অনুবাদ করার পরে, লিঙ্কারের কাজ হলো এই অবজেক্ট ফাইলগুলিকে, প্রয়োজনীয় লাইব্রেরি কোডসহ (যেমন `printf` বা `cout` এর জন্য), একত্রিত করে একটি চূড়ান্ত এক্সিকিউটেবল প্রোগ্রাম তৈরি করা।

82. Which of the following data structures is non-linear?

৮২. নিচের কোন ডেটা স্ট্রাকচারটি নন-লিনিয়ার (non-linear)?

  • A) Stack
  • B) Array
  • C) Queue
  • D) Tree

Correct Answer: D) Tree

Explanation: Linear data structures like arrays, stacks, and queues store data sequentially. A tree is a non-linear data structure because it stores data in a hierarchical manner, with parent-child relationships.

ব্যাখ্যা: অ্যারে, স্ট্যাক এবং কিউ-এর মতো লিনিয়ার ডেটা স্ট্রাকচারগুলি ক্রমানুসারে ডেটা সংরক্ষণ করে। একটি ট্রি একটি নন-লিনিয়ার ডেটা স্ট্রাকচার কারণ এটি ডেটাকে একটি হায়ারারকিক্যাল পদ্ধতিতে, প্যারেন্ট-চাইল্ড সম্পর্কসহ সংরক্ষণ করে।

83. `goto` statement is generally considered harmful to program design because it…

৮৩. `goto` স্টেটমেন্টকে সাধারণত প্রোগ্রাম ডিজাইনের জন্য ক্ষতিকর বলে মনে করা হয় কারণ এটি…

  • A) is very slow.
  • B) can make program logic difficult to follow.
  • C) uses too much memory.
  • D) is not supported by modern compilers.

Correct Answer: B) can make program logic difficult to follow.

Explanation: The unrestricted use of `goto` can lead to unstructured code, often called “spaghetti code,” where the flow of control jumps around unpredictably. This makes the program extremely difficult to read, debug, and maintain.

ব্যাখ্যা: `goto`-এর অবাধ ব্যবহার অসংগঠিত কোড, যা প্রায়শই “স্প্যাগেটি কোড” নামে পরিচিত, তৈরি করতে পারে, যেখানে নিয়ন্ত্রণের প্রবাহ অপ্রত্যাশিতভাবে লাফিয়ে চলে। এটি প্রোগ্রামকে পড়া, ডিবাগ করা এবং রক্ষণাবেক্ষণ করা অত্যন্ত কঠিন করে তোলে।

84. What is a “namespace” in C++?

৮৪. C++ এ “নেমস্পেস” কী?

  • A) A region of memory.
  • B) A declarative region that provides a scope to identifiers (names of types, functions, variables, etc).
  • C) A synonym for a class.
  • D) A file containing code.

Correct Answer: B) A declarative region that provides a scope to identifiers (names of types, functions, variables, etc).

Explanation: Namespaces are used to organize code into logical groups and to prevent name collisions that can occur especially when your code base includes multiple libraries. For example, `std::cout` uses the `cout` identifier from the `std` namespace.

ব্যাখ্যা: নেমস্পেস কোডকে যৌক্তিক গোষ্ঠীতে সংগঠিত করতে এবং নামের সংঘর্ষ প্রতিরোধ করতে ব্যবহৃত হয়, যা বিশেষত যখন আপনার কোড বেসে একাধিক লাইব্রেরি থাকে তখন ঘটতে পারে। উদাহরণস্বরূপ, `std::cout` `std` নেমস্পেস থেকে `cout` আইডেন্টিফায়ার ব্যবহার করে।

85. The `char` data type in C is guaranteed to be how many bytes?

৮৫. C-তে `char` ডেটা টাইপ কত বাইটের হওয়ার নিশ্চয়তা দেওয়া হয়?

  • A) 1 byte
  • B) 2 bytes
  • C) 4 bytes
  • D) It is machine dependent.

Correct Answer: A) 1 byte

Explanation: By the C standard, `sizeof(char)` is always 1. A byte is defined as the amount of memory required to store a `char`, so a `char` is always one byte by definition, though the number of bits in that byte can vary (it’s almost always 8 bits on modern systems).

ব্যাখ্যা: C স্ট্যান্ডার্ড অনুযায়ী, `sizeof(char)` সবসময় 1। একটি বাইটকে একটি `char` সংরক্ষণ করার জন্য প্রয়োজনীয় মেমরির পরিমাণ হিসাবে সংজ্ঞায়িত করা হয়, তাই একটি `char` সংজ্ঞানুসারে সবসময় এক বাইটের হয়, যদিও সেই বাইটের বিটের সংখ্যা পরিবর্তিত হতে পারে (আধুনিক সিস্টেমে এটি প্রায় সবসময় 8 বিট)।

86. Dynamic polymorphism is achieved in C++ using…

৮৬. C++ এ ডাইনামিক পলিমরফিজম কী ব্যবহার করে অর্জন করা হয়?

  • A) Function overloading
  • B) Templates
  • C) Virtual functions
  • D) Operator overloading

Correct Answer: C) Virtual functions

Explanation: Dynamic (or runtime) polymorphism is the ability to decide which function to call at runtime. This is achieved in C++ through virtual functions and base class pointers/references. Function overloading and operator overloading are examples of static (compile-time) polymorphism.

ব্যাখ্যা: ডাইনামিক (বা রানটাইম) পলিমরফিজম হলো রানটাইমে কোন ফাংশন কল করতে হবে তা নির্ধারণ করার ক্ষমতা। এটি C++ এ ভার্চুয়াল ফাংশন এবং বেস ক্লাস পয়েন্টার/রেফারেন্সের মাধ্যমে অর্জন করা হয়। ফাংশন ওভারলোডিং এবং অপারেটর ওভারলোডিং হলো স্ট্যাটিক (কম্পাইল-টাইম) পলিমরফিজমের উদাহরণ।

87. Which of the following is not a preprocessor directive in C?

৮৭. নিচের কোনটি C-তে একটি প্রিপ্রসেসর ডিরেক্টিভ নয়?

  • A) `#define`
  • B) `#ifdef`
  • C) `#import`
  • D) `#include`

Correct Answer: C) `#import`

Explanation: `#define`, `#ifdef`, and `#include` are all standard C preprocessor directives. `#import` is a directive used in languages like Objective-C. It’s similar to `#include` but has guards to prevent multiple inclusions automatically.

ব্যাখ্যা: `#define`, `#ifdef`, এবং `#include` সবই স্ট্যান্ডার্ড C প্রিপ্রসেসর ডিরেক্টিভ। `#import` হলো Objective-C-এর মতো ভাষায় ব্যবহৃত একটি ডিরেক্টিভ। এটি `#include`-এর মতো কিন্তু স্বয়ংক্রিয়ভাবে একাধিকবার অন্তর্ভুক্তি রোধ করার জন্য গার্ড রয়েছে।

88. A class member declared with the `static` keyword…

৮৮. `static` কীওয়ার্ড দিয়ে ঘোষিত একটি ক্লাস সদস্য…

  • A) Belongs to a specific object of the class.
  • B) Belongs to the class itself, not to any object.
  • C) Can only be accessed by static functions.
  • D) Is automatically constant.

Correct Answer: B) Belongs to the class itself, not to any object.

Explanation: A static member (variable or function) is shared by all objects of the class. There is only one copy of the static member, regardless of how many objects are created. It exists even if no objects of the class are created.

ব্যাখ্যা: একটি স্ট্যাটিক সদস্য (ভেরিয়েবল বা ফাংশন) ক্লাসের সমস্ত অবজেক্ট দ্বারা শেয়ার করা হয়। স্ট্যাটিক সদস্যের শুধুমাত্র একটি কপি থাকে, যতগুলিই অবজেক্ট তৈরি করা হোক না কেন। ক্লাসের কোনো অবজেক্ট তৈরি না হলেও এর অস্তিত্ব থাকে।

89. The `switch` statement in C is a form of…

৮৯. C-তে `switch` স্টেটমেন্ট কীসের একটি রূপ?

  • A) Looping
  • B) Multi-way selection
  • C) Function call
  • D) Variable declaration

Correct Answer: B) Multi-way selection

Explanation: The `switch` statement provides a multi-way branch. It allows a variable to be tested for equality against a list of values (cases). It is often a more readable alternative to a series of `if-else if` statements.

ব্যাখ্যা: `switch` স্টেটমেন্ট একটি মাল্টি-ওয়ে ব্রাঞ্চ প্রদান করে। এটি একটি ভেরিয়েবলকে মানের একটি তালিকার (case) বিরুদ্ধে সমতার জন্য পরীক্ষা করার অনুমতি দেয়। এটি প্রায়শই `if-else if` স্টেটমেন্টের একটি সিরিজের চেয়ে বেশি পঠনযোগ্য বিকল্প।

90. A “template” in C++ allows you to…

৯০. C++ এ একটি “টেমপ্লেট” আপনাকে কী করতে দেয়?

  • A) Create a pre-formatted text file.
  • B) Define functions and classes that can operate with generic types.
  • C) Design a user interface.
  • D) Store a list of variables.

Correct Answer: B) Define functions and classes that can operate with generic types.

Explanation: Templates are a feature of C++ that allow functions and classes to be written for generic types. This allows you to write a single function or class that works with different data types (e.g., int, float, custom objects) without rewriting the code for each type.

ব্যাখ্যা: টেমপ্লেট হলো C++ এর একটি বৈশিষ্ট্য যা ফাংশন এবং ক্লাসগুলিকে জেনেরিক টাইপের জন্য লিখতে দেয়। এটি আপনাকে একটি একক ফাংশন বা ক্লাস লিখতে দেয় যা বিভিন্ন ডেটা টাইপের (যেমন, int, float, কাস্টম অবজেক্ট) সাথে কাজ করে, প্রতিটি টাইপের জন্য কোড পুনরায় না লিখে।

91. What is “type casting” in C?

৯১. C-তে “টাইপ কাস্টিং” কী?

  • A) Automatically converting a variable from one data type to another.
  • B) Manually converting a variable from one data type to another.
  • C) Checking the type of a variable.
  • D) Creating a new variable type.

Correct Answer: B) Manually converting a variable from one data type to another.

Explanation: Type casting (or explicit type conversion) is a way to manually convert a variable from one data type to another. For example, `(float)my_integer` converts the integer to a float for a specific operation.

ব্যাখ্যা: টাইপ কাস্টিং (বা এক্সপ্লিসিট টাইপ কনভার্সন) হলো ম্যানুয়ালি একটি ভেরিয়েবলকে এক ডেটা টাইপ থেকে অন্যটিতে রূপান্তর করার একটি উপায়। উদাহরণস্বরূপ, `(float)my_integer` একটি নির্দিষ্ট অপারেশনের জন্য ইন্টিজারটিকে ফ্লোটে রূপান্তর করে।

92. In C++, if a derived class redefines a base class member function, it is called…

৯২. C++ এ, যদি একটি ডিরাইভড ক্লাস একটি বেস ক্লাসের সদস্য ফাংশনকে পুনরায় সংজ্ঞায়িত করে, তবে তাকে কী বলা হয়?

  • A) Overloading
  • B) Overriding
  • C) Hiding
  • D) Overwriting

Correct Answer: B) Overriding

Explanation: Function overriding occurs when a derived class provides a specific implementation for a function that is already defined in its base class. For dynamic polymorphism, the base class function should be `virtual`.

ব্যাখ্যা: ফাংশন ওভাররাইডিং ঘটে যখন একটি ডিরাইভড ক্লাস একটি ফাংশনের জন্য একটি নির্দিষ্ট বাস্তবায়ন প্রদান করে যা তার বেস ক্লাসে ইতিমধ্যে সংজ্ঞায়িত আছে। ডাইনামিক পলিমরফিজমের জন্য, বেস ক্লাস ফাংশনটি `virtual` হওয়া উচিত।

93. Which primitive data structure would be most efficient for storing a simple list of student grades where frequent addition/removal at the end is required?

৯৩. ছাত্রদের গ্রেডের একটি সাধারণ তালিকা সংরক্ষণের জন্য কোন প্রিমিটিভ ডেটা স্ট্রাকচারটি সবচেয়ে কার্যকর হবে যেখানে শেষে ঘন ঘন যোগ/বিয়োগ করার প্রয়োজন হয়?

  • A) Array
  • B) Stack
  • C) Queue
  • D) Linked List

Correct Answer: B) Stack

Explanation: While an array or linked list could work, a stack is specifically designed for efficient LIFO (Last-In, First-Out) operations. Adding (push) and removing (pop) from the end of a stack are typically very efficient operations.

ব্যাখ্যা: যদিও একটি অ্যারে বা লিঙ্কড লিস্ট কাজ করতে পারে, একটি স্ট্যাক বিশেষভাবে কার্যকর LIFO (লাস্ট-ইন, ফার্স্ট-আউট) অপারেশনের জন্য ডিজাইন করা হয়েছে। স্ট্যাকের শেষে যোগ (পুশ) এবং বিয়োগ (পপ) করা সাধারণত খুব কার্যকর অপারেশন।

94. In the C statement `int *p[10];`, what is `p`?

৯৪. C স্টেটমেন্ট `int *p[10];`-এ, `p` কী?

  • A) A pointer to an array of 10 integers.
  • B) An array of 10 integer pointers.
  • C) A pointer to a pointer.
  • D) An illegal statement.

Correct Answer: B) An array of 10 integer pointers.

Explanation: Due to operator precedence, `[]` has higher precedence than `*`. So, `p` is first declared as an array of 10 elements (`p[10]`). The type of these elements is `int *` (pointer to integer). Thus, `p` is an array of 10 pointers to integers.

ব্যাখ্যা: অপারেটর প্রেসিডেন্সের কারণে, `[]`-এর অগ্রাধিকার `*`-এর চেয়ে বেশি। সুতরাং, `p` প্রথমে 10টি উপাদানের একটি অ্যারে (`p[10]`) হিসাবে ঘোষিত হয়। এই উপাদানগুলির টাইপ হলো `int *` (ইন্টিজারের পয়েন্টার)। সুতরাং, `p` হলো 10টি ইন্টিজার পয়েন্টারের একটি অ্যারে।

95. The concept that different classes can have methods with the same name but different implementations is called?

৯৫. বিভিন্ন ক্লাসের একই নামের কিন্তু ভিন্ন বাস্তবায়নের মেথড থাকার ধারণাকে কী বলা হয়?

  • A) Encapsulation
  • B) Abstraction
  • C) Polymorphism
  • D) Inheritance

Correct Answer: C) Polymorphism

Explanation: This is a classic description of polymorphism (specifically, via overriding). A base class can define a virtual function, and multiple derived classes can provide their own unique implementation for that function, all while being called through a common interface (a base class pointer).

ব্যাখ্যা: এটি পলিমরফিজমের (বিশেষত, ওভাররাইডিংয়ের মাধ্যমে) একটি ক্লাসিক বর্ণনা। একটি বেস ক্লাস একটি ভার্চুয়াল ফাংশন সংজ্ঞায়িত করতে পারে, এবং একাধিক ডিরাইভড ক্লাস সেই ফাংশনের জন্য তাদের নিজস্ব অনন্য বাস্তবায়ন প্রদান করতে পারে, সবই একটি সাধারণ ইন্টারফেসের (একটি বেস ক্লাস পয়েন্টার) মাধ্যমে কল করা হয়।

96. What is a “shallow copy” when copying objects?

৯৬. অবজেক্ট কপি করার সময় “শ্যালো কপি” কী?

  • A) A copy where only primitive types are copied.
  • B) A bit-by-bit copy of an object, where pointers in the new object point to the same memory locations as the original.
  • C) A copy where dynamically allocated memory is also duplicated for the new object.
  • D) A copy that is incomplete.

Correct Answer: B) A bit-by-bit copy of an object, where pointers in the new object point to the same memory locations as the original.

Explanation: A shallow copy simply copies the values of the data members. If a member is a pointer, only the pointer’s address is copied, not the data it points to. This can lead to problems, as both the original and copied object’s pointers will point to the same data. A “deep copy” solves this by allocating new memory for the copied object’s pointers.

ব্যাখ্যা: একটি শ্যালো কপি কেবল ডেটা সদস্যদের মান কপি করে। যদি কোনো সদস্য একটি পয়েন্টার হয়, তবে শুধুমাত্র পয়েন্টারের অ্যাড্রেস কপি করা হয়, এটি যে ডেটার দিকে নির্দেশ করে তা নয়। এটি সমস্যা তৈরি করতে পারে, কারণ মূল এবং কপি করা উভয় অবজেক্টের পয়েন্টার একই ডেটার দিকে নির্দেশ করবে। একটি “ডিপ কপি” কপি করা অবজেক্টের পয়েন্টারদের জন্য নতুন মেমরি বরাদ্দ করে এই সমস্যার সমাধান করে।

97. The `volatile` keyword in C tells the compiler that a variable…

৯৭. C-তে `volatile` কীওয়ার্ডটি কম্পাইলারকে বলে যে একটি ভেরিয়েবল…

  • A) cannot be changed.
  • B) is very important.
  • C) may be changed by something outside the normal program flow.
  • D) should be stored in a register.

Correct Answer: C) may be changed by something outside the normal program flow.

Explanation: `volatile` prevents the compiler from applying any optimizations on the variable that assume its value cannot change unexpectedly. It’s used for variables that can be modified by hardware, an interrupt service routine, or another thread.

ব্যাখ্যা: `volatile` কম্পাইলারকে ভেরিয়েবলের উপর কোনো অপটিমাইজেশন প্রয়োগ করা থেকে বিরত রাখে যা ধরে নেয় যে এর মান অপ্রত্যাশিতভাবে পরিবর্তন হতে পারে না। এটি এমন ভেরিয়েবলের জন্য ব্যবহৃত হয় যা হার্ডওয়্যার, একটি ইন্টারাপ্ট সার্ভিস রুটিন বা অন্য কোনো থ্রেড দ্বারা পরিবর্তিত হতে পারে।

98. Which of these is the correct way to initialize an array in C?

৯৮. C-তে একটি অ্যারে ইনিশিয়ালাইজ করার সঠিক উপায় কোনটি?

  • A) `int arr[3] = (1, 2, 3);`
  • B) `int arr[3] = {1, 2, 3};`
  • C) `int arr = {1, 2, 3};`
  • D) `int arr(3) = {1, 2, 3};`

Correct Answer: B) `int arr[3] = {1, 2, 3};`

Explanation: In C, arrays are initialized using a comma-separated list of values enclosed in curly braces `{}`. The size can often be omitted if the initializer list is present (e.g., `int arr[] = {1, 2, 3};`), and the compiler will deduce the size.

ব্যাখ্যা: C-তে, অ্যারেগুলি কার্লি ব্রেস `{}`-এর মধ্যে কমা দ্বারা পৃথক করা মানের তালিকা ব্যবহার করে ইনিশিয়ালাইজ করা হয়। যদি ইনিশিয়ালাইজার তালিকা উপস্থিত থাকে তবে আকারটি প্রায়শই বাদ দেওয়া যেতে পারে (যেমন, `int arr[] = {1, 2, 3};`), এবং কম্পাইলার আকারটি অনুমান করে নেবে।

99. A destructor in C++ has the same name as the class, preceded by a…

৯৯. C++ এ একটি ডেস্ট্রাক্টরের নাম ক্লাসের নামের সমান হয়, যার আগে একটি … থাকে।

  • A) `*` (asterisk)
  • B) `&` (ampersand)
  • C) `$` (dollar sign)
  • D) `~` (tilde)

Correct Answer: D) `~` (tilde)

Explanation: A destructor is a special member function used to deallocate memory and do other cleanup for a class object when its lifetime ends. Its name is the class name prefixed with a tilde (`~`). For example, the destructor for class `MyClass` would be `~MyClass()`.

ব্যাখ্যা: ডেস্ট্রাক্টর একটি বিশেষ সদস্য ফাংশন যা একটি ক্লাস অবজেক্টের জীবনকাল শেষ হলে মেমরি ডি-অ্যালোকেট করতে এবং অন্যান্য পরিচ্ছন্নতার কাজ করতে ব্যবহৃত হয়। এর নাম ক্লাসের নামের আগে একটি টিল্ড (`~`) চিহ্ন দিয়ে শুরু হয়। উদাহরণস্বরূপ, `MyClass` ক্লাসের জন্য ডেস্ট্রাক্টর হবে `~MyClass()`।

100. What is the main purpose of the “protected” access specifier in C++?

১০০. C++ এ “protected” অ্যাক্সেস স্পেসিফায়ারের প্রধান উদ্দেশ্য কী?

  • A) To make members accessible only within the same class.
  • B) To make members accessible to any part of the program.
  • C) To make members accessible within the class and to its derived classes, but not to the outside world.
  • D) To prevent members from being modified.

Correct Answer: C) To make members accessible within the class and to its derived classes, but not to the outside world.

Explanation: The `protected` access specifier is a key part of inheritance. A protected member is similar to a private member, but it can be accessed by derived (child) classes. This allows a base class to provide an interface for its derived classes while hiding the implementation details from the rest of the world.

ব্যাখ্যা: `protected` অ্যাক্সেস স্পেসিফায়ার ইনহেরিটেন্সের একটি গুরুত্বপূর্ণ অংশ। একটি প্রোটেক্টেড সদস্য একটি প্রাইভেট সদস্যের মতো, কিন্তু এটি ডিরাইভড (চাইল্ড) ক্লাস দ্বারা অ্যাক্সেস করা যায়। এটি একটি বেস ক্লাসকে তার ডিরাইভড ক্লাসগুলির জন্য একটি ইন্টারফেস প্রদান করার সুযোগ দেয় এবং বাকি বিশ্ব থেকে বাস্তবায়নের বিবরণ লুকিয়ে রাখে।

WBSSC SLST Computer Science IX & XN : Programming Languages & Concepts Read More »

SLST Computer Science

WBSSC SLST Computer Science IX & X : Overview of Programming

1. What is the first step in computer-based problem-solving? / কম্পিউটার-ভিত্তিক সমস্যা সমাধানের প্রথম ধাপ কোনটি?

  1. Writing the code / কোড লেখা
  2. Defining the problem / সমস্যা সংজ্ঞায়িত করা
  3. Compiling the program / প্রোগ্রাম কম্পাইল করা
  4. Testing the solution / সমাধান পরীক্ষা করা

Correct Answer (সঠিক উত্তর): b) Defining the problem / সমস্যা সংজ্ঞায়িত করা

Explanation (ব্যাখ্যা): Before attempting to solve a problem, it is crucial to clearly understand and define what the problem is. This involves identifying the inputs, outputs, and constraints. / কোনো সমস্যা সমাধানের চেষ্টা করার আগে, সমস্যাটি কী তা স্পষ্টভাবে বোঝা এবং সংজ্ঞায়িত করা অত্যন্ত গুরুত্বপূর্ণ। এর মধ্যে ইনপুট, আউটপুট এবং সীমাবদ্ধতা চিহ্নিত করা জড়িত।

2. An algorithm is best described as: / একটি অ্যালগরিদমকে সবচেয়ে ভালোভাবে বর্ণনা করা যায়:

  1. A computer program / একটি কম্পিউটার প্রোগ্রাম
  2. A high-level language / একটি উচ্চ-স্তরের ভাষা
  3. A step-by-step procedure for solving a problem / একটি সমস্যা সমাধানের জন্য ধাপে ধাপে পদ্ধতি
  4. A flowchart diagram / একটি ফ্লোচার্ট ডায়াগ্রাম

Correct Answer (সঠিক উত্তর): c) A step-by-step procedure for solving a problem / একটি সমস্যা সমাধানের জন্য ধাপে ধাপে পদ্ধতি

Explanation (ব্যাখ্যা): An algorithm is a finite set of well-defined instructions or steps to solve a specific problem or perform a computation. It is independent of any programming language. / একটি অ্যালগরিদম হলো একটি নির্দিষ্ট সমস্যা সমাধান বা গণনা সম্পাদনের জন্য সু-সংজ্ঞায়িত নির্দেশের একটি সসীম সেট। এটি যেকোনো প্রোগ্রামিং ভাষা থেকে স্বাধীন।

3. Time complexity of an algorithm measures: / একটি অ্যালগরিদমের টাইম কমপ্লেক্সিটি (Time complexity) পরিমাপ করে:

  1. The time it takes to write the algorithm / অ্যালগরিদমটি লিখতে যে সময় লাগে
  2. The number of lines in the code / কোডের লাইনের সংখ্যা
  3. The amount of memory it uses / এটি যে পরিমাণ মেমরি ব্যবহার করে
  4. The amount of time it takes to run as a function of the input size / ইনপুটের আকারের ওপর নির্ভর করে এটি চলতে যে পরিমাণ সময় নেয়

Correct Answer (সঠিক উত্তর): d) The amount of time it takes to run as a function of the input size / ইনপুটের আকারের ওপর নির্ভর করে এটি চলতে যে পরিমাণ সময় নেয়

Explanation (ব্যাখ্যা): Time complexity is a computational complexity that describes the amount of computer time it takes to run an algorithm, typically expressed using Big O notation as a function of the length of the input. / টাইম কমপ্লেক্সিটি হলো একটি গণনামূলক জটিলতা যা একটি অ্যালগরিদম চালাতে যে পরিমাণ কম্পিউটার সময় লাগে তা বর্ণনা করে, সাধারণত ইনপুটের আকারের একটি ফাংশন হিসাবে বিগ O নোটেশন ব্যবহার করে প্রকাশ করা হয়।

4. Space complexity of an algorithm measures: / একটি অ্যালগরিদমের স্পেস কমপ্লেক্সিটি (Space complexity) পরিমাপ করে:

  1. The size of the hard disk / হার্ড ডিস্কের আকার
  2. The amount of memory space required by the algorithm to run / অ্যালগরিদমটি চালানোর জন্য প্রয়োজনীয় মেমরি স্পেসের পরিমাণ
  3. The complexity of the algorithm’s logic / অ্যালগরিদমের যুক্তির জটিলতা
  4. The number of variables used / ব্যবহৃত ভেরিয়েবলের সংখ্যা

Correct Answer (সঠিক উত্তর): b) The amount of memory space required by the algorithm to run / অ্যালগরিদমটি চালানোর জন্য প্রয়োজনীয় মেমরি স্পেসের পরিমাণ

Explanation (ব্যাখ্যা): Space complexity refers to the total amount of memory space used by an algorithm/program, including the space of input values for execution. / স্পেস কমপ্লেক্সিটি বলতে একটি অ্যালগরিদম/প্রোগ্রাম দ্বারা ব্যবহৃত মোট মেমরি স্পেসকে বোঝায়, যার মধ্যে সম্পাদনের জন্য ইনপুট মানগুলির স্থানও অন্তর্ভুক্ত।

5. In a flowchart, what does a rectangle symbol represent? / একটি ফ্লোচার্টে, একটি আয়তক্ষেত্র প্রতীক কী উপস্থাপন করে?

  1. Start/End / শুরু/শেষ
  2. Input/Output / ইনপুট/আউটপুট
  3. Process / প্রক্রিয়া
  4. Decision / সিদ্ধান্ত

Correct Answer (সঠিক উত্তর): c) Process / প্রক্রিয়া

Explanation (ব্যাখ্যা): A rectangle in a flowchart represents a process, such as a calculation or an assignment operation (e.g., `x = 5 + y`). / একটি ফ্লোচার্টে একটি আয়তক্ষেত্র একটি প্রক্রিয়াকে উপস্থাপন করে, যেমন একটি গণনা বা একটি অ্যাসাইনমেন্ট অপারেশন (যেমন, `x = 5 + y`)।

6. The diamond symbol in a flowchart is used for: / একটি ফ্লোচার্টে হীরক (diamond) প্রতীকটি ব্যবহৃত হয়:

  1. Data Input / ডেটা ইনপুট
  2. Decision making / সিদ্ধান্ত গ্রহণের জন্য
  3. Termination / সমাপ্তি
  4. Connector / সংযোগকারী

Correct Answer (সঠিক উত্তর): b) Decision making / সিদ্ধান্ত গ্রহণের জন্য

Explanation (ব্যাখ্যা): The diamond symbol represents a decision point in a program, typically a question with a “yes” or “no” answer, which determines the flow of the program. / হীরক প্রতীকটি একটি প্রোগ্রামের একটি সিদ্ধান্ত বিন্দুকে উপস্থাপন করে, সাধারণত একটি “হ্যাঁ” বা “না” উত্তরসহ একটি প্রশ্ন, যা প্রোগ্রামের প্রবাহ নির্ধারণ করে।

7. What is pseudo-code? / সিউডো-কোড (Pseudo-code) কী?

  1. A machine-readable code / একটি মেশিন-পঠনযোগ্য কোড
  2. An informal high-level description of an algorithm’s operating principle / একটি অ্যালগরিদমের কার্যকারিতার একটি অনানুষ্ঠানিক উচ্চ-স্তরের বর্ণনা
  3. A program written in assembly language / অ্যাসেম্বলি ভাষায় লেখা একটি প্রোগ্রাম
  4. A compiled code / একটি কম্পাইল করা কোড

Correct Answer (সঠিক উত্তর): b) An informal high-level description of an algorithm’s operating principle / একটি অ্যালগরিদমের কার্যকারিতার একটি অনানুষ্ঠানিক উচ্চ-স্তরের বর্ণনা

Explanation (ব্যাখ্যা): Pseudo-code is a plain language description of the steps in an algorithm. It is not an actual programming language but uses a structured format to make it easy to convert into a real programming language. / সিউডো-কোড হলো একটি অ্যালগরিদমের ধাপগুলোর একটি সরল ভাষার বর্ণনা। এটি কোনো প্রকৃত প্রোগ্রামিং ভাষা নয় তবে একটি কাঠামোবদ্ধ বিন্যাস ব্যবহার করে যাতে এটি সহজেই একটি বাস্তব প্রোগ্রামিং ভাষায় রূপান্তরিত করা যায়।

8. A decision table is used for: / একটি ডিসিশন টেবিল (decision table) ব্যবহৃত হয়:

  1. Designing complex logic with multiple conditions / একাধিক শর্তসহ জটিল যুক্তি ডিজাইন করার জন্য
  2. Storing data in a tabular format / সারণী বিন্যাসে ডেটা সংরক্ষণ করার জন্য
  3. Drawing flowcharts / ফ্লোচার্ট আঁকার জন্য
  4. Writing pseudo-code / সিউডো-কোড লেখার জন্য

Correct Answer (সঠিক উত্তর): a) Designing complex logic with multiple conditions / একাধিক শর্তসহ জটিল যুক্তি ডিজাইন করার জন্য

Explanation (ব্যাখ্যা): A decision table is a concise visual representation for specifying which actions to perform depending on a given set of conditions. It helps in modeling complex business rules. / একটি ডিসিশন টেবিল হলো একটি সংক্ষিপ্ত ভিজ্যুয়াল উপস্থাপনা যা নির্দিষ্ট করে যে শর্তের একটি সেটের উপর নির্ভর করে কোন ক্রিয়াগুলি সম্পাদন করতে হবে। এটি জটিল ব্যবসায়িক নিয়ম মডেল করতে সহায়তা করে।

9. Which of the following is a key concept of structured programming? / নিচের কোনটি স্ট্রাকচার্ড প্রোগ্রামিংয়ের একটি মূল ধারণা?

  1. Using `GOTO` statements extensively / `GOTO` স্টেটমেন্টের ব্যাপক ব্যবহার
  2. Breaking down a program into smaller, manageable modules or functions / একটি প্রোগ্রামকে ছোট, পরিচালনাযোগ্য মডিউল বা ফাংশনে বিভক্ত করা
  3. Writing the entire program in a single block of code / পুরো প্রোগ্রামটি একটি একক কোড ব্লকে লেখা
  4. Using global variables for all data / সমস্ত ডেটার জন্য গ্লোবাল ভেরিয়েবল ব্যবহার করা

Correct Answer (সঠিক উত্তর): b) Breaking down a program into smaller, manageable modules or functions / একটি প্রোগ্রামকে ছোট, পরিচালনাযোগ্য মডিউল বা ফাংশনে বিভক্ত করা

Explanation (ব্যাখ্যা): Structured programming is a paradigm that emphasizes clarity, quality, and development time by using subroutines (functions/procedures), block structures (like `if/else`, `while`), and loops, and avoiding `GOTO` statements. / স্ট্রাকচার্ড প্রোগ্রামিং এমন একটি প্যারাডাইম যা সাবরুটিন (ফাংশন/প্রসিডিউর), ব্লক স্ট্রাকচার (যেমন `if/else`, `while`) এবং লুপ ব্যবহার করে এবং `GOTO` স্টেটমেন্ট পরিহার করে স্পষ্টতা, গুণমান এবং বিকাশের সময়কে গুরুত্ব দেয়।

10. Which language is directly understood by the computer’s CPU? / কোন ভাষা কম্পিউটারের সিপিইউ (CPU) সরাসরি বুঝতে পারে?

  1. High-level language / উচ্চ-স্তরের ভাষা
  2. Assembly language / অ্যাসেম্বলি ভাষা
  3. Machine language / মেশিন ভাষা
  4. Pseudo-code / সিউডো-কোড

Correct Answer (সঠিক উত্তর): c) Machine language / মেশিন ভাষা

Explanation (ব্যাখ্যা): Machine language, consisting of binary code (0s and 1s), is the only language that a computer’s central processing unit (CPU) can execute directly. / মেশিন ভাষা, যা বাইনারি কোড (0 এবং 1) দ্বারা গঠিত, একমাত্র ভাষা যা একটি কম্পিউটারের সেন্ট্রাল প্রসেসিং ইউনিট (CPU) সরাসরি কার্যকর করতে পারে।

11. What does a translator program do? / একটি অনুবাদক (translator) প্রোগ্রাম কী করে?

  1. Converts a program from one high-level language to another / একটি প্রোগ্রামকে এক উচ্চ-স্তরের ভাষা থেকে অন্যটিতে রূপান্তর করে
  2. Converts source code into machine code / সোর্স কোডকে মেশিন কোডে রূপান্তর করে
  3. Manages the computer’s hardware / কম্পিউটারের হার্ডওয়্যার পরিচালনা করে
  4. Edits source code / সোর্স কোড সম্পাদনা করে

Correct Answer (সঠিক উত্তর): b) Converts source code into machine code / সোর্স কোডকে মেশিন কোডে রূপান্তর করে

Explanation (ব্যাখ্যা): Translators like compilers and interpreters are system software that convert source code written in a high-level or assembly language into machine code that the CPU can execute. / কম্পাইলার এবং ইন্টারপ্রেটারের মতো অনুবাদকগুলি হলো সিস্টেম সফ্টওয়্যার যা উচ্চ-স্তরের বা অ্যাসেম্বলি ভাষায় লেখা সোর্স কোডকে মেশিন কোডে রূপান্তর করে যা সিপিইউ কার্যকর করতে পারে।

12. What is the main difference between a compiler and an interpreter? / একটি কম্পাইলার এবং একটি ইন্টারপ্রেটারের মধ্যে প্রধান পার্থক্য কী?

  1. A compiler is faster than an interpreter / একটি কম্পাইলার একটি ইন্টারপ্রেটারের চেয়ে দ্রুত
  2. A compiler converts the entire program at once, while an interpreter converts it line-by-line / একটি কম্পাইলার পুরো প্রোগ্রামটি একবারে রূপান্তর করে, যখন একটি ইন্টারপ্রেটার এটি লাইন-বাই-লাইন রূপান্তর করে
  3. An interpreter produces an executable file, but a compiler does not / একটি ইন্টারপ্রেটার একটি এক্সিকিউটেবল ফাইল তৈরি করে, কিন্তু একটি কম্পাইলার করে না
  4. There is no difference / কোনো পার্থক্য নেই

Correct Answer (সঠিক উত্তর): b) A compiler converts the entire program at once, while an interpreter converts it line-by-line / একটি কম্পাইলার পুরো প্রোগ্রামটি একবারে রূপান্তর করে, যখন একটি ইন্টারপ্রেটার এটি লাইন-বাই-লাইন রূপান্তর করে

Explanation (ব্যাখ্যা): A compiler scans the entire source code and translates it into machine code, creating an executable file. An interpreter translates and executes the source code one statement at a time. / একটি কম্পাইলার পুরো সোর্স কোডটি স্ক্যান করে এবং এটিকে মেশিন কোডে অনুবাদ করে, একটি এক্সিকিউটেবল ফাইল তৈরি করে। একটি ইন্টারপ্রেটার সোর্স কোডকে একবারে একটি স্টেটমেন্ট অনুবাদ করে এবং কার্যকর করে।

13. An assembler is used to translate: / একটি অ্যাসেম্বলার অনুবাদ করতে ব্যবহৃত হয়:

  1. High-level language to machine language / উচ্চ-স্তরের ভাষা থেকে মেশিন ভাষায়
  2. Machine language to high-level language / মেশিন ভাষা থেকে উচ্চ-স্তরের ভাষায়
  3. Assembly language to machine language / অ্যাসেম্বলি ভাষা থেকে মেশিন ভাষায়
  4. High-level language to assembly language / উচ্চ-স্তরের ভাষা থেকে অ্যাসেম্বলি ভাষায়

Correct Answer (সঠিক উত্তর): c) Assembly language to machine language / অ্যাসেম্বলি ভাষা থেকে মেশিন ভাষায়

Explanation (ব্যাখ্যা): An assembler is a specific type of translator that converts assembly language code, which uses mnemonics, into its equivalent machine code. / একটি অ্যাসেম্বলার হলো একটি নির্দিষ্ট ধরনের অনুবাদক যা অ্যাসেম্বলি ভাষার কোডকে, যা স্মৃতিসহায়ক (mnemonics) ব্যবহার করে, তার সমতুল্য মেশিন কোডে রূপান্তর করে।

14. Which of the following is an example of a high-level language? / নিচের কোনটি একটি উচ্চ-স্তরের ভাষার উদাহরণ?

  1. Binary Code / বাইনারি কোড
  2. Assembly Language / অ্যাসেম্বলি ভাষা
  3. Python / পাইথন
  4. Machine Code / মেশিন কোড

Correct Answer (সঠিক উত্তর): c) Python / পাইথন

Explanation (ব্যাখ্যা): Python, C++, Java, and JavaScript are examples of high-level languages. They use English-like syntax and are easier for humans to read and write. Assembly language is a low-level language, and machine/binary code is the lowest level. / পাইথন, সি++, জাভা এবং জাভাস্ক্রিপ্ট হলো উচ্চ-স্তরের ভাষার উদাহরণ। তারা ইংরেজি-সদৃশ সিনট্যাক্স ব্যবহার করে এবং মানুষের পক্ষে পড়া এবং লেখা সহজ। অ্যাসেম্বলি ভাষা একটি নিম্ন-স্তরের ভাষা, এবং মেশিন/বাইনারি কোড হলো সর্বনিম্ন স্তর।

15. What is the primary purpose of an Operating System (OS)? / একটি অপারেটিং সিস্টেমের (OS) প্রাথমিক উদ্দেশ্য কী?

  1. To provide a text editor for programming / প্রোগ্রামিংয়ের জন্য একটি টেক্সট এডিটর সরবরাহ করা
  2. To manage hardware and software resources of the computer / কম্পিউটারের হার্ডওয়্যার এবং সফ্টওয়্যার রিসোর্স পরিচালনা করা
  3. To translate high-level language to machine code / উচ্চ-স্তরের ভাষাকে মেশিন কোডে অনুবাদ করা
  4. To connect to the internet / ইন্টারনেটের সাথে সংযোগ স্থাপন করা

Correct Answer (সঠিক উত্তর): b) To manage hardware and software resources of the computer / কম্পিউটারের হার্ডওয়্যার এবং সফ্টওয়্যার রিসোর্স পরিচালনা করা

Explanation (ব্যাখ্যা): An operating system acts as an intermediary between the user and the computer hardware, managing resources like the CPU, memory, storage devices, and providing services for application programs. / একটি অপারেটিং সিস্টেম ব্যবহারকারী এবং কম্পিউটার হার্ডওয়্যারের মধ্যে মধ্যস্থতাকারী হিসাবে কাজ করে, সিপিইউ, মেমরি, স্টোরেজ ডিভাইসের মতো রিসোর্স পরিচালনা করে এবং অ্যাপ্লিকেশন প্রোগ্রামগুলির জন্য পরিষেবা সরবরাহ করে।

16. Multiprogramming allows: / মাল্টিপ্রোগ্রামিং (Multiprogramming) অনুমতি দেয়:

  1. Multiple users to use the computer simultaneously / একাধিক ব্যবহারকারীকে একই সাথে কম্পিউটার ব্যবহার করার
  2. Multiple programs to reside in memory at the same time / একাধিক প্রোগ্রামকে একই সময়ে মেমরিতে থাকার
  3. Multiple CPUs to execute instructions / একাধিক সিপিইউকে নির্দেশাবলী কার্যকর করার
  4. A single program to be divided into multiple tasks / একটি একক প্রোগ্রামকে একাধিক টাস্কে বিভক্ত করার

Correct Answer (সঠিক উত্তর): b) Multiple programs to reside in memory at the same time / একাধিক প্রোগ্রামকে একই সময়ে মেমরিতে থাকার

Explanation (ব্যাখ্যা): In a multiprogramming system, several programs are kept in the main memory at the same time. The CPU is switched from one program to another to increase its utilization, especially when a program is waiting for I/O. / একটি মাল্টিপ্রোগ্রামিং সিস্টেমে, বেশ কয়েকটি প্রোগ্রাম একই সময়ে প্রধান মেমরিতে রাখা হয়। সিপিইউ-এর ব্যবহার বাড়ানোর জন্য এটিকে এক প্রোগ্রাম থেকে অন্য প্রোগ্রামে পরিবর্তন করা হয়, বিশেষ করে যখন কোনো প্রোগ্রাম I/O-এর জন্য অপেক্ষা করে।

17. Multitasking is the logical extension of: / মাল্টিটাস্কিং (Multitasking) হলো কিসের যৌক্তিক সম্প্রসারণ?

  1. Multiprogramming / মাল্টিপ্রোগ্রামিং
  2. Multiprocessing / মাল্টিপ্রসেসিং
  3. Time-sharing / টাইম-শেয়ারিং
  4. Single programming / সিঙ্গেল প্রোগ্রামিং

Correct Answer (সঠিক উত্তর): a) Multiprogramming / মাল্টিপ্রোগ্রামিং

Explanation (ব্যাখ্যা): Multitasking is an extension of multiprogramming where the CPU switching between jobs happens so frequently that users can interact with each program while it is running, creating an illusion of parallel execution. / মাল্টিটাস্কিং হলো মাল্টিপ্রোগ্রামিং-এর একটি সম্প্রসারণ যেখানে কাজগুলির মধ্যে সিপিইউ সুইচিং এত ঘন ঘন ঘটে যে ব্যবহারকারীরা প্রতিটি প্রোগ্রামের সাথে চলার সময় ইন্টারঅ্যাক্ট করতে পারে, যা সমান্তরাল সম্পাদনের একটি বিভ্রম তৈরি করে।

18. A time-sharing system is characterized by: / একটি টাইম-শেয়ারিং (time-sharing) সিস্টেমের বৈশিষ্ট্য হলো:

  1. One user, one program at a time / একবারে একজন ব্যবহারকারী, একটি প্রোগ্রাম
  2. Multiple programs in memory, but only one is active / মেমরিতে একাধিক প্রোগ্রাম, কিন্তু শুধুমাত্র একটি সক্রিয়
  3. *
  4. Giving each user a small slice of CPU time / প্রতিটি ব্যবহারকারীকে সিপিইউ সময়ের একটি ছোট অংশ দেওয়া
  5. Using multiple processors / একাধিক প্রসেসর ব্যবহার করা

Correct Answer (সঠিক উত্তর): c) Giving each user a small slice of CPU time / প্রতিটি ব্যবহারকারীকে সিপিইউ সময়ের একটি ছোট অংশ দেওয়া

Explanation (ব্যাখ্যা): Time-sharing systems allow multiple users to share a computer simultaneously by rapidly switching the CPU among the users. Each user gets a small, fixed time slice (quantum) of CPU time. / টাইম-শেয়ারিং সিস্টেমগুলি ব্যবহারকারীদের মধ্যে সিপিইউ-কে দ্রুত পরিবর্তন করে একাধিক ব্যবহারকারীকে একই সাথে একটি কম্পিউটার শেয়ার করার অনুমতি দেয়। প্রতিটি ব্যবহারকারী সিপিইউ সময়ের একটি ছোট, নির্দিষ্ট সময় খণ্ড (কোয়ান্টাম) পায়।

19. Multiprocessing refers to: / মাল্টিপ্রসেসিং (Multiprocessing) বলতে বোঝায়:

  1. Executing multiple programs on a single CPU / একটি একক সিপিইউ-তে একাধিক প্রোগ্রাম চালানো
  2. Executing multiple programs concurrently / একাধিক প্রোগ্রাম একই সাথে চালানো
  3. Using two or more CPUs within a single computer system / একটি একক কম্পিউটার সিস্টেমে দুই বা ততোধিক সিপিইউ ব্যবহার করা
  4. A program divided into multiple processes / একটি প্রোগ্রামকে একাধিক প্রসেসে বিভক্ত করা

Correct Answer (সঠিক উত্তর): c) Using two or more CPUs within a single computer system / একটি একক কম্পিউটার সিস্টেমে দুই বা ততোধিক সিপিইউ ব্যবহার করা

Explanation (ব্যাখ্যা): Multiprocessing is the use of two or more central processing units (CPUs) within a single computer system. This allows for true parallel execution of multiple processes, significantly increasing computing power. / মাল্টিপ্রসেসিং হলো একটি একক কম্পিউটার সিস্টেমের মধ্যে দুই বা ততোধিক সেন্ট্রাল প্রসেসিং ইউনিট (সিপিইউ) ব্যবহার করা। এটি একাধিক প্রসেসের সত্যিকারের সমান্তরাল সম্পাদনের অনুমতি দেয়, যা কম্পিউটিং শক্তিকে উল্লেখযোগ্যভাবে বৃদ্ধি করে।

20. What is a text editor in the context of programming? / প্রোগ্রামিং-এর প্রেক্ষাপটে একটি টেক্সট এডিটর কী?

  1. A program to format text documents like Microsoft Word / মাইক্রোসফ্ট ওয়ার্ডের মতো টেক্সট ডকুমেন্ট ফরম্যাট করার একটি প্রোগ্রাম
  2. A program used to write and edit plain text source code files / প্লেইন টেক্সট সোর্স কোড ফাইল লেখা এবং সম্পাদনা করার জন্য ব্যবহৃত একটি প্রোগ্রাম
  3. A type of operating system / এক ধরনের অপারেটিং সিস্টেম
  4. A hardware device for inputting text / টেক্সট ইনপুট করার জন্য একটি হার্ডওয়্যার ডিভাইস

Correct Answer (সঠিক উত্তর): b) A program used to write and edit plain text source code files / প্লেইন টেক্সট সোর্স কোড ফাইল লেখা এবং সম্পাদনা করার জন্য ব্যবহৃত একটি প্রোগ্রাম

Explanation (ব্যাখ্যা): A text editor is a fundamental tool for programmers. It allows them to write and edit source code in a plain text format, without any rich text formatting. Examples include VS Code, Sublime Text, and Notepad++. / একটি টেক্সট এডিটর প্রোগ্রামারদের জন্য একটি মৌলিক টুল। এটি তাদের কোনো রিচ টেক্সট ফরম্যাটিং ছাড়াই প্লেইন টেক্সট ফরম্যাটে সোর্স কোড লিখতে এবং সম্পাদনা করতে দেয়। উদাহরণস্বরূপ ভিএস কোড, সাবলাইম টেক্সট এবং নোটপ্যাড++।

21. A data structure is: / একটি ডেটা স্ট্রাকচার হলো:

  1. A type of algorithm / এক ধরনের অ্যালগরিদম
  2. A way to organize and store data in a computer for efficient access and modification / কম্পিউটারে ডেটা সংগঠিত এবং সংরক্ষণ করার একটি উপায় যাতে কার্যকরভাবে অ্যাক্সেস এবং পরিবর্তন করা যায়
  3. A programming language / একটি প্রোগ্রামিং ভাষা
  4. A hardware component / একটি হার্ডওয়্যার উপাদান

Correct Answer (সঠিক উত্তর): b) A way to organize and store data in a computer for efficient access and modification / কম্পিউটারে ডেটা সংগঠিত এবং সংরক্ষণ করার একটি উপায় যাতে কার্যকরভাবে অ্যাক্সেস এবং পরিবর্তন করা যায়

Explanation (ব্যাখ্যা): A data structure is a particular way of organizing data in a computer’s memory so that it can be used effectively. Different data structures are suited to different kinds of applications. / একটি ডেটা স্ট্রাকচার হলো কম্পিউটারের মেমরিতে ডেটা সংগঠিত করার একটি বিশেষ উপায় যাতে এটি কার্যকরভাবে ব্যবহার করা যায়। বিভিন্ন ধরনের অ্যাপ্লিকেশনের জন্য বিভিন্ন ডেটা স্ট্রাকচার উপযুক্ত।

22. Which data structure stores elements of the same type in contiguous memory locations? / কোন ডেটা স্ট্রাকচার একই ধরনের উপাদানগুলিকে সংলগ্ন মেমরি অবস্থানে সংরক্ষণ করে?

  1. Linked List / লিঙ্কড লিস্ট
  2. Stack / স্ট্যাক
  3. Queue / কিউ
  4. Array / অ্যারে

Correct Answer (সঠিক উত্তর): d) Array / অ্যারে

Explanation (ব্যাখ্যা): An array is a collection of items of the same data type stored at contiguous memory locations. This allows for efficient access to elements using an index. / একটি অ্যারে হলো একই ডেটা টাইপের আইটেমগুলির একটি সংগ্রহ যা সংলগ্ন মেমরি অবস্থানে সংরক্ষিত থাকে। এটি একটি ইনডেক্স ব্যবহার করে উপাদানগুলিতে কার্যকর অ্যাক্সেসের অনুমতি দেয়।

23. Which of the following principles does a Stack data structure follow? / স্ট্যাক (Stack) ডেটা স্ট্রাকচার নিচের কোন নীতিটি অনুসরণ করে?

  1. FIFO (First-In, First-Out) / ফিফো (ফার্স্ট-ইন, ফার্স্ট-আউট)
  2. LIFO (Last-In, First-Out) / লিফো (লাস্ট-ইন, ফার্স্ট-আউট)
  3. LILO (Last-In, Last-Out) / লিলো (লাস্ট-ইন, লাস্ট-আউট)
  4. Direct Access / সরাসরি অ্যাক্সেস

Correct Answer (সঠিক উত্তর): b) LIFO (Last-In, First-Out) / লিফো (লাস্ট-ইন, ফার্স্ট-আউট)

Explanation (ব্যাখ্যা): A stack operates on the LIFO principle. The last element added (pushed) to the stack is the first element to be removed (popped). Think of a stack of plates. / একটি স্ট্যাক LIFO নীতিতে কাজ করে। স্ট্যাকে সর্বশেষ যোগ করা (পুশ করা) উপাদানটিই প্রথম সরানো (পপ করা) হয়। প্লেটের একটি স্ট্যাকের কথা ভাবুন।

24. A Queue data structure follows which principle? / একটি কিউ (Queue) ডেটা স্ট্রাকচার কোন নীতি অনুসরণ করে?

  1. LIFO (Last-In, First-Out) / লিফো (লাস্ট-ইন, ফার্স্ট-আউট)
  2. FIFO (First-In, First-Out) / ফিফো (ফার্স্ট-ইন, ফার্স্ট-আউট)
  3. Random Access / র‍্যান্ডম অ্যাক্সেস
  4. FILO (First-In, Last-Out) / ফিলো (ফার্স্ট-ইন, লাস্ট-আউট)

Correct Answer (সঠিক উত্তর): b) FIFO (First-In, First-Out) / ফিফো (ফার্স্ট-ইন, ফার্স্ট-আউট)

Explanation (ব্যাখ্যা): A queue operates on the FIFO principle. The first element added to the queue will be the first one to be removed. Think of a line of people waiting for a bus. / একটি কিউ FIFO নীতিতে কাজ করে। কিউতে প্রথম যোগ করা উপাদানটিই প্রথম সরানো হবে। বাসের জন্য অপেক্ষা করা মানুষের একটি লাইনের কথা ভাবুন।

25. What is a key feature of a Linked List? / একটি লিঙ্কড লিস্টের (Linked List) মূল বৈশিষ্ট্য কী?

  1. Elements are stored in contiguous memory / উপাদানগুলি সংলগ্ন মেমরিতে সংরক্ষণ করা হয়
  2. The size of the structure is fixed / কাঠামোর আকার স্থির
  3. Elements are linked using pointers / উপাদানগুলি পয়েন্টার ব্যবহার করে লিঙ্ক করা হয়
  4. It can only store integer data / এটি শুধুমাত্র পূর্ণসংখ্যা ডেটা সংরক্ষণ করতে পারে

Correct Answer (সঠিক উত্তর): c) Elements are linked using pointers / উপাদানগুলি পয়েন্টার ব্যবহার করে লিঙ্ক করা হয়

Explanation (ব্যাখ্যা): A linked list consists of nodes where each node contains data and a pointer (or link) to the next node in the sequence. This allows for dynamic memory allocation and non-contiguous storage. / একটি লিঙ্কড লিস্ট নোড দ্বারা গঠিত যেখানে প্রতিটি নোডে ডেটা এবং ক্রমের পরবর্তী নোডের একটি পয়েন্টার (বা লিঙ্ক) থাকে। এটি ডাইনামিক মেমরি বরাদ্দ এবং অ-সংলগ্ন সংরক্ষণের অনুমতি দেয়।

26. What is the time complexity for accessing an element in an array by its index? / একটি অ্যারেতে তার ইনডেক্স দ্বারা একটি উপাদান অ্যাক্সেস করার জন্য টাইম কমপ্লেক্সিটি কত?

  1. O(1)
  2. O(n)
  3. O(log n)
  4. O(n^2)

Correct Answer (সঠিক উত্তর): a) O(1)

Explanation (ব্যাখ্যা): Accessing an element in an array using its index is a constant time operation, O(1), because the memory address can be calculated directly from the base address and the index. It doesn’t depend on the size of the array. / একটি অ্যারেতে তার ইনডেক্স ব্যবহার করে একটি উপাদান অ্যাক্সেস করা একটি ধ্রুবক সময়ের অপারেশন, O(1), কারণ মেমরি ঠিকানা সরাসরি বেস ঠিকানা এবং ইনডেক্স থেকে গণনা করা যায়। এটি অ্যারের আকারের উপর নির্ভর করে না।

27. The term `GOTO`-less programming is associated with which programming paradigm? / `GOTO`-বিহীন প্রোগ্রামিং শব্দটি কোন প্রোগ্রামিং প্যারাডাইমের সাথে যুক্ত?

  1. Object-Oriented Programming / অবজেক্ট-ওরিয়েন্টেড প্রোগ্রামিং
  2. Functional Programming / ফাংশনাল প্রোগ্রামিং
  3. Structured Programming / স্ট্রাকচার্ড প্রোগ্রামিং
  4. Procedural Programming / প্রসিডিউরাল প্রোগ্রামিং

Correct Answer (সঠিক উত্তর): c) Structured Programming / স্ট্রাকচার্ড প্রোগ্রামিং

Explanation (ব্যাখ্যা): A major goal of structured programming is to improve code clarity and maintainability by avoiding the use of `GOTO` statements, which can lead to “spaghetti code” that is hard to follow and debug. / স্ট্রাকচার্ড প্রোগ্রামিংয়ের একটি প্রধান লক্ষ্য হলো `GOTO` স্টেটমেন্টের ব্যবহার এড়িয়ে কোডের স্পষ্টতা এবং রক্ষণাবেক্ষণযোগ্যতা উন্নত করা, যা “স্প্যাগেটি কোড” তৈরি করতে পারে যা অনুসরণ করা এবং ডিবাগ করা কঠিন।

28. In a decision table, what do the rows and columns represent? / একটি ডিসিশন টেবিলে, সারি এবং কলামগুলি কী উপস্থাপন করে?

  1. Rows represent actions, columns represent conditions / সারিগুলি ক্রিয়া উপস্থাপন করে, কলামগুলি শর্ত উপস্থাপন করে
  2. Rows represent conditions and actions, columns represent rules / সারিগুলি শর্ত এবং ক্রিয়া উপস্থাপন করে, কলামগুলি নিয়ম উপস্থাপন করে
  3. Rows represent rules, columns represent data / সারিগুলি নিয়ম উপস্থাপন করে, কলামগুলি ডেটা উপস্থাপন করে
  4. Rows represent variables, columns represent values / সারিগুলি ভেরিয়েবল উপস্থাপন করে, কলামগুলি মান উপস্থাপন করে

Correct Answer (সঠিক উত্তর): b) Rows represent conditions and actions, columns represent rules / সারিগুলি শর্ত এবং ক্রিয়া উপস্থাপন করে, কলামগুলি নিয়ম উপস্থাপন করে

Explanation (ব্যাখ্যা): A standard decision table is divided into four quadrants. The upper-left lists the conditions, the lower-left lists the actions. The columns on the right represent the rules, specifying which actions to take for a given combination of condition outcomes. / একটি স্ট্যান্ডার্ড ডিসিশন টেবিল চারটি চতুর্ভাগে বিভক্ত। উপরের-বামে শর্তগুলি তালিকাভুক্ত করা হয়, নীচের-বামে ক্রিয়াগুলি তালিকাভুক্ত করা হয়। ডানদিকের কলামগুলি নিয়মগুলি উপস্থাপন করে, যা শর্তের ফলাফলের একটি নির্দিষ্ট সংমিশ্রণের জন্য কোন ক্রিয়াগুলি নিতে হবে তা নির্দিষ্ট করে।

29. The oval or rounded rectangle symbol in a flowchart represents: / একটি ফ্লোচার্টে ডিম্বাকৃতি বা গোলাকার আয়তক্ষেত্র প্রতীকটি উপস্থাপন করে:

  1. Process / প্রক্রিয়া
  2. Decision / সিদ্ধান্ত
  3. Terminal (Start/End) / টার্মিনাল (শুরু/শেষ)
  4. Input/Output / ইনপুট/আউটপুট

Correct Answer (সঠিক উত্তর): c) Terminal (Start/End) / টার্মিনাল (শুরু/শেষ)

Explanation (ব্যাখ্যা): The terminal symbol, which is an oval or a rectangle with rounded corners, is used to indicate the starting and ending points of a flowchart. / টার্মিনাল প্রতীক, যা একটি ডিম্বাকৃতি বা গোলাকার কোণযুক্ত আয়তক্ষেত্র, একটি ফ্লোচার্টের শুরু এবং শেষ বিন্দু নির্দেশ করতে ব্যবহৃত হয়।

30. What is the worst-case time complexity of a linear search? / একটি লিনিয়ার সার্চের সবচেয়ে খারাপ ক্ষেত্রে (worst-case) টাইম কমপ্লেক্সিটি কত?

  1. O(1)
  2. O(log n)
  3. O(n)
  4. O(n log n)

Correct Answer (সঠিক উত্তর): c) O(n)

Explanation (ব্যাখ্যা): In a linear search, the worst case occurs when the target element is at the very end of the list or not in the list at all. In this scenario, the algorithm must check every one of the ‘n’ elements. / একটি লিনিয়ার সার্চে, সবচেয়ে খারাপ অবস্থাটি ঘটে যখন লক্ষ্য উপাদানটি তালিকার একেবারে শেষে থাকে বা তালিকায় মোটেই থাকে না। এই পরিস্থিতিতে, অ্যালগরিদমকে ‘n’টি উপাদানের প্রত্যেকটি পরীক্ষা করতে হবে।

31. Which data structure is most suitable for implementing function call mechanisms in a compiler? / একটি কম্পাইলারে ফাংশন কল মেকানিজম বাস্তবায়নের জন্য কোন ডেটা স্ট্রাকচার সবচেয়ে উপযুক্ত?

  1. Queue / কিউ
  2. Stack / স্ট্যাক
  3. Array / অ্যারে
  4. Linked List / লিঙ্কড লিস্ট

Correct Answer (সঠিক উত্তর): b) Stack / স্ট্যাক

Explanation (ব্যাখ্যা): Stacks are used to manage function calls. When a function is called, its information (return address, parameters) is pushed onto the call stack. When the function returns, its information is popped off. This LIFO behavior perfectly matches function call and return semantics. / স্ট্যাকগুলি ফাংশন কল পরিচালনা করতে ব্যবহৃত হয়। যখন একটি ফাংশন কল করা হয়, তখন তার তথ্য (রিটার্ন অ্যাড্রেস, প্যারামিটার) কল স্ট্যাকে পুশ করা হয়। যখন ফাংশনটি রিটার্ন করে, তখন তার তথ্য পপ করা হয়। এই LIFO আচরণটি ফাংশন কল এবং রিটার্ন সেমান্টিক্সের সাথে পুরোপুরি মিলে যায়।

32. The operation of adding an element to a stack is called: / একটি স্ট্যাকে একটি উপাদান যোগ করার অপারেশনকে বলা হয়:

  1. Enqueue / এনকিউ
  2. Push / পুশ
  3. Insert / ইনসার্ট
  4. Add / অ্যাড

Correct Answer (সঠিক উত্তর): b) Push / পুশ

Explanation (ব্যাখ্যা): The term for adding an item to a stack is “push”. The term for removing an item is “pop”. / একটি স্ট্যাকে একটি আইটেম যোগ করার পরিভাষা হলো “পুশ”। একটি আইটেম সরানোর পরিভাষা হলো “পপ”।

33. The operation of removing an element from a queue is called: / একটি কিউ থেকে একটি উপাদান সরানোর অপারেশনকে বলা হয়:

  1. Dequeue / ডিকিউ
  2. Pop / পপ
  3. Delete / ডিলিট
  4. Remove / রিমুভ

Correct Answer (সঠিক উত্তর): a) Dequeue / ডিকিউ

Explanation (ব্যাখ্যা): The term for removing an item from the front of a queue is “dequeue”. The term for adding an item to the rear is “enqueue”. / একটি কিউয়ের সামনে থেকে একটি আইটেম সরানোর পরিভাষা হলো “ডিকিউ”। পিছনে একটি আইটেম যোগ করার পরিভাষা হলো “এনকিউ”।

34. Which of these is a low-level programming language? / এদের মধ্যে কোনটি একটি নিম্ন-স্তরের প্রোগ্রামিং ভাষা?

  1. Java / জাভা
  2. C# / সি#
  3. Assembly Language / অ্যাসেম্বলি ভাষা
  4. Ruby / রুবি

Correct Answer (সঠিক উত্তর): c) Assembly Language / অ্যাসেম্বলি ভাষা

Explanation (ব্যাখ্যা): Low-level languages provide little or no abstraction from a computer’s instruction set architecture. Assembly language is a prime example, being very close to machine code. High-level languages like Java provide strong abstraction. / নিম্ন-স্তরের ভাষাগুলি একটি কম্পিউটারের ইনস্ট্রাকশন সেট আর্কিটেকচার থেকে খুব কম বা কোনো অ্যাবস্ট্রাকশন প্রদান করে না। অ্যাসেম্বলি ভাষা একটি প্রধান উদাহরণ, যা মেশিন কোডের খুব কাছাকাছি। জাভার মতো উচ্চ-স্তরের ভাষা শক্তিশালী অ্যাবস্ট্রাকশন প্রদান করে।

35. A “syntax error” is detected at which stage? / একটি “সিনট্যাক্স এরর” (syntax error) কোন পর্যায়ে সনাক্ত করা হয়?

  1. Runtime / রানটাইম
  2. Compilation / কম্পাইলেশন
  3. Linking / লিঙ্কিং
  4. Execution / এক্সিকিউশন

Correct Answer (সঠিক উত্তর): b) Compilation / কম্পাইলেশন

Explanation (ব্যাখ্যা): Syntax errors are violations of the programming language’s grammar rules. A compiler checks for these errors during the compilation phase before creating an executable file. An interpreter would detect them as it encounters the line. / সিনট্যাক্স এরর হলো প্রোগ্রামিং ভাষার ব্যাকরণের নিয়ম লঙ্ঘন। একটি কম্পাইলার একটি এক্সিকিউটেবল ফাইল তৈরি করার আগে কম্পাইলেশন পর্যায়ে এই ত্রুটিগুলি পরীক্ষা করে। একটি ইন্টারপ্রেটার লাইনটির সম্মুখীন হওয়ার সাথে সাথে এগুলি সনাক্ত করবে।

36. Which OS type provides the illusion that each user has a dedicated machine? / কোন ধরনের ওএস (OS) এই বিভ্রম তৈরি করে যে প্রতিটি ব্যবহারকারীর একটি নিজস্ব মেশিন রয়েছে?

  1. Multiprocessing OS / মাল্টিপ্রসেসিং ওএস
  2. Batch OS / ব্যাচ ওএস
  3. Time-Sharing OS / টাইম-শেয়ারিং ওএস
  4. Real-time OS / রিয়েল-টাইম ওএস

Correct Answer (সঠিক উত্তর): c) Time-Sharing OS / টাইম-শেয়ারিং ওএস

Explanation (ব্যাখ্যা): By rapidly switching the CPU between multiple user processes (giving each a “time slice”), a time-sharing operating system gives each user the impression that they have exclusive control of the computer. / একাধিক ব্যবহারকারী প্রক্রিয়ার মধ্যে সিপিইউকে দ্রুত পরিবর্তন করে (প্রত্যেককে একটি “টাইম স্লাইস” দিয়ে), একটি টাইম-শেয়ারিং অপারেটিং সিস্টেম প্রতিটি ব্যবহারকারীকে এই ধারণা দেয় যে তাদের কম্পিউটারের উপর একচেটিয়া নিয়ন্ত্রণ রয়েছে।

37. An algorithm with O(n^2) complexity is generally ______ than an algorithm with O(n) complexity for large n. / O(n^2) কমপ্লেক্সিটিযুক্ত একটি অ্যালগরিদম সাধারণত বড় n-এর জন্য O(n) কমপ্লেক্সিটিযুক্ত একটি অ্যালগরিদমের চেয়ে ______।

  1. Faster / দ্রুততর
  2. Slower / ধীরতর
  3. The same speed / একই গতির
  4. More memory efficient / বেশি মেমরি সাশ্রয়ী

Correct Answer (সঠিক উত্তর): b) Slower / ধীরতর

Explanation (ব্যাখ্যা): O(n^2) indicates that the execution time grows quadratically with the input size ‘n’, while O(n) indicates linear growth. For large values of ‘n’, a quadratic growth is significantly slower than a linear one. / O(n^2) নির্দেশ করে যে এক্সিকিউশন সময় ইনপুট আকার ‘n’-এর সাথে চতুর্ভুজ적으로 বৃদ্ধি পায়, যখন O(n) রৈখিক বৃদ্ধি নির্দেশ করে। ‘n’-এর বড় মানের জন্য, একটি চতুর্ভুজিক বৃদ্ধি একটি রৈখিক বৃদ্ধির চেয়ে উল্লেখযোগ্যভাবে ধীর।

38. The parallelogram symbol in a flowchart represents: / একটি ফ্লোচার্টে সামন্তরিক (parallelogram) প্রতীকটি উপস্থাপন করে:

  1. Process / প্রক্রিয়া
  2. Decision / সিদ্ধান্ত
  3. Start/End / শুরু/শেষ
  4. Input/Output / ইনপুট/আউটপুট

Correct Answer (সঠিক উত্তর): d) Input/Output / ইনপুট/আউটপুট

Explanation (ব্যাখ্যা): A parallelogram is used in flowcharts to represent any input (e.g., reading data from a user) or output (e.g., displaying a result on the screen) operation. / একটি সামন্তরিক ফ্লোচার্টে যেকোনো ইনপুট (যেমন, ব্যবহারকারীর কাছ থেকে ডেটা পড়া) বা আউটপুট (যেমন, স্ক্রিনে একটি ফলাফল প্রদর্শন করা) অপারেশন উপস্থাপন করতে ব্যবহৃত হয়।

39. What is a “bug” in the context of programming? / প্রোগ্রামিং-এর প্রেক্ষাপটে একটি “বাগ” (bug) কী?

  1. A feature of the program / প্রোগ্রামের একটি বৈশিষ্ট্য
  2. An error, flaw, or fault in a computer program / একটি কম্পিউটার প্রোগ্রামের একটি ত্রুটি, খুঁত বা দোষ
  3. A type of virus / এক ধরনের ভাইরাস
  4. A comment in the code / কোডের একটি মন্তব্য

Correct Answer (সঠিক উত্তর): b) An error, flaw, or fault in a computer program / একটি কম্পিউটার প্রোগ্রামের একটি ত্রুটি, খুঁত বা দোষ

Explanation (ব্যাখ্যা): A bug is an error in a program that causes it to produce an incorrect or unexpected result, or to behave in unintended ways. The process of finding and fixing bugs is called debugging. / একটি বাগ হলো একটি প্রোগ্রামের একটি ত্রুটি যা এটিকে একটি ভুল বা অপ্রত্যাশিত ফলাফল তৈরি করতে বা অনিচ্ছাকৃতভাবে আচরণ করতে বাধ্য করে। বাগ খুঁজে বের করা এবং ঠিক করার প্রক্রিয়াকে ডিবাগিং বলা হয়।

40. In a linked list, a node consists of two parts: / একটি লিঙ্কড লিস্টে, একটি নোড দুটি অংশ নিয়ে গঠিত:

  1. An integer and a character / একটি পূর্ণসংখ্যা এবং একটি অক্ষর
  2. A pointer and a float / একটি পয়েন্টার এবং একটি ফ্লোট
  3. Data and a pointer to the next node / ডেটা এবং পরবর্তী নোডের একটি পয়েন্টার
  4. A header and a tail / একটি হেডার এবং একটি টেইল

Correct Answer (সঠিক উত্তর): c) Data and a pointer to the next node / ডেটা এবং পরবর্তী নোডের একটি পয়েন্টার

Explanation (ব্যাখ্যা): Each element (node) of a singly linked list contains a data field and a “next” field, which is a pointer holding the memory address of the next node in the sequence. / একটি একক লিঙ্কড লিস্টের প্রতিটি উপাদান (নোড) একটি ডেটা ফিল্ড এবং একটি “নেক্সট” ফিল্ড ধারণ করে, যা ক্রমের পরবর্তী নোডের মেমরি ঠিকানা ধারণকারী একটি পয়েন্টার।

41. What does IDE stand for? / IDE-এর পূর্ণরূপ কী?

  1. Integrated Development Environment / ইন্টিগ্রেটেড ডেভেলপমেন্ট এনভায়রনমেন্ট
  2. Internal Drive Electronics / ইন্টারনাল ড্রাইভ ইলেকট্রনিক্স
  3. Intelligent Design Engine / ইন্টেলিজেন্ট ডিজাইন ইঞ্জিন
  4. Integrated Deployment Engine / ইন্টিগ্রেটেড ডেপ্লয়মেন্ট ইঞ্জিন

Correct Answer (সঠিক উত্তর): a) Integrated Development Environment / ইন্টিগ্রেটেড ডেভেলপমেন্ট এনভায়রনমেন্ট

Explanation (ব্যাখ্যা): An IDE is a software suite that combines common developer tools into a single graphical user interface (GUI). It typically includes a source code editor, a compiler or interpreter, and a debugger. / একটি IDE হলো একটি সফ্টওয়্যার স্যুট যা সাধারণ ডেভেলপার সরঞ্জামগুলিকে একটি একক গ্রাফিকাল ইউজার ইন্টারফেস (GUI)-এ একত্রিত করে। এটিতে সাধারণত একটি সোর্স কোড এডিটর, একটি কম্পাইলার বা ইন্টারপ্রেটার এবং একটি ডিবাগার অন্তর্ভুক্ত থাকে।

42. Which of the following is NOT a characteristic of a good algorithm? / নিচের কোনটি একটি ভালো অ্যালগরিদমের বৈশিষ্ট্য নয়?

  1. Finiteness (terminates after a finite number of steps) / সসীমতা (একটি নির্দিষ্ট সংখ্যক ধাপের পর শেষ হয়)
  2. Definiteness (each step is precisely defined) / নির্দিষ্টতা (প্রতিটি ধাপ সুনির্দিষ্টভাবে সংজ্ঞায়িত)
  3. Ambiguity (steps can be interpreted in multiple ways) / অস্পষ্টতা (ধাপগুলি একাধিক উপায়ে ব্যাখ্যা করা যেতে পারে)
  4. Effectiveness (each step can be carried out) / কার্যকারিতা (প্রতিটি ধাপ সম্পাদন করা যায়)

Correct Answer (সঠিক উত্তর): c) Ambiguity (steps can be interpreted in multiple ways) / অস্পষ্টতা (ধাপগুলি একাধিক উপায়ে ব্যাখ্যা করা যেতে পারে)

Explanation (ব্যাখ্যা): A good algorithm must be unambiguous. Each step must be clear and precisely defined, leaving no room for interpretation, to ensure it produces the correct output every time. / একটি ভালো অ্যালগরিদম অবশ্যই অস্পষ্টতামুক্ত হতে হবে। প্রতিটি ধাপ অবশ্যই স্পষ্ট এবং সুনির্দিষ্টভাবে সংজ্ঞায়িত হতে হবে, যাতে ব্যাখ্যার কোনো সুযোগ না থাকে, এটি নিশ্চিত করার জন্য যে এটি প্রতিবার সঠিক আউটপুট তৈরি করে।

43. The process of breaking a large problem into smaller, sub-problems is called: / একটি বড় সমস্যাকে ছোট, উপ-সমস্যায় বিভক্ত করার প্রক্রিয়াকে বলা হয়:

  1. Decomposition / ডিকম্পোজিশন
  2. Compilation / কম্পাইলেশন
  3. Abstraction / অ্যাবস্ট্রাকশন
  4. Encapsulation / এনক্যাপসুলেশন

Correct Answer (সঠিক উত্তর): a) Decomposition / ডিকম্পোজিশন

Explanation (ব্যাখ্যা): Decomposition, also known as factoring, is the process of breaking a complex problem or system into smaller parts that are more manageable and easier to understand, design, and maintain. This is a core principle of structured programming. / ডিকম্পোজিশন, যা ফ্যাক্টরিং নামেও পরিচিত, হলো একটি জটিল সমস্যা বা সিস্টেমকে ছোট অংশে বিভক্ত করার প্রক্রিয়া যা পরিচালনা করা এবং বোঝা, ডিজাইন করা এবং রক্ষণাবেক্ষণ করা সহজ। এটি স্ট্রাকচার্ড প্রোগ্রামিংয়ের একটি মূল নীতি।

44. A variable that is accessible throughout the entire program is called a: / একটি ভেরিয়েবল যা পুরো প্রোগ্রামে অ্যাক্সেস করা যায় তাকে বলা হয়:

  1. Local variable / লোকাল ভেরিয়েবল
  2. Global variable / গ্লোবাল ভেরিয়েবল
  3. Static variable / স্ট্যাটিক ভেরিয়েবল
  4. Private variable / প্রাইভেট ভেরিয়েবল

Correct Answer (সঠিক উত্তর): b) Global variable / গ্লোবাল ভেরিয়েবল

Explanation (ব্যাখ্যা): A global variable is declared outside of any function and can be accessed or modified by any part of the program. Overuse of global variables is generally discouraged in structured programming as it can lead to code that is hard to debug. / একটি গ্লোবাল ভেরিয়েবল যেকোনো ফাংশনের বাইরে ঘোষণা করা হয় এবং প্রোগ্রামের যেকোনো অংশ দ্বারা অ্যাক্সেস বা পরিবর্তন করা যেতে পারে। স্ট্রাকচার্ড প্রোগ্রামিংয়ে গ্লোবাল ভেরিয়েবলের অতিরিক্ত ব্যবহার সাধারণত নিরুৎসাহিত করা হয় কারণ এটি ডিবাগ করা কঠিন কোডের দিকে নিয়ে যেতে পারে।

45. Which control structure is used to execute a block of code repeatedly as long as a condition is true? / কোন কন্ট্রোল স্ট্রাকচার একটি কোড ব্লক বারবার কার্যকর করতে ব্যবহৃত হয় যতক্ষণ পর্যন্ত একটি শর্ত সত্য থাকে?

  1. If-Else / ইফ-এলস
  2. Switch / সুইচ
  3. Loop (e.g., while, for) / লুপ (যেমন, হোয়াইল, ফর)
  4. Function Call / ফাংশন কল

Correct Answer (সঠিক উত্তর): c) Loop (e.g., while, for) / লুপ (যেমন, হোয়াইল, ফর)

Explanation (ব্যাখ্যা): Loops (like `for`, `while`, `do-while`) are fundamental control structures in programming used for iteration. They allow a set of instructions to be executed repeatedly until a certain condition is met. / লুপ (যেমন `for`, `while`, `do-while`) প্রোগ্রামিংয়ের মৌলিক কন্ট্রোল স্ট্রাকচার যা পুনরাবৃত্তির জন্য ব্যবহৃত হয়। তারা একটি নির্দিষ্ট শর্ত পূরণ না হওয়া পর্যন্ত নির্দেশাবলীর একটি সেট বারবার কার্যকর করার অনুমতি দেয়।

46. The time complexity of binary search algorithm is: / বাইনারি সার্চ অ্যালগরিদমের টাইম কমপ্লেক্সিটি হলো:

  1. O(n)
  2. O(log n)
  3. O(n^2)
  4. O(1)

Correct Answer (সঠিক উত্তর): b) O(log n)

Explanation (ব্যাখ্যা): Binary search works on a sorted array by repeatedly dividing the search interval in half. This logarithmic complexity makes it much more efficient than linear search for large datasets. / বাইনারি সার্চ একটি সাজানো অ্যারেতে কাজ করে বারবার সার্চ ইন্টারভালকে অর্ধেক করে। এই লগারিদমিক কমপ্লেক্সিটি এটিকে বড় ডেটাসেটের জন্য লিনিয়ার সার্চের চেয়ে অনেক বেশি কার্যকর করে তোলে।

47. A “pointer” in programming is: / প্রোগ্রামিংয়ে একটি “পয়েন্টার” হলো:

  1. A data type / একটি ডেটা টাইপ
  2. A keyword / একটি কীওয়ার্ড
  3. A variable that stores the memory address of another variable / একটি ভেরিয়েবল যা অন্য একটি ভেরিয়েবলের মেমরি ঠিকানা সংরক্ষণ করে
  4. A function / একটি ফাংশন

Correct Answer (সঠিক উত্তর): c) A variable that stores the memory address of another variable / একটি ভেরিয়েবল যা অন্য একটি ভেরিয়েবলের মেমরি ঠিকানা সংরক্ষণ করে

Explanation (ব্যাখ্যা): Pointers are a powerful feature in languages like C/C++. They hold the memory location of a piece of data, allowing for direct memory manipulation and dynamic data structures like linked lists. / পয়েন্টারগুলি C/C++ এর মতো ভাষাগুলিতে একটি শক্তিশালী বৈশিষ্ট্য। তারা একটি ডেটার মেমরি অবস্থান ধরে রাখে, যা সরাসরি মেমরি ম্যানিপুলেশন এবং লিঙ্কড লিস্টের মতো ডাইনামিক ডেটা স্ট্রাকচারের অনুমতি দেয়।

48. Which is NOT a valid classification of programming languages? / কোনটি প্রোগ্রামিং ভাষার একটি বৈধ শ্রেণীবিভাগ নয়?

  1. High-level / উচ্চ-স্তর
  2. Low-level / নিম্ন-স্তর
  3. Middle-level / মধ্যম-স্তর
  4. Side-level / সাইড-স্তর

Correct Answer (সঠিক উত্তর): d) Side-level / সাইড-স্তর

Explanation (ব্যাখ্যা): Programming languages are commonly classified based on their level of abstraction from hardware: high-level (e.g., Python), low-level (e.g., Assembly), and sometimes middle-level (e.g., C). “Side-level” is not a recognized classification. / প্রোগ্রামিং ভাষাগুলিকে সাধারণত হার্ডওয়্যার থেকে তাদের অ্যাবস্ট্রাকশনের স্তরের উপর ভিত্তি করে শ্রেণীবদ্ধ করা হয়: উচ্চ-স্তর (যেমন, পাইথন), নিম্ন-স্তর (যেমন, অ্যাসেম্বলি), এবং কখনও কখনও মধ্যম-স্তর (যেমন, সি)। “সাইড-স্তর” একটি স্বীকৃত শ্রেণীবিভাগ নয়।

49. In a queue, where are new elements added? / একটি কিউতে, নতুন উপাদানগুলি কোথায় যোগ করা হয়?

  1. At the front / সামনে
  2. At the rear (or back) / পিছনে (বা পেছনে)
  3. In the middle / মাঝখানে
  4. At any position / যেকোনো অবস্থানে

Correct Answer (সঠিক উত্তর): b) At the rear (or back) / পিছনে (বা পেছনে)

Explanation (ব্যাখ্যা): Following the FIFO principle, new elements are always added to the rear of the queue (enqueue operation), and elements are removed from the front (dequeue operation). / FIFO নীতি অনুসরণ করে, নতুন উপাদানগুলি সর্বদা কিউয়ের পিছনে যোগ করা হয় (এনকিউ অপারেশন), এবং উপাদানগুলি সামনে থেকে সরানো হয় (ডিকিউ অপারেশন)।

50. True parallel execution is possible on a system with: / সত্যিকারের সমান্তরাল এক্সিকিউশন সম্ভব একটি সিস্টেমে যেখানে আছে:

  1. Multitasking / মাল্টিটাস্কিং
  2. Multiprogramming / মাল্টিপ্রোগ্রামিং
  3. Multiprocessing / মাল্টিপ্রসেসিং
  4. Time-sharing / টাইম-শেয়ারিং

Correct Answer (সঠিক উত্তর): c) Multiprocessing / মাল্টিপ্রসেসিং

Explanation (ব্যাখ্যা): Multiprocessing involves having multiple CPUs. This is the only scenario where multiple processes or threads can be executed truly simultaneously, as each CPU can work on a different task at the exact same time. The others provide an illusion of parallelism on a single CPU. / মাল্টিপ্রসেসিং-এ একাধিক সিপিইউ থাকে। এটিই একমাত্র পরিস্থিতি যেখানে একাধিক প্রসেস বা থ্রেড সত্যিই একই সাথে কার্যকর করা যেতে পারে, কারণ প্রতিটি সিপিইউ একই সময়ে একটি ভিন্ন টাস্কে কাজ করতে পারে। অন্যগুলি একটি একক সিপিইউ-তে সমান্তরালতার একটি বিভ্রম প্রদান করে।

51. Which language is considered a middle-level language because it supports both low-level and high-level features? / কোন ভাষাকে একটি মধ্যম-স্তরের ভাষা হিসাবে বিবেচনা করা হয় কারণ এটি নিম্ন-স্তরের এবং উচ্চ-স্তরের উভয় বৈশিষ্ট্য সমর্থন করে?

  1. Python / পাইথন
  2. Java / জাভা
  3. C / সি
  4. LISP / লিস্প

Correct Answer (সঠিক উত্তর): c) C / সি

Explanation (ব্যাখ্যা): The C programming language is often called a middle-level language because it combines elements of high-level languages (like structured programming concepts) with the functionality of assembly language (like direct memory manipulation via pointers). / সি প্রোগ্রামিং ভাষাকে প্রায়শই একটি মধ্যম-স্তরের ভাষা বলা হয় কারণ এটি উচ্চ-স্তরের ভাষার উপাদান (যেমন স্ট্রাকচার্ড প্রোগ্রামিং ধারণা) এবং অ্যাসেম্বলি ভাষার কার্যকারিতা (যেমন পয়েন্টার দ্বারা সরাসরি মেমরি ম্যানিপুলেশন) উভয়ই একত্রিত করে।

52. A stack is also known as a: / একটি স্ট্যাককে এই নামেও জানা যায়:

  1. FIFO List / ফিফো লিস্ট
  2. LIFO List / লিফো লিস্ট
  3. Heap / হিপ
  4. Tree / ট্রি

Correct Answer (সঠিক উত্তর): b) LIFO List / লিফো লিস্ট

Explanation (ব্যাখ্যা): Due to its “Last-In, First-Out” nature, a stack is fundamentally a LIFO list. This is its defining characteristic. / এর “লাস্ট-ইন, ফার্স্ট-আউট” প্রকৃতির কারণে, একটি স্ট্যাক মৌলিকভাবে একটি LIFO তালিকা। এটিই এর সংজ্ঞায়িত বৈশিষ্ট্য।

53. The memory for a linked list is allocated at: / একটি লিঙ্কড লিস্টের জন্য মেমরি বরাদ্দ করা হয়:

  1. Compile time / কম্পাইল টাইমে
  2. Runtime / রানটাইমে
  3. Link time / লিঙ্ক টাইমে
  4. Load time / লোড টাইমে

Correct Answer (সঠিক উত্তর): b) Runtime / রানটাইমে

Explanation (ব্যাখ্যা): Linked lists are dynamic data structures. Memory for each new node is allocated dynamically during the program’s execution (runtime) as needed, typically from the heap. This contrasts with arrays, where size is often fixed at compile time. / লিঙ্কড লিস্ট হলো ডাইনামিক ডেটা স্ট্রাকচার। প্রতিটি নতুন নোডের জন্য মেমরি প্রয়োজন অনুযায়ী প্রোগ্রামের এক্সিকিউশন (রানটাইম) চলাকালীন গতিশীলভাবে বরাদ্দ করা হয়, সাধারণত হিপ থেকে। এটি অ্যারে থেকে ভিন্ন, যেখানে আকার প্রায়শই কম্পাইল টাইমে স্থির করা হয়।

54. Which of the following is NOT a fundamental control structure in structured programming? / নিচের কোনটি স্ট্রাকচার্ড প্রোগ্রামিংয়ে একটি মৌলিক কন্ট্রোল স্ট্রাকচার নয়?

  1. Sequence / সিকোয়েন্স
  2. Selection (If/Switch) / সিলেকশন (ইফ/সুইচ)
  3. Iteration (Loop) / ইটারেশন (লুপ)
  4. Inheritance / ইনহেরিটেন্স

Correct Answer (সঠিক উত্তর): d) Inheritance / ইনহেরিটেন্স

Explanation (ব্যাখ্যা): Sequence, Selection, and Iteration are the three basic control structures of structured programming. Inheritance is a fundamental concept of Object-Oriented Programming (OOP), not structured programming. / সিকোয়েন্স, সিলেকশন এবং ইটারেশন হলো স্ট্রাকচার্ড প্রোগ্রামিংয়ের তিনটি মৌলিক কন্ট্রোল স্ট্রাকচার। ইনহেরিটেন্স হলো অবজেক্ট-ওরিয়েন্টেড প্রোগ্রামিং (OOP)-এর একটি মৌলিক ধারণা, স্ট্রাকচার্ড প্রোগ্রামিংয়ের নয়।

55. An OS that keeps multiple jobs in memory and switches between them is called: / একটি ওএস যা মেমরিতে একাধিক কাজ রাখে এবং তাদের মধ্যে সুইচ করে তাকে বলা হয়:

  1. Real-time / রিয়েল-টাইম
  2. Batch / ব্যাচ
  3. Multiprogrammed / মাল্টিপ্রোগ্রামড
  4. Single-user / সিঙ্গেল-ইউজার

Correct Answer (সঠিক উত্তর): c) Multiprogrammed / মাল্টিপ্রোগ্রামড

Explanation (ব্যাখ্যা): This is the definition of a multiprogramming operating system. Its goal is to maximize CPU utilization by always having a job ready to execute when the current job has to wait for an I/O operation. / এটি একটি মাল্টিপ্রোগ্রামিং অপারেটিং সিস্টেমের সংজ্ঞা। এর লক্ষ্য হলো যখন বর্তমান কাজটিকে একটি I/O অপারেশনের জন্য অপেক্ষা করতে হয়, তখন সর্বদা একটি কাজ কার্যকর করার জন্য প্রস্তুত রেখে সিপিইউ ব্যবহার সর্বাধিক করা।

56. What is the main advantage of a linked list over an array? / একটি অ্যারের তুলনায় একটি লিঙ্কড লিস্টের প্রধান সুবিধা কী?

  1. Faster access to elements by index / ইনডেক্স দ্বারা উপাদানগুলিতে দ্রুত অ্যাক্সেস
  2. Dynamic size and easier insertion/deletion / গতিশীল আকার এবং সহজ সন্নিবেশ/মোছা
  3. Less memory usage per element / প্রতি উপাদানে কম মেমরি ব্যবহার
  4. Elements are stored contiguously / উপাদানগুলি সংলগ্নভাবে সংরক্ষণ করা হয়

Correct Answer (সঠিক উত্তর): b) Dynamic size and easier insertion/deletion / গতিশীল আকার এবং সহজ সন্নিবেশ/মোছা

Explanation (ব্যাখ্যা): Linked lists can grow or shrink in size during runtime, and inserting or deleting an element in the middle of the list is efficient (O(1)) if you have a pointer to the node before it, as it only requires updating pointers, not shifting elements like in an array. / লিঙ্কড লিস্ট রানটাইমের সময় আকারে বাড়তে বা সঙ্কুচিত হতে পারে, এবং তালিকার মাঝখানে একটি উপাদান সন্নিবেশ করা বা মোছা কার্যকর (O(1)) যদি আপনার কাছে এর আগের নোডের একটি পয়েন্টার থাকে, কারণ এটি শুধুমাত্র পয়েন্টার আপডেট করার প্রয়োজন হয়, অ্যারের মতো উপাদানগুলি স্থানান্তর করার প্রয়োজন হয় না।

57. The “top” pointer in a stack points to: / একটি স্ট্যাকের “টপ” পয়েন্টারটি নির্দেশ করে:

  1. The first element inserted / প্রথম সন্নিবেশিত উপাদানটি
  2. The last element inserted / সর্বশেষ সন্নিবেশিত উপাদানটি
  3. The middle element / মাঝের উপাদানটি
  4. The base of the stack / স্ট্যাকের ভিত্তি

Correct Answer (সঠিক উত্তর): b) The last element inserted / সর্বশেষ সন্নিবেশিত উপাদানটি

Explanation (ব্যাখ্যা): In a stack, the “top” is a pointer or index that always keeps track of the last element that was pushed onto the stack. All push and pop operations happen at the top. / একটি স্ট্যাকে, “টপ” হলো একটি পয়েন্টার বা ইনডেক্স যা সর্বদা স্ট্যাকে পুশ করা সর্বশেষ উপাদানটির ট্র্যাক রাখে। সমস্ত পুশ এবং পপ অপারেশন টপ-এ ঘটে।

58. The first generation of programming languages was: / প্রোগ্রামিং ভাষার প্রথম প্রজন্ম ছিল:

  1. High-level languages / উচ্চ-স্তরের ভাষা
  2. Assembly languages / অ্যাসেম্বলি ভাষা
  3. Machine languages / মেশিন ভাষা
  4. Natural languages / প্রাকৃতিক ভাষা

Correct Answer (সঠিক উত্তর): c) Machine languages / মেশিন ভাষা

Explanation (ব্যাখ্যা): The first generation languages (1GL) were machine languages, consisting of raw binary code that the computer could directly execute. They were extremely difficult for humans to program in. / প্রথম প্রজন্মের ভাষা (1GL) ছিল মেশিন ভাষা, যা কাঁচা বাইনারি কোড নিয়ে গঠিত যা কম্পিউটার সরাসরি কার্যকর করতে পারত। মানুষের জন্য এগুলিতে প্রোগ্রাম করা অত্যন্ত কঠিন ছিল।

59. Which of these is a system software? / এদের মধ্যে কোনটি একটি সিস্টেম সফ্টওয়্যার?

  1. Microsoft Word / মাইক্রোসফ্ট ওয়ার্ড
  2. Operating System / অপারেটিং সিস্টেম
  3. Adobe Photoshop / অ্যাডোব ফটোশপ
  4. VLC Media Player / ভিএলসি মিডিয়া প্লেয়ার

Correct Answer (সঠিক উত্তর): b) Operating System / অপারেটিং সিস্টেম

Explanation (ব্যাখ্যা): System software manages computer hardware and provides a platform for application software to run. The OS is the most fundamental example. Others include compilers and device drivers. The other options are application software. / সিস্টেম সফ্টওয়্যার কম্পিউটার হার্ডওয়্যার পরিচালনা করে এবং অ্যাপ্লিকেশন সফ্টওয়্যার চালানোর জন্য একটি প্ল্যাটফর্ম প্রদান করে। ওএস হলো সবচেয়ে মৌলিক উদাহরণ। অন্যগুলির মধ্যে রয়েছে কম্পাইলার এবং ডিভাইস ড্রাইভার। অন্য বিকল্পগুলি হলো অ্যাপ্লিকেশন সফ্টওয়্যার।

60. Flowcharts and pseudo-code are used for: / ফ্লোচার্ট এবং সিউডো-কোড ব্যবহৃত হয়:

  1. Writing machine code / মেশিন কোড লেখার জন্য
  2. Algorithm representation and design / অ্যালগরিদম উপস্থাপন এবং ডিজাইন করার জন্য
  3. Debugging hardware / হার্ডওয়্যার ডিবাগ করার জন্য
  4. Managing databases / ডেটাবেস পরিচালনা করার জন্য

Correct Answer (সঠিক উত্তর): b) Algorithm representation and design / অ্যালগরিদম উপস্থাপন এবং ডিজাইন করার জন্য

Explanation (ব্যাখ্যা): Both flowcharts (graphical) and pseudo-code (textual) are tools used by programmers to design, document, and communicate the logic of an algorithm before writing it in an actual programming language. / ফ্লোচার্ট (গ্রাফিক্যাল) এবং সিউডো-কোড (টেক্সচুয়াল) উভয়ই প্রোগ্রামারদের দ্বারা একটি প্রকৃত প্রোগ্রামিং ভাষায় লেখার আগে একটি অ্যালগরিদমের যুক্তি ডিজাইন, ডকুমেন্ট এবং যোগাযোগ করার জন্য ব্যবহৃত সরঞ্জাম।

61. An array index usually starts at: / একটি অ্যারে ইনডেক্স সাধারণত শুরু হয়:

  1. 1
  2. 0
  3. -1
  4. It depends on the language / এটি ভাষার উপর নির্ভর করে

Correct Answer (সঠিক উত্তর): b) 0

Explanation (ব্যাখ্যা): In most modern programming languages like C, C++, Java, Python, and JavaScript, arrays are zero-indexed, meaning the first element is at index 0. Some older languages like Fortran or specialized languages like MATLAB may use 1-based indexing. / সি, সি++, জাভা, পাইথন এবং জাভাস্ক্রিপ্টের মতো বেশিরভাগ আধুনিক প্রোগ্রামিং ভাষায়, অ্যারেগুলি শূন্য-ইনডেক্সযুক্ত, যার অর্থ প্রথম উপাদানটি ইনডেক্স ০-তে থাকে। ফোরট্রানের মতো কিছু পুরানো ভাষা বা ম্যাটল্যাবের মতো বিশেষায়িত ভাষা ১-ভিত্তিক ইনডেক্সিং ব্যবহার করতে পারে।

62. Which concept means hiding the complex implementation details and showing only the essential features of an object? / কোন ধারণার অর্থ হলো জটিল বাস্তবায়ন বিবরণ লুকিয়ে রাখা এবং একটি বস্তুর শুধুমাত্র প্রয়োজনীয় বৈশিষ্ট্যগুলি দেখানো?

  1. Inheritance / ইনহেরিটেন্স
  2. Polymorphism / পলিমরফিজম
  3. Abstraction / অ্যাবস্ট্রাকশন
  4. Decomposition / ডিকম্পোজিশন

Correct Answer (সঠিক উত্তর): c) Abstraction / অ্যাবস্ট্রাকশন

Explanation (ব্যাখ্যা): Abstraction is a core principle in programming (especially OOP) that involves simplifying complex systems by modeling classes based on their relevant attributes and behaviors, while hiding unnecessary implementation details from the user. / অ্যাবস্ট্রাকশন হলো প্রোগ্রামিংয়ের (বিশেষ করে OOP) একটি মূল নীতি যা প্রাসঙ্গিক বৈশিষ্ট্য এবং আচরণের উপর ভিত্তি করে ক্লাস মডেলিং করে জটিল সিস্টেমগুলিকে সরলীকরণ করে, যখন ব্যবহারকারীর কাছ থেকে অপ্রয়োজনীয় বাস্তবায়ন বিবরণ লুকিয়ে রাখে।

63. A queue where elements can be added or removed from either the front or the rear is called a: / একটি কিউ যেখানে উপাদানগুলি সামনে বা পিছন থেকে যোগ করা বা সরানো যায় তাকে বলা হয়:

  1. Priority Queue / প্রায়োরিটি কিউ
  2. Circular Queue / সার্কুলার কিউ
  3. Deque (Double-Ended Queue) / ডেক (ডাবল-এন্ডেড কিউ)
  4. Simple Queue / সিম্পল কিউ

Correct Answer (সঠিক উত্তর): c) Deque (Double-Ended Queue) / ডেক (ডাবল-এন্ডেড কিউ)

Explanation (ব্যাখ্যা): A deque, or double-ended queue, is a generalized version of a queue that allows insertion and deletion at both ends (front and rear). / একটি ডেক, বা ডাবল-এন্ডেড কিউ, হলো একটি কিউয়ের একটি সাধারণীকৃত সংস্করণ যা উভয় প্রান্তে (সামনে এবং পিছনে) সন্নিবেশ এবং মোছার অনুমতি দেয়।

64. A “logical error” in a program results in: / একটি প্রোগ্রামে একটি “লজিক্যাল এরর” (logical error) এর ফলে হয়:

  1. The program crashing / প্রোগ্রাম ক্র্যাশ করে
  2. A compiler error / একটি কম্পাইলার এরর
  3. Incorrect or unexpected output / ভুল বা অপ্রত্যাশিত আউটপুট
  4. A hardware failure / একটি হার্ডওয়্যার ব্যর্থতা

Correct Answer (সঠিক উত্তর): c) Incorrect or unexpected output / ভুল বা অপ্রত্যাশিত আউটপুট

Explanation (ব্যাখ্যা): A logical error is a mistake in the program’s logic. The program will compile and run without crashing, but it will not produce the intended result because the algorithm itself is flawed. These are often the hardest bugs to find. / একটি লজিক্যাল এরর হলো প্রোগ্রামের যুক্তিতে একটি ভুল। প্রোগ্রামটি ক্র্যাশ না করে কম্পাইল এবং রান হবে, কিন্তু এটি উদ্দিষ্ট ফলাফল তৈরি করবে না কারণ অ্যালগরিদম নিজেই ত্রুটিপূর্ণ। এগুলি প্রায়শই খুঁজে বের করা সবচেয়ে কঠিন বাগ।

65. What is the role of a linker? / একটি লিঙ্কারের (linker) ভূমিকা কী?

  1. To translate source code to object code / সোর্স কোডকে অবজেক্ট কোডে অনুবাদ করা
  2. To combine object files and library functions into a single executable file / অবজেক্ট ফাইল এবং লাইব্রেরি ফাংশনগুলিকে একটি একক এক্সিকিউটেবল ফাইলে একত্রিত করা
  3. To load the executable file into memory / এক্সিকিউটেবল ফাইলটিকে মেমরিতে লোড করা
  4. To edit the source code / সোর্স কোড সম্পাদনা করা

Correct Answer (সঠিক উত্তর): b) To combine object files and library functions into a single executable file / অবজেক্ট ফাইল এবং লাইব্রেরি ফাংশনগুলিকে একটি একক এক্সিকিউটেবল ফাইলে একত্রিত করা

Explanation (ব্যাখ্যা): After the compiler generates one or more object files, the linker takes these files, resolves references between them, links them with necessary library code, and produces a final executable program. / কম্পাইলার এক বা একাধিক অবজেক্ট ফাইল তৈরি করার পরে, লিঙ্কার এই ফাইলগুলি নেয়, তাদের মধ্যে রেফারেন্সগুলি সমাধান করে, প্রয়োজনীয় লাইব্রেরি কোডের সাথে লিঙ্ক করে এবং একটি চূড়ান্ত এক্সিকিউটেবল প্রোগ্রাম তৈরি করে।

66. A program that runs on one type of machine can also run on another type of machine. This quality is called: / একটি প্রোগ্রাম যা এক ধরনের মেশিনে চলে, তা অন্য ধরনের মেশিনেও চলতে পারে। এই গুণকে বলা হয়:

  1. Portability / পোর্টেবিলিটি
  2. Reliability / রিলায়বিলিটি
  3. Scalability / স্কেলেবিলিটি
  4. Usability / ইউজেবিলিটি

Correct Answer (সঠিক উত্তর): a) Portability / পোর্টেবিলিটি

Explanation (ব্যাখ্যা): Portability is the ability of software to be transferred from one machine or system environment to another with minimal changes. High-level languages generally produce more portable code than low-level languages. / পোর্টেবিলিটি হলো সফ্টওয়্যারের এক মেশিন বা সিস্টেম পরিবেশ থেকে অন্যটিতে ন্যূনতম পরিবর্তনে স্থানান্তর করার ক্ষমতা। উচ্চ-স্তরের ভাষাগুলি সাধারণত নিম্ন-স্তরের ভাষাগুলির চেয়ে বেশি পোর্টেবল কোড তৈরি করে।

67. The “front” and “rear” pointers are associated with which data structure? / “ফ্রন্ট” এবং “রিয়ার” পয়েন্টারগুলি কোন ডেটা স্ট্রাকচারের সাথে যুক্ত?

  1. Stack / স্ট্যাক
  2. Array / অ্যারে
  3. Queue / কিউ
  4. Tree / ট্রি

Correct Answer (সঠিক উত্তর): c) Queue / কিউ

Explanation (ব্যাখ্যা): In a queue implementation, “front” points to the first element (for dequeueing) and “rear” points to the last element (for enqueueing). / একটি কিউ বাস্তবায়নে, “ফ্রন্ট” প্রথম উপাদানটিকে (ডিকিউ করার জন্য) এবং “রিয়ার” শেষ উপাদানটিকে (এনকিউ করার জন্য) নির্দেশ করে।

68. Which of these is a valid pseudo-code statement? / এদের মধ্যে কোনটি একটি বৈধ সিউডো-কোড স্টেটমেন্ট?

  1. `int x = 5;`
  2. `DISPLAY “Hello, World”`
  3. `01001011 00101001`
  4. `MOV AX, BX`

Correct Answer (সঠিক উত্তর): b) `DISPLAY “Hello, World”`

Explanation (ব্যাখ্যা): Pseudo-code uses informal, human-readable language. `DISPLAY` is a common pseudo-code keyword for output. Option ‘a’ is C/Java syntax, ‘c’ is binary, and ‘d’ is assembly language. / সিউডো-কোড অনানুষ্ঠানিক, মানুষ-পঠনযোগ্য ভাষা ব্যবহার করে। `DISPLAY` আউটপুটের জন্য একটি সাধারণ সিউডো-কোড কীওয়ার্ড। বিকল্প ‘a’ হলো সি/জাভা সিনট্যাক্স, ‘c’ হলো বাইনারি, এবং ‘d’ হলো অ্যাসেম্বলি ভাষা।

69. What is the primary disadvantage of using an array for data storage? / ডেটা সংরক্ষণের জন্য একটি অ্যারে ব্যবহার করার প্রধান অসুবিধা কী?

  1. Slow access time / ধীর অ্যাক্সেস সময়
  2. It cannot store elements of the same type / এটি একই ধরনের উপাদান সংরক্ষণ করতে পারে না
  3. Fixed size / স্থির আকার
  4. High memory usage / উচ্চ মেমরি ব্যবহার

Correct Answer (সঠিক উত্তর): c) Fixed size / স্থির আকার

Explanation (ব্যাখ্যা): In many languages, the size of a static array must be declared at compile time and cannot be changed during runtime. This can lead to wasted memory if the array is too large, or insufficient space if it’s too small. / অনেক ভাষায়, একটি স্ট্যাটিক অ্যারের আকার কম্পাইল টাইমে ঘোষণা করতে হবে এবং রানটাইমের সময় পরিবর্তন করা যাবে না। এটি মেমরির অপচয় করতে পারে যদি অ্যারেটি খুব বড় হয়, বা অপর্যাপ্ত স্থান হতে পারে যদি এটি খুব ছোট হয়।

70. The CPU switching from one process to another is called: / সিপিইউ-এর এক প্রসেস থেকে অন্য প্রসেসে পরিবর্তন করাকে বলা হয়:

  1. Context Switch / কনটেক্সট সুইচ
  2. Process Swap / প্রসেস সোয়াপ
  3. Memory Management / মেমরি ম্যানেজমেন্ট
  4. Interrupt Handling / ইন্টারাপ্ট হ্যান্ডলিং

Correct Answer (সঠিক উত্তর): a) Context Switch / কনটেক্সট সুইচ

Explanation (ব্যাখ্যা): A context switch is the process of storing the state of a process or thread so that it can be restored and resume execution at a later point. This allows multiple processes to share a single CPU and is a key feature of multitasking operating systems. / একটি কনটেক্সট সুইচ হলো একটি প্রসেস বা থ্রেডের অবস্থা সংরক্ষণ করার প্রক্রিয়া যাতে এটি পুনরুদ্ধার করা যায় এবং পরবর্তী সময়ে এক্সিকিউশন পুনরায় শুরু করা যায়। এটি একাধিক প্রসেসকে একটি একক সিপিইউ শেয়ার করার অনুমতি দেয় এবং এটি মাল্টিটাস্কিং অপারেটিং সিস্টেমের একটি মূল বৈশিষ্ট্য।

71. An “empty” linked list has its head pointer set to: / একটি “খালি” লিঙ্কড লিস্টের হেড পয়েন্টারটি সেট করা থাকে:

  1. 0
  2. -1
  3. NULL or nullptr / NULL বা nullptr
  4. The address of the last node / শেষ নোডের ঠিকানায়

Correct Answer (সঠিক উত্তর): c) NULL or nullptr / NULL বা nullptr

Explanation (ব্যাখ্যা): The `head` pointer of a linked list points to the first node. If the list is empty (contains no nodes), the `head` pointer is set to a special value, `NULL` (in C) or `nullptr` (in C++), to indicate that it doesn’t point to anything. / একটি লিঙ্কড লিস্টের `head` পয়েন্টারটি প্রথম নোডকে নির্দেশ করে। যদি তালিকাটি খালি থাকে (কোনো নোড ধারণ করে না), তাহলে `head` পয়েন্টারটি একটি বিশেষ মান, `NULL` (সি-তে) বা `nullptr` (সি++-এ), সেট করা হয়, এটি নির্দেশ করার জন্য যে এটি কোনো কিছুকে নির্দেশ করছে না।

72. Which of the following best describes “structured programming”? / নিচের কোনটি “স্ট্রাকচার্ড প্রোগ্রামিং” কে সবচেয়ে ভালোভাবে বর্ণনা করে?

  1. Programming with classes and objects / ক্লাস এবং অবজেক্ট দিয়ে প্রোগ্রামিং
  2. Programming with a focus on functions and control structures like loops and conditions / ফাংশন এবং কন্ট্রোল স্ট্রাকচার যেমন লুপ এবং কন্ডিশনের উপর মনোযোগ দিয়ে প্রোগ্রামিং
  3. Programming using only binary code / শুধুমাত্র বাইনারি কোড ব্যবহার করে প্রোগ্রামিং
  4. Programming for multi-core processors / মাল্টি-কোর প্রসেসরের জন্য প্রোগ্রামিং

Correct Answer (সঠিক উত্তর): b) Programming with a focus on functions and control structures like loops and conditions / ফাংশন এবং কন্ট্রোল স্ট্রাকচার যেমন লুপ এবং কন্ডিশনের উপর মনোযোগ দিয়ে প্রোগ্রামিং

Explanation (ব্যাখ্যা): Structured programming is a procedural programming paradigm that emphasizes modularity (using functions/subroutines) and the use of basic control structures (sequence, selection, iteration) to create clear, maintainable code. / স্ট্রাকচার্ড প্রোগ্রামিং একটি প্রসিডিউরাল প্রোগ্রামিং প্যারাডাইম যা মডুলারিটি (ফাংশন/সাবরুটিন ব্যবহার করে) এবং স্পষ্ট, রক্ষণাবেক্ষণযোগ্য কোড তৈরি করার জন্য মৌলিক কন্ট্রোল স্ট্রাকচার (সিকোয়েন্স, সিলেকশন, ইটারেশন) ব্যবহারের উপর জোর দেয়।

73. Assembly language uses ______ instead of binary numbers. / অ্যাসেম্বলি ভাষা বাইনারি সংখ্যার পরিবর্তে ______ ব্যবহার করে।

  1. English words / ইংরেজি শব্দ
  2. Mnemonics / নেমোনিক্স (স্মৃতিসহায়ক)
  3. Flowchart symbols / ফ্লোচার্ট প্রতীক
  4. Hexadecimal numbers only / শুধুমাত্র হেক্সাডেসিমেল সংখ্যা

Correct Answer (সঠিক উত্তর): b) Mnemonics / নেমোনিক্স (স্মৃতিসহায়ক)

Explanation (ব্যাখ্যা): Assembly language is a low-level language that uses short, English-like abbreviations called mnemonics (e.g., `MOV` for move, `ADD` for add) to represent machine code instructions, making it more human-readable than pure binary. / অ্যাসেম্বলি ভাষা একটি নিম্ন-স্তরের ভাষা যা মেশিন কোড নির্দেশাবলী উপস্থাপন করার জন্য নেমোনিক্স (যেমন, `MOV` মুভ করার জন্য, `ADD` যোগ করার জন্য) নামক সংক্ষিপ্ত, ইংরেজি-সদৃশ সংক্ষিপ্ত রূপ ব্যবহার করে, যা এটিকে বিশুদ্ধ বাইনারির চেয়ে বেশি মানুষ-পঠনযোগ্য করে তোলে।

74. If a problem can be solved in O(1) time, its execution time is: / যদি একটি সমস্যা O(1) সময়ে সমাধান করা যায়, তবে এর এক্সিকিউশন সময়:

  1. Dependent on the input size / ইনপুট আকারের উপর নির্ভরশীল
  2. Constant and not dependent on the input size / ধ্রুবক এবং ইনপুট আকারের উপর নির্ভরশীল নয়
  3. Logarithmic / লগারিদমিক
  4. Exponential / এক্সপোনেনশিয়াল

Correct Answer (সঠিক উত্তর): b) Constant and not dependent on the input size / ধ্রুবক এবং ইনপুট আকারের উপর নির্ভরশীল নয়

Explanation (ব্যাখ্যা): O(1) denotes constant time complexity. This means the algorithm will take the same amount of time to execute, regardless of how large the input data is. Accessing an array element by index is a classic O(1) operation. / O(1) ধ্রুবক টাইম কমপ্লেক্সিটি নির্দেশ করে। এর মানে হলো অ্যালগরিদমটি কার্যকর করতে একই পরিমাণ সময় নেবে, ইনপুট ডেটা যত বড়ই হোক না কেন। ইনডেক্স দ্বারা একটি অ্যারে উপাদান অ্যাক্সেস করা একটি ক্লাসিক O(1) অপারেশন।

75. The condition in which a process is waiting for an event that will never occur is called: / যে অবস্থায় একটি প্রসেস এমন একটি ঘটনার জন্য অপেক্ষা করছে যা কখনই ঘটবে না, তাকে বলা হয়:

  1. Starvation / স্টারভেশন
  2. Deadlock / ডেডলক
  3. Aging / এজিং
  4. Race Condition / রেস কন্ডিশন

Correct Answer (সঠিক উত্তর): b) Deadlock / ডেডলক

Explanation (ব্যাখ্যা): Deadlock is a state in concurrent systems where two or more processes are blocked forever, each waiting for a resource held by another process in the set. Starvation is when a process is perpetually denied necessary resources to proceed. / ডেডলক হলো কনকারেন্ট সিস্টেমে একটি অবস্থা যেখানে দুই বা ততোধিক প্রসেস চিরতরে ব্লক হয়ে যায়, প্রত্যেকে সেটের অন্য একটি প্রসেসের দ্বারা ধারণ করা একটি রিসোর্সের জন্য অপেক্ষা করে। স্টারভেশন হলো যখন একটি প্রসেসকে এগিয়ে যাওয়ার জন্য প্রয়োজনীয় রিসোর্স থেকে চিরতরে বঞ্চিত করা হয়।

76. The last node in a singly linked list points to: / একটি একক লিঙ্কড লিস্টের শেষ নোডটি নির্দেশ করে:

  1. The first node / প্রথম নোডকে
  2. Itself / নিজেকে
  3. The previous node / আগের নোডকে
  4. NULL / NULL

Correct Answer (সঠিক উত্তর): d) NULL / NULL

Explanation (ব্যাখ্যা): The `next` pointer of the very last node in a singly linked list is set to `NULL` to signify the end of the list. / একটি একক লিঙ্কড লিস্টের একেবারে শেষ নোডের `next` পয়েন্টারটি `NULL` সেট করা হয় তালিকার শেষ বোঝানোর জন্য।

77. A program that translates and executes code statement-by-statement is a(n): / একটি প্রোগ্রাম যা কোডকে স্টেটমেন্ট-বাই-স্টেটমেন্ট অনুবাদ করে এবং কার্যকর করে তা হলো একটি:

  1. Compiler / কম্পাইলার
  2. Linker / লিঙ্কার
  3. Interpreter / ইন্টারপ্রেটার
  4. Loader / লোডার

Correct Answer (সঠিক উত্তর): c) Interpreter / ইন্টারপ্রেটার

Explanation (ব্যাখ্যা): This is the defining behavior of an interpreter. It reads one line of source code, translates it to machine code, executes it, and then moves to the next line. Python and JavaScript are typically interpreted languages. / এটি একটি ইন্টারপ্রেটারের সংজ্ঞায়িত আচরণ। এটি সোর্স কোডের একটি লাইন পড়ে, এটিকে মেশিন কোডে অনুবাদ করে, এটি কার্যকর করে এবং তারপরে পরবর্তী লাইনে যায়। পাইথন এবং জাভাস্ক্রিপ্ট সাধারণত ইন্টারপ্রেটেড ভাষা।

78. What does “top-down design” mean in problem-solving? / সমস্যা সমাধানে “টপ-ডাউন ডিজাইন” এর অর্থ কী?

  1. Starting with the smallest details and building up / সবচেয়ে ছোট বিবরণ দিয়ে শুরু করে তৈরি করা
  2. Starting with the overall system and breaking it down into smaller, more detailed parts / সামগ্রিক সিস্টেম দিয়ে শুরু করে এটিকে ছোট, আরও বিস্তারিত অংশে বিভক্ত করা
  3. Designing the user interface first / প্রথমে ইউজার ইন্টারফেস ডিজাইন করা
  4. Writing code from the last function to the first / শেষ ফাংশন থেকে প্রথম পর্যন্ত কোড লেখা

Correct Answer (সঠিক উত্তর): b) Starting with the overall system and breaking it down into smaller, more detailed parts / সামগ্রিক সিস্টেম দিয়ে শুরু করে এটিকে ছোট, আরও বিস্তারিত অংশে বিভক্ত করা

Explanation (ব্যাখ্যা): Top-down design is a problem-solving strategy that involves starting with a high-level, abstract view of a problem and systematically breaking it down (decomposing it) into smaller, more manageable sub-problems. / টপ-ডাউন ডিজাইন একটি সমস্যা-সমাধান কৌশল যা একটি সমস্যার একটি উচ্চ-স্তরের, বিমূর্ত দৃষ্টিভঙ্গি দিয়ে শুরু করে এবং পদ্ধতিগতভাবে এটিকে ছোট, আরও পরিচালনাযোগ্য উপ-সমস্যায় বিভক্ত করে (ডিকম্পোজ করে)।

79. Overflow condition in a stack implemented with an array occurs when: / একটি অ্যারে দিয়ে বাস্তবায়িত একটি স্ট্যাকে ওভারফ্লো অবস্থাটি ঘটে যখন:

  1. `top == -1`
  2. `top == 0`
  3. `top == size – 1`
  4. `top == 1`

Correct Answer (সঠিক উত্তর): c) `top == size – 1`

Explanation (ব্যাখ্যা): If an array of size `size` is used to implement a stack (with indices 0 to `size-1`), an overflow occurs when you try to `push` an element onto an already full stack. The full condition is met when the `top` index is equal to the last valid index, `size – 1`. / যদি `size` আকারের একটি অ্যারে একটি স্ট্যাক বাস্তবায়নের জন্য ব্যবহৃত হয় (ইনডেক্স ০ থেকে `size-1` সহ), একটি ওভারফ্লো ঘটে যখন আপনি একটি ইতিমধ্যে পূর্ণ স্ট্যাকে একটি উপাদান `push` করার চেষ্টা করেন। পূর্ণ অবস্থাটি পূরণ হয় যখন `top` ইনডেক্সটি শেষ বৈধ ইনডেক্স, `size – 1`-এর সমান হয়।

80. The time taken by an algorithm for the best possible input is called: / সর্বোত্তম সম্ভাব্য ইনপুটের জন্য একটি অ্যালগরিদম দ্বারা নেওয়া সময়কে বলা হয়:

  1. Worst Case Time Complexity / ওয়ার্স্ট কেস টাইম কমপ্লেক্সিটি
  2. Average Case Time Complexity / অ্যাভারেজ কেস টাইম কমপ্লেক্সিটি
  3. Best Case Time Complexity / বেস্ট কেস টাইম কমপ্লেক্সিটি
  4. Amortized Time Complexity / অ্যামোর্টাইজড টাইম কমপ্লেক্সিটি

Correct Answer (সঠিক উত্তর): c) Best Case Time Complexity / বেস্ট কেস টাইম কমপ্লেক্সিটি

Explanation (ব্যাখ্যা): Best-case complexity (denoted by Ω-notation) describes the minimum amount of time an algorithm takes to run, given the most favorable input. For example, the best case for a linear search is O(1), when the target element is the first one in the list. / বেস্ট-কেস কমপ্লেক্সিটি (Ω-নোটেশন দ্বারা চিহ্নিত) একটি অ্যালগরিদম চালানোর জন্য সর্বনিম্ন পরিমাণ সময় বর্ণনা করে, সবচেয়ে অনুকূল ইনপুট দেওয়া হলে। উদাহরণস্বরূপ, একটি লিনিয়ার সার্চের জন্য সেরা কেস হলো O(1), যখন লক্ষ্য উপাদানটি তালিকার প্রথমটি হয়।

81. Which is a characteristic of a multitasking OS? / কোনটি একটি মাল্টিটাস্কিং ওএস-এর বৈশিষ্ট্য?

  1. Only one program runs at a time. / একবারে শুধু একটি প্রোগ্রাম চলে।
  2. Multiple programs appear to run simultaneously through rapid context switching. / দ্রুত কনটেক্সট সুইচিংয়ের মাধ্যমে একাধিক প্রোগ্রাম একই সাথে চলতে দেখা যায়।
  3. It requires multiple CPUs. / এর জন্য একাধিক সিপিইউ প্রয়োজন।
  4. It processes jobs in batches without user interaction. / এটি ব্যবহারকারীর মিথস্ক্রিয়া ছাড়াই ব্যাচে কাজ প্রক্রিয়া করে।

Correct Answer (সঠিক উত্তর): b) Multiple programs appear to run simultaneously through rapid context switching. / দ্রুত কনটেক্সট সুইচিংয়ের মাধ্যমে একাধিক প্রোগ্রাম একই সাথে চলতে দেখা যায়।

Explanation (ব্যাখ্যা): Multitasking creates the illusion of parallel execution on a single CPU by switching between different tasks (processes or threads) very quickly. / মাল্টিটাস্কিং বিভিন্ন টাস্ক (প্রসেস বা থ্রেড) এর মধ্যে খুব দ্রুত সুইচ করে একটি একক সিপিইউ-তে সমান্তরাল এক্সিকিউশনের বিভ্রম তৈরি করে।

82. The term “data structure” primarily refers to: / “ডেটা স্ট্রাকচার” শব্দটি প্রাথমিকভাবে বোঝায়:

  1. The physical components of a computer. / একটি কম্পিউটারের ভৌত উপাদান।
  2. The way data is organized in memory for efficient use. / কার্যকর ব্যবহারের জন্য মেমরিতে ডেটা যেভাবে সংগঠিত হয়।
  3. The syntax of a programming language. / একটি প্রোগ্রামিং ভাষার সিনট্যাক্স।
  4. The logic of an algorithm. / একটি অ্যালগরিদমের যুক্তি।

Correct Answer (সঠিক উত্তর): b) The way data is organized in memory for efficient use. / কার্যকর ব্যবহারের জন্য মেমরিতে ডেটা যেভাবে সংগঠিত হয়।

Explanation (ব্যাখ্যা): Data structures are concerned with how to store and arrange data so that various operations (like searching, insertion, deletion) can be performed efficiently. / ডেটা স্ট্রাকচারগুলি কীভাবে ডেটা সংরক্ষণ এবং সাজানো যায় তা নিয়ে উদ্বিগ্ন যাতে বিভিন্ন অপারেশন (যেমন সার্চিং, ইনসার্সন, ডিলিশন) কার্যকরভাবে সম্পাদন করা যায়।

83. Underflow condition in a queue occurs when: / একটি কিউতে আন্ডারফ্লো অবস্থা ঘটে যখন:

  1. The queue is full and we try to enqueue. / কিউ পূর্ণ থাকে এবং আমরা এনকিউ করার চেষ্টা করি।
  2. The queue is empty and we try to dequeue. / কিউ খালি থাকে এবং আমরা ডিকিউ করার চেষ্টা করি।
  3. The front and rear pointers are equal. / ফ্রন্ট এবং রিয়ার পয়েন্টার সমান।
  4. The queue has only one element. / কিউতে কেবল একটি উপাদান থাকে।

Correct Answer (সঠিক উত্তর): b) The queue is empty and we try to dequeue. / কিউ খালি থাকে এবং আমরা ডিকিউ করার চেষ্টা করি।

Explanation (ব্যাখ্যা): An underflow error happens when one tries to remove an element from an empty data structure. For a queue, this means attempting a dequeue operation when there are no elements to remove. / একটি আন্ডারফ্লো ত্রুটি ঘটে যখন কেউ একটি খালি ডেটা স্ট্রাকচার থেকে একটি উপাদান সরানোর চেষ্টা করে। একটি কিউয়ের জন্য, এর অর্থ হলো যখন সরানোর জন্য কোনো উপাদান নেই তখন একটি ডিকিউ অপারেশন করার চেষ্টা করা।

84. The analysis of an algorithm’s resource usage (time and space) is known as: / একটি অ্যালগরিদমের রিসোর্স ব্যবহার (সময় এবং স্থান) বিশ্লেষণকে বলা হয়:

  1. Complexity Analysis / কমপ্লেক্সিটি অ্যানালাইসিস
  2. Code Optimization / কোড অপটিমাইজেশন
  3. System Design / সিস্টেম ডিজাইন
  4. Software Testing / সফটওয়্যার টেস্টিং

Correct Answer (সঠিক উত্তর): a) Complexity Analysis / কমপ্লেক্সিটি অ্যানালাইসিস

Explanation (ব্যাখ্যা): Complexity analysis is the process of determining how the resource requirements (like CPU time and memory space) of an algorithm scale with the size of the input. It’s crucial for choosing efficient algorithms. / কমপ্লেক্সিটি অ্যানালাইসিস হলো একটি অ্যালগরিদমের রিসোর্স প্রয়োজনীয়তা (যেমন সিপিইউ সময় এবং মেমরি স্থান) ইনপুটের আকারের সাথে কীভাবে স্কেল করে তা নির্ধারণ করার প্রক্রিয়া। কার্যকর অ্যালগরিদম বেছে নেওয়ার জন্য এটি অত্যন্ত গুরুত্বপূর্ণ।

85. Which of the following is NOT an Operating System? / নিচের কোনটি একটি অপারেটিং সিস্টেম নয়?

  1. Windows / উইন্ডোজ
  2. Linux / লিনাক্স
  3. Oracle / ওরাকল
  4. macOS / ম্যাকওএস

Correct Answer (সঠিক উত্তর): c) Oracle / ওরাকল

Explanation (ব্যাখ্যা): Oracle is a popular Relational Database Management System (RDBMS), not an operating system. Windows, Linux, and macOS are all widely used operating systems. / ওরাকল একটি জনপ্রিয় রিলেশনাল ডেটাবেস ম্যানেজমেন্ট সিস্টেম (RDBMS), কোনো অপারেটিং সিস্টেম নয়। উইন্ডোজ, লিনাক্স এবং ম্যাকওএস সবই বহুল ব্যবহৃত অপারেটিং সিস্টেম।

86. The final output of a compiler is typically: / একটি কম্পাইলারের চূড়ান্ত আউটপুট সাধারণত:

  1. Source Code / সোর্স কোড
  2. Pseudo Code / সিউডো কোড
  3. Object Code or Executable Code / অবজেক্ট কোড বা এক্সিকিউটেবল কোড
  4. A Flowchart / একটি ফ্লোচার্ট

Correct Answer (সঠিক উত্তর): c) Object Code or Executable Code / অবজেক্ট কোড বা এক্সিকিউটেবল কোড

Explanation (ব্যাখ্যা): A compiler’s main job is to translate the entire source program, written in a high-level language, into machine-readable object code. This object code is then often linked to create a final executable file. / একটি কম্পাইলারের প্রধান কাজ হলো উচ্চ-স্তরের ভাষায় লেখা সম্পূর্ণ সোর্স প্রোগ্রামকে মেশিন-পঠনযোগ্য অবজেক্ট কোডে অনুবাদ করা। এই অবজেক্ট কোডটি প্রায়শই একটি চূড়ান্ত এক্সিকিউটেবল ফাইল তৈরি করার জন্য লিঙ্ক করা হয়।

87. A linear data structure where elements are not stored in contiguous memory locations is: / একটি রৈখিক ডেটা স্ট্রাকচার যেখানে উপাদানগুলি সংলগ্ন মেমরি অবস্থানে সংরক্ষণ করা হয় না তা হলো:

  1. Array / অ্যারে
  2. Linked List / লিঙ্কড লিস্ট
  3. Stack (when implemented with an array) / স্ট্যাক (যখন একটি অ্যারে দিয়ে বাস্তবায়িত হয়)
  4. String / স্ট্রিং

Correct Answer (সঠিক উত্তর): b) Linked List / লিঙ্কড লিস্ট

Explanation (ব্যাখ্যা): Unlike arrays, the nodes of a linked list can be scattered anywhere in memory. They are connected sequentially through pointers, not by their physical location in memory. / অ্যারেগুলির মতো নয়, একটি লিঙ্কড লিস্টের নোডগুলি মেমরির যেকোনো জায়গায় ছড়িয়ে থাকতে পারে। তারা পয়েন্টারের মাধ্যমে ক্রমানুসারে সংযুক্ত থাকে, মেমরিতে তাদের ভৌত অবস্থানের দ্বারা নয়।

88. A decision table helps in: / একটি ডিসিশন টেবিল সাহায্য করে:

  1. Drawing the program’s structure. / প্রোগ্রামের কাঠামো আঁকতে।
  2. Visualizing complex business logic and rules. / জটিল ব্যবসায়িক যুক্তি এবং নিয়ম কল্পনা করতে।
  3. Storing program data. / প্রোগ্রাম ডেটা সংরক্ষণ করতে।
  4. Measuring algorithm efficiency. / অ্যালগরিদমের কার্যকারিতা পরিমাপ করতে।

Correct Answer (সঠিক উত্তর): b) Visualizing complex business logic and rules. / জটিল ব্যবসায়িক যুক্তি এবং নিয়ম কল্পনা করতে।

Explanation (ব্যাখ্যা): Decision tables are excellent for modeling situations with multiple conditions that lead to different actions. They provide a clear, tabular way to represent and verify complex rule sets. / ডিসিশন টেবিলগুলি বিভিন্ন ক্রিয়ার দিকে নিয়ে যাওয়া একাধিক শর্তসহ পরিস্থিতি মডেল করার জন্য চমৎকার। তারা জটিল নিয়ম সেট উপস্থাপন এবং যাচাই করার জন্য একটি স্পষ্ট, সারণীগত উপায় সরবরাহ করে।

89. The step-by-step graphical representation of a program’s logic is a: / একটি প্রোগ্রামের যুক্তির ধাপে ধাপে গ্রাফিকাল উপস্থাপনা হলো একটি:

  1. Pseudo-code / সিউডো-কোড
  2. Algorithm / অ্যালগরিদম
  3. Flowchart / ফ্লোচার্ট
  4. Decision Table / ডিসিশন টেবিল

Correct Answer (সঠিক উত্তর): c) Flowchart / ফ্লোচার্ট

Explanation (ব্যাখ্যা): A flowchart uses standard symbols (rectangles, diamonds, ovals, etc.) connected by arrows to provide a visual, step-by-step diagram of how a program or process works. / একটি ফ্লোচার্ট তীর দ্বারা সংযুক্ত স্ট্যান্ডার্ড প্রতীক (আয়তক্ষেত্র, হীরা, ডিম্বাকৃতি ইত্যাদি) ব্যবহার করে একটি প্রোগ্রাম বা প্রক্রিয়া কীভাবে কাজ করে তার একটি ভিজ্যুয়াল, ধাপে ধাপে ডায়াগ্রাম প্রদান করে।

90. Which system allows multiple processors to work on the same task simultaneously? / কোন সিস্টেম একাধিক প্রসেসরকে একই টাস্কে একই সাথে কাজ করার অনুমতি দেয়?

  1. Multitasking / মাল্টিটাস্কিং
  2. Multiprogramming / মাল্টিপ্রোগ্রামিং
  3. Time-sharing / টাইম-শেয়ারিং
  4. Multiprocessing / মাল্টিপ্রসেসিং

Correct Answer (সঠিক উত্তর): d) Multiprocessing / মাল্টিপ্রসেসিং

Explanation (ব্যাখ্যা): A multiprocessing system contains more than one CPU, allowing for true parallel processing where multiple instructions from one or more programs can be executed at the exact same moment in time. / একটি মাল্টিপ্রসেসিং সিস্টেমে একাধিক সিপিইউ থাকে, যা সত্যিকারের সমান্তরাল প্রক্রিয়াকরণের অনুমতি দেয় যেখানে এক বা একাধিক প্রোগ্রাম থেকে একাধিক নির্দেশাবলী ঠিক একই মুহূর্তে কার্যকর করা যেতে পারে।

91. Which data structure would be best to model a waiting line at a ticket counter? / একটি টিকিট কাউন্টারে অপেক্ষারত লাইন মডেল করার জন্য কোন ডেটা স্ট্রাকচার সবচেয়ে ভালো হবে?

  1. Stack / স্ট্যাক
  2. Queue / কিউ
  3. Array / অ্যারে
  4. Linked List / লিঙ্কড লিস্ট

Correct Answer (সঠিক উত্তর): b) Queue / কিউ

Explanation (ব্যাখ্যা): A waiting line operates on a First-In, First-Out (FIFO) basis. The first person to join the line is the first person to be served. A queue data structure perfectly models this behavior. / একটি অপেক্ষারত লাইন ফার্স্ট-ইন, ফার্স্ট-আউট (FIFO) ভিত্তিতে কাজ করে। লাইনে প্রথম যোগ দেওয়া ব্যক্তিই প্রথম পরিষেবা পায়। একটি কিউ ডেটা স্ট্রাকচার এই আচরণকে পুরোপুরি মডেল করে।

92. The set of rules that defines the combinations of symbols that are considered to be correctly structured programs in a language is its: / নিয়মের সেট যা একটি ভাষায় সঠিকভাবে গঠিত প্রোগ্রাম হিসাবে বিবেচিত প্রতীকগুলির সংমিশ্রণকে সংজ্ঞায়িত করে তা হলো এর:

  1. Syntax / সিনট্যাক্স
  2. Semantics / সেমান্টিক্স
  3. Library / লাইব্রেরি
  4. Paradigm / প্যারাডাইম

Correct Answer (সঠিক উত্তর): a) Syntax / সিনট্যাক্স

Explanation (ব্যাখ্যা): Syntax refers to the grammatical rules of a programming language. A syntax error occurs when these rules are violated. Semantics, on the other hand, refers to the meaning of the statements. / সিনট্যাক্স একটি প্রোগ্রামিং ভাষার ব্যাকরণগত নিয়মকে বোঝায়। যখন এই নিয়মগুলি লঙ্ঘন করা হয় তখন একটি সিনট্যাক্স ত্রুটি ঘটে। অন্যদিকে, সেমান্টিক্স স্টেটমেন্টগুলির অর্থকে বোঝায়।

93. In a time-sharing system, the fixed time slice given to a process is called a: / একটি টাইম-শেয়ারিং সিস্টেমে, একটি প্রসেসকে দেওয়া নির্দিষ্ট সময় খণ্ডকে বলা হয়:

  1. Cycle / সাইকেল
  2. Quantum or Time Slice / কোয়ান্টাম বা টাইম স্লাইস
  3. Frame / ফ্রেম
  4. Slot / স্লট

Correct Answer (সঠিক উত্তর): b) Quantum or Time Slice / কোয়ান্টাম বা টাইম স্লাইস

Explanation (ব্যাখ্যা): The scheduler in a time-sharing OS allocates a small, fixed unit of CPU time, known as a time quantum or time slice, to each process. When the quantum expires, the CPU is switched to another process. / একটি টাইম-শেয়ারিং ওএস-এর সিডিউলার প্রতিটি প্রসেসকে সিপিইউ সময়ের একটি ছোট, নির্দিষ্ট একক, যা টাইম কোয়ান্টাম বা টাইম স্লাইস নামে পরিচিত, বরাদ্দ করে। যখন কোয়ান্টাম শেষ হয়ে যায়, তখন সিপিইউ অন্য একটি প্রসেসে সুইচ করা হয়।

94. What is the fundamental unit of data in a linked list? / একটি লিঙ্কড লিস্টে ডেটার মৌলিক একক কী?

  1. Array / অ্যারে
  2. Node / নোড
  3. Cell / সেল
  4. Pointer / পয়েন্টার

Correct Answer (সঠিক উত্তর): b) Node / নোড

Explanation (ব্যাখ্যা): A linked list is a collection of nodes. Each node is an object that contains the actual data and a reference (pointer) to the next node in the list. / একটি লিঙ্কড লিস্ট হলো নোডগুলির একটি সংগ্রহ। প্রতিটি নোড একটি বস্তু যা প্রকৃত ডেটা এবং তালিকার পরবর্তী নোডের একটি রেফারেন্স (পয়েন্টার) ধারণ করে।

95. The complexity O(log n) is better than: / কমপ্লেক্সিটি O(log n) এর চেয়ে ভালো:

  1. O(1)
  2. O(n)
  3. Both O(1) and O(n) / O(1) এবং O(n) উভয়ই
  4. None of the above / উপরের কোনোটিই নয়

Correct Answer (সঠিক উত্তর): b) O(n)

Explanation (ব্যাখ্যা): For large ‘n’, logarithmic growth (log n) is much slower than linear growth (n). However, constant time O(1) is the fastest and is therefore better than O(log n). So, O(log n) is better than O(n) but worse than O(1). / বড় ‘n’-এর জন্য, লগারিদমিক বৃদ্ধি (log n) রৈখিক বৃদ্ধি (n) এর চেয়ে অনেক ধীর। তবে, ধ্রুবক সময় O(1) দ্রুততম এবং তাই O(log n) এর চেয়ে ভালো। সুতরাং, O(log n) O(n) এর চেয়ে ভালো কিন্তু O(1) এর চেয়ে খারাপ।

96. Which tool is primarily used for writing the initial program instructions? / প্রাথমিক প্রোগ্রাম নির্দেশাবলী লেখার জন্য প্রাথমিকভাবে কোন টুলটি ব্যবহৃত হয়?

  1. Debugger / ডিবাগার
  2. Compiler / কম্পাইলার
  3. Editor / এডিটর
  4. Linker / লিঙ্কার

Correct Answer (সঠিক উত্তর): c) Editor / এডিটর

Explanation (ব্যাখ্যা): A source code editor (or text editor) is the software where a programmer types the instructions (source code) of a program. Other tools like compilers and debuggers work on the code after it has been written. / একটি সোর্স কোড এডিটর (বা টেক্সট এডিটর) হলো সেই সফ্টওয়্যার যেখানে একজন প্রোগ্রামার একটি প্রোগ্রামের নির্দেশাবলী (সোর্স কোড) টাইপ করে। কম্পাইলার এবং ডিবাগারের মতো অন্যান্য সরঞ্জামগুলি কোড লেখার পরে তার উপর কাজ করে।

97. The concept of using sequence, selection, and iteration to control program flow is central to: / প্রোগ্রামের প্রবাহ নিয়ন্ত্রণ করতে সিকোয়েন্স, সিলেকশন এবং ইটারেশন ব্যবহার করার ধারণাটি যার কেন্দ্রবিন্দুতে রয়েছে তা হলো:

  1. Object-Oriented Programming / অবজেক্ট-ওরিয়েন্টেড প্রোগ্রামিং
  2. Data Structures / ডেটা স্ট্রাকচার
  3. Structured Programming / স্ট্রাকচার্ড প্রোগ্রামিং
  4. Operating Systems / অপারেটিং সিস্টেম

Correct Answer (সঠিক উত্তর): c) Structured Programming / স্ট্রাকচার্ড প্রোগ্রামিং

Explanation (ব্যাখ্যা): The Böhm-Jacopini theorem states that any computable function can be implemented using only these three control structures: sequence (statements in order), selection (if/then/else), and iteration (loops). This is the theoretical foundation of structured programming. / বোহম-জ্যাকোপিনি উপপাদ্য বলে যে যেকোনো গণনাযোগ্য ফাংশন শুধুমাত্র এই তিনটি কন্ট্রোল স্ট্রাকচার ব্যবহার করে বাস্তবায়ন করা যেতে পারে: সিকোয়েন্স (ক্রমানুসারে স্টেটমেন্ট), সিলেকশন (যদি/তাহলে/অন্যথায়), এবং ইটারেশন (লুপ)। এটি স্ট্রাকচার্ড প্রোগ্রামিংয়ের তাত্ত্বিক ভিত্তি।

98. Insertion and deletion from the middle of an array is a(n) ______ operation. / একটি অ্যারের মাঝখান থেকে সন্নিবেশ এবং মোছা একটি ______ অপারেশন।

  1. O(1)
  2. O(log n)
  3. O(n)
  4. O(n^2)

Correct Answer (সঠিক উত্তর): c) O(n)

Explanation (ব্যাখ্যা): When you insert or delete an element in the middle of an array, you must shift all subsequent elements to either make space or fill the gap. In the worst case, you might have to shift n-1 elements, making it a linear time, O(n), operation. / যখন আপনি একটি অ্যারের মাঝখানে একটি উপাদান সন্নিবেশ বা মোছেন, তখন আপনাকে স্থান তৈরি করতে বা ফাঁক পূরণ করতে পরবর্তী সমস্ত উপাদান স্থানান্তর করতে হবে। সবচেয়ে খারাপ ক্ষেত্রে, আপনাকে n-1টি উপাদান স্থানান্তর করতে হতে পারে, যা এটিকে একটি রৈখিক সময়, O(n), অপারেশন করে তোলে।

99. A CPU can only execute instructions written in: / একটি সিপিইউ শুধুমাত্র ______ ভাষায় লেখা নির্দেশাবলী কার্যকর করতে পারে।

  1. Java / জাভা
  2. C++ / সি++
  3. Assembly Language / অ্যাসেম্বলি ভাষা
  4. Machine Language / মেশিন ভাষা

Correct Answer (সঠিক উত্তর): d) Machine Language / মেশিন ভাষা

Explanation (ব্যাখ্যা): All other languages (high-level or assembly) must first be translated into the binary machine code that the specific CPU architecture understands and can execute directly. / অন্য সমস্ত ভাষা (উচ্চ-স্তরের বা অ্যাসেম্বলি) প্রথমে নির্দিষ্ট সিপিইউ আর্কিটেকচার যা বোঝে এবং সরাসরি কার্যকর করতে পারে সেই বাইনারি মেশিন কোডে অনুবাদ করতে হবে।

100. The primary purpose of an algorithm is to provide a(n): / একটি অ্যালগরিদমের প্রাথমিক উদ্দেশ্য হলো একটি ______ প্রদান করা।

  1. Executable program / এক্সিকিউটেবল প্রোগ্রাম
  2. Correct and efficient solution to a problem / একটি সমস্যার সঠিক এবং কার্যকর সমাধান
  3. User-friendly interface / ব্যবহারকারী-বান্ধব ইন্টারফেস
  4. Hardware specification / হার্ডওয়্যার স্পেসিফিকেশন

Correct Answer (সঠিক উত্তর): b) Correct and efficient solution to a problem / একটি সমস্যার সঠিক এবং কার্যকর সমাধান

Explanation (ব্যাখ্যা): An algorithm is the blueprint for solving a problem. The goal is not just to get a solution, but to get a correct solution that is also efficient in terms of time and space resources. The algorithm is then implemented as a program. / একটি অ্যালগরিদম হলো একটি সমস্যা সমাধানের জন্য একটি ব্লুপ্রিন্ট। লক্ষ্য শুধু একটি সমাধান পাওয়া নয়, বরং একটি সঠিক সমাধান পাওয়া যা সময় এবং স্থান রিসোর্সের দিক থেকেও কার্যকর। অ্যালগরিদমটি তখন একটি প্রোগ্রাম হিসাবে বাস্তবায়িত হয়।

WBSSC SLST Computer Science IX & X : Overview of Programming Read More »

SLST Computer Science

WBSSC SLST Computer Science IX & X : Computer Organization

100 MCQs on Computer Organization

Q1. Which register holds the address of the next instruction to be fetched?
প্রশ্ন ১. কোন রেজিস্টার পরবর্তী নির্দেশ (instruction) আনার জন্য তার ঠিকানা ধরে রাখে?

  1. Accumulator Register (AR) / অ্যাকুমুলেটর রেজিস্টার
  2. Instruction Register (IR) / ইন্সট্রাকশন রেজিস্টার
  3. Program Counter (PC) / প্রোগ্রাম কাউন্টার
  4. Memory Address Register (MAR) / মেমরি অ্যাড্রেস রেজিস্টার

Correct Answer: (c) Program Counter (PC)

Explanation: The Program Counter (PC) is a special-purpose register in the CPU that contains the memory address of the next instruction to be executed. After an instruction is fetched, the PC is incremented to point to the next instruction.

ব্যাখ্যা: প্রোগ্রাম কাউন্টার (PC) হল CPU-এর একটি বিশেষ রেজিস্টার যা পরবর্তী কার্যকরப்பட வேண்டிய নির্দেশের মেমরি ঠিকানা ধারণ করে। একটি নির্দেশ আনার পরে, PC-এর মান বৃদ্ধি পেয়ে পরবর্তী নির্দেশের ঠিকানাকে নির্দেশ করে।

Q2. In which addressing mode, the operand is specified in the instruction itself?
প্রশ্ন ২. কোন অ্যাড্রেসিং মোডে অপারেন্ড সরাসরি ইন্সট্রাকশনের মধ্যেই উল্লেখ করা থাকে?

  1. Direct Addressing / ডাইরেক্ট অ্যাড্রেসিং
  2. Indirect Addressing / ইনডাইরেক্ট অ্যাড্রেসিং
  3. Immediate Addressing / ইমিডিয়েট অ্যাড্রেসিং
  4. Register Addressing / রেজিস্টার অ্যাড্রেসিং

Correct Answer: (c) Immediate Addressing

Explanation: In immediate addressing mode, the actual data (operand) is part of the instruction. This is fast as it avoids an extra memory access to fetch the operand.

ব্যাখ্যা: ইমিডিয়েট অ্যাড্রেসিং মোডে, আসল ডেটা (অপারেন্ড) নির্দেশের একটি অংশ হিসেবে থাকে। এটি দ্রুত কারণ অপারেন্ড আনার জন্য অতিরিক্ত মেমরি অ্যাক্সেসের প্রয়োজন হয় না।

Q3. The control unit that is implemented using logic gates, flip-flops, and decoders is called a ________.
প্রশ্ন ৩. যে কন্ট্রোল ইউনিট লজিক গেট, ফ্লিপ-ফ্লপ এবং ডিকোডার ব্যবহার করে তৈরি করা হয়, তাকে ________ বলে।

  1. Micro-programmed Control Unit / মাইক্রো-প্রোগ্রামড কন্ট্রোল ইউনিট
  2. Hardwired Control Unit / হার্ডওয়্যার্ড কন্ট্রোল ইউনিট
  3. Sequential Control Unit / সিকোয়েন্সিয়াল কন্ট্রোল ইউনিট
  4. Pipelined Control Unit / পাইপলাইনড কন্ট্রোল ইউনিট

Correct Answer: (b) Hardwired Control Unit

Explanation: A hardwired control unit is essentially a sequential circuit that generates control signals using a finite state machine. It is faster but less flexible than a micro-programmed control unit.

ব্যাখ্যা: একটি হার্ডওয়্যার্ড কন্ট্রোল ইউনিট মূলত একটি সিকোয়েন্সিয়াল সার্কিট যা একটি ফাইনাইট স্টেট মেশিন ব্যবহার করে কন্ট্রোল সিগন্যাল তৈরি করে। এটি মাইক্রো-প্রোগ্রামড কন্ট্রোল ইউনিটের চেয়ে দ্রুত কিন্তু কম নমনীয়।

Q4. Which memory is volatile in nature?
প্রশ্ন ৪. কোন মেমরি প্রকৃতিগতভাবে উদ্বায়ী (volatile)?

  1. ROM (Read-Only Memory) / রম (রিড-অনলি মেমরি)
  2. RAM (Random Access Memory) / র‍্যাম (র‍্যান্ডম অ্যাক্সেস মেমরি)
  3. SSD (Solid State Drive) / এসএসডি (সলিড স্টেট ড্রাইভ)
  4. EPROM (Erasable Programmable Read-Only Memory) / ইPROM

Correct Answer: (b) RAM (Random Access Memory)

Explanation: Volatile memory requires power to maintain the stored information. RAM is volatile, meaning it loses its contents when the power is turned off. ROM and SSD are non-volatile.

ব্যাখ্যা: উদ্বায়ী মেমরিতে তথ্য সংরক্ষণের জন্য পাওয়ারের প্রয়োজন হয়। RAM হলো উদ্বায়ী, অর্থাৎ পাওয়ার বন্ধ হয়ে গেলে এর মধ্যে থাকা তথ্য মুছে যায়। ROM এবং SSD হলো অনুদ্বায়ী (non-volatile)।

Q5. A dot matrix printer is an example of a(n) ________.
প্রশ্ন ৫. একটি ডট ম্যাট্রিক্স প্রিন্টার কীসের উদাহরণ?

  1. Impact Printer / ইমপ্যাক্ট প্রিন্টার
  2. Non-Impact Printer / নন-ইমপ্যাক্ট প্রিন্টার
  3. Laser Printer / লেজার প্রিন্টার
  4. Inkjet Printer / ইঙ্কজেট প্রিন্টার

Correct Answer: (a) Impact Printer

Explanation: An impact printer works by striking a mechanism (like pins or a hammer) against an inked ribbon, which makes a mark on the paper. A dot matrix printer uses tiny pins to create dots, forming characters.

ব্যাখ্যা: একটি ইমপ্যাক্ট প্রিন্টার একটি কালিযুক্ত রিবনের উপর পিন বা হাতুড়ির মতো একটি মেকানিজম দ্বারা আঘাত করে কাজ করে, যা কাগজে চিহ্ন তৈরি করে। একটি ডট ম্যাট্রিক্স প্রিন্টার অক্ষর গঠনের জন্য ছোট ছোট পিন ব্যবহার করে ডট তৈরি করে।

Q6. The performance of a cache memory is frequently measured in terms of ________.
প্রশ্ন ৬. ক্যাশে মেমরির কর্মক্ষমতা প্রায়শই কীসের ভিত্তিতে পরিমাপ করা হয়?

  1. Cache Size / ক্যাশে সাইজ
  2. Hit Ratio / হিট রেশিও
  3. Clock Speed / ক্লক স্পিড
  4. Memory Cycle Time / মেমরি সাইকেল টাইম

Correct Answer: (b) Hit Ratio

Explanation: Hit ratio is the fraction of memory accesses that are found in the cache (a “hit”). A higher hit ratio means the cache is more effective, leading to faster overall system performance.

ব্যাখ্যা: হিট রেশিও হল মেমরি অ্যাক্সেসের সেই ভগ্নাংশ যা ক্যাশেতে পাওয়া যায় (একটি “হিট”)। উচ্চ হিট রেশিও মানে ক্যাশে বেশি কার্যকর, যা সিস্টেমের সামগ্রিক কর্মক্ষমতা বাড়ায়।

Q7. Booth’s algorithm is used for ________.
প্রশ্ন ৭. বুথ-এর অ্যালগরিদম কীসের জন্য ব্যবহৃত হয়?

  1. Floating-point addition / ফ্লোটিং-পয়েন্ট যোগ
  2. Integer division / পূর্ণসংখ্যার ভাগ
  3. Signed binary number multiplication / চিহ্নযুক্ত বাইনারি সংখ্যার গুণ
  4. Sorting numbers / সংখ্যা সাজানো

Correct Answer: (c) Signed binary number multiplication

Explanation: Booth’s algorithm is a multiplication algorithm that multiplies two signed binary numbers in two’s complement notation. It is efficient because it handles both positive and negative multipliers uniformly.

ব্যাখ্যা: বুথ-এর অ্যালগরিদম একটি গুণন অ্যালগরিদম যা দুটি চিহ্নযুক্ত বাইনারি সংখ্যাকে টু’স কমপ্লিমেন্ট নোটেশনে গুণ করে। এটি কার্যকর কারণ এটি ধনাত্মক এবং ঋণাত্মক উভয় গুণককে একইভাবে পরিচালনা করে।

Q8. What is the purpose of the Memory Data Register (MDR)?
প্রশ্ন ৮. মেমরি ডেটা রেজিস্টার (MDR)-এর উদ্দেশ্য কী?

  1. To hold the address of the memory location to be accessed / অ্যাক্সেস করা হবে এমন মেমরি অবস্থানের ঠিকানা ধরে রাখা
  2. To hold the data that is being transferred to or from memory / মেমরিতে বা মেমরি থেকে স্থানান্তরিত ডেটা ধরে রাখা
  3. To hold the instruction that is currently being executed / বর্তমানে কার্যকর হওয়া নির্দেশ ধরে রাখা
  4. To count the number of instructions executed / কার্যকর হওয়া নির্দেশের সংখ্যা গণনা করা

Correct Answer: (b) To hold the data that is being transferred to or from memory

Explanation: The Memory Data Register (MDR), also known as Memory Buffer Register (MBR), is the register in a computer’s processor, or CPU, that stores the data being transferred to and from the immediate access storage.

ব্যাখ্যা: মেমরি ডেটা রেজিস্টার (MDR), যা মেমরি বাফার রেজিস্টার (MBR) নামেও পরিচিত, এটি একটি কম্পিউটারের প্রসেসরের রেজিস্টার যা মেমরি থেকে ডেটা আনা বা মেমরিতে ডেটা পাঠানোর সময় সেই ডেটা অস্থায়ীভাবে ধরে রাখে।

Q9. A zero-address instruction format uses a ________ organization.
প্রশ্ন ৯. একটি জিরো-অ্যাড্রেস ইন্সট্রাকশন ফরম্যাট কোন ধরনের সংগঠন ব্যবহার করে?

  1. General Register / জেনারেল রেজিস্টার
  2. Stack / স্ট্যাক
  3. Accumulator / অ্যাকুমুলেটর
  4. Direct Memory / ডাইরেক্ট মেমরি

Correct Answer: (b) Stack

Explanation: In a zero-address instruction format, the locations of the operands are implicitly defined. This is typically done using a stack, where operations are performed on the top elements of the stack (e.g., PUSH, POP, ADD).

ব্যাখ্যা: একটি জিরো-অ্যাড্রেস ইন্সট্রাকশন ফরম্যাটে, অপারেন্ডের অবস্থানগুলি পরোক্ষভাবে সংজ্ঞায়িত করা হয়। এটি সাধারণত একটি স্ট্যাক ব্যবহার করে করা হয়, যেখানে স্ট্যাকের উপরের উপাদানগুলির উপর অপারেশন সঞ্চালিত হয় (যেমন PUSH, POP, ADD)।

Q10. Virtual memory is implemented using ________.
প্রশ্ন ১০. ভার্চুয়াল মেমরি কী ব্যবহার করে বাস্তবায়ন করা হয়?

  1. Paging and Segmentation / পেজিং এবং সেগমেন্টেশন
  2. Cache memory / ক্যাশে মেমরি
  3. Registers / রেজিস্টার
  4. DMA (Direct Memory Access) / ডিএমএ (ডাইরেক্ট মেমরি অ্যাক্সেস)

Correct Answer: (a) Paging and Segmentation

Explanation: Virtual memory is a memory management technique that provides an “idealized” abstraction of the storage resources. It is typically implemented using demand paging and/or segmentation, which involves moving data between secondary memory and main memory.

ব্যাখ্যা: ভার্চুয়াল মেমরি একটি মেমরি ম্যানেজমেন্ট কৌশল যা স্টোরেজ রিসোর্সের একটি আদর্শ রূপ প্রদান করে। এটি সাধারণত ডিমান্ড পেজিং এবং/অথবা সেগমেন্টেশন ব্যবহার করে প্রয়োগ করা হয়, যেখানে সেকেন্ডারি মেমরি এবং প্রধান মেমরির মধ্যে ডেটা স্থানান্তরিত হয়।

Q11. The part of an instruction that specifies the operation to be performed is called the ________.
প্রশ্ন ১১. একটি নির্দেশের যে অংশটি কোন অপারেশনটি করা হবে তা নির্দিষ্ট করে, তাকে ________ বলে।

  1. Operand / অপারেন্ড
  2. Address / অ্যাড্রেস
  3. Opcode (Operation Code) / অপকোড (অপারেশন কোড)
  4. Mode / মোড

Correct Answer: (c) Opcode (Operation Code)

Explanation: An instruction is divided into parts. The opcode specifies the type of operation to be performed (e.g., ADD, SUB, LOAD, STORE), while the operand specifies the data or memory location to be used in the operation.

ব্যাখ্যা: একটি নির্দেশ কয়েকটি অংশে বিভক্ত থাকে। অপকোড অংশটি কী ধরনের অপারেশন করা হবে তা নির্দিষ্ট করে (যেমন, ADD, SUB, LOAD, STORE), যেখানে অপারেন্ড অংশটি অপারেশনে ব্যবহৃত ডেটা বা মেমরির অবস্থান নির্দিষ্ট করে।

Q12. Which of the following is the fastest memory?
প্রশ্ন ১২. নিচের কোনটি সবচেয়ে দ্রুতগতির মেমরি?

  1. Main Memory (RAM) / প্রধান মেমরি (র‍্যাম)
  2. Cache Memory / ক্যাশে মেমরি
  3. CPU Registers / সিপিইউ রেজিস্টার
  4. Hard Disk / হার্ড ডিস্ক

Correct Answer: (c) CPU Registers

Explanation: The memory hierarchy is structured based on speed and cost. CPU registers are at the top, being the fastest but smallest and most expensive per bit. They are followed by cache, main memory, and then secondary storage like hard disks.

ব্যাখ্যা: মেমরি হায়ারার্কি গতি এবং খরচের উপর ভিত্তি করে গঠিত। সিপিইউ রেজিস্টারগুলি শীর্ষে রয়েছে, যা সবচেয়ে দ্রুত কিন্তু আকারে সবচেয়ে ছোট এবং প্রতি বিটে সবচেয়ে ব্যয়বহুল। এর পরে আসে ক্যাশে, প্রধান মেমরি, এবং তারপর হার্ড ডিস্কের মতো সেকেন্ডারি স্টোরেজ।

Q13. In which addressing mode is the effective address calculated by adding a displacement to the contents of a register?
প্রশ্ন ১৩. কোন অ্যাড্রেসিং মোডে একটি রেজিস্টারের কন্টেন্টের সাথে একটি ডিসপ্লেসমেন্ট যোগ করে কার্যকরী ঠিকানা (effective address) গণনা করা হয়?

  1. Immediate / ইমিডিয়েট
  2. Direct / ডাইরেক্ট
  3. Indexed / ইনডেক্সড
  4. Indirect / ইনডাইরেক্ট

Correct Answer: (c) Indexed

Explanation: In indexed addressing mode, the effective address of the operand is generated by adding a constant value (displacement) to the contents of a register, known as the index register. This is useful for accessing arrays.

ব্যাখ্যা: ইনডেক্সড অ্যাড্রেসিং মোডে, ইনডেক্স রেজিস্টার নামক একটি রেজিস্টারের কন্টেন্টের সাথে একটি ধ্রুবক মান (ডিসপ্লেসমেন্ট) যোগ করে অপারেন্ডের কার্যকরী ঠিকানা তৈরি করা হয়। এটি অ্যারে অ্যাক্সেস করার জন্য খুব দরকারী।

Q14. A micro-programmed control unit is ________.
প্রশ্ন ১৪. একটি মাইক্রো-প্রোগ্রামড কন্ট্রোল ইউনিট হলো ________।

  1. Faster but less flexible than a hardwired unit / হার্ডওয়্যার্ড ইউনিটের চেয়ে দ্রুত কিন্তু কম নমনীয়
  2. Slower but more flexible than a hardwired unit / হার্ডওয়্যার্ড ইউনিটের চেয়ে ধীর কিন্তু বেশি নমনীয়
  3. Equally fast and flexible as a hardwired unit / হার্ডওয়্যার্ড ইউনিটের মতো সমান দ্রুত এবং নমনীয়
  4. Used only in RISC architectures / শুধুমাত্র RISC আর্কিটেকচারে ব্যবহৃত হয়
  5. ol>

    Correct Answer: (b) Slower but more flexible than a hardwired unit

    Explanation: Micro-programmed control units use a set of micro-instructions (firmware) stored in a control memory. This makes them easier to design and modify (more flexible), but the extra step of fetching micro-instructions makes them slower than hardwired units.

    ব্যাখ্যা: মাইক্রো-প্রোগ্রামড কন্ট্রোল ইউনিট কন্ট্রোল মেমরিতে সংরক্ষিত মাইক্রো-ইন্সট্রাকশনের একটি সেট (ফার্মওয়্যার) ব্যবহার করে। এটি তাদের ডিজাইন এবং পরিবর্তন করা সহজ করে তোলে (বেশি নমনীয়), কিন্তু মাইক্রো-ইন্সট্রাকশন আনার অতিরিক্ত ধাপের কারণে এটি হার্ডওয়্যার্ড ইউনিটের চেয়ে ধীর গতির হয়।

Q15. Which I/O device uses a grid of pins striking an inked ribbon to produce output?
প্রশ্ন ১৫. কোন I/O ডিভাইস আউটপুট তৈরি করতে একটি কালিযুক্ত রিবনের উপর পিনের একটি গ্রিড ব্যবহার করে?

  1. Laser Printer / লেজার প্রিন্টার
  2. Inkjet Printer / ইঙ্কজেট প্রিন্টার
  3. Dot Matrix Printer / ডট ম্যাট্রিক্স প্রিন্টার
  4. Visual Display Unit (VDU) / ভিজ্যুয়াল ডিসপ্লে ইউনিট (VDU)

Correct Answer: (c) Dot Matrix Printer

Explanation: Dot matrix printers create characters by striking pins against an ink ribbon. Each pin makes a dot, and combinations of dots form characters and illustrations. They are a type of impact printer.

ব্যাখ্যা: ডট ম্যাট্রিক্স প্রিন্টার একটি কালিযুক্ত রিবনের উপর পিন দ্বারা আঘাত করে অক্ষর তৈরি করে। প্রতিটি পিন একটি ডট তৈরি করে এবং ডটের সংমিশ্রণে অক্ষর ও ছবি গঠিত হয়। এগুলি এক ধরনের ইমপ্যাক্ট প্রিন্টার।

Q16. The ‘principle of locality of reference’ is the justification for the use of ________.
প্রশ্ন ১৬. ‘প্রিন্সিপাল অফ লোকালিটি অফ রেফারেন্স’ কীসের ব্যবহারের যৌক্তিকতা প্রমাণ করে?

  1. Virtual Memory / ভার্চুয়াল মেমরি
  2. Interrupts / ইন্টারাপ্ট
  3. DMA / ডিএমএ
  4. Cache Memory / ক্যাশে মেমরি

Correct Answer: (d) Cache Memory

Explanation: The principle of locality states that programs tend to reuse data and instructions they have used recently. Cache memory exploits this by keeping recently used data in a small, fast memory, expecting it to be needed again soon. This greatly improves performance.

ব্যাখ্যা: লোকালিটির নীতিটি বলে যে প্রোগ্রামগুলি সম্প্রতি ব্যবহৃত ডেটা এবং নির্দেশাবলী পুনরায় ব্যবহার করার প্রবণতা দেখায়। ক্যাশে মেমরি এই নীতির সুবিধা নেয় এবং সম্প্রতি ব্যবহৃত ডেটা একটি ছোট, দ্রুত মেমরিতে রাখে, এই আশায় যে এটি শীঘ্রই আবার প্রয়োজন হবে। এটি কর্মক্ষমতা ব্যাপকভাবে উন্নত করে।

Q17. The process of dividing a program’s logical address space into fixed-size blocks is called ________.
প্রশ্ন ১৭. একটি প্রোগ্রামের লজিক্যাল অ্যাড্রেস স্পেসকে নির্দিষ্ট আকারের ব্লকে বিভক্ত করার প্রক্রিয়াকে ________ বলে।

  1. Segmentation / সেগমেন্টেশন
  2. Paging / পেজিং
  3. Framing / ফ্রেমিং
  4. Mapping / ম্যাপিং

Correct Answer: (b) Paging

Explanation: Paging is a memory management scheme that eliminates the need for contiguous allocation of physical memory. It divides the logical address space into fixed-size blocks called pages, and physical memory into blocks of the same size called frames.

ব্যাখ্যা: পেজিং একটি মেমরি ম্যানেজমেন্ট স্কিম যা ফিজিক্যাল মেমরির অবিচ্ছিন্ন বরাদ্দের প্রয়োজনীয়তা দূর করে। এটি লজিক্যাল অ্যাড্রেস স্পেসকে ‘পেজ’ নামক নির্দিষ্ট আকারের ব্লকে এবং ফিজিক্যাল মেমরিকে ‘ফ্রেম’ নামক একই আকারের ব্লকে বিভক্ত করে।

Q18. What does a ‘cache miss’ signify?
প্রশ্ন ১৮. একটি ‘ক্যাশে মিস’ কী বোঝায়?

  1. The required data is found in the cache / প্রয়োজনীয় ডেটা ক্যাশেতে পাওয়া গেছে
  2. The required data is not found in the cache / প্রয়োজনীয় ডেটা ক্যাশেতে পাওয়া যায়নি
  3. The cache is full / ক্যাশে পূর্ণ
  4. The cache is corrupted / ক্যাশে নষ্ট হয়ে গেছে

Correct Answer: (b) The required data is not found in the cache

Explanation: A cache miss occurs when the processor requests data from memory, and the data is not found in the cache. The system must then retrieve the data from the slower main memory, which results in a performance penalty.

ব্যাখ্যা: একটি ক্যাশে মিস ঘটে যখন প্রসেসর মেমরি থেকে ডেটা অনুরোধ করে এবং সেই ডেটা ক্যাশেতে পাওয়া যায় না। তখন সিস্টেমকে ধীর গতির প্রধান মেমরি থেকে ডেটা পুনরুদ্ধার করতে হয়, যার ফলে কর্মক্ষমতা হ্রাস পায়।

Q19. An instruction `ADD R1, [1000]` is an example of which addressing mode? (Here [1000] means the content of memory location 1000)
প্রশ্ন ১৯. একটি নির্দেশ `ADD R1, [1000]` কোন অ্যাড্রেসিং মোডের উদাহরণ? (এখানে [1000] মানে মেমরি অবস্থান 1000-এর কন্টেন্ট)

  1. Immediate / ইমিডিয়েট
  2. Direct / ডাইরেক্ট
  3. Indirect / ইনডাইরেক্ট
  4. Register / রেজিস্টার

Correct Answer: (b) Direct

Explanation: In direct addressing mode, the address field of the instruction contains the effective address of the operand. Here, the operand is located at memory address 1000. The content of location 1000 is added to register R1.

ব্যাখ্যা: ডাইরেক্ট অ্যাড্রেসিং মোডে, নির্দেশের অ্যাড্রেস ফিল্ডে অপারেন্ডের কার্যকরী ঠিকানা থাকে। এখানে, অপারেন্ডটি মেমরি ঠিকানা 1000-এ অবস্থিত। 1000 অবস্থানের কন্টেন্ট রেজিস্টার R1-এর সাথে যোগ করা হবে।

Q20. A VDU is a(n) ________.
প্রশ্ন ২০. একটি VDU হলো একটি ________।

  1. Input device only / শুধুমাত্র ইনপুট ডিভাইস
  2. Output device only / শুধুমাত্র আউটপুট ডিভাইস
  3. Both input and output device / ইনপুট এবং আউটপুট উভয় ডিভাইস
  4. Storage device / স্টোরেজ ডিভাইস

Correct Answer: (b) Output device only

Explanation: VDU stands for Visual Display Unit, which is another name for a computer monitor. Its primary function is to display output from the computer. While some monitors have touch screens (making them input/output), a standard VDU is considered an output device.

ব্যাখ্যা: VDU-এর পূর্ণরূপ হলো ভিজ্যুয়াল ডিসপ্লে ইউনিট, যা কম্পিউটার মনিটরের আরেকটি নাম। এর প্রধান কাজ হলো কম্পিউটার থেকে আউটপুট প্রদর্শন করা। যদিও কিছু মনিটরে টাচ স্ক্রিন থাকে (যা তাদের ইনপুট/আউটপুট করে তোলে), একটি সাধারণ VDU-কে একটি আউটপুট ডিভাইস হিসাবে বিবেচনা করা হয়।

Q21. Which memory needs to be refreshed periodically?
প্রশ্ন ২১. কোন মেমরিকে পর্যায়ক্রমে রিফ্রেশ করতে হয়?

  1. SRAM (Static RAM) / SRAM (স্ট্যাটিক র‍্যাম)
  2. DRAM (Dynamic RAM) / DRAM (ডাইনামিক র‍্যাম)
  3. ROM (Read-Only Memory) / ROM (রিড-অনলি মেমরি)
  4. Flash Memory / ফ্ল্যাশ মেমরি

Correct Answer: (b) DRAM (Dynamic RAM)

Explanation: DRAM stores each bit of data in a separate capacitor within an integrated circuit. Since capacitors leak charge, the information eventually fades unless the capacitor charge is refreshed periodically. SRAM, in contrast, uses flip-flops and does not need refreshing.

ব্যাখ্যা: DRAM প্রতিটি ডেটা বিট একটি ইন্টিগ্রেটেড সার্কিটের মধ্যে একটি পৃথক ক্যাপাসিটরে সংরক্ষণ করে। যেহেতু ক্যাপাসিটর থেকে চার্জ লিক হয়, তাই পর্যায়ক্রমে ক্যাপাসিটরের চার্জ রিফ্রেশ না করা হলে তথ্য হারিয়ে যায়। অন্যদিকে, SRAM ফ্লিপ-ফ্লপ ব্যবহার করে এবং রিফ্রেশের প্রয়োজন হয় না।

Q22. A 3-address instruction format can have an operation like ________.
প্রশ্ন ২২. একটি ৩-অ্যাড্রেস ইন্সট্রাকশন ফরম্যাটে কী ধরনের অপারেশন থাকতে পারে?

  1. ADD A, B
  2. ADD A
  3. ADD R1, R2, R3
  4. LOAD A

Correct Answer: (c) ADD R1, R2, R3

Explanation: A 3-address instruction format specifies two source operands and one destination operand. The instruction `ADD R1, R2, R3` typically means “add the contents of register R2 and register R3, and store the result in register R1”.

ব্যাখ্যা: একটি ৩-অ্যাড্রেস ইন্সট্রাকশন ফরম্যাট দুটি সোর্স অপারেন্ড এবং একটি ডেস্টিনেশন অপারেন্ড নির্দিষ্ট করে। `ADD R1, R2, R3` নির্দেশটির অর্থ সাধারণত “রেজিস্টার R2 এবং রেজিস্টার R3-এর কন্টেন্ট যোগ কর এবং ফলাফলটি রেজিস্টার R1-এ সংরক্ষণ কর”।

Q23. Which register is used to store status conditions or flags like carry, zero, or overflow?
প্রশ্ন ২৩. কোন রেজিস্টার স্ট্যাটাস কন্ডিশন বা ফ্ল্যাগ যেমন ক্যারি, জিরো, বা ওভারফ্লো সংরক্ষণ করতে ব্যবহৃত হয়?

  1. Program Counter (PC) / প্রোগ্রাম কাউন্টার (PC)
  2. Accumulator (AC) / অ্যাকুমুলেটর (AC)
  3. Instruction Register (IR) / ইন্সট্রাকশন রেজিস্টার (IR)
  4. Processor Status Word (PSW) Register / প্রসেসর স্ট্যাটাস ওয়ার্ড (PSW) রেজিস্টার

Correct Answer: (d) Processor Status Word (PSW) Register

Explanation: The Processor Status Word (PSW) register, also known as the flag register, is a collection of status bits for the processor. These flags reflect the outcome of arithmetic and logical operations, such as whether a carry occurred, the result was zero, or an overflow happened.

ব্যাখ্যা: প্রসেসর স্ট্যাটাস ওয়ার্ড (PSW) রেজিস্টার, যা ফ্ল্যাগ রেজিস্টার নামেও পরিচিত, প্রসেসরের জন্য স্ট্যাটাস বিটের একটি সংগ্রহ। এই ফ্ল্যাগগুলি গাণিতিক এবং যৌক্তিক অপারেশনের ফলাফল প্রতিফলিত করে, যেমন ক্যারি হয়েছে কিনা, ফলাফল শূন্য ছিল কিনা, বা ওভারফ্লো হয়েছে কিনা।

Q24. The first phase of the instruction cycle is ________.
প্রশ্ন ২৪. ইন্সট্রাকশন সাইকেলের প্রথম পর্যায়টি কী?

  1. Execute / এক্সিকিউট (কার্যকর করা)
  2. Decode / ডিকোড (অনুবাদ করা)
  3. Fetch / ফেচ (আনা)
  4. Store / স্টোর (সংরক্ষণ করা)

Correct Answer: (c) Fetch

Explanation: The instruction cycle consists of a sequence of steps: Fetch, Decode, and Execute. The Fetch cycle is the first step, where the CPU retrieves the next instruction from memory using the address stored in the Program Counter (PC).

ব্যাখ্যা: ইন্সট্রাকশন সাইকেল কয়েকটি ধাপের সমন্বয়ে গঠিত: ফেচ, ডিকোড, এবং এক্সিকিউট। ফেচ সাইকেল হলো প্রথম ধাপ, যেখানে CPU প্রোগ্রাম কাউন্টারে (PC) সংরক্ষিত ঠিকানা ব্যবহার করে মেমরি থেকে পরবর্তী নির্দেশ নিয়ে আসে।

Q25. An optical mouse uses a ________ to detect movement.
প্রশ্ন ২৫. একটি অপটিক্যাল মাউস নড়াচড়া শনাক্ত করতে কী ব্যবহার করে?

  1. Roller ball / রোলার বল
  2. Laser beam / লেজার রশ্মি
  3. Light-Emitting Diode (LED) and a sensor / লাইট-এমিটিং ডায়োড (LED) এবং একটি সেন্সর
  4. Magnetic field / চৌম্বক ক্ষেত্র

Correct Answer: (c) Light-Emitting Diode (LED) and a sensor

Explanation: An optical mouse illuminates the surface underneath it with a Light-Emitting Diode (LED). A small, low-resolution camera or sensor takes thousands of pictures per second. The mouse’s internal processor analyzes these pictures to detect movement.

ব্যাখ্যা: একটি অপটিক্যাল মাউস একটি লাইট-এমিটিং ডায়োড (LED) দিয়ে তার নীচের পৃষ্ঠকে আলোকিত করে। একটি ছোট, কম-রেজোলিউশনের ক্যামেরা বা সেন্সর প্রতি সেকেন্ডে হাজার হাজার ছবি তোলে। মাউসের অভ্যন্তরীণ প্রসেসর এই ছবিগুলি বিশ্লেষণ করে নড়াচড়া শনাক্ত করে।

Q26. In indirect addressing mode, the address field of the instruction gives the ________.
প্রশ্ন ২৬. ইনডাইরেক্ট অ্যাড্রেসিং মোডে, ইন্সট্রাকশনের অ্যাড্রেস ফিল্ড কী প্রদান করে?

  1. Address of the operand / অপারেন্ডের ঠিকানা
  2. Operand itself / অপারেন্ড নিজেই
  3. Address of the memory word that contains the address of the operand / সেই মেমরি ওয়ার্ডের ঠিকানা যেখানে অপারেন্ডের ঠিকানা রয়েছে
  4. Address of a register / একটি রেজিস্টারের ঠিকানা

Correct Answer: (c) Address of the memory word that contains the address of the operand

Explanation: Indirect addressing requires two memory accesses to fetch the operand. The first access gets the address of the operand from the memory location specified in the instruction. The second access uses this address to get the actual operand.

ব্যাখ্যা: ইনডাইরেক্ট অ্যাড্রেসিং-এ অপারেন্ড আনার জন্য দুটি মেমরি অ্যাক্সেসের প্রয়োজন হয়। প্রথম অ্যাক্সেসটি ইন্সট্রাকশনে উল্লেখিত মেমরি অবস্থান থেকে অপারেন্ডের ঠিকানা নিয়ে আসে। দ্বিতীয় অ্যাক্সেসটি এই ঠিকানা ব্যবহার করে আসল অপারেন্ডটি নিয়ে আসে।

Q27. Which is a non-volatile memory that can be electrically erased and reprogrammed?
প্রশ্ন ২৭. কোনটি একটি অনুদ্বায়ী (non-volatile) মেমরি যা বৈদ্যুতিকভাবে মোছা এবং পুনরায় প্রোগ্রাম করা যায়?

  1. PROM
  2. EPROM
  3. EEPROM
  4. SRAM

Correct Answer: (c) EEPROM

Explanation: EEPROM stands for Electrically Erasable Programmable Read-Only Memory. Unlike EPROM which requires UV light to be erased, EEPROM can be erased and reprogrammed electrically, byte by byte, without removing it from the circuit. Flash memory is a type of EEPROM.

ব্যাখ্যা: EEPROM-এর পূর্ণরূপ হল Electrically Erasable Programmable Read-Only Memory। EPROM মোছার জন্য UV আলোর প্রয়োজন হয়, কিন্তু EEPROM সার্কিট থেকে না সরিয়েই বৈদ্যুতিকভাবে, বাইট বাই বাইট, মোছা এবং পুনরায় প্রোগ্রাম করা যায়। ফ্ল্যাশ মেমরি এক ধরনের EEPROM।

Q28. The set of all logical addresses generated by a program is referred to as ________.
প্রশ্ন ২৮. একটি প্রোগ্রাম দ্বারা উৎপন্ন সমস্ত লজিক্যাল ঠিকানার সেটকে কী বলা হয়?

  1. Physical Address Space / ফিজিক্যাল অ্যাড্রেস স্পেস
  2. Logical Address Space / লজিক্যাল অ্যাড্রেস স্পেস
  3. Address Bus / অ্যাড্রেস বাস
  4. Memory Map / মেমরি ম্যাপ

Correct Answer: (b) Logical Address Space

Explanation: The logical address space is the set of all addresses that a program can generate, independent of the actual physical memory available. The Memory Management Unit (MMU) translates these logical addresses into physical addresses.

ব্যাখ্যা: লজিক্যাল অ্যাড্রেস স্পেস হল সেই সব ঠিকানার সেট যা একটি প্রোগ্রাম তৈরি করতে পারে, যা প্রকৃত ফিজিক্যাল মেমরি থেকে স্বাধীন। মেমরি ম্যানেজমেন্ট ইউনিট (MMU) এই লজিক্যাল ঠিকানাগুলিকে ফিজিক্যাল ঠিকানায় অনুবাদ করে।

Q29. Cache memory mapping technique where a block of main memory can be mapped to any line of the cache is called ________.
প্রশ্ন ২৯. যে ক্যাশে মেমরি ম্যাপিং কৌশলে প্রধান মেমরির একটি ব্লক ক্যাশের যেকোনো লাইনে ম্যাপ করা যায়, তাকে কী বলে?

  1. Direct Mapping / ডাইরেক্ট ম্যাপিং
  2. Associative Mapping / অ্যাসোসিয়েটিভ ম্যাপিং
  3. Set-Associative Mapping / সেট-অ্যাসোসিয়েটিভ ম্যাপিং
  4. Segmented Mapping / সেগমেন্টেড ম্যাপিং

Correct Answer: (b) Associative Mapping

Explanation: In fully associative mapping, any block from main memory can be placed in any available cache line. This is the most flexible but also the most complex and expensive mapping technique to implement due to the need to search all cache lines simultaneously.

ব্যাখ্যা: সম্পূর্ণ অ্যাসোসিয়েটিভ ম্যাপিং-এ, প্রধান মেমরির যেকোনো ব্লক ক্যাশের যেকোনো উপলব্ধ লাইনে রাখা যেতে পারে। এটি সবচেয়ে নমনীয় কিন্তু বাস্তবায়নের জন্য সবচেয়ে জটিল এবং ব্যয়বহুল ম্যাপিং কৌশল কারণ একই সাথে সমস্ত ক্যাশে লাইন অনুসন্ধান করার প্রয়োজন হয়।

Q30. An arithmetic operation that results in a value too large to be stored in the available bits is called ________.
প্রশ্ন ৩০. একটি গাণিতিক অপারেশন যার ফল উপলব্ধ বিটে সংরক্ষণ করার জন্য খুব বড় হয়, তাকে কী বলা হয়?

  1. Underflow / আন্ডারফ্লো
  2. Overflow / ওভারফ্লো
  3. Carry / ক্যারি
  4. Truncation / ট্রাঙ্কেশন

Correct Answer: (b) Overflow

Explanation: Arithmetic overflow occurs when the result of a calculation is a number of a greater magnitude (either positive or negative) than a given register or memory location can store. The processor usually sets an overflow flag to indicate this condition.

ব্যাখ্যা: অ্যারিথমেটিক ওভারফ্লো ঘটে যখন একটি গণনার ফলাফল প্রদত্ত রেজিস্টার বা মেমরি অবস্থানে সংরক্ষণের ক্ষমতার চেয়ে বড় মানের (ধনাত্মক বা ঋণাত্মক) একটি সংখ্যা হয়। প্রসেসর সাধারণত এই অবস্থাটি নির্দেশ করার জন্য একটি ওভারফ্লো ফ্ল্যাগ সেট করে।

Q31. The time taken to retrieve data from main memory is called ________.
প্রশ্ন ৩১. প্রধান মেমরি থেকে ডেটা পুনরুদ্ধার করতে যে সময় লাগে তাকে ________ বলে।

  1. Seek Time / সিক টাইম
  2. Latency Time / ল্যাটেন্সি টাইম
  3. Access Time / অ্যাক্সেস টাইম
  4. Transfer Time / ট্রান্সফার টাইম

Correct Answer: (c) Access Time

Explanation: Memory access time is the total time elapsed between the start of a memory read/write operation and the completion of that operation. For RAM, it’s the time from when the address is presented to the memory to when the data is stored or made available for use.

ব্যাখ্যা: মেমরি অ্যাক্সেস টাইম হল একটি মেমরি রিড/রাইট অপারেশন শুরু এবং শেষ হওয়ার মধ্যবর্তী মোট সময়। র‍্যামের ক্ষেত্রে, এটি হল সেই সময় যখন মেমরিতে ঠিকানা দেওয়া হয় থেকে শুরু করে যখন ডেটা সংরক্ষণ করা হয় বা ব্যবহারের জন্য উপলব্ধ হয়।

Q32. The 2’s complement of a binary number is obtained by ________.
প্রশ্ন ৩২. একটি বাইনারি সংখ্যার 2’s কমপ্লিমেন্ট কীভাবে পাওয়া যায়?

  1. Inverting all bits / সমস্ত বিট উল্টে দিয়ে
  2. Adding 1 to the 1’s complement / 1’s কমপ্লিমেন্টের সাথে 1 যোগ করে
  3. Inverting only the MSB (Most Significant Bit) / শুধুমাত্র MSB (সবচেয়ে গুরুত্বপূর্ণ বিট) উল্টে দিয়ে
  4. Adding 1 to the original number / আসল সংখ্যার সাথে 1 যোগ করে

Correct Answer: (b) Adding 1 to the 1’s complement

Explanation: To find the 2’s complement of a binary number, you first find its 1’s complement by inverting all the bits (changing 0s to 1s and 1s to 0s). Then, you add 1 to the result. This representation is widely used for signed number arithmetic.

ব্যাখ্যা: একটি বাইনারি সংখ্যার 2’s কমপ্লিমেন্ট খুঁজে বের করার জন্য, প্রথমে সমস্ত বিট উল্টে দিয়ে (0 কে 1 এবং 1 কে 0 করে) এর 1’s কমপ্লিমেন্ট বের করতে হয়। তারপর, সেই ফলাফলের সাথে 1 যোগ করতে হয়। এই পদ্ধতিটি চিহ্নযুক্ত সংখ্যার গণনার জন্য ব্যাপকভাবে ব্যবহৃত হয়।

Q33. A keyboard is a(n) ________.
প্রশ্ন ৩৩. একটি কিবোর্ড হলো একটি ________।

  1. Output device / আউটপুট ডিভাইস
  2. Pointing device / পয়েন্টিং ডিভাইস
  3. Input device / ইনপুট ডিভাইস
  4. Storage device / স্টোরেজ ডিভাইস

Correct Answer: (c) Input device

Explanation: A keyboard is the primary input device for most computers. It allows a user to input text, numbers, and commands into the computer system by pressing keys.

ব্যাখ্যা: একটি কিবোর্ড বেশিরভাগ কম্পিউটারের জন্য প্রাথমিক ইনপুট ডিভাইস। এটি ব্যবহারকারীকে কী (key) টিপে কম্পিউটার সিস্টেমে টেক্সট, সংখ্যা এবং কমান্ড ইনপুট করতে দেয়।

Q34. In a two-address instruction like `ADD A, B`, where is the result usually stored?
প্রশ্ন ৩৪. `ADD A, B`-এর মতো একটি টু-অ্যাড্রেস ইন্সট্রাকশনে, ফলাফলটি সাধারণত কোথায় সংরক্ষিত হয়?

  1. In a third location C / তৃতীয় একটি অবস্থান C-তে
  2. In location A / অবস্থান A-তে
  3. In location B / অবস্থান B-তে
  4. In the accumulator / অ্যাকুমুলেটরে

Correct Answer: (b) In location A

Explanation: In a typical two-address instruction format, one of the operand locations also serves as the destination for the result. For `ADD A, B`, the operation is `A = A + B`. The original value in location A is overwritten by the result.

ব্যাখ্যা: একটি সাধারণ টু-অ্যাড্রেস ইন্সট্রাকশন ফরম্যাটে, অপারেন্ডের অবস্থানগুলির মধ্যে একটি ফলাফলের গন্তব্য হিসাবেও কাজ করে। `ADD A, B`-এর জন্য, অপারেশনটি হলো `A = A + B`। অবস্থান A-এর আসল মানটি ফলাফল দ্বারা ওভাররাইট হয়ে যায়।

Q35. What is a ‘page fault’?
প্রশ্ন ৩৫. ‘পেজ ফল্ট’ কী?

  1. An error in a page of memory / মেমরির একটি পেজে একটি ত্রুটি
  2. A reference to a page that is not in main memory / এমন একটি পেজের রেফারেন্স যা প্রধান মেমরিতে নেই
  3. A page that is too large to fit in a frame / একটি পেজ যা একটি ফ্রেমে ফিট করার জন্য খুব বড়
  4. An attempt to write to a read-only page / একটি রিড-অনলি পেজে লেখার চেষ্টা

Correct Answer: (b) A reference to a page that is not in main memory

Explanation: In a virtual memory system, a page fault is a type of interrupt raised by the hardware when a running program accesses a memory page that is not currently mapped into the physical memory (RAM). The operating system must handle this by loading the required page from secondary storage.

ব্যাখ্যা: একটি ভার্চুয়াল মেমরি সিস্টেমে, পেজ ফল্ট হল হার্ডওয়্যার দ্বারা সৃষ্ট এক ধরনের ইন্টারাপ্ট, যখন একটি চলমান প্রোগ্রাম এমন একটি মেমরি পেজ অ্যাক্সেস করে যা বর্তমানে ফিজিক্যাল মেমরিতে (RAM) ম্যাপ করা নেই। অপারেটিং সিস্টেমকে সেকেন্ডারি স্টোরেজ থেকে প্রয়োজনীয় পেজটি লোড করে এটি পরিচালনা করতে হয়।

Q36. Which component of the CPU is responsible for performing arithmetic and logical operations?
প্রশ্ন ৩৬. CPU-এর কোন উপাদানটি গাণিতিক এবং যৌক্তিক অপারেশন সম্পাদনের জন্য দায়ী?

  1. Control Unit (CU) / কন্ট্রোল ইউনিট (CU)
  2. Arithmetic Logic Unit (ALU) / অ্যারিথমেটিক লজিক ইউনিট (ALU)
  3. Registers / রেজিস্টার
  4. Memory Management Unit (MMU) / মেমরি ম্যানেজমেন্ট ইউনিট (MMU)

Correct Answer: (b) Arithmetic Logic Unit (ALU)

Explanation: The ALU is a fundamental building block of the CPU. It performs all arithmetic operations (like addition, subtraction) and all logic operations (like AND, OR, NOT).

ব্যাখ্যা: ALU হল CPU-এর একটি মৌলিক অংশ। এটি সমস্ত গাণিতিক অপারেশন (যেমন যোগ, বিয়োগ) এবং সমস্ত লজিক অপারেশন (যেমন AND, OR, NOT) সম্পাদন করে।

Q37. The memory that is part of the CPU is ________.
প্রশ্ন ৩৭. যে মেমরিটি CPU-এর অংশ তা হলো ________।

  1. RAM / র‍্যাম
  2. ROM / রম
  3. Cache Memory / ক্যাশে মেমরি
  4. Registers / রেজিস্টার

Correct Answer: (d) Registers

Explanation: Registers are small, high-speed storage locations directly inside the CPU. They are used to hold data, instructions, and addresses that are being immediately processed by the CPU. Cache can be on the CPU chip but is distinct from registers.

ব্যাখ্যা: রেজিস্টার হলো CPU-এর ভিতরে অবস্থিত ছোট, উচ্চ-গতির স্টোরেজ অবস্থান। এগুলি CPU দ্বারা অবিলম্বে প্রক্রিয়াজাত করা ডেটা, নির্দেশ এবং ঠিকানা ধরে রাখতে ব্যবহৃত হয়। ক্যাশে CPU চিপে থাকতে পারে কিন্তু এটি রেজিস্টার থেকে ভিন্ন।

Q38. What does ‘SRAM’ stand for?
প্রশ্ন ৩৮. ‘SRAM’-এর পূর্ণরূপ কী?

  1. Static Random Access Memory / স্ট্যাটিক র‍্যান্ডম অ্যাক্সেস মেমরি
  2. Synchronous Random Access Memory / সিঙ্ক্রোনাস র‍্যান্ডম অ্যাক্সেস মেমরি
  3. Sequential Random Access Memory / সিকোয়েন্সিয়াল র‍্যান্ডম অ্যাক্সেস মেমরি
  4. System Random Access Memory / সিস্টেম র‍্যান্ডম অ্যাক্সেস মেমরি

Correct Answer: (a) Static Random Access Memory

Explanation: SRAM (Static RAM) is a type of semiconductor memory that uses bistable latching circuitry (flip-flop) to store each bit. “Static” indicates that it doesn’t need to be periodically refreshed, unlike DRAM.

ব্যাখ্যা: SRAM (স্ট্যাটিক র‍্যাম) এক ধরনের সেমিকন্ডাক্টর মেমরি যা প্রতিটি বিট সংরক্ষণ করতে বাইস্টেবল ল্যাচিং সার্কিট্রি (ফ্লিপ-ফ্লপ) ব্যবহার করে। “স্ট্যাটিক” শব্দটি বোঝায় যে এটিকে DRAM-এর মতো পর্যায়ক্রমে রিফ্রেশ করার প্রয়োজন নেই।

Q39. Cache ‘write-through’ policy means ________.
প্রশ্ন ৩৯. ক্যাশে ‘write-through’ পলিসির অর্থ কী?

  1. Data is written only to the cache / ডেটা শুধুমাত্র ক্যাশেতে লেখা হয়
  2. Data is written to both cache and main memory simultaneously / ডেটা একই সাথে ক্যাশে এবং প্রধান মেমরি উভয়তেই লেখা হয়
  3. Data is written only to the main memory / ডেটা শুধুমাত্র প্রধান মেমরিতে লেখা হয়
  4. Data is written to cache first, and to main memory later when the block is replaced / ডেটা প্রথমে ক্যাশেতে লেখা হয়, এবং পরে ব্লকটি প্রতিস্থাপিত হলে প্রধান মেমরিতে লেখা হয়

Correct Answer: (b) Data is written to both cache and main memory simultaneously

Explanation: In the write-through policy, every write operation to the cache is also immediately written to the main memory. This keeps the main memory always up-to-date but can be slower due to the time taken for the main memory write.

ব্যাখ্যা: write-through পলিসিতে, ক্যাশেতে প্রতিটি লেখার অপারেশন একই সাথে প্রধান মেমরিতেও লেখা হয়। এটি প্রধান মেমরিকে সর্বদা আপ-টু-ডেট রাখে কিন্তু প্রধান মেমরিতে লেখার সময় লাগার কারণে এটি ধীর হতে পারে।

Q40. The number of bits in a VDU used to represent the color of a single pixel is known as ________.
প্রশ্ন ৪০. একটি VDU-তে একটি পিক্সেলের রঙ উপস্থাপন করতে ব্যবহৃত বিটের সংখ্যাকে কী বলা হয়?

  1. Resolution / রেজোলিউশন
  2. Aspect Ratio / অ্যাসপেক্ট রেশিও
  3. Color Depth / কালার ডেপথ
  4. Pixel Density / পিক্সেল ডেনসিটি

Correct Answer: (c) Color Depth

Explanation: Color depth, also known as bit depth, is the number of bits used to indicate the color of a single pixel. A higher color depth allows for a greater number of distinct colors to be displayed (e.g., 24-bit color allows for 2^24 or 16.7 million colors).

ব্যাখ্যা: কালার ডেপথ, যা বিট ডেপথ নামেও পরিচিত, একটি পিক্সেলের রঙ নির্দেশ করতে ব্যবহৃত বিটের সংখ্যা। উচ্চতর কালার ডেপথ আরও বেশি সংখ্যক স্বতন্ত্র রঙ প্রদর্শনের অনুমতি দেয় (যেমন, ২৪-বিট রঙ ২^২৪ বা ১৬.৭ মিলিয়ন রঙ প্রদর্শন করতে পারে)।

Q41. In which cache mapping technique is the conflict miss rate the highest?
প্রশ্ন ৪১. কোন ক্যাশে ম্যাপিং কৌশলে কনফ্লিক্ট মিস রেট সবচেয়ে বেশি?

  1. Direct Mapping / ডাইরেক্ট ম্যাপিং
  2. Associative Mapping / অ্যাসোসিয়েটিভ ম্যাপিং
  3. Set-Associative Mapping / সেট-অ্যাসোসিয়েটিভ ম্যাপিং
  4. It’s the same in all / সবগুলোতে একই

Correct Answer: (a) Direct Mapping

Explanation: In direct mapping, each block from main memory can only be mapped to one specific cache line. If two frequently used blocks map to the same cache line, they will continuously evict each other, causing a high number of conflict misses, even if other cache lines are free.

ব্যাখ্যা: ডাইরেক্ট ম্যাপিং-এ, প্রধান মেমরির প্রতিটি ব্লক শুধুমাত্র একটি নির্দিষ্ট ক্যাশে লাইনে ম্যাপ করা যায়। যদি দুটি প্রায়শই ব্যবহৃত ব্লক একই ক্যাশে লাইনে ম্যাপ করে, তবে তারা ক্রমাগত একে অপরকে প্রতিস্থাপন করবে, যার ফলে প্রচুর কনফ্লিক্ট মিস হবে, এমনকি যদি অন্য ক্যাশে লাইনগুলি খালি থাকে।

Q42. Which algorithm is a restoring division algorithm for binary integers?
প্রশ্ন ৪২. বাইনারি পূর্ণসংখ্যার জন্য রিস্টোরিং ডিভিশন অ্যালগরিদম কোনটি?

  1. Booth’s Algorithm / বুথের অ্যালগরিদম
  2. Carry-lookahead algorithm / ক্যারি-লুকঅ্যাহেড অ্যালগরিদম
  3. Robertson’s algorithm / রবার্টসনের অ্যালগরিদম
  4. The traditional shift-and-subtract algorithm / প্রচলিত শিফট-অ্যান্ড-সাবট্র্যাক্ট অ্যালগরিদম

Correct Answer: (d) The traditional shift-and-subtract algorithm

Explanation: Restoring division is a straightforward but slower division algorithm. It involves shifting the divisor and repeatedly subtracting it from the partial remainder. If the subtraction results in a negative value, the original value is “restored” by adding the divisor back.

ব্যাখ্যা: রিস্টোরিং ডিভিশন একটি সহজ কিন্তু ধীরগতির ভাগ অ্যালগরিদম। এটিতে ভাজককে শিফট করা এবং আংশিক অবশেষ থেকে বারবার বিয়োগ করা জড়িত। যদি বিয়োগের ফল একটি ঋণাত্মক মান হয়, তবে ভাজককে আবার যোগ করে আসল মানটি “পুনরুদ্ধার” করা হয়।

Q43. The instruction `PUSH AX` in an x86 architecture is an example of a ________ operation.
প্রশ্ন ৪৩. x86 আর্কিটেকচারে `PUSH AX` নির্দেশটি কী ধরনের অপারেশনের উদাহরণ?

  1. Zero-address / জিরো-অ্যাড্রেস
  2. One-address / ওয়ান-অ্যাড্রেস
  3. Two-address / টু-অ্যাড্রেস
  4. Three-address / থ্রি-অ্যাড্রেস

Correct Answer: (a) Zero-address

Explanation: While `AX` is specified, the destination of the push operation is implicitly the top of the stack. Instructions that operate on a stack are considered zero-address because the operands’ locations (the top of the stack) are not explicitly stated in the address fields.

ব্যাখ্যা: যদিও `AX` নির্দিষ্ট করা আছে, পুশ অপারেশনের গন্তব্য হল স্ট্যাকের শীর্ষ। যে নির্দেশগুলি স্ট্যাকের উপর কাজ করে সেগুলিকে জিরো-অ্যাড্রেস হিসাবে বিবেচনা করা হয় কারণ অপারেন্ডের অবস্থানগুলি (স্ট্যাকের শীর্ষ) অ্যাড্রেস ফিল্ডে স্পষ্টভাবে উল্লেখ করা হয় না।

Q44. A single bus structure is ________.
প্রশ্ন ৪৪. একটি সিঙ্গেল বাস স্ট্রাকচার ________।

  1. Costlier and faster than a multiple bus structure / মাল্টিপল বাস স্ট্রাকচারের চেয়ে ব্যয়বহুল এবং দ্রুত
  2. Cheaper and slower than a multiple bus structure / মাল্টিপল বাস স্ট্রাকচারের চেয়ে সস্তা এবং ধীর
  3. Cheaper but faster than a multiple bus structure / মাল্টিপল বাস স্ট্রাকচারের চেয়ে সস্তা কিন্তু দ্রুত
  4. Costlier but slower than a multiple bus structure / মাল্টিপল বাস স্ট্রাকচারের চেয়ে ব্যয়বহুল কিন্তু ধীর

Correct Answer: (b) Cheaper and slower than a multiple bus structure

Explanation: A single bus structure is simpler and more cost-effective as all components share the same bus. However, this creates a bottleneck as only one transfer can happen at a time, making it slower than a multiple bus structure where parallel transfers are possible.

ব্যাখ্যা: একটি সিঙ্গেল বাস স্ট্রাকচার সহজ এবং সাশ্রয়ী কারণ সমস্ত উপাদান একই বাস শেয়ার করে। তবে, এটি একটি প্রতিবন্ধকতা তৈরি করে কারণ একবারে শুধুমাত্র একটি ট্রান্সফার হতে পারে, যা এটিকে মাল্টিপল বাস স্ট্রাকচারের চেয়ে ধীর করে তোলে যেখানে সমান্তরাল ট্রান্সফার সম্ভব।

Q45. The control memory in a micro-programmed control unit contains ________.
প্রশ্ন ৪৫. একটি মাইক্রো-প্রোগ্রামড কন্ট্রোল ইউনিটের কন্ট্রোল মেমরিতে কী থাকে?

  1. Machine Instructions / মেশিন ইন্সট্রাকশন
  2. Micro-instructions / মাইক্রো-ইন্সট্রাকশন
  3. Assembly Language Programs / অ্যাসেম্বলি ল্যাঙ্গুয়েজ প্রোগ্রাম
  4. Op-codes / অপ-কোড

Correct Answer: (b) Micro-instructions

Explanation: The control memory (or control store) is a special ROM or RAM in a micro-programmed control unit. It stores sequences of micro-instructions, called micro-programs, which are executed to interpret and carry out the machine-level instructions.

ব্যাখ্যা: কন্ট্রোল মেমরি (বা কন্ট্রোল স্টোর) একটি মাইক্রো-প্রোগ্রামড কন্ট্রোল ইউনিটের একটি বিশেষ ROM বা RAM। এটি মাইক্রো-প্রোগ্রাম নামক মাইক্রো-ইন্সট্রাকশনের ক্রম সংরক্ষণ করে, যা মেশিন-স্তরের নির্দেশাবলীর ব্যাখ্যা এবং সম্পাদনের জন্য কার্যকর করা হয়।

Q46. Secondary memory is also known as ________.
প্রশ্ন ৪৬. সেকেন্ডারি মেমরিকে ________ নামেও পরিচিত।

  1. Auxiliary Memory / অক্জিলিয়ারি মেমরি
  2. Main Memory / প্রধান মেমরি
  3. Cache Memory / ক্যাশে মেমরি
  4. Virtual Memory / ভার্চুয়াল মেমরি

Correct Answer: (a) Auxiliary Memory

Explanation: Secondary memory (like HDDs, SSDs, CDs) is non-volatile and used for long-term storage of programs and data. It is also referred to as auxiliary memory or external memory because it is not directly accessible by the CPU.

ব্যাখ্যা: সেকেন্ডারি মেমরি (যেমন HDD, SSD, CD) অনুদ্বায়ী এবং প্রোগ্রাম ও ডেটার দীর্ঘমেয়াদী সংরক্ষণের জন্য ব্যবহৃত হয়। এটিকে অক্জিলিয়ারি মেমরি বা এক্সটার্নাল মেমরিও বলা হয় কারণ এটি CPU দ্বারা সরাসরি অ্যাক্সেসযোগ্য নয়।

Q47. The address bus is ________.
প্রশ্ন ৪৭. অ্যাড্রেস বাস হলো ________।

  1. Unidirectional / একমুখী (Unidirectional)
  2. Bidirectional / দ্বিমুখী (Bidirectional)
  3. Multidirectional / বহুমুখী (Multidirectional)
  4. Not a bus / একটি বাস নয়

Correct Answer: (a) Unidirectional

Explanation: The address bus is unidirectional because the CPU is always the master device that generates the memory or I/O address. The memory and I/O devices only receive these addresses; they do not send addresses back to the CPU.

ব্যাখ্যা: অ্যাড্রেস বাস একমুখী কারণ CPU সর্বদা মাস্টার ডিভাইস যা মেমরি বা I/O ঠিকানা তৈরি করে। মেমরি এবং I/O ডিভাইসগুলি কেবল এই ঠিকানাগুলি গ্রহণ করে; তারা CPU-তে ঠিকানা ফেরত পাঠায় না।

Q48. What is TLB?
প্রশ্ন ৪৮. TLB কী?

  1. Translation Lookaside Buffer / ট্রান্সলেশন লুকাসাইড বাফার
  2. Transfer Lookaside Buffer / ট্রান্সফার লুকাসাইড বাফার
  3. Translation Local Buffer / ট্রান্সলেশন লোকাল বাফার
  4. Transfer Local Buffer / ট্রান্সফার লোকাল বাফার

Correct Answer: (a) Translation Lookaside Buffer

Explanation: The TLB is a memory cache that is used to reduce the time taken to access a user memory location. It’s a part of the chip’s memory-management unit (MMU) and stores recent translations of virtual memory to physical addresses for faster retrieval.

ব্যাখ্যা: TLB একটি মেমরি ক্যাশে যা ব্যবহারকারীর মেমরি অবস্থানে অ্যাক্সেস করার সময় কমাতে ব্যবহৃত হয়। এটি চিপের মেমরি-ম্যানেজমেন্ট ইউনিট (MMU) এর একটি অংশ এবং দ্রুত পুনরুদ্ধারের জন্য ভার্চুয়াল মেমরি থেকে ফিজিক্যাল ঠিকানায় সাম্প্রতিক অনুবাদগুলি সংরক্ষণ করে।

Q49. A CISC processor is characterized by ________.
প্রশ্ন ৪৯. একটি CISC প্রসেসরের বৈশিষ্ট্য কী?

  1. A large number of simple instructions / বিপুল সংখ্যক সহজ নির্দেশ
  2. A small number of complex instructions / অল্প সংখ্যক জটিল নির্দেশ
  3. A large number of complex instructions / বিপুল সংখ্যক জটিল নির্দেশ
  4. A small number of simple instructions / অল্প সংখ্যক সহজ নির্দেশ

Correct Answer: (c) A large number of complex instructions

Explanation: CISC stands for Complex Instruction Set Computer. These processors are designed with a large instruction set that includes many complex, multi-cycle instructions and various addressing modes. This contrasts with RISC (Reduced Instruction Set Computer).

ব্যাখ্যা: CISC-এর পূর্ণরূপ হল কমপ্লেক্স ইন্সট্রাকশন সেট কম্পিউটার। এই প্রসেসরগুলি একটি বড় ইন্সট্রাকশন সেট দিয়ে ডিজাইন করা হয়েছে যাতে অনেক জটিল, মাল্টি-সাইকেল নির্দেশ এবং বিভিন্ন অ্যাড্রেসিং মোড অন্তর্ভুক্ত থাকে। এটি RISC (রিডিউসড ইন্সট্রাকশন সেট কম্পিউটার) এর বিপরীত।

Q50. In a floating-point representation, the part of the number that represents its magnitude is called the ________.
প্রশ্ন ৫০. একটি ফ্লোটিং-পয়েন্ট উপস্থাপনায়, সংখ্যার যে অংশটি তার মান উপস্থাপন করে তাকে ________ বলে।

  1. Sign / চিহ্ন (Sign)
  2. Exponent / এক্সপোনেন্ট (Exponent)
  3. Mantissa / ম্যান্টিসা (Mantissa)
  4. Base / বেস (Base)

Correct Answer: (c) Mantissa

Explanation: A floating-point number is typically represented by three parts: the sign bit, the exponent, and the mantissa (or significand). The mantissa contains the significant digits of the number, representing its precision or magnitude.

ব্যাখ্যা: একটি ফ্লোটিং-পয়েন্ট সংখ্যা সাধারণত তিনটি অংশ দ্বারা উপস্থাপিত হয়: সাইন বিট, এক্সপোনেন্ট এবং ম্যান্টিসা (বা সিগনিফিক্যান্ড)। ম্যান্টিসাতে সংখ্যার উল্লেখযোগ্য অঙ্কগুলি থাকে, যা তার নির্ভুলতা বা মান উপস্থাপন করে।

Q51. Which I/O transfer mechanism involves the CPU but is driven by the I/O device?
প্রশ্ন ৫১. কোন I/O ট্রান্সফার মেকানিজমে CPU জড়িত থাকে কিন্তু এটি I/O ডিভাইস দ্বারা চালিত হয়?

  1. Programmed I/O / প্রোগ্রামড I/O
  2. Interrupt-driven I/O / ইন্টারাপ্ট-ড্রিভেন I/O
  3. Direct Memory Access (DMA) / ডাইরেক্ট মেমরি অ্যাক্সেস (DMA)
  4. Polling / পোলিং

Correct Answer: (b) Interrupt-driven I/O

Explanation: In interrupt-driven I/O, the CPU issues a command to the I/O module and then goes on to do other work. The I/O module will interrupt the CPU when it is ready to exchange data. This is more efficient than programmed I/O where the CPU waits for the device.

ব্যাখ্যা: ইন্টারাপ্ট-ড্রিভেন I/O-তে, CPU I/O মডিউলকে একটি কমান্ড দেয় এবং তারপরে অন্য কাজ করতে চলে যায়। I/O মডিউল যখন ডেটা আদান-প্রদানের জন্য প্রস্তুত হয় তখন CPU-কে ইন্টারাপ্ট করে। এটি প্রোগ্রামড I/O-এর চেয়ে বেশি কার্যকর যেখানে CPU ডিভাইসের জন্য অপেক্ষা করে।

Q52. A one-address instruction uses a(n) ________ for implicit operands.
প্রশ্ন ৫২. একটি ওয়ান-অ্যাড্রেস ইন্সট্রাকশন ইমপ্লিসিট (অন্তর্নিহিত) অপারেন্ডের জন্য কী ব্যবহার করে?

  1. Stack / স্ট্যাক
  2. General purpose register / জেনারেল পারপাস রেজিস্টার
  3. Accumulator / অ্যাকুমুলেটর
  4. Program Counter / প্রোগ্রাম কাউন্টার

Correct Answer: (c) Accumulator

Explanation: In a one-address instruction format, one operand is specified in the instruction, and the other is implicitly the accumulator register. For example, `ADD X` would mean `AC = AC + [X]`, where AC is the accumulator.

ব্যাখ্যা: একটি ওয়ান-অ্যাড্রেস ইন্সট্রাকশন ফরম্যাটে, একটি অপারেন্ড নির্দেশে নির্দিষ্ট করা থাকে এবং অন্যটি অন্তর্নিহিতভাবে অ্যাকুমুলেটর রেজিস্টার হয়। উদাহরণস্বরূপ, `ADD X` মানে `AC = AC + [X]`, যেখানে AC হলো অ্যাকুমুলেটর।

Q53. What is the main advantage of a micro-programmed control unit?
প্রশ্ন ৫৩. একটি মাইক্রো-প্রোগ্রামড কন্ট্রোল ইউনিটের প্রধান সুবিধা কী?

  1. Speed / গতি
  2. Low cost / কম খরচ
  3. Flexibility / নমনীয়তা
  4. Simplicity / সরলতা

Correct Answer: (c) Flexibility

Explanation: The main advantage of a micro-programmed control unit is its flexibility. The instruction set can be modified or extended by simply changing the micro-program (firmware) in the control memory, without redesigning the hardware.

ব্যাখ্যা: একটি মাইক্রো-প্রোগ্রামড কন্ট্রোল ইউনিটের প্রধান সুবিধা হল তার নমনীয়তা। হার্ডওয়্যার পুনরায় ডিজাইন না করেই কন্ট্রোল মেমরিতে মাইক্রো-প্রোগ্রাম (ফার্মওয়্যার) পরিবর্তন করে ইন্সট্রাকশন সেট পরিবর্তন বা প্রসারিত করা যায়।

Q54. The resolution of a VDU (e.g., 1920×1080) refers to the ________.
প্রশ্ন ৫৪. একটি VDU-এর রেজোলিউশন (যেমন, 1920×1080) কী নির্দেশ করে?

  1. Number of colors it can display / এটি যে রঙের সংখ্যা প্রদর্শন করতে পারে
  2. Number of horizontal and vertical pixels / অনুভূমিক এবং উল্লম্ব পিক্সেলের সংখ্যা
  3. Physical size of the screen / স্ক্রিনের ভৌত আকার
  4. Refresh rate in Hertz / হার্টজে রিফ্রেশ রেট

Correct Answer: (b) Number of horizontal and vertical pixels

Explanation: The resolution of a display specifies the number of distinct pixels in each dimension that can be displayed. It is quoted as width × height, with the units in pixels (e.g., 1920 pixels across × 1080 pixels down).

ব্যাখ্যা: একটি ডিসপ্লের রেজোলিউশন প্রতিটি মাত্রায় প্রদর্শিত হতে পারে এমন স্বতন্ত্র পিক্সেলের সংখ্যা নির্দিষ্ট করে। এটি প্রস্থ × উচ্চতা হিসাবে উদ্ধৃত করা হয়, পিক্সেল এককে (যেমন, ১৯২০ পিক্সেল চওড়া × ১০৮০ পিক্সেল লম্বা)।

Q55. In cache ‘write-back’ policy, when is the data written to main memory?
প্রশ্ন ৫৫. ক্যাশে ‘write-back’ পলিসিতে, ডেটা কখন প্রধান মেমরিতে লেখা হয়?

  1. Immediately after writing to the cache / ক্যাশেতে লেখার সাথে সাথেই
  2. Only when the CPU is idle / শুধুমাত্র যখন CPU নিষ্ক্রিয় থাকে
  3. When the cache block is replaced or evicted / যখন ক্যাশে ব্লকটি প্রতিস্থাপিত বা সরানো হয়
  4. Periodically at fixed intervals / নির্দিষ্ট সময় অন্তর পর্যায়ক্রমে

Correct Answer: (c) When the cache block is replaced or evicted

Explanation: In the write-back policy, modifications are written only to the cache. The modified cache block is written back to main memory only when it is being replaced. This can improve performance by reducing memory writes, but can lead to data inconsistency issues.

ব্যাখ্যা: write-back পলিসিতে, পরিবর্তনগুলি শুধুমাত্র ক্যাশেতে লেখা হয়। পরিবর্তিত ক্যাশে ব্লকটি শুধুমাত্র তখনই প্রধান মেমরিতে লেখা হয় যখন এটি প্রতিস্থাপিত হয়। এটি মেমরি রাইট কমিয়ে কর্মক্ষমতা উন্নত করতে পারে, কিন্তু ডেটা অসামঞ্জস্যতার সমস্যা তৈরি করতে পারে।

Q56. The register that holds the instruction after it’s fetched from memory is the ________.
প্রশ্ন ৫৬. যে রেজিস্টারটি মেমরি থেকে আনার পর নির্দেশটি ধরে রাখে তা হলো ________।

  1. Program Counter (PC) / প্রোগ্রাম কাউন্টার (PC)
  2. Instruction Register (IR) / ইন্সট্রাকশন রেজিস্টার (IR)
  3. Memory Address Register (MAR) / মেমরি অ্যাড্রেস রেজিস্টার (MAR)
  4. Accumulator (AC) / অ্যাকুমুলেটর (AC)

Correct Answer: (b) Instruction Register (IR)

Explanation: After an instruction is fetched from the memory location pointed to by the PC, it is loaded into the Instruction Register (IR). The control unit then decodes the instruction from the IR to determine what operation to perform.

ব্যাখ্যা: PC দ্বারা নির্দেশিত মেমরি অবস্থান থেকে একটি নির্দেশ আনার পরে, এটি ইন্সট্রাকশন রেজিস্টারে (IR) লোড করা হয়। কন্ট্রোল ইউনিট তারপর IR থেকে নির্দেশটি ডিকোড করে নির্ধারণ করে যে কোন অপারেশনটি সম্পাদন করতে হবে।

Q57. Which is an example of secondary memory?
প্রশ্ন ৫৭. কোনটি সেকেন্ডারি মেমরির উদাহরণ?

  1. CPU Registers / সিপিইউ রেজিস্টার
  2. Cache / ক্যাশে
  3. RAM / র‍্যাম
  4. Solid State Drive (SSD) / সলিড স্টেট ড্রাইভ (SSD)

Correct Answer: (d) Solid State Drive (SSD)

Explanation: Secondary memory is used for long-term, non-volatile storage. SSDs, Hard Disk Drives (HDDs), and Optical Discs are all examples of secondary memory. Registers, Cache, and RAM are types of primary, volatile memory.

ব্যাখ্যা: সেকেন্ডারি মেমরি দীর্ঘমেয়াদী, অনুদ্বায়ী স্টোরেজের জন্য ব্যবহৃত হয়। SSD, হার্ড ডিস্ক ড্রাইভ (HDD), এবং অপটিক্যাল ডিস্ক সবই সেকেন্ডারি মেমরির উদাহরণ। রেজিস্টার, ক্যাশে এবং র‍্যাম হলো প্রাইমারি, উদ্বায়ী মেমরির প্রকার।

Q58. What is the function of the Memory Address Register (MAR)?
প্রশ্ন ৫৮. মেমরি অ্যাড্রেস রেজিস্টার (MAR)-এর কাজ কী?

  1. It holds the data to be written to or read from memory. / এটি মেমরিতে লেখা বা পড়া ডেটা ধরে রাখে।
  2. It holds the address of the memory location to be accessed. / এটি অ্যাক্সেস করা হবে এমন মেমরি অবস্থানের ঠিকানা ধরে রাখে।
  3. It holds the result of an arithmetic operation. / এটি একটি গাণিতিক অপারেশনের ফলাফল ধরে রাখে।
  4. It holds the next instruction to be executed. / এটি পরবর্তী কার্যকরப்பட வேண்டிய নির্দেশ ধরে রাখে।

Correct Answer: (b) It holds the address of the memory location to be accessed.

Explanation: The MAR holds the memory address of the data or instruction that the CPU needs to access. The CPU places the address in the MAR, and the memory controller uses this address to find the correct location in memory.

ব্যাখ্যা: MAR সেই ডেটা বা নির্দেশের মেমরি ঠিকানা ধরে রাখে যা CPU-কে অ্যাক্সেস করতে হবে। CPU ঠিকানাটি MAR-এ রাখে, এবং মেমরি কন্ট্রোলার এই ঠিকানাটি ব্যবহার করে মেমরিতে সঠিক অবস্থান খুঁজে বের করে।

Q59. The addressing mode `MOV R1, #20` is an example of ________.
প্রশ্ন ৫৯. `MOV R1, #20` অ্যাড্রেসিং মোডটি কীসের উদাহরণ?

  1. Direct Addressing / ডাইরেক্ট অ্যাড্রেসিং
  2. Register Addressing / রেজিস্টার অ্যাড্রেসিং
  3. Immediate Addressing / ইমিডিয়েট অ্যাড্রেসিং
  4. Indirect Addressing / ইনডাইরেক্ট অ্যাড্রেসিং

Correct Answer: (c) Immediate Addressing

Explanation: The ‘#’ symbol typically signifies immediate addressing, where the operand (the value 20) is part of the instruction itself. This instruction moves the constant value 20 directly into register R1.

ব্যাখ্যা: ‘#’ চিহ্নটি সাধারণত ইমিডিয়েট অ্যাড্রেসিং বোঝায়, যেখানে অপারেন্ড (মান 20) নিজেই নির্দেশের একটি অংশ। এই নির্দেশটি ধ্রুবক মান 20 সরাসরি রেজিস্টার R1-এ নিয়ে যায়।

Q60. In a set-associative cache, a block from main memory can be mapped to ________.
প্রশ্ন ৬০. একটি সেট-অ্যাসোসিয়েটিভ ক্যাশে, প্রধান মেমরির একটি ব্লক কোথায় ম্যাপ করা যেতে পারে?

  1. Any line in the cache / ক্যাশের যেকোনো লাইনে
  2. Only one specific line in the cache / ক্যাশের শুধুমাত্র একটি নির্দিষ্ট লাইনে
  3. Any line within a specific set / একটি নির্দিষ্ট সেটের মধ্যে যেকোনো লাইনে
  4. Only to the first line of any set / যেকোনো সেটের শুধুমাত্র প্রথম লাইনে

Correct Answer: (c) Any line within a specific set

Explanation: Set-associative mapping is a compromise between direct mapping and fully associative mapping. The cache is divided into sets, and a main memory block can be placed in any line within its corresponding set, but not in any other set.

ব্যাখ্যা: সেট-অ্যাসোসিয়েটিভ ম্যাপিং হল ডাইরেক্ট ম্যাপিং এবং সম্পূর্ণ অ্যাসোসিয়েটিভ ম্যাপিং-এর মধ্যে একটি আপোষ। ক্যাশেটি সেটে বিভক্ত থাকে, এবং একটি প্রধান মেমরি ব্লক তার সংশ্লিষ্ট সেটের মধ্যে যেকোনো লাইনে স্থাপন করা যেতে পারে, কিন্তু অন্য কোনো সেটে নয়।

Q61. Which of the following is not a standard I/O device?
প্রশ্ন ৬১. নিচের কোনটি একটি স্ট্যান্ডার্ড I/O ডিভাইস নয়?

  1. Keyboard / কিবোর্ড
  2. Mouse / মাউস
  3. ALU / ALU
  4. Monitor / মনিটর

Correct Answer: (c) ALU

Explanation: The ALU (Arithmetic Logic Unit) is a core component of the CPU, not an I/O (Input/Output) device. I/O devices are peripherals used to communicate with the computer, like keyboards, mice, and monitors.

ব্যাখ্যা: ALU (অ্যারিথমেটিক লজিক ইউনিট) হল CPU-এর একটি মূল উপাদান, কোনো I/O (ইনপুট/আউটপুট) ডিভাইস নয়। I/O ডিভাইস হল পেরিফেরাল যা কম্পিউটারের সাথে যোগাযোগের জন্য ব্যবহৃত হয়, যেমন কিবোর্ড, মাউস এবং মনিটর।

Q62. The main memory of a computer is also called ________.
প্রশ্ন ৬২. একটি কম্পিউটারের প্রধান মেমরিকে ________ও বলা হয়।

  1. Primary Memory / প্রাইমারি মেমরি
  2. Secondary Memory / সেকেন্ডারি মেমরি
  3. Auxiliary Memory / অক্জিলিয়ারি মেমরি
  4. Cache Memory / ক্যাশে মেমরি

Correct Answer: (a) Primary Memory

Explanation: Main memory, typically RAM, is also known as primary memory or internal memory. It is the only memory directly accessible to the CPU, holding the operating system, applications, and data currently in use.

ব্যাখ্যা: প্রধান মেমরি, সাধারণত র‍্যাম, প্রাইমারি মেমরি বা ইন্টারনাল মেমরি নামেও পরিচিত। এটি একমাত্র মেমরি যা CPU দ্বারা সরাসরি অ্যাক্সেসযোগ্য, এবং এটি অপারেটিং সিস্টেম, অ্যাপ্লিকেশন এবং বর্তমানে ব্যবহৃত ডেটা ধরে রাখে।

Q63. The instruction cycle is divided into which main phases?
প্রশ্ন ৬৩. ইন্সট্রাকশন সাইকেল কোন প্রধান পর্যায়গুলিতে বিভক্ত?

  1. Fetch and Store / ফেচ এবং স্টোর
  2. Decode and Store / ডিকোড এবং স্টোর
  3. Fetch, Decode, and Execute / ফেচ, ডিকোড, এবং এক্সিকিউট
  4. Load, Store, and Execute / লোড, স্টোর, এবং এক্সিকিউট

Correct Answer: (c) Fetch, Decode, and Execute

Explanation: The fundamental operation cycle of a computer is the instruction cycle. It consists of three main stages: fetching the instruction from memory, decoding the instruction to determine the required action, and executing the action.

ব্যাখ্যা: একটি কম্পিউটারের মৌলিক অপারেশন সাইকেল হল ইন্সট্রাকশন সাইকেল। এটি তিনটি প্রধান পর্যায়ে গঠিত: মেমরি থেকে নির্দেশ আনা (ফেচ), প্রয়োজনীয় কাজটি নির্ধারণ করতে নির্দেশটি ডিকোড করা, এবং কাজটি সম্পাদন করা (এক্সিকিউট)।

Q64. What is the purpose of a Carry flag in a status register?
প্রশ্ন ৬৪. একটি স্ট্যাটাস রেজিস্টারে ক্যারি ফ্ল্যাগের উদ্দেশ্য কী?

  1. To indicate if the result is zero / ফলাফল শূন্য কিনা তা নির্দেশ করতে
  2. To indicate if an overflow has occurred / একটি ওভারফ্লো ঘটেছে কিনা তা নির্দেশ করতে
  3. To indicate a carry-out from the most significant bit (MSB) of an arithmetic operation / একটি গাণিতিক অপারেশনের সবচেয়ে গুরুত্বপূর্ণ বিট (MSB) থেকে একটি ক্যারি-আউট নির্দেশ করতে
  4. To indicate if the result is negative / ফলাফল ঋণাত্মক কিনা তা নির্দেশ করতে

Correct Answer: (c) To indicate a carry-out from the most significant bit (MSB) of an arithmetic operation

Explanation: The Carry Flag (CF) is set to 1 if an arithmetic operation, such as addition, generates a carry or borrow out of the most significant bit of the result. It is crucial for multi-precision arithmetic.

ব্যাখ্যা: ক্যারি ফ্ল্যাগ (CF) 1-এ সেট করা হয় যদি একটি গাণিতিক অপারেশন, যেমন যোগ, ফলাফলের সবচেয়ে গুরুত্বপূর্ণ বিট থেকে একটি ক্যারি বা ধার তৈরি করে। এটি মাল্টি-প্রিসিশন গণনার জন্য অত্যন্ত গুরুত্বপূর্ণ।

Q65. A hardwired control unit is implemented as a ________.
প্রশ্ন ৬৫. একটি হার্ডওয়্যার্ড কন্ট্রোল ইউনিট কী হিসেবে বাস্তবায়িত হয়?

  1. Software program / সফটওয়্যার প্রোগ্রাম
  2. Firmware / ফার্মওয়্যার
  3. Sequential logic circuit / সিকোয়েন্সিয়াল লজিক সার্কিট
  4. Microprogram / মাইক্রোপ্রোগ্রাম

Correct Answer: (c) Sequential logic circuit

Explanation: A hardwired control unit is a finite state machine implemented using combinational and sequential logic circuits (like gates, flip-flops, decoders) to generate control signals based on the instruction and status flags.

ব্যাখ্যা: একটি হার্ডওয়্যার্ড কন্ট্রোল ইউনিট হল একটি ফাইনাইট স্টেট মেশিন যা কম্বিনেশনাল এবং সিকোয়েন্সিয়াল লজিক সার্কিট (যেমন গেট, ফ্লিপ-ফ্লপ, ডিকোডার) ব্যবহার করে নির্দেশ এবং স্ট্যাটাস ফ্ল্যাগের উপর ভিত্তি করে কন্ট্রোল সিগন্যাল তৈরি করার জন্য বাস্তবায়িত হয়।

Q66. The size of virtual memory is limited by the ________.
প্রশ্ন ৬৬. ভার্চুয়াল মেমরির আকার কী দ্বারা সীমাবদ্ধ?

  1. Size of the main memory / প্রধান মেমরির আকার
  2. Size of the secondary memory / সেকেন্ডারি মেমরির আকার
  3. Size of the address bus / অ্যাড্রেস বাসের আকার
  4. Size of the data bus / ডেটা বাসের আকার

Correct Answer: (c) Size of the address bus

Explanation: The virtual address space is determined by the number of address lines in the CPU. If a CPU has an N-bit address bus, it can generate 2^N unique addresses, which defines the maximum size of the virtual memory, regardless of the physical RAM or disk space available.

ব্যাখ্যা: ভার্চুয়াল অ্যাড্রেস স্পেস CPU-তে অ্যাড্রেস লাইনের সংখ্যা দ্বারা নির্ধারিত হয়। যদি একটি CPU-এর একটি N-বিট অ্যাড্রেস বাস থাকে, তবে এটি 2^N টি অনন্য ঠিকানা তৈরি করতে পারে, যা ভার্চুয়াল মেমরির সর্বোচ্চ আকার নির্ধারণ করে, উপলব্ধ ফিজিক্যাল র‍্যাম বা ডিস্ক স্পেস নির্বিশেষে।

Q67. The non-restoring division algorithm is generally faster than the restoring algorithm because ________.
প্রশ্ন ৬৭. নন-রিস্টোরিং ডিভিশন অ্যালগরিদম সাধারণত রিস্টোরিং অ্যালগরিদমের চেয়ে দ্রুত হয় কারণ ________।

  1. It uses fewer registers / এটি কম রেজিস্টার ব্যবহার করে
  2. It does not require an addition step to restore the remainder / অবশেষ পুনরুদ্ধার করার জন্য এটির একটি যোগ পদক্ষেপের প্রয়োজন হয় না
  3. It works on floating-point numbers / এটি ফ্লোটিং-পয়েন্ট সংখ্যা নিয়ে কাজ করে
  4. It uses Booth’s algorithm / এটি বুথের অ্যালগরিদম ব্যবহার করে

Correct Answer: (b) It does not require an addition step to restore the remainder

Explanation: The restoring division algorithm sometimes performs a subtraction and then an addition to “restore” the previous value. The non-restoring algorithm avoids this extra addition step by adjusting the subsequent operations, making it more efficient and faster.

ব্যাখ্যা: রিস্টোরিং ডিভিশন অ্যালগরিদম কখনও কখনও একটি বিয়োগ এবং তারপর একটি যোগ সম্পাদন করে পূর্ববর্তী মান “পুনরুদ্ধার” করতে। নন-রিস্টোরিং অ্যালগরিদম পরবর্তী অপারেশনগুলি সামঞ্জস্য করে এই অতিরিক্ত যোগ পদক্ষেপটি এড়িয়ে যায়, যা এটিকে আরও কার্যকর এবং দ্রুত করে তোলে।

Q68. Pipelining improves CPU performance by ________.
প্রশ্ন ৬৮. পাইপলাইনিং কীভাবে CPU-এর কর্মক্ষমতা উন্নত করে?

  1. Increasing the clock speed / ক্লক স্পিড বাড়িয়ে
  2. Increasing instruction throughput / ইন্সট্রাকশন থ্রুপুট বাড়িয়ে
  3. Reducing the instruction size / ইন্সট্রাকশনের আকার কমিয়ে
  4. Using more registers / আরও বেশি রেজিস্টার ব্যবহার করে

Correct Answer: (b) Increasing instruction throughput

Explanation: Pipelining doesn’t reduce the time to complete a single instruction (latency), but it increases the number of instructions completed per unit of time (throughput). It achieves this by overlapping the execution stages of multiple instructions.

ব্যাখ্যা: পাইপলাইনিং একটি একক নির্দেশ সম্পূর্ণ করার সময় (ল্যাটেন্সি) কমায় না, তবে এটি প্রতি একক সময়ে সম্পন্ন করা নির্দেশের সংখ্যা (থ্রুপুট) বাড়ায়। এটি একাধিক নির্দেশের এক্সিকিউশন স্টেজগুলিকে ওভারল্যাপ করে এটি অর্জন করে।

Q69. Which register is implicitly used in stack operations like PUSH and POP?
প্রশ্ন ৬৯. PUSH এবং POP-এর মতো স্ট্যাক অপারেশনগুলিতে কোন রেজিস্টারটি অন্তর্নিহিতভাবে ব্যবহৃত হয়?

  1. Program Counter (PC) / প্রোগ্রাম কাউন্টার (PC)
  2. Stack Pointer (SP) / স্ট্যাক পয়েন্টার (SP)
  3. Accumulator (AC) / অ্যাকুমুলেটর (AC)
  4. Index Register (IX) / ইনডেক্স রেজিস্টার (IX)

Correct Answer: (b) Stack Pointer (SP)

Explanation: The Stack Pointer (SP) is a register that always holds the address of the top element of the stack in memory. When a value is pushed onto the stack, the SP is decremented (or incremented, depending on stack growth direction) and the value is stored. The reverse happens for a pop.

ব্যাখ্যা: স্ট্যাক পয়েন্টার (SP) একটি রেজিস্টার যা সর্বদা মেমরিতে স্ট্যাকের শীর্ষ উপাদানের ঠিকানা ধরে রাখে। যখন একটি মান স্ট্যাকে পুশ করা হয়, SP-এর মান কমানো হয় (বা বাড়ানো হয়, স্ট্যাকের বৃদ্ধির দিকের উপর নির্ভর করে) এবং মানটি সংরক্ষণ করা হয়। পপ করার জন্য এর বিপরীত ঘটে।

Q70. The process of transferring data from a peripheral device to memory without CPU intervention is called ________.
প্রশ্ন ৭০. CPU-এর হস্তক্ষেপ ছাড়াই একটি পেরিফেরাল ডিভাইস থেকে মেমরিতে ডেটা স্থানান্তরের প্রক্রিয়াকে ________ বলে।

  1. Polling / পোলিং
  2. Interrupt / ইন্টারাপ্ট
  3. Programmed I/O / প্রোগ্রামড I/O
  4. Direct Memory Access (DMA) / ডাইরেক্ট মেমরি অ্যাক্সেস (DMA)

Correct Answer: (d) Direct Memory Access (DMA)

Explanation: DMA allows certain hardware subsystems to access main system memory independently of the CPU. This is highly efficient for large data transfers as it frees up the CPU to perform other tasks.

ব্যাখ্যা: DMA কিছু হার্ডওয়্যার সাবসিস্টেমকে CPU থেকে স্বাধীনভাবে প্রধান সিস্টেম মেমরি অ্যাক্সেস করার অনুমতি দেয়। এটি বড় ডেটা স্থানান্তরের জন্য অত্যন্ত কার্যকর কারণ এটি CPU-কে অন্য কাজ করার জন্য মুক্ত করে দেয়।

Q71. Which of these is a characteristic of RISC architecture?
প্রশ্ন ৭১. এর মধ্যে কোনটি RISC আর্কিটেকচারের একটি বৈশিষ্ট্য?

  1. Variable length instructions / পরিবর্তনশীল দৈর্ঘ্যের নির্দেশ
  2. Many complex addressing modes / অনেক জটিল অ্যাড্রেসিং মোড
  3. Single-cycle instruction execution / একক-সাইকেল ইন্সট্রাকশন এক্সিকিউশন
  4. Memory-to-memory operations / মেমরি-টু-মেমরি অপারেশন

Correct Answer: (c) Single-cycle instruction execution

Explanation: RISC (Reduced Instruction Set Computer) architectures aim for a small set of simple, fixed-length instructions that can ideally be executed in a single clock cycle. They primarily use register-to-register operations and simple addressing modes.

ব্যাখ্যা: RISC (রিডিউসড ইন্সট্রাকশন সেট কম্পিউটার) আর্কিটেকচারের লক্ষ্য হল একটি ছোট, নির্দিষ্ট-দৈর্ঘ্যের নির্দেশাবলীর সেট যা আদর্শভাবে একটি একক ক্লক সাইকেলে কার্যকর করা যেতে পারে। এগুলি প্রধানত রেজিস্টার-টু-রেজিস্টার অপারেশন এবং সহজ অ্যাড্রেসিং মোড ব্যবহার করে।

Q72. In a computer system, the bus that transfers data between the CPU and memory is the ________.
প্রশ্ন ৭২. একটি কম্পিউটার সিস্টেমে, যে বাসটি CPU এবং মেমরির মধ্যে ডেটা স্থানান্তর করে তা হলো ________।

  1. Address Bus / অ্যাড্রেস বাস
  2. Control Bus / কন্ট্রোল বাস
  3. Data Bus / ডেটা বাস
  4. System Bus / সিস্টেম বাস (সাধারণ অর্থে)

Correct Answer: (c) Data Bus

Explanation: The data bus is a bidirectional path used to transfer actual data between the CPU, memory, and I/O devices. The width of the data bus determines how much data can be transferred at one time.

ব্যাখ্যা: ডেটা বাস হল একটি দ্বিমুখী পথ যা CPU, মেমরি এবং I/O ডিভাইসগুলির মধ্যে আসল ডেটা স্থানান্তর করতে ব্যবহৃত হয়। ডেটা বাসের প্রস্থ নির্ধারণ করে যে একবারে কত ডেটা স্থানান্তর করা যেতে পারে।

Q73. The addressing mode where the address of the operand is calculated relative to the Program Counter (PC) is ________.
প্রশ্ন ৭৩. যে অ্যাড্রেসিং মোডে অপারেন্ডের ঠিকানা প্রোগ্রাম কাউন্টার (PC)-এর সাপেক্ষে গণনা করা হয়, তা হলো ________।

  1. Indexed Addressing / ইনডেক্সড অ্যাড্রেসিং
  2. Base-Register Addressing / বেস-রেজিস্টার অ্যাড্রেসিং
  3. Relative Addressing / রিলেটিভ অ্যাড্রেসিং
  4. Indirect Addressing / ইনডাইরেক্ট অ্যাড্রেসিং

Correct Answer: (c) Relative Addressing

Explanation: In relative addressing mode, the effective address is the sum of the Program Counter’s value and an offset value specified in the instruction. This is commonly used for branch instructions, making the code position-independent.

ব্যাখ্যা: রিলেটিভ অ্যাড্রেসিং মোডে, কার্যকরী ঠিকানা হল প্রোগ্রাম কাউন্টারের মান এবং নির্দেশে নির্দিষ্ট করা একটি অফসেট মানের যোগফল। এটি সাধারণত ব্রাঞ্চ নির্দেশাবলীর জন্য ব্যবহৃত হয়, যা কোডকে অবস্থান-স্বাধীন করে তোলে।

Q74. A collection of wires that connect several devices is called a ________.
প্রশ্ন ৭৪. বেশ কয়েকটি ডিভাইসকে সংযুক্ত করে এমন তারের সংগ্রহকে ________ বলে।

  1. Cable / কেবল
  2. Bus / বাস
  3. Port / পোর্ট
  4. Link / লিঙ্ক

Correct Answer: (b) Bus

Explanation: In computer architecture, a bus is a communication system that transfers data between components inside a computer, or between computers. It is a shared transmission medium consisting of a set of wires.

ব্যাখ্যা: কম্পিউটার আর্কিটেকচারে, একটি বাস হল একটি যোগাযোগ ব্যবস্থা যা একটি কম্পিউটারের ভিতরের উপাদানগুলির মধ্যে বা কম্পিউটারগুলির মধ্যে ডেটা স্থানান্তর করে। এটি একটি শেয়ার্ড ট্রান্সমিশন মাধ্যম যা তারের একটি সেট নিয়ে গঠিত।

Q75. DRAM is cheaper and denser than SRAM because ________.
প্রশ্ন ৭৫. DRAM SRAM-এর চেয়ে সস্তা এবং ঘন হয় কারণ ________।

  1. It is faster than SRAM / এটি SRAM-এর চেয়ে দ্রুত
  2. It uses one transistor and one capacitor per bit, while SRAM uses multiple transistors (e.g., 6T) / এটি প্রতি বিটে একটি ট্রানজিস্টর এবং একটি ক্যাপাসিটর ব্যবহার করে, যেখানে SRAM একাধিক ট্রানজিস্টর (যেমন, 6T) ব্যবহার করে
  3. It does not need refreshing / এটির রিফ্রেশিংয়ের প্রয়োজন নেই
  4. It is a non-volatile memory / এটি একটি অনুদ্বায়ী মেমরি

Correct Answer: (b) It uses one transistor and one capacitor per bit, while SRAM uses multiple transistors (e.g., 6T)

Explanation: The simple cell structure of DRAM (one transistor, one capacitor) allows for a much higher storage density and lower cost per bit compared to SRAM, which uses a more complex flip-flop circuit (typically 6 transistors) per bit.

ব্যাখ্যা: DRAM-এর সাধারণ সেল স্ট্রাকচার (একটি ট্রানজিস্টর, একটি ক্যাপাসিটর) SRAM-এর তুলনায় অনেক বেশি স্টোরেজ ঘনত্ব এবং প্রতি বিটে কম খরচের অনুমতি দেয়, যেখানে SRAM প্রতি বিটে একটি আরও জটিল ফ্লিপ-ফ্লপ সার্কিট (সাধারণত ৬টি ট্রানজিস্টর) ব্যবহার করে।

Q76. Which register acts as a temporary holding place for data being processed by the ALU?
প্রশ্ন ৭৬. কোন রেজিস্টার ALU দ্বারা প্রক্রিয়াজাত ডেটার জন্য একটি অস্থায়ী হোল্ডিং প্লেস হিসাবে কাজ করে?

  1. Program Counter (PC) / প্রোগ্রাম কাউন্টার (PC)
  2. Instruction Register (IR) / ইন্সট্রাকশন রেজিস্টার (IR)
  3. Accumulator (AC) / অ্যাকুমুলেটর (AC)
  4. Memory Address Register (MAR) / মেমরি অ্যাড্রেস রেজিস্টার (MAR)

Correct Answer: (c) Accumulator (AC)

Explanation: The accumulator is a register in which intermediate arithmetic and logic results are stored. It is often an implicit operand for ALU operations.

ব্যাখ্যা: অ্যাকুমুলেটর হল একটি রেজিস্টার যেখানে মধ্যবর্তী গাণিতিক এবং লজিক ফলাফল সংরক্ষণ করা হয়। এটি প্রায়শই ALU অপারেশনগুলির জন্য একটি অন্তর্নিহিত অপারেন্ড হিসাবে কাজ করে।

Q77. The situation where the execution of one instruction depends on the result of a previous, not-yet-completed instruction in a pipeline is called a ________.
প্রশ্ন ৭৭. যে পরিস্থিতিতে একটি নির্দেশের এক্সিকিউশন একটি পাইপলাইনে পূর্ববর্তী, এখনও-অসম্পূর্ণ নির্দেশের ফলাফলের উপর নির্ভর করে, তাকে ________ বলে।

  1. Control Hazard / কন্ট্রোল হ্যাজার্ড
  2. Structural Hazard / স্ট্রাকচারাল হ্যাজার্ড
  3. Data Hazard / ডেটা হ্যাজার্ড
  4. Stall / স্টল

Correct Answer: (c) Data Hazard

Explanation: A data hazard occurs when an instruction needs to use the result of a preceding instruction that is still in the pipeline and has not yet completed its write-back stage. This can lead to incorrect results if not handled properly (e.g., by stalling or forwarding).

ব্যাখ্যা: একটি ডেটা হ্যাজার্ড ঘটে যখন একটি নির্দেশকে একটি পূর্ববর্তী নির্দেশের ফলাফল ব্যবহার করতে হয় যা এখনও পাইপলাইনে রয়েছে এবং তার রাইট-ব্যাক পর্যায়টি সম্পূর্ণ করেনি। এটি সঠিকভাবে পরিচালনা না করলে (যেমন, স্টলিং বা ফরওয়ার্ডিং দ্বারা) ভুল ফলাফল হতে পারে।

Q78. Which component translates logical addresses into physical addresses?
প্রশ্ন ৭৮. কোন উপাদানটি লজিক্যাল ঠিকানাকে ফিজিক্যাল ঠিকানায় অনুবাদ করে?

  1. ALU (Arithmetic Logic Unit) / ALU
  2. CU (Control Unit) / CU
  3. MMU (Memory Management Unit) / MMU
  4. DMA Controller / DMA কন্ট্রোলার

Correct Answer: (c) MMU (Memory Management Unit)

Explanation: The MMU is a hardware component responsible for handling all memory and caching operations associated with the processor. Its primary function is the translation of virtual/logical addresses into physical addresses.

ব্যাখ্যা: MMU একটি হার্ডওয়্যার উপাদান যা প্রসেসরের সাথে সম্পর্কিত সমস্ত মেমরি এবং ক্যাশিং অপারেশন পরিচালনার জন্য দায়ী। এর প্রাথমিক কাজ হল ভার্চুয়াল/লজিক্যাল ঠিকানাকে ফিজিক্যাল ঠিকানায় অনুবাদ করা।

Q79. A dot matrix printer’s quality is measured in ________.
প্রশ্ন ৭৯. একটি ডট ম্যাট্রিক্স প্রিন্টারের গুণমান কীসে পরিমাপ করা হয়?

  1. PPM (Pages Per Minute) / PPM (প্রতি মিনিটে পৃষ্ঠা)
  2. DPI (Dots Per Inch) / DPI (প্রতি ইঞ্চিতে ডট)
  3. CPS (Characters Per Second) / CPS (প্রতি সেকেন্ডে অক্ষর)
  4. Number of pins / পিনের সংখ্যা

Correct Answer: (d) Number of pins

Explanation: While speed is measured in CPS, the print quality of a dot matrix printer is largely determined by the number of pins in the print head (e.g., 9-pin vs. 24-pin). More pins create more dots in the same area, resulting in higher-resolution, clearer characters (Near Letter Quality or NLQ).

ব্যাখ্যা: যদিও গতি CPS-এ পরিমাপ করা হয়, একটি ডট ম্যাট্রিক্স প্রিন্টারের মুদ্রণের গুণমান মূলত প্রিন্ট হেডে পিনের সংখ্যা দ্বারা নির্ধারিত হয় (যেমন, 9-পিন বনাম 24-পিন)। বেশি পিন একই এলাকায় বেশি ডট তৈরি করে, যার ফলে উচ্চ-রেজোলিউশনের, স্পষ্ট অক্ষর তৈরি হয় (নিয়ার লেটার কোয়ালিটি বা NLQ)।

Q80. In the memory hierarchy, as we go down the levels (from registers to secondary storage), which of the following increases?
প্রশ্ন ৮০. মেমরি হায়ারার্কিতে, আমরা যখন স্তরগুলির নিচে যাই (রেজিস্টার থেকে সেকেন্ডারি স্টোরেজ পর্যন্ত), তখন নিচের কোনটি বৃদ্ধি পায়?

  1. Access Speed / অ্যাক্সেস স্পিড
  2. Cost per bit / প্রতি বিটের খরচ
  3. Storage Capacity / স্টোরেজ ক্যাপাসিটি
  4. Volatility / উদ্বায়িতা (Volatility)

Correct Answer: (c) Storage Capacity

Explanation: Moving down the memory hierarchy (Registers -> Cache -> Main Memory -> Secondary Storage), access speed and cost per bit decrease, while storage capacity and access time increase.

ব্যাখ্যা: মেমরি হায়ারার্কির নিচে গেলে (রেজিস্টার -> ক্যাশে -> প্রধান মেমরি -> সেকেন্ডারি স্টোরেজ), অ্যাক্সেস স্পিড এবং প্রতি বিটের খরচ কমে যায়, যখন স্টোরেজ ক্যাপাসিটি এবং অ্যাক্সেস সময় বৃদ্ধি পায়।

Q81. The method of representing negative numbers by inverting all bits and adding one is known as ________.
প্রশ্ন ৮১. সমস্ত বিট উল্টে দিয়ে এবং এক যোগ করে ঋণাত্মক সংখ্যা উপস্থাপনের পদ্ধতিটি ________ নামে পরিচিত।

  1. Sign-Magnitude / সাইন-ম্যাগনিটিউড
  2. 1’s Complement / ১’স কমপ্লিমেন্ট
  3. 2’s Complement / ২’স কমপ্লিমেন্ট
  4. Biased Representation / বায়াসড রিপ্রেজেন্টেশন

Correct Answer: (c) 2’s Complement

Explanation: 2’s complement is the standard way to represent signed integers in most computers. It simplifies subtraction and other arithmetic operations, as subtraction can be performed by adding the 2’s complement of the subtrahend.

ব্যাখ্যা: ২’স কমপ্লিমেন্ট হল বেশিরভাগ কম্পিউটারে চিহ্নযুক্ত পূর্ণসংখ্যা উপস্থাপনের মানক পদ্ধতি। এটি বিয়োগ এবং অন্যান্য গাণিতিক অপারেশনকে সহজ করে তোলে, কারণ বিয়োজ্যের ২’স কমপ্লিমেন্ট যোগ করে বিয়োগ করা যায়।

Q82. An instruction `ADD R1, (R2)` where R2 contains a memory address, is an example of which addressing mode?
প্রশ্ন ৮২. একটি নির্দেশ `ADD R1, (R2)` যেখানে R2 একটি মেমরি ঠিকানা ধারণ করে, এটি কোন অ্যাড্রেসিং মোডের উদাহরণ?

  1. Direct / ডাইরেক্ট
  2. Register / রেজিস্টার
  3. Register Indirect / রেজিস্টার ইনডাইরেক্ট
  4. Immediate / ইমিডিয়েট

Correct Answer: (c) Register Indirect

Explanation: In register indirect addressing, the instruction specifies a register whose contents give the address of the operand in memory. Here, R2 does not contain the operand itself, but the address where the operand can be found.

ব্যাখ্যা: রেজিস্টার ইনডাইরেক্ট অ্যাড্রেসিং-এ, নির্দেশটি একটি রেজিস্টার নির্দিষ্ট করে যার কন্টেন্ট মেমরিতে অপারেন্ডের ঠিকানা দেয়। এখানে, R2 অপারেন্ডটি নিজেই ধারণ করে না, বরং সেই ঠিকানা ধারণ করে যেখানে অপারেন্ডটি পাওয়া যাবে।

Q83. What is firmware?
প্রশ্ন ৮৩. ফার্মওয়্যার কী?

  1. Hardware that cannot be changed / হার্ডওয়্যার যা পরিবর্তন করা যায় না
  2. Software permanently stored in hardware, such as in ROM / হার্ডওয়্যারে স্থায়ীভাবে সংরক্ষিত সফটওয়্যার, যেমন ROM-এ
  3. A type of operating system / এক ধরনের অপারেটিং সিস্টেম
  4. A diagnostic tool for computers / কম্পিউটারের জন্য একটি ডায়াগনস্টিক টুল

Correct Answer: (b) Software permanently stored in hardware, such as in ROM

Explanation: Firmware is a specific class of computer software that provides low-level control for a device’s specific hardware. It is held in non-volatile memory devices such as ROM, EPROM, or flash memory. The micro-programs in a micro-programmed control unit are an example of firmware.

ব্যাখ্যা: ফার্মওয়্যার হল একটি নির্দিষ্ট শ্রেণীর কম্পিউটার সফটওয়্যার যা একটি ডিভাইসের নির্দিষ্ট হার্ডওয়্যারের জন্য নিম্ন-স্তরের নিয়ন্ত্রণ প্রদান করে। এটি অনুদ্বায়ী মেমরি ডিভাইস যেমন ROM, EPROM, বা ফ্ল্যাশ মেমরিতে রাখা হয়। একটি মাইক্রো-প্রোগ্রামড কন্ট্রোল ইউনিটের মাইক্রো-প্রোগ্রামগুলি ফার্মওয়্যারের একটি উদাহরণ।

Q84. The basic unit of storage in a magnetic disk is a ________.
প্রশ্ন ৮৪. একটি ম্যাগনেটিক ডিস্কের স্টোরেজের মৌলিক একক হল একটি ________।

  1. Track / ট্র্যাক
  2. Sector / সেক্টর
  3. Cylinder / সিলিন্ডার
  4. Platter / প্ল্যাটার

Correct Answer: (b) Sector

Explanation: A magnetic disk is divided into concentric circles called tracks, and each track is further divided into smaller arcs called sectors. The sector is the smallest physical storage unit on the disk, typically holding 512 bytes or 4KB of data.

ব্যাখ্যা: একটি ম্যাগনেটিক ডিস্ক ট্র্যাক নামক সমকেন্দ্রিক বৃত্তে বিভক্ত থাকে, এবং প্রতিটি ট্র্যাক সেক্টর নামক ছোট ছোট চাপে বিভক্ত থাকে। সেক্টর হল ডিস্কের সবচেয়ে ছোট ভৌত স্টোরেজ ইউনিট, যা সাধারণত ৫১২ বাইট বা ৪ কিলোবাইট ডেটা ধারণ করে।

Q85. A mouse is considered a ________.
প্রশ্ন ৮৫. একটি মাউসকে ________ হিসেবে বিবেচনা করা হয়।

  1. Storage device / স্টোরেজ ডিভাইস
  2. Output device / আউটপুট ডিভাইস
  3. Pointing device / পয়েন্টিং ডিভাইস
  4. Processing device / প্রসেসিং ডিভাইস

Correct Answer: (c) Pointing device

Explanation: A mouse is an input device that functions as a pointing device. It allows the user to control a cursor or pointer on a graphical user interface (GUI) to select, move, and manipulate objects on the screen.

ব্যাখ্যা: একটি মাউস হল একটি ইনপুট ডিভাইস যা একটি পয়েন্টিং ডিভাইস হিসাবে কাজ করে। এটি ব্যবহারকারীকে একটি গ্রাফিক্যাল ইউজার ইন্টারফেসে (GUI) একটি কার্সার বা পয়েন্টার নিয়ন্ত্রণ করতে দেয় যাতে স্ক্রিনের বস্তুগুলি নির্বাচন, সরানো এবং ম্যানিপুলেট করা যায়।

Q86. What does the ‘control’ in a control unit refer to?
প্রশ্ন ৮৬. একটি কন্ট্রোল ইউনিটে ‘কন্ট্রোল’ বলতে কী বোঝায়?

  1. Controlling the speed of the CPU / CPU-এর গতি নিয়ন্ত্রণ করা
  2. Generating timing and control signals for all operations / সমস্ত অপারেশনের জন্য টাইমিং এবং কন্ট্রোল সিগন্যাল তৈরি করা
  3. Controlling user access to the computer / কম্পিউটারে ব্যবহারকারীর অ্যাক্সেস নিয়ন্ত্রণ করা
  4. Controlling the flow of power to components / উপাদানগুলিতে পাওয়ারের প্রবাহ নিয়ন্ত্রণ করা

Correct Answer: (b) Generating timing and control signals for all operations

Explanation: The control unit (CU) is a component of the CPU that directs the operation of the processor. It tells the computer’s memory, arithmetic and logic unit, and input and output devices how to respond to the instructions that have been sent to the processor by generating various control signals.

ব্যাখ্যা: কন্ট্রোল ইউনিট (CU) হল CPU-এর একটি উপাদান যা প্রসেসরের অপারেশনকে নির্দেশ দেয়। এটি বিভিন্ন কন্ট্রোল সিগন্যাল তৈরি করে কম্পিউটারের মেমরি, অ্যারিথমেটিক এবং লজিক ইউনিট, এবং ইনপুট ও আউটপুট ডিভাইসগুলিকে বলে যে প্রসেসরে পাঠানো নির্দেশগুলিতে কীভাবে সাড়া দিতে হবে।

Q87. ROM is a type of ________ memory.
প্রশ্ন ৮৭. ROM হল এক ধরনের ________ মেমরি।

  1. Volatile / উদ্বায়ী (Volatile)
  2. Non-volatile / অনুদ্বায়ী (Non-volatile)
  3. Virtual / ভার্চুয়াল
  4. Cache / ক্যাশে

Correct Answer: (b) Non-volatile

Explanation: ROM (Read-Only Memory) is non-volatile, which means its contents are retained even when the power is turned off. It is used to store firmware or software that is rarely or never changed, like the computer’s BIOS.

ব্যাখ্যা: ROM (রিড-অনলি মেমরি) অনুদ্বায়ী, যার মানে পাওয়ার বন্ধ হয়ে গেলেও এর কন্টেন্টগুলি থেকে যায়। এটি ফার্মওয়্যার বা সফটওয়্যার সংরক্ষণ করতে ব্যবহৃত হয় যা খুব কমই বা কখনও পরিবর্তন করা হয় না, যেমন কম্পিউটারের BIOS।

Q88. A cache that is placed between the CPU and main memory is called ________.
প্রশ্ন ৮৮. CPU এবং প্রধান মেমরির মধ্যে স্থাপন করা ক্যাশকে ________ বলা হয়।

  1. Level 1 (L1) Cache / লেভেল ১ (L1) ক্যাশে
  2. Level 2 (L2) Cache / লেভেল ২ (L2) ক্যাশে
  3. Level 3 (L3) Cache / লেভেল ৩ (L3) ক্যাশে
  4. All of the above / উপরের সবগুলি

Correct Answer: (d) All of the above

Explanation: Modern CPUs have a multi-level cache hierarchy. L1 cache is closest to the CPU core (fastest, smallest). L2 is larger and slower, and L3 (if present) is even larger and slower, shared among cores. All these levels sit between the CPU cores and the main memory (RAM).

ব্যাখ্যা: আধুনিক CPU-গুলিতে একটি মাল্টি-লেভেল ক্যাশে হায়ারার্কি থাকে। L1 ক্যাশে CPU কোরের সবচেয়ে কাছে থাকে (দ্রুততম, সবচেয়ে ছোট)। L2 বড় এবং ধীর, এবং L3 (যদি থাকে) আরও বড় এবং ধীর, যা কোরগুলির মধ্যে শেয়ার করা হয়। এই সমস্ত স্তরগুলি CPU কোর এবং প্রধান মেমরির (RAM) মধ্যে থাকে।

Q89. When a key is pressed on a keyboard, a ________ is generated.
প্রশ্ন ৮৯. যখন একটি কিবোর্ডে একটি কী চাপা হয়, তখন একটি ________ তৈরি হয়।

  1. Character code (like ASCII) / ক্যারেক্টার কোড (যেমন ASCII)
  2. Binary code / বাইনারি কোড
  3. Scan code / স্ক্যান কোড
  4. Control signal / কন্ট্রোল সিগন্যাল

Correct Answer: (c) Scan code

Explanation: Keyboards do not send character codes like ASCII directly. Instead, when a key is pressed (or released), the keyboard controller sends a unique number called a scan code to the computer. The operating system’s keyboard driver then translates this scan code into the appropriate character or command.

ব্যাখ্যা: কিবোর্ড সরাসরি ASCII-এর মতো ক্যারেক্টার কোড পাঠায় না। পরিবর্তে, যখন একটি কী চাপা হয় (বা ছাড়া হয়), কিবোর্ড কন্ট্রোলার একটি স্ক্যান কোড নামক একটি অনন্য সংখ্যা কম্পিউটারে পাঠায়। অপারেটিং সিস্টেমের কিবোর্ড ড্রাইভার তারপর এই স্ক্যান কোডটিকে উপযুক্ত অক্ষর বা কমান্ডে অনুবাদ করে।

Q90. The division of a program’s logical space into variable-sized blocks based on logical units is called ________.
প্রশ্ন ৯০. একটি প্রোগ্রামের লজিক্যাল স্পেসকে লজিক্যাল ইউনিটের উপর ভিত্তি করে পরিবর্তনশীল আকারের ব্লকে বিভক্ত করাকে ________ বলে।

  1. Paging / পেজিং
  2. Segmentation / সেগমেন্টেশন
  3. Framing / ফ্রেমিং
  4. Overlaying / ওভারলেয়িং

Correct Answer: (b) Segmentation

Explanation: Segmentation is a memory management technique where the memory is divided into variable-sized blocks called segments. Unlike paging (fixed-size), segmentation is based on the logical structure of the program, such as a code segment, data segment, stack segment, etc.

ব্যাখ্যা: সেগমেন্টেশন একটি মেমরি ম্যানেজমেন্ট কৌশল যেখানে মেমরিকে সেগমেন্ট নামক পরিবর্তনশীল আকারের ব্লকে বিভক্ত করা হয়। পেজিং (নির্দিষ্ট-আকার) এর বিপরীতে, সেগমেন্টেশন প্রোগ্রামের লজিক্যাল কাঠামোর উপর ভিত্তি করে হয়, যেমন একটি কোড সেগমেন্ট, ডেটা সেগমেন্ট, স্ট্যাক সেগমেন্ট ইত্যাদি।

Q91. A carry lookahead adder is faster than a ripple carry adder because ________.
প্রশ্ন ৯১. একটি ক্যারি লুকঅ্যাহেড অ্যাডার একটি রিপল ক্যারি অ্যাডারের চেয়ে দ্রুত হয় কারণ ________।

  1. It uses fewer gates / এটি কম গেট ব্যবহার করে
  2. It generates the carry bits for each stage directly, without waiting for the previous stage’s carry / এটি পূর্ববর্তী স্টেজের ক্যারির জন্য অপেক্ষা না করে প্রতিটি স্টেজের জন্য সরাসরি ক্যারি বিট তৈরি করে
  3. It operates on 2’s complement numbers / এটি ২’স কমপ্লিমেন্ট সংখ্যা নিয়ে কাজ করে
  4. It is simpler to design / এটি ডিজাইন করা সহজ

Correct Answer: (b) It generates the carry bits for each stage directly, without waiting for the previous stage’s carry

Explanation: In a ripple carry adder, the carry-out of one stage must propagate to the next, creating a delay that depends on the number of bits. A carry lookahead adder uses complex logic to calculate the carry bits for multiple stages in parallel, eliminating this ripple delay and making it much faster for wide adders.

ব্যাখ্যা: একটি রিপল ক্যারি অ্যাডারে, একটি স্টেজের ক্যারি-আউট পরবর্তী স্টেজে প্রচারিত হতে হয়, যা বিটের সংখ্যার উপর নির্ভরশীল একটি বিলম্ব তৈরি করে। একটি ক্যারি লুকঅ্যাহেড অ্যাডার সমান্তরালে একাধিক স্টেজের জন্য ক্যারি বিট গণনা করতে জটিল লজিক ব্যবহার করে, এই রিপল বিলম্ব দূর করে এবং প্রশস্ত অ্যাডারের জন্য এটিকে অনেক দ্রুত করে তোলে।

Q92. The Accumulator register is a type of ________.
প্রশ্ন ৯২. অ্যাকুমুলেটর রেজিস্টার হল এক ধরনের ________।

  1. General-Purpose Register / জেনারেল-পারপাস রেজিস্টার
  2. Special-Purpose Register / স্পেশাল-পারপাস রেজিস্টার
  3. Address Register / অ্যাড্রেস রেজিস্টার
  4. Index Register / ইনডেক্স রেজিস্টার

Correct Answer: (b) Special-Purpose Register

Explanation: While some modern architectures treat all registers as general-purpose, the classic definition of an accumulator is a special-purpose register dedicated to holding the results of arithmetic and logic operations. It has a specific, designated role.

ব্যাখ্যা: যদিও কিছু আধুনিক আর্কিটেকচার সমস্ত রেজিস্টারকে জেনারেল-পারপাস হিসাবে বিবেচনা করে, অ্যাকুমুলেটরের ক্লাসিক সংজ্ঞা হল একটি স্পেশাল-পারপাস রেজিস্টার যা গাণিতিক এবং লজিক অপারেশনের ফলাফল ধরে রাখার জন্য নিবেদিত। এটির একটি নির্দিষ্ট, নির্ধারিত ভূমিকা রয়েছে।

Q93. Which of the following is not a pipeline hazard?
প্রশ্ন ৯৩. নিচের কোনটি পাইপলাইন হ্যাজার্ড নয়?

  1. Data Hazard / ডেটা হ্যাজার্ড
  2. Control Hazard / কন্ট্রোল হ্যাজার্ড
  3. Structural Hazard / স্ট্রাকচারাল হ্যাজার্ড
  4. Execution Hazard / এক্সিকিউশন হ্যাজার্ড

Correct Answer: (d) Execution Hazard

Explanation: The three main types of pipeline hazards are: Structural hazards (resource conflicts), Data hazards (data dependencies), and Control hazards (branching issues). “Execution Hazard” is not a standard term for a pipeline hazard.

ব্যাখ্যা: পাইপলাইন হ্যাজার্ডের তিনটি প্রধান প্রকার হল: স্ট্রাকচারাল হ্যাজার্ড (রিসোর্স কনফ্লিক্ট), ডেটা হ্যাজার্ড (ডেটা ডিপেন্ডেন্সি), এবং কন্ট্রোল হ্যাজার্ড (ব্রাঞ্চিং সমস্যা)। “এক্সিকিউশন হ্যাজার্ড” পাইপলাইন হ্যাজার্ডের জন্য একটি স্ট্যান্ডার্ড শব্দ নয়।

Q94. A single instruction in an assembly language usually corresponds to ________.
প্রশ্ন ৯৪. অ্যাসেম্বলি ল্যাঙ্গুয়েজে একটি একক নির্দেশ সাধারণত ________ এর সাথে সঙ্গতিপূর্ণ।

  1. One machine instruction / একটি মেশিন ইন্সট্রাকশন
  2. Multiple machine instructions / একাধিক মেশিন ইন্সট্রাকশন
  3. One high-level language statement / একটি উচ্চ-স্তরের ভাষার স্টেটমেন্ট
  4. A complete program / একটি সম্পূর্ণ প্রোগ্রাম

Correct Answer: (a) One machine instruction

Explanation: Assembly language is a low-level programming language that has a very strong correspondence between its instructions and the architecture’s machine code instructions. It is a human-readable representation of machine code.

ব্যাখ্যা: অ্যাসেম্বলি ল্যাঙ্গুয়েজ হল একটি নিম্ন-স্তরের প্রোগ্রামিং ল্যাঙ্গুয়েজ যার নির্দেশাবলীর সাথে আর্কিটেকচারের মেশিন কোড নির্দেশাবলীর একটি খুব শক্তিশালী সঙ্গতি রয়েছে। এটি মেশিন কোডের একটি মানব-পাঠযোগ্য উপস্থাপনা।

Q95. The ‘refresh rate’ of a VDU is measured in ________.
প্রশ্ন ৯৫. একটি VDU-এর ‘রিফ্রেশ রেট’ ________ এ পরিমাপ করা হয়।

  1. Dots Per Inch (DPI) / ডটস পার ইঞ্চি (DPI)
  2. Pixels / পিক্সেল
  3. Hertz (Hz) / হার্টজ (Hz)
  4. Bytes / বাইট

Correct Answer: (c) Hertz (Hz)

Explanation: The refresh rate is the number of times per second that the display hardware draws the data. It is measured in Hertz (Hz). A higher refresh rate (e.g., 60Hz, 120Hz) results in a smoother-looking image and less flicker.

ব্যাখ্যা: রিফ্রেশ রেট হল প্রতি সেকেন্ডে কতবার ডিসপ্লে হার্ডওয়্যার ডেটা আঁকে তার সংখ্যা। এটি হার্টজ (Hz)-এ পরিমাপ করা হয়। একটি উচ্চতর রিফ্রেশ রেট (যেমন, 60Hz, 120Hz) একটি মসৃণ দেখতে ছবি এবং কম ফ্লিকারের ফল দেয়।

Q96. Which of the following memories has the longest access time?
প্রশ্ন ৯৬. নিচের কোন মেমরির অ্যাক্সেস টাইম সবচেয়ে বেশি?

  1. RAM / র‍্যাম
  2. Cache Memory / ক্যাশে মেমরি
  3. CPU Registers / সিপিইউ রেজিস্টার
  4. Magnetic Tape / ম্যাগনেটিক টেপ

Correct Answer: (d) Magnetic Tape

Explanation: Magnetic tape is a form of tertiary or offline storage. It is a sequential access medium, meaning to read data from the middle of the tape, you must first wind through the preceding portion. This results in very long access times compared to random-access devices like RAM or even disks.

ব্যাখ্যা: ম্যাগনেটিক টেপ হল টার্শিয়ারি বা অফলাইন স্টোরেজের একটি রূপ। এটি একটি সিকোয়েন্সিয়াল অ্যাক্সেস মাধ্যম, যার মানে টেপের মাঝখান থেকে ডেটা পড়তে হলে, আপনাকে প্রথমে পূর্ববর্তী অংশটি পেরিয়ে যেতে হবে। এর ফলে র‍্যাম বা এমনকি ডিস্কের মতো র‍্যান্ডম-অ্যাক্সেস ডিভাইসগুলির তুলনায় খুব দীর্ঘ অ্যাক্সেস সময় লাগে।

Q97. The ALU gets its operands from ________.
প্রশ্ন ৯৭. ALU তার অপারেন্ডগুলি কোথা থেকে পায়?

  1. Control Unit / কন্ট্রোল ইউনিট
  2. Main Memory / প্রধান মেমরি
  3. Registers / রেজিস্টার
  4. System Bus / সিস্টেম বাস

Correct Answer: (c) Registers

Explanation: The ALU performs operations on data. For speed, this data is first loaded from memory into high-speed CPU registers. The ALU then takes its input operands directly from these registers and stores the result back into a register.

ব্যাখ্যা: ALU ডেটার উপর অপারেশন সম্পাদন করে। গতির জন্য, এই ডেটা প্রথমে মেমরি থেকে উচ্চ-গতির CPU রেজিস্টারে লোড করা হয়। ALU তারপর সরাসরি এই রেজিস্টারগুলি থেকে তার ইনপুট অপারেন্ডগুলি নেয় এবং ফলাফলটি একটি রেজিস্টারে ফিরিয়ে দেয়।

Q98. An EPROM is erased by ________.
প্রশ্ন ৯৮. একটি EPROM কীভাবে মোছা হয়?

  1. Applying high voltage / উচ্চ ভোল্টেজ প্রয়োগ করে
  2. Exposing it to ultraviolet (UV) light / এটিকে অতিবেগুনি (UV) আলোতে উন্মুক্ত করে
  3. Overwriting it with new data / নতুন ডেটা দিয়ে ওভাররাইট করে
  4. Applying a magnetic field / একটি চৌম্বক ক্ষেত্র প্রয়োগ করে

Correct Answer: (b) Exposing it to ultraviolet (UV) light

Explanation: EPROM stands for Erasable Programmable Read-Only Memory. It has a transparent quartz window on the chip that allows it to be erased by exposing it to a strong source of ultraviolet light. This erases the entire chip, which can then be reprogrammed.

ব্যাখ্যা: EPROM-এর পূর্ণরূপ হল Erasable Programmable Read-Only Memory। চিপের উপর একটি স্বচ্ছ কোয়ার্টজ জানালা থাকে যা এটিকে অতিবেগুনি আলোর একটি শক্তিশালী উৎসের সামনে উন্মুক্ত করে মুছতে দেয়। এটি সম্পূর্ণ চিপটি মুছে ফেলে, যা পরে পুনরায় প্রোগ্রাম করা যেতে পারে।

Q99. The functionality of a CPU is defined by its ________.
প্রশ্ন ৯৯. একটি CPU-এর কার্যকারিতা কী দ্বারা সংজ্ঞায়িত হয়?

  1. Clock Speed / ক্লক স্পিড
  2. Instruction Set Architecture (ISA) / ইন্সট্রাকশন সেট আর্কিটেকচার (ISA)
  3. Number of Cores / কোরের সংখ্যা
  4. Cache Size / ক্যাশে সাইজ

Correct Answer: (b) Instruction Set Architecture (ISA)

Explanation: The ISA is the part of the computer architecture related to programming, including the native data types, instructions, registers, addressing modes, memory architecture, etc. It defines what the processor can do and how it can be controlled by software.

ব্যাখ্যা: ISA হল কম্পিউটার আর্কিটেকচারের সেই অংশ যা প্রোগ্রামিংয়ের সাথে সম্পর্কিত, যার মধ্যে নেটিভ ডেটা টাইপ, নির্দেশাবলী, রেজিস্টার, অ্যাড্রেসিং মোড, মেমরি আর্কিটেকচার ইত্যাদি অন্তর্ভুক্ত। এটি নির্ধারণ করে যে প্রসেসর কী করতে পারে এবং সফটওয়্যার দ্বারা এটি কীভাবে নিয়ন্ত্রিত হতে পারে।

Q100. A dot matrix printer is an ‘impact’ printer because ________.
প্রশ্ন ১০০. একটি ডট ম্যাট্রিক্স প্রিন্টার একটি ‘ইমপ্যাক্ট’ প্রিন্টার কারণ ________।

  1. It has a high impact on the electricity bill / এটি বিদ্যুৎ বিলের উপর উচ্চ প্রভাব ফেলে
  2. It creates characters by physically striking the paper through a ribbon / এটি একটি রিবনের মাধ্যমে কাগজে শারীরিকভাবে আঘাত করে অক্ষর তৈরি করে
  3. It uses laser impact to print / এটি মুদ্রণের জন্য লেজার ইমপ্যাক্ট ব্যবহার করে
  4. It makes a loud noise / এটি একটি উচ্চ শব্দ করে

Correct Answer: (b) It creates characters by physically striking the paper through a ribbon

Explanation: The term “impact printer” refers to a class of printers that work by striking a print head or mechanism against an ink ribbon to make a physical impression on the paper. Dot matrix and daisy wheel printers are classic examples.

ব্যাখ্যা: “ইমপ্যাক্ট প্রিন্টার” শব্দটি সেই শ্রেণীর প্রিন্টারগুলিকে বোঝায় যা একটি প্রিন্ট হেড বা মেকানিজমকে একটি কালি রিবনের বিরুদ্ধে আঘাত করে কাগজে একটি ভৌত ছাপ তৈরি করে কাজ করে। ডট ম্যাট্রিক্স এবং ডেইজি হুইল প্রিন্টারগুলি এর ক্লাসিক উদাহরণ।

WBSSC SLST Computer Science IX & X : Computer Organization Read More »

SLST Computer Science

WBSSC SLST Computer Science IX & X : Digital Logic

100 MCQs on Digital Logic

1. Which logic gate is known as a universal gate?
কোন লজিক গেটটি সার্বজনীন বা ইউনিভার্সাল গেট হিসেবে পরিচিত?

  1. AND gate / অ্যান্ড গেট
  2. OR gate / অর গেট
  3. NOT gate / নট গেট
  4. NAND gate / ন্যান্ড গেট

Correct Answer: d) NAND gate

Explanation: NAND and NOR gates are called universal gates because any other basic logic gate (AND, OR, NOT) can be implemented using only NAND or only NOR gates.
ব্যাখ্যা: NAND এবং NOR গেটকে সার্বজনীন গেট বলা হয়, কারণ শুধুমাত্র NAND বা শুধুমাত্র NOR গেট ব্যবহার করে অন্য যেকোনো মৌলিক গেট (AND, OR, NOT) তৈরি করা সম্ভব।

2. The output of an OR gate is LOW when:
একটি OR গেটের আউটপুট LOW হয় যখন:

  1. all inputs are HIGH / সকল ইনপুট HIGH থাকে
  2. any input is HIGH / যেকোনো একটি ইনপুট HIGH থাকে
  3. all inputs are LOW / সকল ইনপুট LOW থাকে
  4. any input is LOW / যেকোনো একটি ইনপুট LOW থাকে

Correct Answer: c) all inputs are LOW

Explanation: An OR gate produces a HIGH (1) output if any of its inputs are HIGH (1). It only produces a LOW (0) output when all of its inputs are LOW (0).
ব্যাখ্যা: একটি OR গেটের যেকোনো একটি ইনপুট HIGH (1) হলেই আউটপুট HIGH (1) হয়। শুধুমাত্র যখন এর সমস্ত ইনপুট LOW (0) থাকে, তখনই আউটপুট LOW (0) হয়।

3. According to De Morgan’s theorem, (A + B)’ is equal to:
ডি মরগ্যানের উপপাদ্য অনুযায়ী, (A + B)’-এর সমান কোনটি?

  1. A’ + B’
  2. A’ . B’
  3. A . B
  4. A + B

Correct Answer: b) A’ . B’

Explanation: De Morgan’s first theorem states that the complement of a sum is equal to the product of the complements. So, (A + B)’ = A’ . B’.
ব্যাখ্যা: ডি মরগ্যানের প্রথম উপপাদ্য অনুসারে, দুটি চলকের যোগফলের পরিপূরক (complement) তাদের নিজ নিজ পরিপূরকের গুণফলের সমান। সুতরাং, (A + B)’ = A’ . B’।

4. A Half Adder has:
একটি হাফ অ্যাডার-এ থাকে:

  1. 2 inputs and 2 outputs / ২টি ইনপুট এবং ২টি আউটপুট
  2. 2 inputs and 1 output / ২টি ইনপুট এবং ১টি আউটপুট
  3. 1 input and 2 outputs / ১টি ইনপুট এবং ২টি আউটপুট
  4. 3 inputs and 2 outputs / ৩টি ইনপুট এবং ২টি আউটপুট

Correct Answer: a) 2 inputs and 2 outputs

Explanation: A Half Adder is a combinational circuit that performs the addition of two binary digits. It has two inputs (A and B) and two outputs (Sum and Carry).
ব্যাখ্যা: হাফ অ্যাডার হলো একটি কম্বিনেশনাল সার্কিট যা দুটি বাইনারি ডিজিট যোগ করে। এর দুটি ইনপুট (A এবং B) এবং দুটি আউটপুট (Sum এবং Carry) থাকে।

5. How many select lines are required for a 16×1 Multiplexer?
একটি 16×1 মাল্টিপ্লেক্সারের জন্য কতগুলি সিলেক্ট লাইন প্রয়োজন?

  1. 2
  2. 4
  3. 8
  4. 16

Correct Answer: b) 4

Explanation: The number of select lines (n) for a multiplexer with ‘m’ data inputs is given by the formula 2^n = m. For a 16×1 MUX, m=16. So, 2^n = 16, which means n = 4.
ব্যাখ্যা: ‘m’ সংখ্যক ডেটা ইনপুট সহ একটি মাল্টিপ্লেক্সারের জন্য সিলেক্ট লাইনের সংখ্যা (n) 2^n = m সূত্র দ্বারা নির্ধারিত হয়। একটি 16×1 MUX-এর জন্য, m=16। সুতরাং, 2^n = 16, যার অর্থ n = 4।

6. A device which converts BCD to Seven Segment is called:
যে ডিভাইস BCD কোডকে সেভেন সেগমেন্ট ডিসপ্লেতে রূপান্তর করে তাকে কী বলে?

  1. Encoder / এনকোডার
  2. Decoder / ডিকোডার
  3. Multiplexer / মাল্টিপ্লেক্সার
  4. Demultiplexer / ডিমাল্টিপ্লেক্সার

Correct Answer: b) Decoder

Explanation: A BCD to Seven Segment Decoder is a specific type of decoder that takes a 4-bit BCD input and outputs the corresponding 7 signals required to display the digit on a seven-segment display.
ব্যাখ্যা: একটি BCD থেকে সেভেন সেগমেন্ট ডিকোডার হলো এক বিশেষ ধরনের ডিকোডার যা ৪-বিট BCD ইনপুট গ্রহণ করে এবং একটি সেভেন-সেগমেন্ট ডিসপ্লেতে সংশ্লিষ্ট অঙ্কটি প্রদর্শনের জন্য প্রয়োজনীয় ৭টি সিগন্যাল আউটপুট করে।

7. A flip-flop is a:
একটি ফ্লিপ-ফ্লপ হলো:

  1. Bistable multivibrator / বাই-স্টেবল মাল্টিভাইব্রেটর
  2. Astable multivibrator / অ্যা-স্টেবল মাল্টিভাইব্রেটর
  3. Monostable multivibrator / মনো-স্টেবল মাল্টিভাইব্রেটর
  4. Combinational circuit / কম্বিনেশনাল সার্কিট

Correct Answer: a) Bistable multivibrator

Explanation: A flip-flop is a bistable multivibrator, meaning it has two stable states (0 and 1). It can store one bit of information and will remain in a state until a trigger pulse causes it to change.
ব্যাখ্যা: একটি ফ্লিপ-ফ্লপ হলো একটি বাই-স্টেবল মাল্টিভাইব্রেটর, যার অর্থ এর দুটি স্থিতিশীল অবস্থা (0 এবং 1) রয়েছে। এটি এক বিট তথ্য সংরক্ষণ করতে পারে এবং একটি ট্রিগার পালস দ্বারা অবস্থা পরিবর্তন না হওয়া পর্যন্ত সেই অবস্থাতেই থাকে।

8. In a JK flip-flop, the ‘toggle’ condition occurs when:
একটি JK ফ্লিপ-ফ্লপে ‘টগল’ অবস্থা কখন ঘটে?

  1. J=0, K=0
  2. J=1, K=0
  3. J=0, K=1
  4. J=1, K=1

Correct Answer: d) J=1, K=1

Explanation: When both inputs J and K are HIGH (1), the output of the JK flip-flop toggles, meaning it switches to its complementary state on each clock pulse (from 0 to 1, or 1 to 0).
ব্যাখ্যা: যখন JK ফ্লিপ-ফ্লপের উভয় ইনপুট J এবং K HIGH (1) থাকে, তখন প্রতিটি ক্লক পালসে এর আউটপুট টগল করে, অর্থাৎ তার পরিপূরক অবস্থায় পরিবর্তিত হয় (0 থেকে 1, বা 1 থেকে 0)।

9. A group of flip-flops connected together is called a:
একসাথে সংযুক্ত ফ্লিপ-ফ্লপের একটি গ্রুপকে কী বলা হয়?

  1. Counter / কাউন্টার
  2. Register / রেজিস্টার
  3. Adder / অ্যাডার
  4. Both a and b / ক এবং খ উভয়ই

Correct Answer: d) Both a and b

Explanation: Both registers and counters are made by connecting a group of flip-flops. A register is primarily used for storing a group of bits, while a counter is a special type of register designed to sequence through a specific set of states.
ব্যাখ্যা: রেজিস্টার এবং কাউন্টার উভয়ই ফ্লিপ-ফ্লপের গ্রুপ দিয়ে তৈরি। একটি রেজিস্টার মূলত বিটের একটি গ্রুপ সংরক্ষণ করতে ব্যবহৃত হয়, যেখানে একটি কাউন্টার হলো একটি বিশেষ ধরনের রেজিস্টার যা নির্দিষ্ট অবস্থার ক্রম অনুসারে পরিবর্তনের জন্য ডিজাইন করা হয়েছে।

10. A 4-bit ripple counter is also known as a:
একটি ৪-বিটের রিপল কাউন্টারকে আর কী বলা হয়?

  1. Synchronous counter / সিনক্রোনাস কাউন্টার
  2. Decade counter / ডিকেড কাউন্টার
  3. MOD-16 counter / MOD-16 কাউন্টার
  4. Ring counter / রিং কাউন্টার

Correct Answer: c) MOD-16 counter

Explanation: An n-bit ripple (asynchronous) counter has 2^n states. For a 4-bit counter, it has 2^4 = 16 states (from 0000 to 1111). Therefore, it is a MOD-16 counter.
ব্যাখ্যা: একটি n-বিট রিপল (অ্যাসিনক্রোনাস) কাউন্টারের 2^nটি অবস্থা থাকে। একটি ৪-বিট কাউন্টারের জন্য, এর 2^4 = 16টি অবস্থা রয়েছে (0000 থেকে 1111 পর্যন্ত)। তাই, এটি একটি MOD-16 কাউন্টার।

11. The Boolean expression for a 3-input NOR gate is:
একটি ৩-ইনপুট NOR গেটের বুলিয়ান এক্সপ্রেশন হলো:

  1. (A . B . C)’
  2. A + B + C
  3. (A + B + C)’
  4. A . B . C

Correct Answer: c) (A + B + C)’

Explanation: A NOR gate is an OR gate followed by a NOT gate. The OR operation for three inputs is A+B+C. The subsequent NOT operation complements this result, giving (A + B + C)’.
ব্যাখ্যা: একটি NOR গেট হলো একটি OR গেটের সাথে একটি NOT গেটের সংযোগ। তিনটি ইনপুটের জন্য OR অপারেশন হলো A+B+C। পরবর্তী NOT অপারেশন এই ফলাফলকে পরিপূরক করে, যা (A + B + C)’ হয়।

12. A Full Adder can be constructed using:
একটি ফুল অ্যাডার তৈরি করা যায়:

  1. Two Half Adders and an OR gate / দুটি হাফ অ্যাডার এবং একটি OR গেট
  2. Two Half Adders and an AND gate / দুটি হাফ অ্যাডার এবং একটি AND গেট
  3. One Half Adder and two OR gates / একটি হাফ অ্যাডার এবং দুটি OR গেট
  4. One Half Adder and two AND gates / একটি হাফ অ্যাডার এবং দুটি AND গেট

Correct Answer: a) Two Half Adders and an OR gate

Explanation: A Full Adder adds three bits (A, B, and a Carry-in). This can be implemented with two Half Adders. The first Half Adder adds A and B. Its Sum output is fed into the second Half Adder along with the Carry-in. The final Carry-out is obtained by ORing the Carry outputs from both Half Adders.
ব্যাখ্যা: একটি ফুল অ্যাডার তিনটি বিট (A, B, এবং একটি Carry-in) যোগ করে। এটি দুটি হাফ অ্যাডার দিয়ে বাস্তবায়ন করা যায়। প্রথম হাফ অ্যাডার A এবং B যোগ করে। এর Sum আউটপুটটি Carry-in সহ দ্বিতীয় হাফ অ্যাডারে যায়। উভয় হাফ অ্যাডারের Carry আউটপুটগুলিকে OR করে চূড়ান্ত Carry-out পাওয়া যায়।

13. The simplified form of the Boolean expression (X + Y)(X + Z) is:
বুলিয়ান এক্সপ্রেশন (X + Y)(X + Z) এর সরলীকৃত রূপটি হলো:

  1. X + YZ
  2. Y + XZ
  3. Z + XY
  4. X + Y + Z

Correct Answer: a) X + YZ

Explanation: Using the distributive law of Boolean algebra, A + BC = (A + B)(A + C). Here, we apply it in reverse. Let A = X, B = Y, C = Z. So, (X + Y)(X + Z) = X + YZ.
ব্যাখ্যা: বুলিয়ান অ্যালজেব্রার ডিস্ট্রিবিউটিভ সূত্র, A + BC = (A + B)(A + C) ব্যবহার করে, আমরা এটিকে বিপরীতভাবে প্রয়োগ করি। এখানে, A = X, B = Y, C = Z ধরলে, (X + Y)(X + Z) = X + YZ হয়।

14. Which device has more outputs than inputs?
কোন ডিভাইসের ইনপুটের চেয়ে আউটপুট বেশি?

  1. Encoder / এনকোডার
  2. Multiplexer / মাল্টিপ্লেক্সার
  3. Decoder / ডিকোডার
  4. Full Adder / ফুল অ্যাডার

Correct Answer: c) Decoder

Explanation: A decoder converts n input lines to a maximum of 2^n output lines. For example, a 3-to-8 decoder has 3 inputs and 8 outputs. An encoder does the opposite (more inputs than outputs). A multiplexer has many inputs and one output.
ব্যাখ্যা: একটি ডিকোডার n সংখ্যক ইনপুট লাইনকে সর্বোচ্চ 2^n সংখ্যক আউটপুট লাইনে রূপান্তরিত করে। উদাহরণস্বরূপ, একটি 3-to-8 ডিকোডারের ৩টি ইনপুট এবং ৮টি আউটপুট থাকে। এনকোডার এর বিপরীত কাজ করে। মাল্টিপ্লেক্সারের অনেক ইনপুট এবং একটি আউটপুট থাকে।

15. A sequential circuit’s output depends on:
একটি সিকুয়েন্সিয়াল সার্কিটের আউটপুট নির্ভর করে:

  1. Present inputs only / শুধুমাত্র বর্তমান ইনপুটের উপর
  2. Past inputs only / শুধুমাত্র পূর্ববর্তী ইনপুটের উপর
  3. Present inputs and past outputs / বর্তমান ইনপুট এবং পূর্ববর্তী আউটপুটের উপর
  4. Past outputs only / শুধুমাত্র পূর্ববর্তী আউটপুটের উপর

Correct Answer: c) Present inputs and past outputs

Explanation: Sequential circuits have memory elements (like flip-flops). Their output at any given time depends not only on the current input values but also on the previous state of the circuit, which is stored in the memory elements (represented by past outputs).
ব্যাখ্যা: সিকুয়েন্সিয়াল সার্কিটে মেমরি উপাদান (যেমন ফ্লিপ-ফ্লপ) থাকে। যেকোনো মুহূর্তে তাদের আউটপুট শুধুমাত্র বর্তমান ইনপুট মানের উপর নির্ভর করে না, বরং সার্কিটের পূর্ববর্তী অবস্থার উপরও নির্ভর করে, যা মেমরি উপাদানগুলিতে (পূর্ববর্তী আউটপুট দ্বারা উপস্থাপিত) সংরক্ষিত থাকে।

16. The “race-around” condition exists in which flip-flop?
“রেস-অ্যারাউন্ড” কন্ডিশন কোন ফ্লিপ-ফ্লপে দেখা যায়?

  1. SR Flip-Flop
  2. D Flip-Flop
  3. JK level-triggered Flip-Flop / JK লেভেল-ট্রিগারড ফ্লিপ-ফ্লপ
  4. T Flip-Flop

Correct Answer: c) JK level-triggered Flip-Flop

Explanation: The race-around condition occurs in a level-triggered JK flip-flop when J=1, K=1 and the clock pulse is high for a duration longer than the propagation delay of the flip-flop. The output toggles continuously, creating an unstable state. This is resolved by using master-slave or edge-triggered flip-flops.
ব্যাখ্যা: রেস-অ্যারাউন্ড কন্ডিশন একটি লেভেল-ট্রিগারড JK ফ্লিপ-ফ্লপে ঘটে যখন J=1, K=1 এবং ক্লক পালসটি ফ্লিপ-ফ্লপের প্রসারণ বিলম্বের (propagation delay) চেয়ে বেশি সময় ধরে high থাকে। এর ফলে আউটপুট ক্রমাগত টগল করতে থাকে, যা একটি অস্থিতিশীল অবস্থা তৈরি করে। এটি মাস্টার-স্লেভ বা এজ-ট্রিগারড ফ্লিপ-ফ্লপ ব্যবহার করে সমাধান করা হয়।

17. A 3-to-8 decoder will have:
একটি 3-to-8 ডিকোডারের থাকবে:

  1. 8 inputs and 3 outputs / ৮টি ইনপুট এবং ৩টি আউটপুট
  2. 3 inputs and 8 outputs / ৩টি ইনপুট এবং ৮টি আউটপুট
  3. 4 inputs and 8 outputs / ৪টি ইনপুট এবং ৮টি আউটপুট
  4. 1 input and 8 outputs / ১টি ইনপুট এবং ৮টি আউটপুট

Correct Answer: b) 3 inputs and 8 outputs

Explanation: The notation “n-to-m” for a decoder means it has ‘n’ input lines and ‘m’ output lines. So a 3-to-8 decoder has 3 input lines and 8 output lines.
ব্যাখ্যা: একটি ডিকোডারের জন্য “n-to-m” স্বরলিপিটির অর্থ হলো এর ‘n’ সংখ্যক ইনপুট লাইন এবং ‘m’ সংখ্যক আউটপুট লাইন রয়েছে। সুতরাং একটি 3-to-8 ডিকোডারের ৩টি ইনপুট লাইন এবং ৮টি আউটপুট লাইন থাকে।

18. The expression for SUM in a Half Adder is:
একটি হাফ অ্যাডারে SUM-এর এক্সপ্রেশনটি হলো:

  1. A . B
  2. A + B
  3. A ⊕ B (A XOR B)
  4. (A + B)’

Correct Answer: c) A ⊕ B (A XOR B)

Explanation: In a Half Adder with inputs A and B, the Sum output is 1 only when one of the inputs is 1, but not both. This is the definition of the XOR operation. The Carry output is A . B.
ব্যাখ্যা: A এবং B ইনপুট সহ একটি হাফ অ্যাডারে, Sum আউটপুটটি 1 হয় কেবল তখনই যখন ইনপুটগুলির মধ্যে একটি 1 থাকে, তবে উভয়ই নয়। এটি XOR অপারেশনের সংজ্ঞা। Carry আউটপুট হলো A . B।

19. How many AND gates are required to implement the Boolean function F = XY + Z?
F = XY + Z বুলিয়ান ফাংশনটি বাস্তবায়ন করতে কতগুলি AND গেট প্রয়োজন?

  1. 1
  2. 2
  3. 3
  4. 0

Correct Answer: a) 1

Explanation: The expression F = XY + Z requires one AND gate for the term XY and one OR gate to sum the result with Z. The question asks for the number of AND gates, which is one.
ব্যাখ্যা: F = XY + Z এক্সপ্রেশনটির জন্য XY টার্মের জন্য একটি AND গেট এবং ফলাফলটিকে Z-এর সাথে যোগ করার জন্য একটি OR গেট প্রয়োজন। প্রশ্নটি AND গেটের সংখ্যা জানতে চেয়েছে, যা হলো একটি।

20. Which counter is faster?
কোন কাউন্টারটি দ্রুততর?

  1. Asynchronous Counter / অ্যাসিনক্রোনাস কাউন্টার
  2. Synchronous Counter / সিনক্রোনাস কাউন্টার
  3. Ripple Counter / রিপল কাউন্টার
  4. Both are equally fast / উভয়ই সমান দ্রুত

Correct Answer: b) Synchronous Counter

Explanation: In a synchronous counter, all flip-flops are triggered by the same clock pulse simultaneously. In an asynchronous (or ripple) counter, the output of one flip-flop triggers the next, causing a cumulative propagation delay. This makes synchronous counters significantly faster, especially for a large number of bits.
ব্যাখ্যা: একটি সিনক্রোনাস কাউন্টারে, সমস্ত ফ্লিপ-ফ্লপ একই ক্লক পালস দ্বারা একযোগে ট্রিগার হয়। একটি অ্যাসিনক্রোনাস (বা রিপল) কাউন্টারে, একটি ফ্লিপ-ফ্লপের আউটপুট পরবর্তীটিকে ট্রিগার করে, যার ফলে একটি ক্রমবর্ধমান প্রসারণ বিলম্ব (cumulative propagation delay) ঘটে। এটি সিনক্রোনাস কাউন্টারগুলিকে উল্লেখযোগ্যভাবে দ্রুত করে তোলে, বিশেষ করে বেশি সংখ্যক বিটের জন্য।

21. A K-map (Karnaugh map) is used for:
একটি K-ম্যাপ (কার্নো ম্যাপ) ব্যবহৃত হয়:

  1. Solving simultaneous equations / যুগপৎ সমীকরণ সমাধানের জন্য
  2. Logic gate implementation / লজিক গেট বাস্তবায়নের জন্য
  3. Minimizing Boolean expressions / বুলিয়ান এক্সপ্রেশন সরলীকরণের জন্য
  4. Designing counters / কাউন্টার ডিজাইনের জন্য

Correct Answer: c) Minimizing Boolean expressions

Explanation: A Karnaugh map is a graphical method used to simplify or minimize Boolean algebra expressions. It helps in finding the simplest sum-of-products or product-of-sums expression for a given truth table.
ব্যাখ্যা: কার্নো ম্যাপ হলো একটি গ্রাফিকাল পদ্ধতি যা বুলিয়ান অ্যালজেব্রা এক্সপ্রেশনকে সরল বা ছোট করতে ব্যবহৃত হয়। এটি একটি প্রদত্ত সত্যক সারণীর জন্য সবচেয়ে সহজ sum-of-products বা product-of-sums এক্সপ্রেশন খুঁজে পেতে সহায়তা করে।

22. The output of an XNOR gate is 1 when:
একটি XNOR গেটের আউটপুট 1 হয় যখন:

  1. the inputs are different / ইনপুটগুলি ভিন্ন হয়
  2. the inputs are the same / ইনপুটগুলি একই হয়
  3. at least one input is 1 / অন্তত একটি ইনপুট 1 হয়
  4. all inputs are 0 / সমস্ত ইনপুট 0 হয়

Correct Answer: b) the inputs are the same

Explanation: An XNOR gate, also known as an equivalence gate, produces a HIGH (1) output when its inputs are identical (both 0 or both 1). It produces a LOW (0) output when the inputs are different.
ব্যাখ্যা: একটি XNOR গেট, যা সমতা গেট (equivalence gate) নামেও পরিচিত, যখন এর ইনপুটগুলি অভিন্ন (উভয়ই 0 বা উভয়ই 1) হয় তখন একটি HIGH (1) আউটপুট তৈরি করে। যখন ইনপুটগুলি ভিন্ন হয় তখন এটি একটি LOW (0) আউটপুট তৈরি করে।

23. A shift register that accepts data serially and provides it in parallel is known as:
যে শিফট রেজিস্টার সিরিয়ালি ডেটা গ্রহণ করে এবং প্যারালালি প্রদান করে, তাকে কী বলে?

  1. SISO (Serial-In, Serial-Out)
  2. SIPO (Serial-In, Parallel-Out)
  3. PISO (Parallel-In, Serial-Out)
  4. PIPO (Parallel-In, Parallel-Out)

Correct Answer: b) SIPO (Serial-In, Parallel-Out)

Explanation: A SIPO register loads data one bit at a time (serially) with each clock pulse. After the required number of pulses, the entire stored data can be read from the outputs of all flip-flops simultaneously (in parallel).
ব্যাখ্যা: একটি SIPO রেজিস্টার প্রতিটি ক্লক পালসের সাথে একবারে এক বিট ডেটা (সিরিয়ালি) লোড করে। প্রয়োজনীয় সংখ্যক পালসের পরে, সংরক্ষিত সমস্ত ডেটা একযোগে সমস্ত ফ্লিপ-ফ্লপের আউটপুট থেকে (প্যারালালি) পড়া যায়।

24. What is the modulus of a decade counter?
একটি ডিকেড কাউন্টারের মডিউলাস কত?

  1. 8
  2. 10
  3. 12
  4. 16

Correct Answer: b) 10

Explanation: A decade counter is a counter that counts through ten states (0 to 9) and then resets. The number of unique states a counter has is its modulus. Therefore, a decade counter is a MOD-10 counter.
ব্যাখ্যা: একটি ডিকেড কাউন্টার হলো এমন একটি কাউন্টার যা দশটি অবস্থা (0 থেকে 9) গণনা করে এবং তারপর রিসেট হয়। একটি কাউন্টারের স্বতন্ত্র অবস্থার সংখ্যাই হলো তার মডিউলাস। অতএব, একটি ডিকেড কাউন্টার একটি MOD-10 কাউন্টার।

25. The expression A + AB simplifies to:
A + AB এক্সপ্রেশনটির সরলীকৃত রূপ হলো:

  1. A
  2. B
  3. A + B
  4. AB

Correct Answer: a) A

Explanation: Using the absorption law of Boolean algebra: A + AB = A(1 + B). Since (1 + B) = 1, the expression becomes A . 1 = A.
ব্যাখ্যা: বুলিয়ান অ্যালজেব্রার শোষণ উপপাদ্য (absorption law) ব্যবহার করে: A + AB = A(1 + B)। যেহেতু (1 + B) = 1, এক্সপ্রেশনটি A . 1 = A হয়ে যায়।

26. A Full Subtractor has:
একটি ফুল সাবট্রাক্টরে থাকে:

  1. 2 inputs and 2 outputs / ২টি ইনপুট এবং ২টি আউটপুট
  2. 3 inputs and 2 outputs / ৩টি ইনপুট এবং ২টি আউটপুট
  3. 2 inputs and 3 outputs / ২টি ইনপুট এবং ৩টি আউটপুট
  4. 3 inputs and 3 outputs / ৩টি ইনপুট এবং ৩টি আউটপুট

Correct Answer: b) 3 inputs and 2 outputs

Explanation: A Full Subtractor performs subtraction between two bits, taking into account a borrow from a lower significant stage. It has three inputs (A, B, and Borrow-in) and two outputs (Difference and Borrow-out).
ব্যাখ্যা: একটি ফুল সাবট্রাক্টর দুটি বিটের মধ্যে বিয়োগ সম্পাদন করে, যা নিম্নতর স্থান থেকে একটি ধার (borrow) বিবেচনা করে। এর তিনটি ইনপুট (A, B, এবং Borrow-in) এবং দুটি আউটপুট (Difference এবং Borrow-out) থাকে।

27. An encoder performs the reverse operation of a:
একটি এনকোডার কিসের বিপরীত অপারেশন সম্পাদন করে?

  1. Multiplexer / মাল্টিপ্লেক্সার
  2. Decoder / ডিকোডার
  3. Flip-Flop / ফ্লিপ-ফ্লপ
  4. Register / রেজিস্টার

Correct Answer: b) Decoder

Explanation: A decoder takes ‘n’ inputs and activates one of up to 2^n outputs. An encoder does the opposite: it takes up to 2^n inputs and produces an ‘n’-bit code on its output lines.
ব্যাখ্যা: একটি ডিকোডার ‘n’ সংখ্যক ইনপুট নেয় এবং 2^n সংখ্যক আউটপুটের মধ্যে একটিকে সক্রিয় করে। একটি এনকোডার এর বিপরীত কাজ করে: এটি 2^n সংখ্যক ইনপুট নেয় এবং তার আউটপুট লাইনগুলিতে একটি ‘n’-বিট কোড তৈরি করে।

28. Which flip-flop is ideal for frequency division?
ফ্রিকোয়েন্সি বিভাজনের জন্য কোন ফ্লিপ-ফ্লপটি আদর্শ?

  1. SR Flip-Flop
  2. D Flip-Flop
  3. T Flip-Flop
  4. JK Flip-Flop (in toggle mode) / JK ফ্লিপ-ফ্লপ (টগল মোডে)

Correct Answer: d) JK Flip-Flop (in toggle mode)

Explanation: Both T flip-flop and JK flip-flop with J=K=1 are used for frequency division. In toggle mode, the output frequency is exactly half of the input clock frequency. JK flip-flops are very common for this application.
ব্যাখ্যা: T ফ্লিপ-ফ্লপ এবং J=K=1 সহ JK ফ্লিপ-ফ্লপ উভয়ই ফ্রিকোয়েন্সি বিভাজনের জন্য ব্যবহৃত হয়। টগল মোডে, আউটপুট ফ্রিকোয়েন্সি ইনপুট ক্লক ফ্রিকোয়েন্সির ঠিক অর্ধেক হয়। এই অ্যাপ্লিকেশনের জন্য JK ফ্লিপ-ফ্লপ খুব সাধারণ।

29. The number of cells in a 4-variable K-map is:
একটি ৪-ভেরিয়েবল K-ম্যাপে সেলের সংখ্যা হলো:

  1. 4
  2. 8
  3. 16
  4. 32

Correct Answer: c) 16

Explanation: The number of cells in a K-map is 2^n, where ‘n’ is the number of variables. For a 4-variable K-map, the number of cells is 2^4 = 16.
ব্যাখ্যা: একটি K-ম্যাপে সেলের সংখ্যা হলো 2^n, যেখানে ‘n’ হলো ভেরিয়েবলের সংখ্যা। একটি ৪-ভেরিয়েবল K-ম্যাপের জন্য সেলের সংখ্যা হলো 2^4 = 16।

30. A multiplexer is also known as a:
একটি মাল্টিপ্লেক্সারকে আর কী বলা হয়?

  1. Data distributor / ডেটা ডিস্ট্রিবিউটর
  2. Data selector / ডেটা সিলেক্টর
  3. Encoder / এনকোডার
  4. Data generator / ডেটা জেনারেটর

Correct Answer: b) Data selector

Explanation: A multiplexer (MUX) selects one of several analog or digital input signals and forwards the selected input into a single output line. The selection is directed by a separate set of digital inputs known as select lines.
ব্যাখ্যা: একটি মাল্টিপ্লেক্সার (MUX) বেশ কয়েকটি অ্যানালগ বা ডিজিটাল ইনপুট সিগন্যালের মধ্যে একটিকে নির্বাচন করে এবং নির্বাচিত ইনপুটটিকে একটি একক আউটপুট লাইনে প্রেরণ করে। এই নির্বাচনটি সিলেক্ট লাইন নামে পরিচিত একটি পৃথক ডিজিটাল ইনপুট সেট দ্বারা পরিচালিত হয়।

31. The logic gate that provides a HIGH output only when all its inputs are HIGH is:
যে লজিক গেটটি শুধুমাত্র তার সমস্ত ইনপুট HIGH থাকলেই HIGH আউটপুট প্রদান করে, সেটি হলো:

  1. OR gate
  2. AND gate
  3. NAND gate
  4. XOR gate

Correct Answer: b) AND gate

Explanation: The AND gate performs logical multiplication. Its output is 1 (HIGH) if and only if all of its inputs are 1 (HIGH).
ব্যাখ্যা: AND গেট যৌক্তিক গুণন সম্পাদন করে। এর আউটপুট 1 (HIGH) হবে যদি এবং কেবল যদি এর সমস্ত ইনপুট 1 (HIGH) হয়।

32. How many two-input NAND gates are required to implement a two-input XOR gate?
একটি দুই-ইনপুট XOR গেট তৈরি করতে কতগুলি দুই-ইনপুট NAND গেট প্রয়োজন?

  1. 3
  2. 4
  3. 5
  4. 2

Correct Answer: b) 4

Explanation: An XOR gate (A ⊕ B = A’B + AB’) can be constructed using four 2-input NAND gates. It’s a standard universal gate implementation.
ব্যাখ্যা: একটি XOR গেট (A ⊕ B = A’B + AB’) চারটি ২-ইনপুট NAND গেট ব্যবহার করে তৈরি করা যায়। এটি একটি স্ট্যান্ডার্ড সার্বজনীন গেট বাস্তবায়ন।

33. The forbidden state in an SR flip-flop is:
একটি SR ফ্লিপ-ফ্লপে নিষিদ্ধ অবস্থা কোনটি?

  1. S=0, R=0
  2. S=0, R=1
  3. S=1, R=0
  4. S=1, R=1

Correct Answer: d) S=1, R=1

Explanation: When both S (Set) and R (Reset) inputs of an SR flip-flop are HIGH, both outputs (Q and Q’) try to go to the same state (HIGH), which violates the complementary nature of the outputs. This leads to an unpredictable or “forbidden” state.
ব্যাখ্যা: যখন একটি SR ফ্লিপ-ফ্লপের S (সেট) এবং R (রিসেট) উভয় ইনপুট HIGH থাকে, তখন উভয় আউটপুট (Q এবং Q’) একই অবস্থায় (HIGH) যাওয়ার চেষ্টা করে, যা আউটপুটগুলির পরিপূরক প্রকৃতিকে লঙ্ঘন করে। এটি একটি অনির্দেশ্য বা “নিষিদ্ধ” অবস্থার সৃষ্টি করে।

34. A combinational circuit is one in which the output depends on:
একটি কম্বিনেশনাল সার্কিট হলো এমন একটি সার্কিট যার আউটপুট নির্ভর করে:

  1. The clock signal / ক্লক সিগন্যালের উপর
  2. The previous state / পূর্ববর্তী অবস্থার উপর
  3. The present inputs only / শুধুমাত্র বর্তমান ইনপুটের উপর
  4. Both present inputs and previous state / বর্তমান ইনপুট এবং পূর্ববর্তী অবস্থা উভয়ের উপর

Correct Answer: c) The present inputs only

Explanation: Combinational logic circuits do not have memory. Their output at any instant is determined solely by the values of the inputs at that same instant. Examples include adders, decoders, and multiplexers.
ব্যাখ্যা: কম্বিনেশনাল লজিক সার্কিটে কোনো মেমরি থাকে না। যেকোনো মুহূর্তে তাদের আউটপুট শুধুমাত্র সেই মুহূর্তের ইনপুটের মানের উপর নির্ভর করে। উদাহরণস্বরূপ অ্যাডার, ডিকোডার এবং মাল্টিপ্লেক্সার।

35. A demultiplexer has:
একটি ডিমাল্টিপ্লেক্সারের থাকে:

  1. One input and multiple outputs / একটি ইনপুট এবং একাধিক আউটপুট
  2. Multiple inputs and one output / একাধিক ইনপুট এবং একটি আউটপুট
  3. Multiple inputs and multiple outputs / একাধিক ইনপুট এবং একাধিক আউটপুট
  4. One input and one output / একটি ইনপুট এবং একটি আউটপুট

Correct Answer: a) One input and multiple outputs

Explanation: A demultiplexer (DEMUX) takes a single input signal and directs it to one of several output lines. The select lines determine which output line the input is routed to. It’s often called a data distributor.
ব্যাখ্যা: একটি ডিমাল্টিপ্লেক্সার (DEMUX) একটি একক ইনপুট সিগন্যাল নেয় এবং এটিকে বেশ কয়েকটি আউটপুট লাইনের মধ্যে একটিতে নির্দেশ করে। সিলেক্ট লাইনগুলি নির্ধারণ করে যে ইনপুটটি কোন আউটপুট লাইনে যাবে। এটিকে প্রায়শই ডেটা ডিস্ট্রিবিউটর বলা হয়।

36. The Gray code for the binary number 1011 is:
1011 বাইনারি সংখ্যার জন্য গ্রে কোড হলো:

  1. 1110
  2. 1001
  3. 1101
  4. 1111

Correct Answer: a) 1110

Explanation: To convert binary to Gray code: 1. The Most Significant Bit (MSB) of the Gray code is the same as the MSB of the binary number. (MSB = 1) 2. XOR the first and second binary bits: 1 ⊕ 0 = 1. 3. XOR the second and third binary bits: 0 ⊕ 1 = 1. 4. XOR the third and fourth binary bits: 1 ⊕ 1 = 0. Result: 1110.
ব্যাখ্যা: বাইনারি থেকে গ্রে কোডে রূপান্তর করতে: ১. গ্রে কোডের সবচেয়ে গুরুত্বপূর্ণ বিট (MSB) বাইনারি সংখ্যার MSB-এর সমান হবে। (MSB = 1) ২. প্রথম এবং দ্বিতীয় বাইনারি বিটের মধ্যে XOR করুন: 1 ⊕ 0 = 1। ৩. দ্বিতীয় এবং তৃতীয় বাইনারি বিটের মধ্যে XOR করুন: 0 ⊕ 1 = 1। ৪. তৃতীয় এবং চতুর্থ বাইনারি বিটের মধ্যে XOR করুন: 1 ⊕ 1 = 0। ফলাফল: 1110।

37. A priority encoder gives higher priority to:
একটি প্রায়োরিটি এনকোডার উচ্চ অগ্রাধিকার দেয়:

  1. The lowest value input / সর্বনিম্ন মানের ইনপুটকে
  2. The highest value input / সর্বোচ্চ মানের ইনপুটকে
  3. The middle value input / মধ্যম মানের ইনপুটকে
  4. All inputs equally / সমস্ত ইনপুটকে সমানভাবে

Correct Answer: b) The highest value input

Explanation: In a priority encoder, if multiple inputs are active at the same time, the output will correspond to the input with the highest designated priority (usually the highest-numbered input). For example, in an 8-to-3 encoder, if both D2 and D5 are active, the output will be for D5.
ব্যাখ্যা: একটি প্রায়োরিটি এনকোডারে, যদি একাধিক ইনপুট একই সময়ে সক্রিয় থাকে, তাহলে আউটপুটটি সর্বোচ্চ অগ্রাধিকারপ্রাপ্ত ইনপুটের (সাধারণত সর্বোচ্চ সংখ্যার ইনপুট) সাথে সঙ্গতিপূর্ণ হবে। উদাহরণস্বরূপ, একটি 8-to-3 এনকোডারে, যদি D2 এবং D5 উভয়ই সক্রিয় থাকে, তবে আউটপুট D5-এর জন্য হবে।

38. In a K-map, a group of four adjacent 1s is called a:
একটি K-ম্যাপে, চারটি সংলগ্ন 1-এর একটি গ্রুপকে বলা হয়:

  1. Pair / পেয়ার
  2. Quad / কোয়াড
  3. Octet / অক্টেট
  4. Minterm / মিনটার্ম

Correct Answer: b) Quad

Explanation: A group of two adjacent 1s is a Pair. A group of four adjacent 1s is a Quad. A group of eight adjacent 1s is an Octet. Grouping these 1s helps in simplifying the Boolean expression.
ব্যাখ্যা: দুটি সংলগ্ন 1-এর একটি গ্রুপকে পেয়ার বলে। চারটি সংলগ্ন 1-এর একটি গ্রুপকে কোয়াড বলে। আটটি সংলগ্ন 1-এর একটি গ্রুপকে অক্টেট বলে। এই 1-গুলিকে গ্রুপ করা বুলিয়ান এক্সপ্রেশনকে সরল করতে সহায়তা করে।

39. The number of flip-flops required to build a MOD-12 counter is:
একটি MOD-12 কাউন্টার তৈরি করতে প্রয়োজনীয় ফ্লিপ-ফ্লপের সংখ্যা হলো:

  1. 3
  2. 4
  3. 12
  4. 5

Correct Answer: b) 4

Explanation: To find the number of flip-flops (n) for a counter with modulus N, we use the formula 2^n ≥ N. We need 2^n to be greater than or equal to 12. If n=3, 2^3 = 8 (not enough). If n=4, 2^4 = 16 (sufficient). So, 4 flip-flops are required.
ব্যাখ্যা: মডিউলাস N সহ একটি কাউন্টারের জন্য ফ্লিপ-ফ্লপের সংখ্যা (n) খুঁজে পেতে, আমরা 2^n ≥ N সূত্রটি ব্যবহার করি। আমাদের 2^n এর মান 12-এর চেয়ে বড় বা সমান হতে হবে। যদি n=3, 2^3 = 8 (যথেষ্ট নয়)। যদি n=4, 2^4 = 16 (যথেষ্ট)। সুতরাং, ৪টি ফ্লিপ-ফ্লপ প্রয়োজন।

40. The D flip-flop is a modified version of which flip-flop?
D ফ্লিপ-ফ্লপ কোন ফ্লিপ-ফ্লপের একটি পরিবর্তিত সংস্করণ?

  1. JK Flip-Flop
  2. T Flip-Flop
  3. SR Flip-Flop
  4. Master-Slave Flip-Flop

Correct Answer: c) SR Flip-Flop

Explanation: A D (Data or Delay) flip-flop can be created from an SR flip-flop by connecting the S input to the D input and the R input to the D input through an inverter (NOT gate). This ensures that S and R are never HIGH at the same time, thus avoiding the forbidden state.
ব্যাখ্যা: একটি D (ডেটা বা ডিলে) ফ্লিপ-ফ্লপ একটি SR ফ্লিপ-ফ্লপ থেকে তৈরি করা যায়, S ইনপুটকে D ইনপুটের সাথে এবং R ইনপুটকে একটি ইনভার্টার (NOT গেট) এর মাধ্যমে D ইনপুটের সাথে সংযুক্ত করে। এটি নিশ্চিত করে যে S এবং R একই সাথে HIGH হবে না, ফলে নিষিদ্ধ অবস্থা এড়ানো যায়।

41. What is the binary equivalent of the decimal number 27?
দশমিক সংখ্যা 27-এর বাইনারি সমতুল্য কী?

  1. 11011
  2. 10111
  3. 11101
  4. 11001

Correct Answer: a) 11011

Explanation: To convert decimal 27 to binary: 16 + 8 + 0 + 2 + 1 = 27. This corresponds to the binary places: (1 * 2^4) + (1 * 2^3) + (0 * 2^2) + (1 * 2^1) + (1 * 2^0) = 11011.
ব্যাখ্যা: দশমিক 27-কে বাইনারিতে রূপান্তর করতে: 16 + 8 + 0 + 2 + 1 = 27। এটি বাইনারি স্থানগুলির সাথে মিলে যায়: (1 * 2^4) + (1 * 2^3) + (0 * 2^2) + (1 * 2^1) + (1 * 2^0) = 11011।

42. A Full Adder’s CARRY output expression is:
একটি ফুল অ্যাডারের CARRY আউটপুটের এক্সপ্রেশন হলো:

  1. A ⊕ B ⊕ Cin
  2. AB + BCin + ACin
  3. A + B + Cin
  4. (A + B)Cin

Correct Answer: b) AB + BCin + ACin

Explanation: For a full adder with inputs A, B, and Cin (Carry-in), the Carry-out is generated if at least two of the inputs are HIGH. The Boolean expression for this is C_out = AB + (A ⊕ B)Cin, which simplifies to AB + BCin + ACin.
ব্যাখ্যা: A, B এবং Cin (ক্যারি-ইন) ইনপুট সহ একটি ফুল অ্যাডারের জন্য, যদি কমপক্ষে দুটি ইনপুট HIGH থাকে তবে ক্যারি-আউট তৈরি হয়। এর জন্য বুলিয়ান এক্সপ্রেশন হলো C_out = AB + (A ⊕ B)Cin, যা সরল করে AB + BCin + ACin হয়।

43. The Boolean law A + A’B = A + B is known as:
A + A’B = A + B বুলিয়ান আইনটি কী নামে পরিচিত?

  1. Commutative Law / কমুটেটিভ আইন
  2. Associative Law / অ্যাসোসিয়েটিভ আইন
  3. Distributive Law / ডিস্ট্রিবিউটিভ আইন
  4. Adjacency/Absorption Law / অ্যাডজাসেন্সি/অ্যাবসর্পশন আইন

Correct Answer: d) Adjacency/Absorption Law

Explanation: This is a form of the absorption or redundancy law. It can be proven: A + A’B = (A + A’)(A + B) = 1 * (A + B) = A + B. It simplifies the expression by removing the redundant term.
ব্যাখ্যা: এটি অ্যাবসর্পশন বা রিডানডেন্সি আইনের একটি রূপ। এটি প্রমাণ করা যায়: A + A’B = (A + A’)(A + B) = 1 * (A + B) = A + B। এটি অপ্রয়োজনীয় পদটি অপসারণ করে এক্সপ্রেশনটিকে সরল করে।

44. A ring counter is a type of:
একটি রিং কাউন্টার হলো এক ধরনের:

  1. Asynchronous counter / অ্যাসিনক্রোনাস কাউন্টার
  2. Shift register / শিফট রেজিস্টার
  3. Arithmetic circuit / অ্যারিথমেটিক সার্কিট
  4. Decoder / ডিকোডার

Correct Answer: b) Shift register

Explanation: A ring counter is a circular shift register where the output of the last flip-flop is connected to the input of the first flip-flop. It circulates a single bit (or a pattern of bits) around the loop.
ব্যাখ্যা: একটি রিং কাউন্টার হলো একটি বৃত্তাকার শিফট রেজিস্টার যেখানে শেষ ফ্লিপ-ফ্লপের আউটপুট প্রথম ফ্লিপ-ফ্লপের ইনপুটের সাথে সংযুক্ত থাকে। এটি লুপের চারপাশে একটি একক বিট (বা বিটের একটি প্যাটার্ন) ঘোরাতে থাকে।

45. A 4-bit parallel-in, serial-out (PISO) shift register requires how many clock pulses to serially shift out all the data?
একটি ৪-বিট প্যারালাল-ইন, সিরিয়াল-আউট (PISO) শিফট রেজিস্টারের সমস্ত ডেটা সিরিয়ালি শিফট আউট করতে কতগুলি ক্লক পালস প্রয়োজন?

  1. 1
  2. 4
  3. 3
  4. 8

Correct Answer: c) 3

Explanation: The data is loaded in parallel with a single load pulse (or in one clock cycle). To shift out the 4 bits serially, one bit is already at the output. You need 3 more clock pulses to shift out the remaining 3 bits. (Some interpretations might say 4 if counting from an initial state, but typically it’s n-1 shifts after parallel load).
ব্যাখ্যা: ডেটা একটি একক লোড পালস দ্বারা (বা একটি ক্লক সাইকেলে) প্যারালালি লোড করা হয়। ৪-বিট ডেটা সিরিয়ালি শিফট আউট করতে, একটি বিট ইতিমধ্যেই আউটপুটে থাকে। বাকি ৩টি বিট শিফট আউট করার জন্য আরও ৩টি ক্লক পালস প্রয়োজন। (কিছু ব্যাখ্যায় ৪ বলা হতে পারে যদি প্রাথমিক অবস্থা থেকে গণনা করা হয়, তবে সাধারণত প্যারালাল লোডের পরে n-1 শিফট লাগে)।

46. The characteristic equation of a D flip-flop is:
একটি D ফ্লিপ-ফ্লপের ক্যারেক্টারিস্টিক ইকুয়েশন হলো:

  1. Q(n+1) = D
  2. Q(n+1) = D’
  3. Q(n+1) = Q(n)
  4. Q(n+1) = D ⊕ Q(n)

Correct Answer: a) Q(n+1) = D

Explanation: The characteristic equation describes the next state (Q(n+1)) in terms of the current state (Q(n)) and the inputs. For a D flip-flop, the next state is simply the value of the D input at the time of the clock edge. The current state Q(n) has no influence on the next state.
ব্যাখ্যা: ক্যারেক্টারিস্টিক ইকুয়েশন পরবর্তী অবস্থা (Q(n+1)) কে বর্তমান অবস্থা (Q(n)) এবং ইনপুটের সাপেক্ষে বর্ণনা করে। একটি D ফ্লিপ-ফ্লপের জন্য, পরবর্তী অবস্থাটি ক্লক এজের সময় D ইনপুটের মানের সমান হয়। বর্তমান অবস্থা Q(n) এর পরবর্তী অবস্থার উপর কোনো প্রভাব নেই।

47. An 8×1 multiplexer has how many data inputs?
একটি 8×1 মাল্টিপ্লেক্সারের কতগুলি ডেটা ইনপুট থাকে?

  1. 1
  2. 3
  3. 8
  4. 2^8

Correct Answer: c) 8

Explanation: In the notation “m x n” for a multiplexer, ‘m’ represents the number of data input lines and ‘n’ represents the number of output lines. So, an 8×1 MUX has 8 data inputs and 1 output.
ব্যাখ্যা: একটি মাল্টিপ্লেক্সারের “m x n” স্বরলিপিতে, ‘m’ ডেটা ইনপুট লাইনের সংখ্যা এবং ‘n’ আউটপুট লাইনের সংখ্যাকে প্রতিনিধিত্ব করে। সুতরাং, একটি 8×1 MUX-এর ৮টি ডেটা ইনপুট এবং ১টি আউটপুট থাকে।

48. Which of the following is not a sequential circuit?
নিচের কোনটি সিকুয়েন্সিয়াল সার্কিট নয়?

  1. Counter / কাউন্টার
  2. Flip-Flop / ফ্লিপ-ফ্লপ
  3. Register / রেজিস্টার
  4. Full Adder / ফুল অ্যাডার

Correct Answer: d) Full Adder

Explanation: A Full Adder is a combinational circuit. Its output depends only on its present inputs (A, B, Cin). Counters, flip-flops, and registers are all sequential circuits because they have memory and their output depends on both present inputs and their past state.
ব্যাখ্যা: একটি ফুল অ্যাডার একটি কম্বিনেশনাল সার্কিট। এর আউটপুট শুধুমাত্র তার বর্তমান ইনপুটের (A, B, Cin) উপর নির্ভর করে। কাউন্টার, ফ্লিপ-ফ্লপ এবং রেজিস্টার সবই সিকুয়েন্সিয়াল সার্কিট কারণ তাদের মেমরি আছে এবং তাদের আউটপুট বর্তমান ইনপুট এবং তাদের পূর্ববর্তী অবস্থা উভয়ের উপর নির্ভর করে।

49. A quad in a K-map eliminates how many variables?
একটি K-ম্যাপে একটি কোয়াড কতগুলি ভেরিয়েবল দূর করে?

  1. 1
  2. 2
  3. 3
  4. 4

Correct Answer: b) 2

Explanation: In a K-map, grouping 2^n cells eliminates ‘n’ variables. – A pair (2^1 = 2 cells) eliminates 1 variable. – A quad (2^2 = 4 cells) eliminates 2 variables. – An octet (2^3 = 8 cells) eliminates 3 variables.
ব্যাখ্যা: একটি K-ম্যাপে, 2^n সেল গ্রুপ করলে ‘n’ সংখ্যক ভেরিয়েবল দূর হয়। – একটি পেয়ার (2^1 = 2 সেল) ১টি ভেরিয়েবল দূর করে। – একটি কোয়াড (2^2 = 4 সেল) ২টি ভেরিয়েবল দূর করে। – একটি অক্টেট (2^3 = 8 সেল) ৩টি ভেরিয়েবল দূর করে।

50. The logic expression Y = A’B + AB’ represents which gate?
Y = A’B + AB’ লজিক এক্সপ্রেশনটি কোন গেটকে প্রতিনিধিত্ব করে?

  1. AND
  2. OR
  3. XOR
  4. XNOR

Correct Answer: c) XOR

Explanation: This is the standard Sum-of-Products (SOP) expression for the Exclusive-OR (XOR) gate. The output Y is HIGH only when the inputs A and B are different.
ব্যাখ্যা: এটি এক্সক্লুসিভ-অর (XOR) গেটের জন্য স্ট্যান্ডার্ড সাম-অফ-প্রোডাক্টস (SOP) এক্সপ্রেশন। আউটপুট Y শুধুমাত্র তখনই HIGH হয় যখন ইনপুট A এবং B ভিন্ন হয়।

51. What is the main disadvantage of a ripple counter?
একটি রিপল কাউন্টারের প্রধান অসুবিধা কী?

  1. High power consumption / উচ্চ শক্তি খরচ
  2. Slow speed due to propagation delay / প্রসারণ বিলম্বের কারণে ধীর গতি
  3. Complex circuitry / জটিল সার্কিট্রি
  4. High cost / উচ্চ মূল্য

Correct Answer: b) Slow speed due to propagation delay

Explanation: In a ripple (asynchronous) counter, the clock input of a flip-flop is triggered by the output of the preceding flip-flop. This causes a delay that accumulates through the stages, known as propagation delay, making it slower than a synchronous counter where all flip-flops are clocked simultaneously.
ব্যাখ্যা: একটি রিপল (অ্যাসিনক্রোনাস) কাউন্টারে, একটি ফ্লিপ-ফ্লপের ক্লক ইনপুট পূর্ববর্তী ফ্লিপ-ফ্লপের আউটপুট দ্বারা ট্রিগার হয়। এটি একটি বিলম্ব ঘটায় যা পর্যায়গুলির মাধ্যমে জমা হয়, যা প্রসারণ বিলম্ব (propagation delay) নামে পরিচিত। এটি এটিকে একটি সিনক্রোনাস কাউন্টারের চেয়ে ধীর করে তোলে, যেখানে সমস্ত ফ্লিপ-ফ্লপ একযোগে ক্লক করা হয়।

52. A logic circuit whose output is HIGH if the number of 1s in the input is odd is:
একটি লজিক সার্কিট যার আউটপুট HIGH হবে যদি ইনপুটে 1-এর সংখ্যা বিজোড় হয়, সেটি হলো:

  1. AND gate
  2. NAND gate
  3. XOR gate / Parity Checker / এক্সক্লুসিভ-অর গেট / প্যারিটি চেকার
  4. OR gate

Correct Answer: c) XOR gate / Parity Checker

Explanation: An XOR gate acts as an odd-1s detector or an odd parity checker. For two inputs, the output is 1 if one input is 1. For multiple inputs, the final output is 1 if there is an odd number of 1s across all inputs.
ব্যাখ্যা: একটি XOR গেট একটি বিজোড়-1s ডিটেক্টর বা একটি বিজোড় প্যারিটি চেকার হিসাবে কাজ করে। দুটি ইনপুটের জন্য, আউটপুট 1 হয় যদি একটি ইনপুট 1 হয়। একাধিক ইনপুটের জন্য, চূড়ান্ত আউটপুট 1 হয় যদি সমস্ত ইনপুটে বিজোড় সংখ্যক 1 থাকে।

53. The complement of the expression Y = AB + C’D is:
Y = AB + C’D এক্সপ্রেশনটির পরিপূরক (complement) হলো:

  1. (A’+B’)(C+D’)
  2. (A+B)(C’+D)
  3. (A’+B’)+(C+D’)
  4. AB’ + C’D

Correct Answer: a) (A’+B’)(C+D’)

Explanation: To find the complement Y’, we apply De Morgan’s theorem. Y’ = (AB + C’D)’ First, break the main ‘+’ sign: Y’ = (AB)’ . (C’D)’ Then, break the ‘.’ signs: Y’ = (A’ + B’) . (C” + D’) Since C” = C, the final result is: Y’ = (A’ + B’) . (C + D’).
ব্যাখ্যা: পরিপূরক Y’ খুঁজে পেতে, আমরা ডি মরগ্যানের উপপাদ্য প্রয়োগ করি। Y’ = (AB + C’D)’ প্রথমে, প্রধান ‘+’ চিহ্নটি ভাঙুন: Y’ = (AB)’ . (C’D)’ তারপর, ‘.’ চিহ্নগুলি ভাঙুন: Y’ = (A’ + B’) . (C” + D’) যেহেতু C” = C, চূড়ান্ত ফলাফল হলো: Y’ = (A’ + B’) . (C + D’)।

54. A T flip-flop can be created by connecting the inputs of which flip-flop together?
কোন ফ্লিপ-ফ্লপের ইনপুটগুলিকে একসাথে সংযুক্ত করে একটি T ফ্লিপ-ফ্লপ তৈরি করা যায়?

  1. SR Flip-Flop
  2. D Flip-Flop
  3. JK Flip-Flop
  4. Master-Slave Flip-Flop

Correct Answer: c) JK Flip-Flop

Explanation: A T (Toggle) flip-flop is created by shorting the J and K inputs of a JK flip-flop. The common input becomes the T input. When T=0, the flip-flop holds its state. When T=1, it toggles.
ব্যাখ্যা: একটি T (টগল) ফ্লিপ-ফ্লপ একটি JK ফ্লিপ-ফ্লপের J এবং K ইনপুটগুলিকে একসাথে শর্ট করে তৈরি করা হয়। সাধারণ ইনপুটটি T ইনপুট হয়ে যায়। যখন T=0, ফ্লিপ-ফ্লপ তার অবস্থা ধরে রাখে। যখন T=1, এটি টগল করে।

55. Which component is NOT a part of a sequential logic circuit?
কোন উপাদানটি একটি সিকুয়েন্সিয়াল লজিক সার্কিটের অংশ নয়?

  1. Clock generator / ক্লক জেনারেটর
  2. Memory element (Flip-flop) / মেমরি উপাদান (ফ্লিপ-ফ্লপ)
  3. Combinational logic circuit / কম্বিনেশনাল লজিক সার্কিট
  4. Power supply only / শুধুমাত্র পাওয়ার সাপ্লাই

Correct Answer: d) Power supply only

Explanation: A general model of a sequential circuit consists of a combinational logic section and a memory section (flip-flops). A clock signal is also essential for synchronous sequential circuits. A power supply is required for any electronic circuit to function, but it is not considered a logical component of the circuit model itself.
ব্যাখ্যা: একটি সিকুয়েন্সিয়াল সার্কিটের সাধারণ মডেলে একটি কম্বিনেশনাল লজিক বিভাগ এবং একটি মেমরি বিভাগ (ফ্লিপ-ফ্লপ) থাকে। সিনক্রোনাস সিকুয়েন্সিয়াল সার্কিটের জন্য একটি ক্লক সিগন্যালও অপরিহার্য। যেকোনো ইলেকট্রনিক সার্কিটের কাজ করার জন্য একটি পাওয়ার সাপ্লাই প্রয়োজন, তবে এটি সার্কিট মডেলের একটি যৌক্তিক উপাদান হিসাবে বিবেচিত হয় না।

56. How many full adders are required to construct an n-bit parallel adder?
একটি n-বিট প্যারালাল অ্যাডার তৈরি করতে কতগুলি ফুল অ্যাডার প্রয়োজন?

  1. n-1
  2. n
  3. n+1
  4. 2n

Correct Answer: b) n

Explanation: An n-bit parallel adder is designed to add two n-bit binary numbers. It consists of ‘n’ full adders connected in cascade. Each full adder adds one pair of corresponding bits along with the carry from the previous stage. (Sometimes, the LSB stage uses a half adder if there’s no initial carry-in, but the most general design uses ‘n’ full adders).
ব্যাখ্যা: একটি n-বিট প্যারালাল অ্যাডার দুটি n-বিট বাইনারি সংখ্যা যোগ করার জন্য ডিজাইন করা হয়েছে। এটি ক্যাসকেডে সংযুক্ত ‘n’ সংখ্যক ফুল অ্যাডার নিয়ে গঠিত। প্রতিটি ফুল অ্যাডার পূর্ববর্তী পর্যায় থেকে আসা ক্যারির সাথে সংশ্লিষ্ট বিটের এক জোড়া যোগ করে। (কখনও কখনও, LSB পর্যায়ে একটি হাফ অ্যাডার ব্যবহৃত হয় যদি কোনো প্রাথমিক ক্যারি-ইন না থাকে, তবে সবচেয়ে সাধারণ ডিজাইনে ‘n’ সংখ্যক ফুল অ্যাডার ব্যবহার করা হয়)।

57. A 2-to-4 line decoder with an enable input can function as a:
একটি এনাবল ইনপুট সহ একটি 2-to-4 লাইন ডিকোডার কী হিসাবে কাজ করতে পারে?

  1. Multiplexer / মাল্টিপ্লেক্সার
  2. Encoder / এনকোডার
  3. Demultiplexer / ডিমাল্টিপ্লেক্সার
  4. Shift Register / শিফট রেজিস্টার

Correct Answer: c) Demultiplexer

Explanation: A decoder with an enable input can be used as a demultiplexer. The decoder’s regular inputs (A, B) act as the select lines of the demultiplexer, and the decoder’s enable input acts as the data input line of the demultiplexer. The decoder’s outputs become the demultiplexer’s outputs.
ব্যাখ্যা: একটি এনাবল ইনপুট সহ একটি ডিকোডারকে ডিমাল্টিপ্লেক্সার হিসাবে ব্যবহার করা যেতে পারে। ডিকোডারের নিয়মিত ইনপুটগুলি (A, B) ডিমাল্টিপ্লেক্সারের সিলেক্ট লাইন হিসাবে কাজ করে এবং ডিকোডারের এনাবল ইনপুট ডিমাল্টিপ্লেক্সারের ডেটা ইনপুট লাইন হিসাবে কাজ করে। ডিকোডারের আউটপুটগুলি ডিমাল্টিপ্লেক্সারের আউটপুট হয়ে যায়।

58. The Boolean expression for the output of an XNOR gate is:
একটি XNOR গেটের আউটপুটের জন্য বুলিয়ান এক্সপ্রেশন হলো:

  1. A’B + AB’
  2. (A+B)(A’+B’)
  3. AB + A’B’
  4. (A+B’)’

Correct Answer: c) AB + A’B’

Explanation: The XNOR gate produces a HIGH output when both inputs are the same. This occurs when both are HIGH (A.B) OR both are LOW (A’.B’). So, the expression is AB + A’B’. It is the complement of the XOR gate.
ব্যাখ্যা: XNOR গেট একটি HIGH আউটপুট তৈরি করে যখন উভয় ইনপুট একই থাকে। এটি ঘটে যখন উভয়ই HIGH (A.B) অথবা উভয়ই LOW (A’.B’) হয়। সুতরাং, এক্সপ্রেশনটি হলো AB + A’B’। এটি XOR গেটের পরিপূরক।

59. A Johnson counter is also known as a:
একটি জনসন কাউন্টারকে আর কী বলা হয়?

  1. Ring Counter / রিং কাউন্টার
  2. Twisted Ring Counter / টুইস্টেড রিং কাউন্টার
  3. Ripple Counter / রিপল কাউন্টার
  4. Decade Counter / ডিকেড কাউন্টার

Correct Answer: b) Twisted Ring Counter

Explanation: A Johnson counter is a modified ring counter where the inverted output of the last flip-flop is connected to the input of the first flip-flop. This “twist” in the feedback path gives it its name and allows an n-bit counter to have 2n states.
ব্যাখ্যা: একটি জনসন কাউন্টার হলো একটি পরিবর্তিত রিং কাউন্টার যেখানে শেষ ফ্লিপ-ফ্লপের ইনভার্টেড আউটপুটটি প্রথম ফ্লিপ-ফ্লপের ইনপুটের সাথে সংযুক্ত থাকে। ফিডব্যাক পাথের এই “টুইস্ট” এটিকে এর নাম দেয় এবং একটি n-বিট কাউন্টারকে 2n সংখ্যক অবস্থা পেতে দেয়।

60. Which logic family is known for its very low power consumption?
কোন লজিক ফ্যামিলি তার খুব কম শক্তি খরচের জন্য পরিচিত?

  1. TTL (Transistor-Transistor Logic)
  2. ECL (Emitter-Coupled Logic)
  3. CMOS (Complementary Metal-Oxide-Semiconductor)
  4. RTL (Resistor-Transistor Logic)

Correct Answer: c) CMOS

Explanation: CMOS technology uses complementary pairs of p-type and n-type MOSFETs for logic functions. It has significantly lower static power consumption compared to other logic families like TTL and ECL, making it ideal for battery-powered devices and large-scale integrated circuits.
ব্যাখ্যা: CMOS প্রযুক্তি লজিক ফাংশনের জন্য p-টাইপ এবং n-টাইপ MOSFET-এর পরিপূরক জোড়া ব্যবহার করে। TTL এবং ECL-এর মতো অন্যান্য লজিক ফ্যামিলির তুলনায় এর স্ট্যাটিক পাওয়ার খরচ উল্লেখযোগ্যভাবে কম, যা এটিকে ব্যাটারি চালিত ডিভাইস এবং বড় মাপের ইন্টিগ্রেটেড সার্কিটের জন্য আদর্শ করে তোলে।

61. The 2’s complement of the binary number 10110 is:
10110 বাইনারি সংখ্যার 2’s কমপ্লিমেন্ট হলো:

  1. 01001
  2. 01010
  3. 01011
  4. 10111

Correct Answer: b) 01010

Explanation: First, find the 1’s complement by inverting all bits: 10110 -> 01001. Then, add 1 to the 1’s complement: 01001 + 1 = 01010. This is the 2’s complement.
ব্যাখ্যা: প্রথমে, সমস্ত বিট উল্টিয়ে 1’s কমপ্লিমেন্ট খুঁজুন: 10110 -> 01001। তারপর, 1’s কমপ্লিমেন্টের সাথে 1 যোগ করুন: 01001 + 1 = 01010। এটিই 2’s কমপ্লিমেন্ট।

62. A latch is a level-sensitive device, while a flip-flop is a(n) _________ sensitive device.
একটি ল্যাচ হলো একটি লেভেল-সেনসিটিভ ডিভাইস, যেখানে একটি ফ্লিপ-ফ্লপ হলো একটি _________ সেনসিটিভ ডিভাইস।

  1. Edge / এজ
  2. Voltage / ভোল্টেজ
  3. Current / কারেন্ট
  4. Frequency / ফ্রিকোয়েন্সি

Correct Answer: a) Edge

Explanation: Latches change their output state as long as the control signal (enable) is at a certain level (HIGH or LOW). Flip-flops are edge-triggered, meaning they only change their state at the moment the clock signal transitions from LOW to HIGH (rising edge) or HIGH to LOW (falling edge).
ব্যাখ্যা: ল্যাচগুলি তাদের আউটপুট অবস্থা পরিবর্তন করে যতক্ষণ পর্যন্ত কন্ট্রোল সিগন্যাল (এনাবল) একটি নির্দিষ্ট লেভেলে (HIGH বা LOW) থাকে। ফ্লিপ-ফ্লপগুলি এজ-ট্রিগারড, যার অর্থ তারা কেবল তখনই তাদের অবস্থা পরিবর্তন করে যখন ক্লক সিগন্যালটি LOW থেকে HIGH (রাইজিং এজ) বা HIGH থেকে LOW (ফলিং এজ) এ রূপান্তরিত হয়।

63. How many combinations of inputs are there in a truth table for a 5-input logic gate?
একটি ৫-ইনপুট লজিক গেটের ট্রুথ টেবিলে ইনপুটের কতগুলি সংমিশ্রণ (combination) থাকে?

  1. 5
  2. 10
  3. 25
  4. 32

Correct Answer: d) 32

Explanation: For a logic circuit with ‘n’ inputs, the truth table will have 2^n possible input combinations. For 5 inputs, there are 2^5 = 32 combinations.
ব্যাখ্যা: ‘n’ সংখ্যক ইনপুট সহ একটি লজিক সার্কিটের জন্য, ট্রুথ টেবিলে 2^n সংখ্যক সম্ভাব্য ইনপুট সংমিশ্রণ থাকবে। ৫টি ইনপুটের জন্য, 2^5 = 32টি সংমিশ্রণ রয়েছে।

64. A universal shift register can perform which operations?
একটি ইউনিভার্সাল শিফট রেজিস্টার কোন অপারেশনগুলি সম্পাদন করতে পারে?

  1. Shift left, shift right / বামে শিফট, ডানে শিফট
  2. Parallel load / প্যারালাল লোড
  3. Hold (no change) / হোল্ড (কোনো পরিবর্তন নেই)
  4. All of the above / উপরের সবগুলো

Correct Answer: d) All of the above

Explanation: A universal shift register is a highly versatile register that, controlled by mode inputs, can perform multiple operations: shift left, shift right, parallel load of data, and holding the current data without change.
ব্যাখ্যা: একটি ইউনিভার্সাল শিফট রেজিস্টার একটি অত্যন্ত বহুমুখী রেজিস্টার যা মোড ইনপুট দ্বারা নিয়ন্ত্রিত হয়ে একাধিক অপারেশন সম্পাদন করতে পারে: বামে শিফট, ডানে শিফট, ডেটার প্যারালাল লোড এবং পরিবর্তন ছাড়াই বর্তমান ডেটা ধরে রাখা।

65. The term ‘fan-out’ refers to:
‘ফ্যান-আউট’ শব্দটি বলতে বোঝায়:

  1. The number of inputs a gate can handle / একটি গেট যতগুলি ইনপুট পরিচালনা করতে পারে তার সংখ্যা
  2. The number of gates its output can reliably drive / এর আউটপুট যতগুলি গেটকে নির্ভরযোগ্যভাবে চালাতে পারে তার সংখ্যা
  3. The power dissipation of the gate / গেটের পাওয়ার ডিসিপেশন
  4. The propagation delay of the gate / গেটের প্রসারণ বিলম্ব

Correct Answer: b) The number of gates its output can reliably drive

Explanation: Fan-out is a measure of the maximum number of standard logic inputs (of the same logic family) that the output of a single logic gate can drive without its output voltage levels falling outside the specified limits.
ব্যাখ্যা: ফ্যান-আউট হলো একটি একক লজিক গেটের আউটপুট দ্বারা চালিত হতে পারে এমন স্ট্যান্ডার্ড লজিক ইনপুটের (একই লজিক ফ্যামিলির) সর্বোচ্চ সংখ্যার একটি পরিমাপ, যেখানে আউটপুট ভোল্টেজ লেভেল নির্দিষ্ট সীমার বাইরে যায় না।

66. A Half Subtractor’s Difference (D) output is given by:
একটি হাফ সাবট্রাক্টরের ডিফারেন্স (D) আউটপুট হলো:

  1. A + B
  2. A . B
  3. A ⊕ B
  4. (A . B)’

Correct Answer: c) A ⊕ B

Explanation: The Difference output of a Half Subtractor is the same as the Sum output of a Half Adder, which is A XOR B. The Borrow output is A’B.
ব্যাখ্যা: একটি হাফ সাবট্রাক্টরের ডিফারেন্স আউটপুট একটি হাফ অ্যাডারের সাম আউটপুটের সমান, যা হলো A XOR B। বড়ো (Borrow) আউটপুট হলো A’B।

67. An octal encoder (8-to-3) has how many input lines?
একটি অক্টাল এনকোডারের (8-to-3) কতগুলি ইনপুট লাইন থাকে?

  1. 3
  2. 8
  3. 10
  4. 16

Correct Answer: b) 8

Explanation: An octal encoder converts 8 input lines (representing octal digits 0-7) into a 3-bit binary code. So it has 8 input lines and 3 output lines.
ব্যাখ্যা: একটি অক্টাল এনকোডার ৮টি ইনপুট লাইনকে (অক্টাল ডিজিট ০-৭ প্রতিনিধিত্ব করে) একটি ৩-বিট বাইনারি কোডে রূপান্তরিত করে। সুতরাং এর ৮টি ইনপুট লাইন এবং ৩টি আউটপুট লাইন থাকে।

68. The Boolean function A + 1 equals:
বুলিয়ান ফাংশন A + 1 এর মান:

  1. A
  2. A’
  3. 0
  4. 1

Correct Answer: d) 1

Explanation: In Boolean algebra, ORing any variable with 1 always results in 1. If A=0, 0+1=1. If A=1, 1+1=1. This is a fundamental identity.
ব্যাখ্যা: বুলিয়ান অ্যালজেব্রায়, যেকোনো ভেরিয়েবলকে 1 এর সাথে OR করলে ফলাফল সর্বদা 1 হয়। যদি A=0, 0+1=1। যদি A=1, 1+1=1। এটি একটি মৌলিক অভেদ।

69. The logic gate that is the inverse of an OR gate is the:
OR গেটের বিপরীত লজিক গেটটি হলো:

  1. NAND gate
  2. NOR gate
  3. XOR gate
  4. AND gate

Correct Answer: b) NOR gate

Explanation: A NOR gate is functionally an OR gate followed by an inverter (NOT gate). Its truth table is the exact complement of an OR gate’s truth table.
ব্যাখ্যা: একটি NOR গেট কার্যকরীভাবে একটি OR গেট এবং তারপরে একটি ইনভার্টার (NOT গেট) এর সমন্বয়ে গঠিত। এর ট্রুথ টেবিল একটি OR গেটের ট্রুথ টেবিলের ঠিক পরিপূরক।

70. An asynchronous counter’s operation speed is limited by:
একটি অ্যাসিনক্রোনাস কাউন্টারের কার্যকারিতার গতি সীমাবদ্ধ থাকে কিসের দ্বারা?

  1. The clock frequency only / শুধুমাত্র ক্লক ফ্রিকোয়েন্সি
  2. The number of flip-flops only / শুধুমাত্র ফ্লিপ-ফ্লপের সংখ্যা
  3. The cumulative propagation delay / সামগ্রিক প্রসারণ বিলম্ব (propagation delay)
  4. The fan-in of the gates / গেটগুলির ফ্যান-ইন

Correct Answer: c) The cumulative propagation delay

Explanation: The total time it takes for a change to ripple through all the flip-flops in an asynchronous counter is the sum of the individual propagation delays. This cumulative delay limits the maximum frequency at which the counter can operate correctly.
ব্যাখ্যা: একটি অ্যাসিনক্রোনাস কাউন্টারের সমস্ত ফ্লিপ-ফ্লপের মধ্যে একটি পরিবর্তন ছড়িয়ে পড়তে যে মোট সময় লাগে তা হলো স্বতন্ত্র প্রসারণ বিলম্বগুলির যোগফল। এই সামগ্রিক বিলম্ব কাউন্টারটির সর্বোচ্চ সঠিক কার্যকারী ফ্রিকোয়েন্সিকে সীমাবদ্ধ করে।

71. The characteristic equation of a T flip-flop is:
একটি T ফ্লিপ-ফ্লপের ক্যারেক্টারিস্টিক ইকুয়েশন হলো:

  1. Q(n+1) = T
  2. Q(n+1) = T’Q(n)
  3. Q(n+1) = TQ'(n) + T’Q(n)
  4. Q(n+1) = Q(n)

Correct Answer: c) Q(n+1) = TQ'(n) + T’Q(n)

Explanation: This expression is equivalent to T ⊕ Q(n). If T=0, Q(n+1) = 0*Q'(n) + 1*Q(n) = Q(n) (hold state). If T=1, Q(n+1) = 1*Q'(n) + 0*Q(n) = Q'(n) (toggle state).
ব্যাখ্যা: এই এক্সপ্রেশনটি T ⊕ Q(n) এর সমতুল্য। যদি T=0 হয়, Q(n+1) = 0*Q'(n) + 1*Q(n) = Q(n) (হোল্ড অবস্থা)। যদি T=1 হয়, Q(n+1) = 1*Q'(n) + 0*Q(n) = Q'(n) (টগল অবস্থা)।

72. A multiplexer can be used to implement:
একটি মাল্টিপ্লেক্সার ব্যবহার করে বাস্তবায়ন করা যেতে পারে:

  1. Any combinational logic function / যেকোনো কম্বিনেশনাল লজিক ফাংশন
  2. Only simple AND/OR functions / শুধুমাত্র সাধারণ AND/OR ফাংশন
  3. Only sequential circuits / শুধুমাত্র সিকুয়েন্সিয়াল সার্কিট
  4. Only adders and subtractors / শুধুমাত্র অ্যাডার এবং সাবট্রাক্টর

Correct Answer: a) Any combinational logic function

Explanation: A multiplexer is a universal logic element. Any Boolean function of ‘n’ variables can be implemented using a 2^(n-1)-to-1 multiplexer. The variables are connected to the select lines and data inputs are tied to 0, 1, or one of the variables or its complement.
ব্যাখ্যা: একটি মাল্টিপ্লেক্সার একটি সার্বজনীন লজিক উপাদান। ‘n’ ভেরিয়েবলের যেকোনো বুলিয়ান ফাংশন একটি 2^(n-1)-to-1 মাল্টিপ্লেক্সার ব্যবহার করে বাস্তবায়ন করা যায়। ভেরিয়েবলগুলি সিলেক্ট লাইনের সাথে সংযুক্ত থাকে এবং ডেটা ইনপুটগুলি 0, 1, বা ভেরিয়েবলগুলির একটি বা তার পরিপূরকের সাথে সংযুক্ত করা হয়।

73. The base of the hexadecimal number system is:
হেক্সাডেসিমেল সংখ্যা পদ্ধতির ভিত্তি (base) হলো:

  1. 2
  2. 8
  3. 10
  4. 16

Correct Answer: d) 16

Explanation: The hexadecimal system uses 16 distinct symbols: 0-9 and A-F. ‘A’ represents decimal 10, ‘B’ is 11, up to ‘F’ which is 15.
ব্যাখ্যা: হেক্সাডেসিমেল পদ্ধতিতে ১৬টি স্বতন্ত্র প্রতীক ব্যবহৃত হয়: ০-৯ এবং A-F। ‘A’ দশমিক ১০, ‘B’ হলো ১১, এভাবে ‘F’ পর্যন্ত যা ১৫ কে প্রতিনিধিত্ব করে।

74. In a 4-variable K-map, a grouping of 8 adjacent cells (an octet) results in a term with how many literals?
একটি ৪-ভেরিয়েবল K-ম্যাপে, ৮টি সংলগ্ন সেলের একটি গ্রুপ (একটি অক্টেট) কতগুলি লিটারেল (literal) সহ একটি টার্ম তৈরি করে?

  1. 1
  2. 2
  3. 3
  4. 4

Correct Answer: a) 1

Explanation: An octet (a group of 8) in a 4-variable K-map eliminates 3 variables. The remaining simplified term will have 4 – 3 = 1 literal.
ব্যাখ্যা: একটি ৪-ভেরিয়েবল K-ম্যাপে একটি অক্টেট (৮টির গ্রুপ) ৩টি ভেরিয়েবল দূর করে। অবশিষ্ট সরলীকৃত টার্মটিতে ৪ – ৩ = ১টি লিটারেল থাকবে।

75. What is the state of a JK flip-flop if J=0, K=1?
যদি J=0, K=1 হয়, তাহলে একটি JK ফ্লিপ-ফ্লপের অবস্থা কী হবে?

  1. Set (Q=1) / সেট (Q=1)
  2. Reset (Q=0) / রিসেট (Q=0)
  3. Toggle / টগল
  4. No Change / কোনো পরিবর্তন নেই

Correct Answer: b) Reset (Q=0)

Explanation: When J=0 and K=1, the flip-flop is in the Reset state. Upon the next clock pulse, the output Q will be forced to 0, regardless of its previous state.
ব্যাখ্যা: যখন J=0 এবং K=1 হয়, তখন ফ্লিপ-ফ্লপটি রিসেট অবস্থায় থাকে। পরবর্তী ক্লক পালসে, আউটপুট Q তার পূর্ববর্তী অবস্থা নির্বিশেষে 0 হয়ে যাবে।

76. The Boolean expression A . 0 equals:
বুলিয়ান এক্সপ্রেশন A . 0 এর মান:

  1. A
  2. 1
  3. 0
  4. A’

Correct Answer: c) 0

Explanation: In Boolean algebra, ANDing any variable with 0 always results in 0. If A=0, 0.0=0. If A=1, 1.0=0. This is the null law.
ব্যাখ্যা: বুলিয়ান অ্যালজেব্রায়, যেকোনো ভেরিয়েবলকে 0 এর সাথে AND করলে ফলাফল সর্বদা 0 হয়। যদি A=0, 0.0=0। যদি A=1, 1.0=0। এটি নাল আইন।

77. A BCD (Binary Coded Decimal) number uses how many bits to represent a decimal digit?
একটি BCD (বাইনারি কোডেড ডেসিমেল) সংখ্যা একটি দশমিক অঙ্ককে উপস্থাপন করতে কতগুলি বিট ব্যবহার করে?

  1. 1
  2. 2
  3. 4
  4. 8

Correct Answer: c) 4

Explanation: BCD represents each decimal digit (0-9) with its corresponding 4-bit binary equivalent. For example, the decimal number 25 is represented in BCD as 0010 0101.
ব্যাখ্যা: BCD প্রতিটি দশমিক অঙ্ককে (০-৯) তার সংশ্লিষ্ট ৪-বিট বাইনারি সমতুল্য দিয়ে উপস্থাপন করে। উদাহরণস্বরূপ, দশমিক সংখ্যা ২৫ BCD-তে 0010 0101 হিসাবে উপস্থাপিত হয়।

78. How many NOR gates are required to implement an AND gate?
একটি AND গেট বাস্তবায়ন করতে কতগুলি NOR গেট প্রয়োজন?

  1. 2
  2. 3
  3. 4
  4. 5

Correct Answer: b) 3

Explanation: To implement A.B using NOR gates: 1. Create A’ with one NOR gate (A NOR A = A’). 2. Create B’ with another NOR gate (B NOR B = B’). 3. NOR the results: (A’ NOR B’) = (A’ + B’)’ = A” . B” = A.B.
ব্যাখ্যা: NOR গেট ব্যবহার করে A.B বাস্তবায়ন করতে: ১. একটি NOR গেট দিয়ে A’ তৈরি করুন (A NOR A = A’)। ২. আরেকটি NOR গেট দিয়ে B’ তৈরি করুন (B NOR B = B’)। ৩. ফলাফলগুলিকে NOR করুন: (A’ NOR B’) = (A’ + B’)’ = A” . B” = A.B।

79. A PIPO register stands for:
PIPO রেজিস্টারের পূর্ণরূপ হলো:

  1. Parallel-In, Progressive-Out
  2. Program-In, Program-Out
  3. Parallel-In, Parallel-Out
  4. Pulse-In, Pulse-Out

Correct Answer: c) Parallel-In, Parallel-Out

Explanation: PIPO stands for Parallel-In, Parallel-Out. In this type of register, data bits are loaded into all flip-flops simultaneously (in parallel) and are also read from all outputs simultaneously (in parallel). It’s primarily used for data storage.
ব্যাখ্যা: PIPO এর পূর্ণরূপ হলো প্যারালাল-ইন, প্যারালাল-আউট। এই ধরনের রেজিস্টারে, ডেটা বিটগুলি সমস্ত ফ্লিপ-ফ্লপে একযোগে (প্যারালালি) লোড করা হয় এবং সমস্ত আউটপুট থেকেও একযোগে (প্যারালালি) পড়া হয়। এটি মূলত ডেটা সংরক্ষণের জন্য ব্যবহৃত হয়।

80. The law A . (B + C) = A.B + A.C is the:
A . (B + C) = A.B + A.C আইনটি হলো:

  1. Commutative law / কমুটেটিভ আইন
  2. Associative law / অ্যাসোসিয়েটিভ আইন
  3. Distributive law / ডিস্ট্রিবিউটিভ আইন
  4. Absorption law / অ্যাবসর্পশন আইন

Correct Answer: c) Distributive law

Explanation: This is the distributive law of Boolean algebra, which states that multiplying a variable by a sum of variables is equivalent to multiplying the variable by each term of the sum and then adding the products.
ব্যাখ্যা: এটি বুলিয়ান অ্যালজেব্রার ডিস্ট্রিবিউটিভ আইন, যা বলে যে একটি ভেরিয়েবলকে ভেরিয়েবলের যোগফলের সাথে গুণ করা, ভেরিয়েবলটিকে যোগফলের প্রতিটি পদের সাথে গুণ করে তারপর গুণফলগুলি যোগ করার সমতুল্য।

81. What is the maximum number of states in an n-bit Johnson counter?
একটি n-বিট জনসন কাউন্টারের সর্বোচ্চ অবস্থার সংখ্যা কত?

  1. n
  2. 2n
  3. 2^n
  4. n-1

Correct Answer: b) 2n

Explanation: Unlike a standard binary counter (2^n states) or a ring counter (n states), a Johnson counter (twisted ring counter) has 2n unique states for n flip-flops.
ব্যাখ্যা: একটি স্ট্যান্ডার্ড বাইনারি কাউন্টার (2^n অবস্থা) বা একটি রিং কাউন্টার (n অবস্থা) এর বিপরীতে, একটি জনসন কাউন্টারের (টুইস্টেড রিং কাউন্টার) n সংখ্যক ফ্লিপ-ফ্লপের জন্য 2n সংখ্যক অনন্য অবস্থা থাকে।

82. The logic 1 in a positive logic system is represented by:
একটি পজিটিভ লজিক সিস্টেমে লজিক 1 প্রতিনিধিত্ব করা হয়:

  1. A lower voltage level / একটি নিম্ন ভোল্টেজ স্তর দ্বারা
  2. A higher voltage level / একটি উচ্চ ভোল্টেজ স্তর দ্বারা
  3. Zero voltage / শূন্য ভোল্টেজ দ্বারা
  4. A negative voltage / একটি ঋণাত্মক ভোল্টেজ দ্বারা

Correct Answer: b) A higher voltage level

Explanation: In positive logic, the more positive of the two voltage levels represents logic 1 (HIGH), and the less positive level represents logic 0 (LOW). For example, +5V for logic 1 and 0V for logic 0.
ব্যাখ্যা: পজিটিভ লজিকে, দুটি ভোল্টেজ স্তরের মধ্যে অধিক ধনাত্মকটি লজিক 1 (HIGH) এবং কম ধনাত্মক স্তরটি লজিক 0 (LOW) প্রতিনিধিত্ব করে। উদাহরণস্বরূপ, লজিক 1-এর জন্য +5V এবং লজিক 0-এর জন্য 0V।

83. The expression A + A’ simplifies to:
A + A’ এক্সপ্রেশনটির সরলীকৃত রূপ হলো:

  1. A
  2. 0
  3. 1
  4. A+1

Correct Answer: c) 1

Explanation: The complement law states that a variable ORed with its complement is always 1. If A=0, 0+1=1. If A=1, 1+0=1.
ব্যাখ্যা: পরিপূরক আইন অনুসারে, একটি ভেরিয়েবলকে তার পরিপূরকের সাথে OR করলে সর্বদা 1 হয়। যদি A=0, 0+1=1। যদি A=1, 1+0=1।

84. A ‘don’t care’ condition in a K-map, represented by ‘X’, can be treated as:
একটি K-ম্যাপে ‘X’ দ্বারা উপস্থাপিত একটি ‘ডোন্ট কেয়ার’ কন্ডিশনকে কী হিসাবে বিবেচনা করা যেতে পারে?

  1. Always 0 / সর্বদা 0
  2. Always 1 / সর্বদা 1
  3. Either 0 or 1, whichever helps simplification / 0 অথবা 1, যা সরলীকরণে সহায়তা করে
  4. An error condition / একটি ত্রুটি অবস্থা

Correct Answer: c) Either 0 or 1, whichever helps simplification

Explanation: ‘Don’t care’ conditions arise from input combinations that will never occur in a circuit. When simplifying using a K-map, we can choose to include a ‘don’t care’ cell in a group (treating it as a 1) if it helps to form a larger group, or exclude it (treating it as a 0) if it doesn’t. This leads to a more minimized expression.
ব্যাখ্যা: ‘ডোন্ট কেয়ার’ কন্ডিশনগুলি এমন ইনপুট সংমিশ্রণ থেকে উদ্ভূত হয় যা একটি সার্কিটে কখনও ঘটবে না। K-ম্যাপ ব্যবহার করে সরলীকরণের সময়, আমরা একটি ‘ডোন্ট কেয়ার’ সেলকে একটি গ্রুপে অন্তর্ভুক্ত করতে পারি (এটিকে 1 হিসাবে বিবেচনা করে) যদি এটি একটি বড় গ্রুপ গঠনে সহায়তা করে, অথবা এটিকে বাদ দিতে পারি (এটিকে 0 হিসাবে বিবেচনা করে) যদি তা না করে। এটি আরও সরলীকৃত এক্সপ্রেশনের দিকে নিয়ে যায়।

85. A full subtractor can be implemented using:
একটি ফুল সাবট্রাক্টর বাস্তবায়ন করা যেতে পারে:

  1. Two half subtractors and an OR gate / দুটি হাফ সাবট্রাক্টর এবং একটি OR গেট
  2. Two half adders and a NOT gate / দুটি হাফ অ্যাডার এবং একটি NOT গেট
  3. Two full adders / দুটি ফুল অ্যাডার
  4. Two half subtractors and an AND gate / দুটি হাফ সাবট্রাক্টর এবং একটি AND গেট

Correct Answer: a) Two half subtractors and an OR gate

Explanation: Similar to how a full adder is built from half adders, a full subtractor can be built from two half subtractors and an OR gate to combine their borrow outputs.
ব্যাখ্যা: যেভাবে একটি ফুল অ্যাডার হাফ অ্যাডার থেকে তৈরি হয়, সেভাবেই একটি ফুল সাবট্রাক্টর দুটি হাফ সাবট্রাক্টর এবং একটি OR গেট ব্যবহার করে তৈরি করা যেতে পারে, যা তাদের বড়ো আউটপুটগুলিকে একত্রিত করে।

86. A logic gate that provides a HIGH output when its inputs are different is the:
একটি লজিক গেট যা তার ইনপুটগুলি ভিন্ন হলে HIGH আউটপুট প্রদান করে, সেটি হলো:

  1. AND gate
  2. XNOR gate
  3. OR gate
  4. XOR gate

Correct Answer: d) XOR gate

Explanation: The Exclusive-OR (XOR) gate is also known as an inequality detector. Its output is HIGH (1) only when its two inputs are not equal.
ব্যাখ্যা: এক্সক্লুসিভ-অর (XOR) গেটটি একটি অসমতা ডিটেক্টর হিসাবেও পরিচিত। এর আউটপুট HIGH (1) হয় শুধুমাত্র যখন এর দুটি ইনপুট সমান নয়।

87. A 4-bit synchronous counter uses how many flip-flops?
একটি ৪-বিট সিনক্রোনাস কাউন্টার কতগুলি ফ্লিপ-ফ্লপ ব্যবহার করে?

  1. 2
  2. 4
  3. 8
  4. 16

Correct Answer: b) 4

Explanation: To store an n-bit binary number, n flip-flops are required. Therefore, a 4-bit counter, whether synchronous or asynchronous, requires 4 flip-flops, one for each bit.
ব্যাখ্যা: একটি n-বিট বাইনারি সংখ্যা সংরক্ষণ করতে n সংখ্যক ফ্লিপ-ফ্লপ প্রয়োজন। অতএব, একটি ৪-বিট কাউন্টার, সিনক্রোনাস হোক বা অ্যাসিনক্রোনাস, ৪টি ফ্লিপ-ফ্লপ প্রয়োজন, প্রতিটি বিটের জন্য একটি।

88. The main purpose of a register is to:
একটি রেজিস্টারের প্রধান উদ্দেশ্য হলো:

  1. Count pulses / পালস গণনা করা
  2. Store binary data / বাইনারি ডেটা সংরক্ষণ করা
  3. Select data / ডেটা নির্বাচন করা
  4. Convert codes / কোড রূপান্তর করা

Correct Answer: b) Store binary data

Explanation: A register is a group of flip-flops used to store a group of bits (a binary word). While counters and shift registers have specialized functions, the fundamental purpose of any register is data storage.
ব্যাখ্যা: একটি রেজিস্টার হলো ফ্লিপ-ফ্লপের একটি গ্রুপ যা বিটের একটি গ্রুপ (একটি বাইনারি শব্দ) সংরক্ষণ করতে ব্যবহৃত হয়। যদিও কাউন্টার এবং শিফট রেজিস্টারের বিশেষ কার্যকারিতা রয়েছে, যেকোনো রেজিস্টারের মৌলিক উদ্দেশ্য হলো ডেটা সংরক্ষণ।

89. The output of a NAND gate is LOW only when:
একটি NAND গেটের আউটপুট LOW হয় শুধুমাত্র যখন:

  1. all inputs are LOW / সমস্ত ইনপুট LOW থাকে
  2. all inputs are HIGH / সমস্ত ইনপুট HIGH থাকে
  3. any input is LOW / যেকোনো একটি ইনপুট LOW থাকে
  4. inputs are different / ইনপুটগুলি ভিন্ন থাকে

Correct Answer: b) all inputs are HIGH

Explanation: A NAND gate is the inverse of an AND gate. An AND gate’s output is HIGH only when all inputs are HIGH. Therefore, a NAND gate’s output will be LOW only when all its inputs are HIGH. For all other input combinations, its output is HIGH.
ব্যাখ্যা: একটি NAND গেট একটি AND গেটের বিপরীত। একটি AND গেটের আউটপুট HIGH হয় শুধুমাত্র যখন সমস্ত ইনপুট HIGH থাকে। অতএব, একটি NAND গেটের আউটপুট LOW হবে শুধুমাত্র যখন তার সমস্ত ইনপুট HIGH থাকে। অন্য সব ইনপুট সংমিশ্রণের জন্য, এর আউটপুট HIGH থাকে।

90. De Morgan’s second theorem states that (A . B)’ is equal to:
ডি মরগ্যানের দ্বিতীয় উপপাদ্য অনুসারে (A . B)’ এর সমান হলো:

  1. A’ . B’
  2. A’ + B’
  3. A + B
  4. A . B

Correct Answer: b) A’ + B’

Explanation: De Morgan’s second theorem states that the complement of a product is equal to the sum of the complements. So, (A . B)’ = A’ + B’.
ব্যাখ্যা: ডি মরগ্যানের দ্বিতীয় উপপাদ্য অনুসারে, দুটি চলকের গুণফলের পরিপূরক তাদের নিজ নিজ পরিপূরকের যোগফলের সমান। সুতরাং, (A . B)’ = A’ + B’।

91. A circuit that converts a decimal number to its BCD equivalent is a(n):
যে সার্কিট একটি দশমিক সংখ্যাকে তার BCD সমতুল্যতে রূপান্তরিত করে, সেটি হলো একটি:

  1. Decoder / ডিকোডার
  2. Encoder / এনকোডার
  3. Multiplexer / মাল্টিপ্লেক্সার
  4. Counter / কাউন্টার

Correct Answer: b) Encoder

Explanation: An encoder converts a set of signals (like the 10 decimal keys on a keypad) into a coded output (like 4-bit BCD). A decimal-to-BCD encoder is a common type.
ব্যাখ্যা: একটি এনকোডার এক সেট সিগন্যালকে (যেমন একটি কীপ্যাডের ১০টি দশমিক কী) একটি কোডেড আউটপুটে (যেমন ৪-বিট BCD) রূপান্তরিত করে। একটি ডেসিমেল-টু-BCD এনকোডার একটি সাধারণ প্রকার।

92. The hexadecimal number ‘F’ is equivalent to the binary number:
হেক্সাডেসিমেল সংখ্যা ‘F’ কোন বাইনারি সংখ্যার সমতুল্য?

  1. 1110
  2. 1011
  3. 1111
  4. 1101

Correct Answer: c) 1111

Explanation: The hexadecimal digit ‘F’ represents the decimal value 15. The 4-bit binary representation of 15 is 1111 (8 + 4 + 2 + 1 = 15).
ব্যাখ্যা: হেক্সাডেসিমেল অঙ্ক ‘F’ দশমিক মান ১৫ কে প্রতিনিধিত্ব করে। ১৫-এর ৪-বিট বাইনারি উপস্থাপনা হলো 1111 (৮ + ৪ + ২ + ১ = ১৫)।

93. What does an ‘enable’ input on a digital logic device do?
একটি ডিজিটাল লজিক ডিভাইসে ‘এনাবল’ ইনপুট কী করে?

  1. Inverts the output / আউটপুটকে উল্টে দেয়
  2. Activates or deactivates the device’s main function / ডিভাইসের প্রধান ফাংশনকে সক্রিয় বা নিষ্ক্রিয় করে
  3. Resets the device / ডিভাইসটিকে রিসেট করে
  4. Provides power to the device / ডিভাইসটিকে শক্তি সরবরাহ করে

Correct Answer: b) Activates or deactivates the device’s main function

Explanation: The enable input acts as a switch. When enabled (e.g., set to HIGH), the device (like a decoder or multiplexer) performs its normal operation. When disabled (e.g., set to LOW), its outputs are typically forced into a specific state (like all LOW or high-impedance), regardless of the other inputs.
ব্যাখ্যা: এনাবল ইনপুট একটি সুইচের মতো কাজ করে। যখন এনাবল করা হয় (যেমন, HIGH সেট করা হয়), ডিভাইসটি (যেমন একটি ডিকোডার বা মাল্টিপ্লেক্সার) তার স্বাভাবিক অপারেশন সম্পাদন করে। যখন ডিজেবল করা হয় (যেমন, LOW সেট করা হয়), এর আউটপুটগুলি সাধারণত একটি নির্দিষ্ট অবস্থায় (যেমন সব LOW বা হাই-ইম্পিডেন্স) চলে যায়, অন্যান্য ইনপুট নির্বিশেষে।

94. The idle state in a JK flip-flop is also called the:
একটি JK ফ্লিপ-ফ্লপে নিষ্ক্রিয় অবস্থাকে আর কী বলা হয়?

  1. Set state / সেট অবস্থা
  2. Reset state / রিসেট অবস্থা
  3. Toggle state / টগল অবস্থা
  4. No change state / নো চেঞ্জ অবস্থা

Correct Answer: d) No change state

Explanation: When J=0 and K=0, the JK flip-flop is in the “no change” or “hold” state. The output Q remains the same as it was before the clock pulse.
ব্যাখ্যা: যখন J=0 এবং K=0 হয়, তখন JK ফ্লিপ-ফ্লপ “নো চেঞ্জ” বা “হোল্ড” অবস্থায় থাকে। আউটপুট Q ক্লক পালসের আগের মতোই থাকে।

95. A logic circuit that can store one bit of information is a:
একটি লজিক সার্কিট যা এক বিট তথ্য সংরক্ষণ করতে পারে, তা হলো একটি:

  1. Multiplexer / মাল্টিপ্লেক্সার
  2. Decoder / ডিকোডার
  3. Flip-Flop / ফ্লিপ-ফ্লপ
  4. AND gate / অ্যান্ড গেট

Correct Answer: c) Flip-Flop

Explanation: A flip-flop is the fundamental memory element in sequential logic. It is a bistable device, meaning it can exist in one of two stable states (representing 0 or 1), and can therefore store a single binary bit.
ব্যাখ্যা: একটি ফ্লিপ-ফ্লপ সিকুয়েন্সিয়াল লজিকের মৌলিক মেমরি উপাদান। এটি একটি বাই-স্টেবল ডিভাইস, যার অর্থ এটি দুটি স্থিতিশীল অবস্থার মধ্যে একটিতে (0 বা 1 প্রতিনিধিত্ব করে) থাকতে পারে এবং তাই একটি একক বাইনারি বিট সংরক্ষণ করতে পারে।

96. The logic function implemented by a 2-input NAND gate is (A.B)’. Using De Morgan’s theorem, this is equivalent to:
একটি ২-ইনপুট NAND গেট দ্বারা বাস্তবায়িত লজিক ফাংশন হলো (A.B)’। ডি মরগ্যানের উপপাদ্য ব্যবহার করে, এটি কিসের সমতুল্য?

  1. A.B
  2. A+B
  3. A’+B’
  4. A’+B

Correct Answer: c) A’+B’

Explanation: According to De Morgan’s second law, the complement of a product is the sum of the complements. Therefore, (A.B)’ is equivalent to A’ + B’. This shows that a NAND gate can be seen as an OR gate with inverted inputs.
ব্যাখ্যা: ডি মরগ্যানের দ্বিতীয় সূত্র অনুসারে, একটি গুণফলের পরিপূরক হলো পরিপূরকগুলির যোগফল। অতএব, (A.B)’ হলো A’ + B’ এর সমতুল্য। এটি দেখায় যে একটি NAND গেটকে ইনভার্টেড ইনপুট সহ একটি OR গেট হিসাবে দেখা যেতে পারে।

97. An up/down counter is a type of:
একটি আপ/ডাউন কাউন্টার হলো এক প্রকার:

  1. Synchronous counter / সিনক্রোনাস কাউন্টার
  2. Ripple counter / রিপল কাউন্টার
  3. Ring counter / রিং কাউন্টার
  4. Encoder / এনকোডার

Correct Answer: a) Synchronous counter

Explanation: While simple up-only or down-only counters can be asynchronous, a controllable up/down counter typically requires synchronous design. A control input determines whether the counter increments or decrements on each clock pulse, which requires all flip-flops to react simultaneously.
ব্যাখ্যা: যদিও শুধুমাত্র আপ বা শুধুমাত্র ডাউন কাউন্টারগুলি অ্যাসিনক্রোনাস হতে পারে, একটি নিয়ন্ত্রণযোগ্য আপ/ডাউন কাউন্টারের জন্য সাধারণত সিনক্রোনাস ডিজাইন প্রয়োজন। একটি কন্ট্রোল ইনপুট নির্ধারণ করে যে কাউন্টারটি প্রতিটি ক্লক পালসে বৃদ্ধি পাবে নাকি হ্রাস পাবে, যার জন্য সমস্ত ফ্লিপ-ফ্লপকে একযোগে প্রতিক্রিয়া জানাতে হয়।

98. How many select lines does a 32×1 multiplexer have?
একটি 32×1 মাল্টিপ্লেক্সারের কতগুলি সিলেক্ট লাইন থাকে?

  1. 3
  2. 4
  3. 5
  4. 32

Correct Answer: c) 5

Explanation: For a multiplexer with ‘m’ data inputs, the number of select lines ‘n’ is found by 2^n = m. For m=32, we need 2^n = 32. Since 2^5 = 32, it requires 5 select lines.
ব্যাখ্যা: ‘m’ সংখ্যক ডেটা ইনপুট সহ একটি মাল্টিপ্লেক্সারের জন্য, সিলেক্ট লাইনের সংখ্যা ‘n’ 2^n = m দ্বারা পাওয়া যায়। m=32 এর জন্য, আমাদের 2^n = 32 প্রয়োজন। যেহেতু 2^5 = 32, তাই এর জন্য ৫টি সিলেক্ট লাইন প্রয়োজন।

99. A logic probe is used for:
একটি লজিক প্রোব ব্যবহৃত হয়:

  1. Measuring voltage levels precisely / ভোল্টেজ স্তর সঠিকভাবে পরিমাপ করার জন্য
  2. Measuring current / কারেন্ট পরিমাপ করার জন্য
  3. Indicating logic levels (HIGH, LOW, PULSING) at a point in a circuit / একটি সার্কিটের একটি বিন্দুতে লজিক স্তর (HIGH, LOW, PULSING) নির্দেশ করার জন্য
  4. Generating clock signals / ক্লক সিগন্যাল তৈরি করার জন্য

Correct Answer: c) Indicating logic levels (HIGH, LOW, PULSING) at a point in a circuit

Explanation: A logic probe is a simple, handheld tool for troubleshooting digital circuits. It has LEDs to indicate whether a specific point in the circuit is at a logic HIGH, logic LOW, or if it is rapidly changing (pulsing).
ব্যাখ্যা: একটি লজিক প্রোব ডিজিটাল সার্কিটের সমস্যা সমাধানের জন্য একটি সহজ, হাতে ধরা সরঞ্জাম। এতে এলইডি থাকে যা নির্দেশ করে যে সার্কিটের একটি নির্দিষ্ট বিন্দু লজিক HIGH, লজিক LOW, নাকি এটি দ্রুত পরিবর্তিত হচ্ছে (পালসিং)।

100. The expression (X + Y)’ is an example of which gate’s operation?
(X + Y)’ এক্সপ্রেশনটি কোন গেটের অপারেশনের উদাহরণ?

  1. AND
  2. OR
  3. NAND
  4. NOR

Correct Answer: d) NOR

Explanation: The NOR gate first performs an OR operation on its inputs (X + Y) and then inverts the result. This is represented by the expression (X + Y)’.
ব্যাখ্যা: NOR গেট প্রথমে তার ইনপুটগুলিতে একটি OR অপারেশন (X + Y) সম্পাদন করে এবং তারপর ফলাফলটিকে ইনভার্ট করে। এটি (X + Y)’ এক্সপ্রেশন দ্বারা উপস্থাপিত হয়।

WBSSC SLST Computer Science IX & X : Digital Logic Read More »

Scroll to Top