167k views
2 votes
JAVA When simply determining the order of magnitude of an algorithm using Big-Oh algorithm analysis, an instruction that evaluates to O(c) is equal to one that evaluates to O(1).

True

False

User JamesR
by
7.7k points

1 Answer

7 votes

Answer:

True.

Step-by-step explanation:

When determining the order of magnitude of an algorithm using the Big-Oh algorithm analysis.The instruction which evaluates to O(c) is equal to one that is O(1) because it is considered as constant time and to represent constant we use O(1) in big-Oh notation.

Hence the answer to this question is True.

User EagleFox
by
8.2k points