Choose a topic to test your knowledge and improve your Data structure skills
Accessing time of nth node in a linked list is______
An array is referenced by its name.Similarly,a linked list is referenced by____
Time required to search an element in a linked list is____
Because of linear structure of linked list having linear ordering,there is similarity between linked list and array in
In a circularly linked list organisation ,insertion of a record involves the modifications of
What is true about linked kist?
A node of linked list contains_______
Deletion in a linked list requeries modification of______pointers
Select the set of instructions to insert a node pointed by q after a node pointed by p
select the set of operations to insert a node pointed by q at the beginning of the linked list
Select the set of operations to delete the first node from a linked list
Select the correct looping condition for positioning apointer p on the second last in a linked list.Assume p=head,initially.
If address of the 8th element in a linked list of integers is1022,then address of the 9th element is
The advantages of linked list over an array for representing a list is________
The address returned by malloc()is type casted because
Which function returns a void pointers?
Select the correct statement
The____linked list can be processed in either direction.
A polynominal in single variable should be handled using__
A node of doubly linked contains
Each node in a linear list contains an item called____which points to the next node in the list.
Which is not dynamic memory allocation function?
The function that allocates requested size of bytes and returns a pointer to the first byte of the allocated space is
NULL link is not present in…
In a circular linked list
A linear collection of data elements where the linear node is given by means of pointer is called?
Which of the following operations is performed more efficiently by doubly linked list than by singly linked list?
Consider an implementation of unsorted singly linked list. Suppose it has its representation with a head and tail pointer. Given the representation, which of the following operation can be implemented in O(1) time? i) Insertion at the front of the linked list ii) Insertion at the end of the linked list iii) Deletion of the front node of the linked list iv) Deletion of the last node of the linked lis
Consider an implementation of unsorted doubly linked list. Suppose it has its representation with a head pointer and tail pointer. Given the representation, which of the following operation can be implemented in O(1) time? i) Insertion at the front of the linked list ii) Insertion at the end of the linked list iii) Deletion of the front node of the linked list iv) Deletion of the end node of the linked list
In linked list each node contain minimum of two fields. One field is data field to store the data second field is?
What would be the asymptotic time complexity to add an element in the linked list?
What would be the asymptotic time complexity to insert an element at the second position in the linked list?
The concatenation of two list can performed in O(1) time. Which of the following variation of linked list can be used?
Consider the following definition in c programming language struct node { int data; struct node * next; } typedef struct node NODE; NODE *ptr; Which of the following c code is used to create new node?
A variant of linked list in which last node of the list points to the first node of the list is?
In doubly linked lists, traversal can be performed?
What kind of linked list is best to answer question like “What is the item at position n?”
A variation of linked list is circular linked list, in which the last node in the list points to first node of the list. One problem with this type of list is?
A variant of the linked list in which none of the node contains NULL pointer is?
In circular linked list, insertion of node requires modification of?
Which of the following statements about linked list data structure is/are TRUE?
Linked lists are not suitable to for the implementation of?
In worst case, the number of comparison need to search a singly linked list of length n for a given element is
consider the function f defined here: struct item { int data; struct item * next; }; int f (struct item *p) { return((p==NULL) ||((p->next==NULL)||(p->data<=p->next->data) && (p->next))); } For a given linked list p, the function f returns 1 if and only if
Finite sequence S of Zero or more chatacters is called_____
String with zero characters is called____string
Groups of consecutive element in a string.Such as words,phrase and sentences are called___
_____operation of word processing invovles replacing one string in the text by another.
___is the problem of deciding whether or not a given string problem p appears in a text T.
If string1=john,and string2=Rivers are merged,the process is called
__is a variable whose length may vary during the execution of a program.
NurseryLand.Nursery.Students = 10;
If a function is declared as void fn(int *p), then which of the following statements is valid to call function fn?
To declare an array S that holds a 5-character string, you would write
The constructed datatype in C is known as
A structure definition is called as
If a, b and c are integer variables with the values a=8, b=3 and c=-5. Then what is the value of the arithmetic expression: 2 * b + 3 * (a-c)
A global variable is a variable
main ( ) is an example of
While incrementing a pointer, its value gets increased by the length of the data type to which it points. This length is called
a->b is systematically correct if_____
Which of the following best describes sorting ?
A function which calls itself is called as
Where do we use the operator -> ?
In selection sort of n elements,how many times is the swap function called in the complete execution of the algorithm?
. a->b is systematically correct if_____
Literal means
Each data item in a record may be a groupitem composed of sub-items; those items which are indecomposable are called
Binary search algorithm cannot be applied to
When new data are to be inserted into a data structure, but there is no available space; this situation is usually called
The following is two-way list
In a binary tree, certain null entries are re-placed by special pointers which point to nodes higher in tree for efficiency. These special pointers are called
In a graph if e=(u, v) means
If every node u in G is adjacent to every other node v in G, A graph is said to be
The Worst case occur in linear search algo- rithm when
The Average case occur in linear search al- gorithm
The complexity of the average case of analgorithm is
The following data structure allows deleting data elements from front and inserting at rear
This data structure allows deletions at both ends of the list but insertion at only one end.
The following data structure is non-linear type
he following data structure is linear type
To represent hierarchical relationship be- tween elements, the following data structure is not suitable
A binary tree whose every node has either zero or two children is called
The complexity of Binary search algorithm is
The complexity of Bubble sort algorithm is