Eduversity.bd — Learn with Us, Achieve Your Dreams

জাভাস্ক্রিপ্ট — MCQ প্রশ্ন

আইটি ও প্রোগ্রামিং MCQ (ওপেন) · আইটি ও প্রোগ্রামিং। এই অধ্যায়ে মোট 519টি প্রশ্ন আছে। নিচে প্রথম 10টি প্রশ্ন ও অপশন দেওয়া হলো; সঠিক উত্তর সার্ভারে যাচাই হয়।

এই অধ্যায়ে সব প্রশ্নে অনুশীলন করুন

  1. Which design pattern ensures only one instance of a class is created?

    1. Factory Pattern
    2. Singleton Pattern
    3. Observer Pattern
    4. Decorator Pattern

    উত্তর যাচাই করতে প্র্যাকটিসে যান।

  2. Which design pattern provides a way to create objects without specifying the exact class?

    1. Factory Pattern
    2. Singleton Pattern
    3. Observer Pattern
    4. Prototype Pattern

    উত্তর যাচাই করতে প্র্যাকটিসে যান।

  3. Which design pattern allows objects to be notified when another object changes state?

    1. Decorator Pattern
    2. Observer Pattern
    3. Factory Pattern
    4. Adapter Pattern

    উত্তর যাচাই করতে প্র্যাকটিসে যান।

  4. Which design pattern lets you add new behavior to objects dynamically?

    1. Decorator Pattern
    2. Singleton Pattern
    3. Observer Pattern
    4. Factory Pattern

    উত্তর যাচাই করতে প্র্যাকটিসে যান।

  5. Which design pattern allows incompatible interfaces to work together?

    1. Adapter Pattern
    2. Observer Pattern
    3. Decorator Pattern
    4. Factory Pattern

    উত্তর যাচাই করতে প্র্যাকটিসে যান।

  6. Which design pattern involves cloning existing objects to create new ones?

    1. Prototype Pattern
    2. Factory Pattern
    3. Decorator Pattern
    4. Singleton Pattern

    উত্তর যাচাই করতে প্র্যাকটিসে যান।

  7. Which design pattern separates object construction from its representation?

    1. Builder Pattern
    2. Factory Pattern
    3. Observer Pattern
    4. Decorator Pattern

    উত্তর যাচাই করতে প্র্যাকটিসে যান।

  8. Which JavaScript array method is commonly used to transform each element in functional programming?

    1. forEach()
    2. reduce()
    3. map()
    4. filter()

    উত্তর যাচাই করতে প্র্যাকটিসে যান।

  9. What does immutability mean in functional programming?

    1. Objects cannot be copied
    2. Functions cannot return values
    3. Variables can be reassigned freely
    4. Data structures cannot be modified after creation

    উত্তর যাচাই করতে প্র্যাকটিসে যান।

  10. Which higher-order function is best suited for accumulating values into a single result?

    1. map()
    2. reduce()
    3. sort()
    4. filter()

    উত্তর যাচাই করতে প্র্যাকটিসে যান।

← আগের অধ্যায়পরের অধ্যায় →