MCQ IN COMPUTER SCIENCE & ENGINEERING

COMPUTER SCIENCE AND ENGINEERING

ALGORITHMS

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
What should be considered when designing an algorithm?
A
If the correct hardware is being used
B
If the correct software is being used
C
If there is more than one way of solving the problem
D
None of the above
Explanation: 

Detailed explanation-1: -An algorithm is a sequence of instructions that one must perform in order to solve a well formulated problem. Given a problem, there may be more than one correct algorithms. However, the costs to perform different algorithms may be different.

Detailed explanation-2: -There are two main ways that algorithms can be represented – pseudocode and flowcharts .

There is 1 question to complete.