Skip to content
Related Articles

Related Articles

Improve Article
Save Article
Like Article

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

  • Last Updated : 11 May, 2018

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 number of key operations. It is not measured by counting of statements because less no of statement does not mean that program is more efficient. Many times we have to write large code for better efficieny. We measure space complexity in kilobytes.
So, option (B) is correct.

Quiz of this Question

My Personal Notes arrow_drop_up
Recommended Articles
Page :

Start Your Coding Journey Now!