Choose a topic to test your knowledge and improve your Data structure skills
how many vlue can held by an array A(-1…m,1…m)?
let x be the adjacency matrix of a graph .G with no self loop.The entries along the principle diagonal of x are
__ refers to the operation of finding the location of a given item in a collection of items.
______ is a field whose values uniquely determine the records in the file.
By using which of the following methods sorting is not possible?
Which is the simplest file structure?
A ______ is a data structure use foe a storage of a records.
_____ is a search for data that uses an index to locate the item.
If the input array is unsorted, then only a linear ______ can be used.
____ is a attribute of a sort, indicating that data with equal keys maintain their relative input order in the output.
In ______ method of hashing, selected digit are extracted from the key and used as the address.
_____ hashing method is used in combination with other methods.
If two different keys yield the same hash address, it is called _______ .
The ______ sort algorithm is called diminishing increment sort.
A ______ merge sort uses a constant number of input merge files and the same number of output merge files.
___ method of collision resolution involves maintaining two tables in memory.
____ is a merge sort that sorts a data stream using repeated merges.
One of the statement is false
Examples of sorting algorithms are
Give timing complexities of three sorting algorithms bubble sort,selection sort,insertion sort respectively.
__passes are required to sort n data using bubble sort.
Best and the worst case timing complexities of insertion sort are_________.
Which sorting algorithm can exploit the partially sorted data in a list?
Sorting is useful for_________
The getch() library function returns___
a character when enter is pressed
A variable P is called pointer if__ A.
Which of the following data structure can't store the non-homogeneous data element?
The difference between linear array and a record is_____
If s1 is "ABC" and s2 is "DEF" then strcat(s1,s2)will give the following result.
Give output of the following programint main(){inta[]={2,3,4,5,6};printf("%d",2[a]);}
Where do we use the operator --> ?
The function strcmp(s1,s2)will return -1 if____
The number of comparisons required to sort 5 numbers in ascending order using bubble sort are
A sorting algorithm is stable if
The average case complexity of Insertion Sort is
A sorted file contains 16 items. Using binary search, the maximum number of comparisons to search for an item in this file is
A sort which compares adjacent elements in a list and switches where necessary is
A sort which iteratively passes through a list to exchange the first element with any element less than it and then repeats with a new first element is called
The number of swappings needed to sort the numbers 8, 22, 7, 9, 31, 19, 5, 13 in ascending order, using bubble sort is
A sorting technique that guarantees that records with the same primary key occurs in the same order in the sorted list as in the original unsorted list is said to be
You want to check whether a given set of items is sorted. Which of the following sorting methods will be most efficient if it is already in sorted order?
Which of the following sorting methods will be the best if number of swappings done, is the only measure of efficienty?
You are asked to sort 15 randomly generated numbers. You should prefer
What is the number of swaps required to sort n elements using selection sort, in the worst case?
The number of interchanges required to sort 5, 1, 6, 2 4 in ascending order using Bubble Sort is
The smallest element of an array’s index is called its
Which of the following sorting methods would be most suitable for sorting a list which is almost sorted
. A sort which compares adjacent elements in a list and switches wherever necessary is _______
Which of the following sorting method is the slowest?
In bubble sort,for a file of size n,after p iterations number of records in proper position is____
In bubble sort,for a file of size n,during each pth pass the number of last records left out are___
Given a file size n the number of times a given file is passed through in bubble sort is____
Total number of comparision in bubble sort is____
The selection sort is basically a method of repeated