DATA STRUCTURE
« Previous Next » |
1. The most widely used method for interpreting bit setting as non-negative integer is :
Binary number system
2. While considering data structure implementation,the factor(s) underconsideration is (are):
time,space and processor
3. Data structure as define at logical level, is called abstract data type.
true
4. Without pointer data type is not possible to implement hierarchical data structure.
true
5. Data structures are programming language dependent.
false
6. A data type is a collection of values and a set of operations on that values.
true
7. Pick out invalid statement for following : algorithm must be:
free of ambiguity
8. Modular programming uses
only top down method
9.In analysis of algorithm, approximate relationship between the size of the job and the amount of work required to do it is expressed by using:
central tendency
10.Which is better computing time (with respect to algorithm analysis)
O(log₂n)
11. Which of the following is the best time for an algorithm ?
O(logN)
12. An unrestricted use of the "goto" statement is harmful because
it makes it more difficult to verify programs
13. The recurrence relation that arises in relation with the complexity of binary search is
T(n)=T(n/2)+k,k is a constant
14. Consider the following two functions:
g1(n)=n² for 0<=n<10,000
=n³ for n>10,000
g2(n)=n for 0<n<=100
=n³ for n>100
which of the following is true:
g1(n)=n² for 0<=n<10,000
=n³ for n>10,000
g2(n)=n for 0<n<=100
=n³ for n>100
which of the following is true:
g1(n) is O(g2(n)
15. Which of the following is false
√logn = O(logn)
16. Structured data type made up of finite collection of ordered elements, all of which is of same data type is:
array
17. Element of array is accessed by
index
18. Array is
Linear data structure
19. Static memory allocation takes place at run time
false
20. In linked list the logical order of elements
can not be determined from their physical arrangement
21.Direct or random access of element is not possible in
linked list
22. Odd may out (linked list)
to determine if it is empty
23. The nth node in singly linked list, is accessed via (where n>1):
the head node
24. In linked list,the successive elements
need not occupy contiguous space in memory
25. Linear order in linked list is provided through
Pointer
26. Null pointer is used to tell
end of linked list
27. List pointer variable in linked list contains address of
following node in the list
28. Underflow condition in linked list may occur when attempting to
delete a node in empty list
29. Overflow condition in linked list may occur when attempting to
create a node when free space pool is empty
30. Searching a linked list requires linked list be created
in sorted order only
31. Deletion of a node in linked list involves keeping track of the address of the node
which immediately precedes the node that is to be deleted.
32. Header of a linked list is a special node at the
beginning of the linked list
33. Header linked list in which last node contains the null pointer is called
grounded header list
34. Header linked list in which last node points to the header node is called
circular header list
35. polynomials in memory may be maintained through
linked list with header node
36. Representing the polynomial in memory using linked list requires each node having
three fields
37. The n th node in a singly linked list is accessed via
1 node (olny the head)
38. Linked lists are not suitable for which one of the following problem
binary search
39. The concatenation of two lists is to be performed in O(1) time.Which of the following implementations of a list should be used?
circular doubly linked list
40. Having address of the node to be deleted in double linked list,the node can be deleted
without traversing the list
41. A data structure in which an element is added and removed only from one end is known as:
stack
42. A data structure in which elements are added or removed only at a fixed end is kinown as a
stack
43. One can convert an infix expression to a postfix expression using a
stack
44. Which of the following is essential for converting an infix expression to the postfix from efficiently.
An operator stack
45. Which of the following types of expressions do not require precedence rules for evalution?
More than one of the above.
46. Which of the following is essential for converting an infix expression to the postfix from efficiently.
An operator stack
47. The queue can be define as a
Waiting line
48. Circular queues are implemented using arrays because of _____ utilization of memory space
Optimum
49. A priority queue does not follow ______ rule strictly
FIFO
50.FRONT=RARE=-1 pointer refers to ______ queue
Empty
« Previous Next » |
No comments:
Post a Comment