Q: Which of the following is NOT a type of algorithm?
-
A
Search algorithm
-
B
Recursive algorithm
-
C
Cooking algorithm
-
D
Sorting algorithm
C
Answer:
C
Explanation:
In computer science, algorithms are designed to solve computational problems, such as searching, sorting, and mathematical operations. Common types of algorithms include search algorithms, which locate data in a dataset, recursive algorithms that solve problems by breaking them down into smaller instances, and sorting algorithms that arrange data systematically. Although everyday processes like cooking can follow algorithmic steps, a “cooking algorithm” is not a formal classification in computer science. Algorithms are structured to handle specific types of computational tasks, each with defined rules and processes tailored to produce precise outcomes within software applications.
Related Topic:
Share Above MCQ