Question 1 of 20
Two main measures for the efficiency of an algorithm are
This Set 1 Computer Science Algorithm and Data structure quiz quiz contains 20 multiple choice questions designed to help you revise and test your computer science, Algorithm and data structure Quizzes knowledge. Select an answer for each question and click “Submit Answer” to see instant feedback. Take your time and try to score as high as possible!
In this algorithm quiz, we would see that we follow a set of particular rules often, maybe when solving a quadratic equation, or when cooking, or when executing a particular task. These instructions that are aimed at disciplining oneself before the execution of a task are what we call Algorithms. Programmers use algorithms all the time to finish particular tasks. We are going to see terms like arrays, records, pointers, linked lists, stacks, queues, recursion, trees, sorting and searching, and learn all before the end of this quiz.
An algorithm is simply a set of finite instructions that aid you in the completion of a certain task. A typical example could be long division.
The data structure is a data organization, management, and storage format that enables efficient access and modification. More precisely, a data structure is a collection of data values as well as the relationships among them, and the functions or operations that can be applied to the data. The type of data structures are,
More quizzes can be found here after you have seen as you answer questions on this quiz. More quizzes on Computer science can be found at Computer quizzes.
Nice time!!!
Question 1 of 20
Two main measures for the efficiency of an algorithm are
Question 2 of 20
The time factor when determining the efficiency of algorithm is measured by
Question 3 of 20
The space factors when determining the efficiency of algorithm is measured by
Question 4 of 20
Which of the following case does no exist in complexity theory
Question 5 of 20
The worst case occurs in linear search algorithm when
Question 6 of 20
The average case occurs in linear search algorithm
Question 7 of 20
The complexity of the average case of an algorithm is
Question 8 of 20
The complexity of linear search algorithm is
Question 9 of 20
The complexity of binary search algorithm is
Question 10 of 20
The complexity of Bubbles sort algorithm is
Question 11 of 20
The complexity of merge sort algorithm is
Question 12 of 20
The indirect change of the values of a variable in one module by another module is called
Question 13 of 20
Which of the following data structure is not linear data structure?
Question 14 of 20
Which of the following data structure is linear data structure?
Question 15 of 20
The operation of processing each element in the list is known as
Question 16 of 20
Finding the location of the elements with a given value is
Question 17 of 20
Arrays are best data structures
Question 18 of 20
Linked list are best suited
Question 19 of 20
Each array declaration need not give, implicitly or explicitly, the information about
Question 20 of 20
The element of an array are stored successively in memory cells because