algorithms Exam Questions
with Answers
Class - Correct Answers: What term refers to a template for creating an object?
A. Application
B. Class
C. Method
D. Algorithm
Uses an agnostic code repository - Correct Answers: Which characteristic of an algorithm is independent
in nature?
A. Uses Python to implement the algorithm
B. uses MySQL for the database needs of the algorithm's application
C. Uses Windows to install the application
D. Uses an agnostic code repository
Record - Correct Answers: What is referred to as a data structure that stores subitems?
A. Array
B. Matrix
C. Record
D. Graph
Maintainability - Correct Answers: Which factor takes the ability to easily update an algorithm into
consideration?
A. Scalability
B. Feasability
C. Maintainability
D. Modularity
, Finiteness - Correct Answers: What is a component of an algorithm that specifies a stopping point?
A. Sequencing
B. Finiteness
C. Iteration
D. Looping
Linear - Correct Answers: Which term refers to a type of search algorithm?
A. Linear
B. Divide-and-conquer
C. Greedy
D. Quicksort
Simplicity - Correct Answers: What is a high-level consideration in an algorithm's design?
A. Simplicity
B. Database type
C. Finiteness
D. Browser Type
Binary Search - Correct Answers: What is the primary method used to search for an item in a sorted
array?
A. Binary search
B. Jump Search
C. Exponential search
D. Linear Search
A posteriori analysis - Correct Answers: Which review of an algorithm happens after implementation?
* Binary search
* A posteriori analysis