Solved

Consider an Algorithm That Contains Loops of the Form: for (X

Question 31

Multiple Choice

Consider an algorithm that contains loops of the form: for (x = 1 through n ) {
For (y = 1 through x) {
For (z = 1 through 10) {
Task T
} // end for
} // end for
} // end for
If task T requires t time units,the loop on y requires ______ time units.


A) 10 * t
B) (10 * t) + x
C) 10 * t * x
D) t * x

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions