Skip to content
Related Articles
Get the best out of our app
GeeksforGeeks App
Open App
geeksforgeeks
Browser
Continue

Related Articles

UGC-NET | UGC NET CS 2015 Jun – II | Question 25

Improve Article
Save Article
Like Article
Improve Article
Save Article
Like Article

To determine the efficiency of an algorithm the time factor is measured by:

(A)

Counting micro seconds

(B)

Counting number of key operations

(C)

Counting number of statements

(D)

Counting kilobytes of algorithm


Answer: (B)

Explanation:

To determine the efficiency of an algorithm the time factor is measured by counting the number of key operations. It is not measured by counting statements because less no of statements does not mean that the program is more efficient. Many times we have to write large code for better efficiency. We measure space complexity in kilobytes.

So, option (B) is correct.


Quiz of this Question
Please comment below if you find anything wrong in the above post

My Personal Notes arrow_drop_up
Last Updated : 11 May, 2018
Like Article
Save Article
Similar Reads