UGC NET Paper 2 (Computer Science)Hard

Matrices A (10x20), B (20x30), C (30x40) are to be multiplied. The minimum number of scalar multiplications is:

  1. A. 32000
  2. B. 24000
  3. C. 18000
  4. D. 12000

Correct answer: C. 18000

(AB)C costs 6000 + 12000 = 18000, A(BC) costs 24000 + 8000 = 32000.

More UGC NET Computer Science and Applications questions

Exams that ask this topic