📢 Too many exams? Don’t know which one suits you best? Book Your Free Expert 👉 call Now!


    Question

    For matrix dimensions p = {10, 20, 30, 40}, representing

    matrices A (10x20), B (20x30), C (30x40). What is the minimum number of scalar multiplications required to compute (AB)C?
    A 18000 Correct Answer Incorrect Answer
    B 24000 Correct Answer Incorrect Answer
    C 12000 Correct Answer Incorrect Answer
    D 30000 Correct Answer Incorrect Answer
    E 6000 Correct Answer Incorrect Answer

    Solution

    (Calculation: (A(BC)) = 20*30*40 + 10*20*40 = 24000 + 8000 = 32000. ((AB)C) = 10*20*30 + 10*30*40 = 6000 + 12000 = 18000. Minimum is 18000.)

    Practice Next
    More IT Operating System Questions
    ask-question