test 3

Is this your test? Login to manage it. If not, you can create a quiz just like it.

This is a non-interactive preview of the quiz content.

1.
1 point
Linked list is generally considered as an example of _________ type of memory allocation.
2.
1 point
What would be the asymptotic time complexity to insert an element at the second position in the linked list?
3.
1 point
Underflow condition in linked list may occur when attempting to ________
4.
1 point
A doubly linked list performs traversal in _________.
5.
1 point
In a circular linked list _______________
6.
1 point
In linked list each node contain minimum of two fields. One field is data field to store the data second field is?
7.
1 point
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?
8.
1 point
What would be the asymptotic time complexity to find an element in the linked list?
9.
1 point
Consider an implementation of unsorted circular linked list. Suppose it has its representation with a head pointer only. 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
10.
1 point
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?
) 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 list
11.
1 point
In which data stricture direct or random access is not possible?
12.
1 point
What would be the asymptotic time complexity to add a node at the end of singly linked list, if the pointer is initially pointing to the head of the list?
13.
1 point
What kind of linked list is best to answer question like “What is the item at position n?”
14.
1 point
A variant of the linked list in which none of the node contains NULL pointer is?
15.
1 point
A linear collection of data elements where the linear node is given by means of pointer is called?