জাভাস্ক্রিপ্ট — MCQ প্রশ্ন
আইটি ও প্রোগ্রামিং MCQ (ওপেন) · আইটি ও প্রোগ্রামিং। এই অধ্যায়ে মোট 519টি প্রশ্ন আছে। নিচে প্রথম 10টি প্রশ্ন ও অপশন দেওয়া হলো; সঠিক উত্তর সার্ভারে যাচাই হয়।
এই অধ্যায়ে সব প্রশ্নে অনুশীলন করুন
Which design pattern ensures only one instance of a class is created?
- Factory Pattern
- Singleton Pattern
- Observer Pattern
- Decorator Pattern
উত্তর যাচাই করতে প্র্যাকটিসে যান।
Which design pattern provides a way to create objects without specifying the exact class?
- Factory Pattern
- Singleton Pattern
- Observer Pattern
- Prototype Pattern
উত্তর যাচাই করতে প্র্যাকটিসে যান।
Which design pattern allows objects to be notified when another object changes state?
- Decorator Pattern
- Observer Pattern
- Factory Pattern
- Adapter Pattern
উত্তর যাচাই করতে প্র্যাকটিসে যান।
Which design pattern lets you add new behavior to objects dynamically?
- Decorator Pattern
- Singleton Pattern
- Observer Pattern
- Factory Pattern
উত্তর যাচাই করতে প্র্যাকটিসে যান।
Which design pattern allows incompatible interfaces to work together?
- Adapter Pattern
- Observer Pattern
- Decorator Pattern
- Factory Pattern
উত্তর যাচাই করতে প্র্যাকটিসে যান।
Which design pattern involves cloning existing objects to create new ones?
- Prototype Pattern
- Factory Pattern
- Decorator Pattern
- Singleton Pattern
উত্তর যাচাই করতে প্র্যাকটিসে যান।
Which design pattern separates object construction from its representation?
- Builder Pattern
- Factory Pattern
- Observer Pattern
- Decorator Pattern
উত্তর যাচাই করতে প্র্যাকটিসে যান।
Which JavaScript array method is commonly used to transform each element in functional programming?
- forEach()
- reduce()
- map()
- filter()
উত্তর যাচাই করতে প্র্যাকটিসে যান।
What does immutability mean in functional programming?
- Objects cannot be copied
- Functions cannot return values
- Variables can be reassigned freely
- Data structures cannot be modified after creation
উত্তর যাচাই করতে প্র্যাকটিসে যান।
Which higher-order function is best suited for accumulating values into a single result?
- map()
- reduce()
- sort()
- filter()
উত্তর যাচাই করতে প্র্যাকটিসে যান।