← Quiz: Matrix Programs in C: all 10 questions
Quiz: Matrix Programs in C · Question 8 of 10
Roughly how many multiplications does the triple-loop method need for two n × n matrices?
Roughly how many multiplications does the triple-loop method need for two n × n matrices?
- A.n
- B.n²
- C.n³
- D.2ⁿ
Answer & explanation
Correct answer: n³
There are n² result cells, each needing n multiplications.
Can you get the rest right without peeking?
Take the timed Quiz: Matrix Programs in C quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →