Data Structures B

40 Questions | Attempts: 204
Please wait...
Question 1 / 41
🏆 Rank #-- ▾
0 %
0/100
Score 0/100

1. The Worst case occur in linear search algorithm when

Submit
Please wait...
About This Quiz
Data Structures B - Quiz

2.

What first name or nickname would you like us to use?

You may optionally provide this to label your report, leaderboard, or certificate.

2. Running time T(n), where 'n' is input size of recursive algorithm is given as follows:
T(n) = c + T(n-1), if n>1,
T(n) = d if n<1. The order of algorithm is

Submit

3. Four algorithm A1, A2, A3, A4 solves a problem with order log(n), log log(n), nlog(n), n. Which is best algorithm

Submit

4. Arranging a pack of cards by picking one by one is an example of

Submit

5. In evaluating arithmatic expression 2*3-(4+5) using postfix stack form. Which of the following stack configuration is not possible

Submit

6. To arrange the books of library the best method is

Submit

7.
The information about an array used in a program will be stored in

Submit

8. In which of the following cases linked list implementaion of sparse matrices consumes same memory as a normal array

Submit

9. On which principle does stack work?

Submit

10. In linked lists there are no NULL links in

Submit

11. Arrays are best data structures

Submit

12. Linked lists are best suited

Submit

13. The elements of an array are stored successively in memory cells because

Submit

14. Under which condition circular queue is Full

Submit

15. A leaf node have degree

Submit

16. The value of structure is resizing during run time by using

Submit

17. How many types of queue's are available

Submit

18. Disadvantage of linear queue is overcome by using

Submit

19. What is Non-linear data structure

Submit

20. In a stack the command to access nth element from the top of the stack S will be

Submit

21. In a balance binary tree the height of two sub trees of every node can not differ by more than

Submit

22. Depth of a binary tree with n node is

Submit

23. A binary tree in which every non-leaf node has non-empty left and right sub trees is called a strictly binary tree. Such a tree with 10 leaves

Submit

24. Following sequence of operation is performed on a stack. Push(1), Push(2), Pop, Push(1), Push(2), Pop, Pop, Pop, Push(2), Pop. The sequences of popped out values are

Submit

25. Average successful search time for sequential search on 'n' item is 

Submit

26. A queue has configuration a,b,c,d. To get configuration d,c,b,a. One needs a minimum of 

Submit

27. The result of evaluating prefix expression */b+*dacd, where a=3, b=6, c=1, d=5 is

Submit

28. To arrange a binary search tree in ascending order we need 

Submit

29. Which is not application of stack

Submit

30. Number of swapping, operations need to sort numbers 8, 22, 7, 9, 31, 19, 5, 13 in ascending order using bubble sort

Submit

31. Number of possible ordered trees with 3 nodes A,B,C is

Submit

32. In array representation of binary tree the right child of root will be at location of

Submit

33. The total number of comparisons in a bubble sort is

Submit

34. The order of binary search algorithm is

Submit

35. The dummy header in linked list contain

Submit

36. Hash function f is defined as f(key) = key mod 7. If linear probing is used to insert the key 37, 38, 72, 48, 98, 11, 56 into a table indexed from 0 to 6,  11 will be stored at the location

Submit

37. An algorithm consists of two modules X1, X2. Their order is f(n) and g(n), respectively. The order of algorithm is

Submit

38. A hash tabale with 10 buckets with one slot per bucket is depicted in following diagram. Symbols S1 to S7 are initially entered using a hashing function with linear probing. Maximum number of comparisions needed in searching an item that is not present is  www.psexam.com

Submit

39. Average successful search time taken by binary search on sorted array of 10 items is

Submit

40. Bib O notation w.r.t algorithm signifies

Submit
×
Saved
Thank you for your feedback!
View My Results
Cancel
  • All
    All (40)
  • Unanswered
    Unanswered ()
  • Answered
    Answered ()
The Worst case occur in linear search algorithm when
Running time T(n), where 'n' is input size of recursive algorithm is...
Four algorithm A1, A2, A3, A4 solves a problem with order log(n), log...
Arranging a pack of cards by picking one by one is an example of
In evaluating arithmatic expression 2*3-(4+5) using postfix stack...
To arrange the books of library the best method is
The information about an array used in a program will be stored in
In which of the following cases linked list implementaion of sparse...
On which principle does stack work?
In linked lists there are no NULL links in
Arrays are best data structures
Linked lists are best suited
The elements of an array are stored successively in memory cells...
Under which condition circular queue is Full
A leaf node have degree
The value of structure is resizing during run time by using
How many types of queue's are available
Disadvantage of linear queue is overcome by using
What is Non-linear data structure
In a stack the command to access nth element from the top of the stack...
In a balance binary tree the height of two sub trees of every node can...
Depth of a binary tree with n node is
A binary tree in which every non-leaf node has non-empty left and...
Following sequence of operation is performed on a stack. Push(1),...
Average successful search time for sequential search on 'n' item...
A queue has configuration a,b,c,d. To get configuration d,c,b,a. One...
The result of evaluating prefix expression */b+*dacd, where a=3, b=6,...
To arrange a binary search tree in ascending order we need 
Which is not application of stack
Number of swapping, operations need to sort numbers 8, 22, 7, 9, 31,...
Number of possible ordered trees with 3 nodes A,B,C is
In array representation of binary tree the right child of root will be...
The total number of comparisons in a bubble sort is
The order of binary search algorithm is
The dummy header in linked list contain
Hash function f is defined as f(key) = key mod 7. If linear probing is...
An algorithm consists of two modules X1, X2. Their order is f(n) and...
A hash tabale with 10 buckets with one slot per bucket is depicted in...
Average successful search time taken by binary search on sorted array...
Bib O notation w.r.t algorithm signifies
play-Mute sad happy unanswered_answer up-hover down-hover success oval cancel Check box square blue
Alert!