TCS NQT Linked List Quiz – 1

Question 1

Time: 00:00:00
 The linked list used to implement

Stack

Stack

Queue

Queue

Graph

Graph

All of these.

All of these.

Question 2

Time: 00:00:00
What are the applications that uses the linked list?

Queue

Queue

Stack

Stack

Both a and b

Both a and b

None of them

None of them

Question 3

Time: 00:00:00
What is the biggest advantage of the linked list.

There is no need to specify fixed size of linked list.

There is no need to specify fixed size of linked list.

Add only certain element.

Add only certain element.

Add only specify data

Add only specify data

None of them

None of them

Question 4

Time: 00:00:00
In linked list implementation what type of data is carried in a node?

Data

Data

Link

Link

Both a and b

Both a and b

None of them

None of them

Question 5

Time: 00:00:00
 In which linked list the last node of linked list is pointed to the first node of the linked list.

Singly Linked List

Singly Linked List

Doubly linked list

Doubly linked list

Circular linked list

Circular linked list

All of these

All of these

Question 6

Time: 00:00:00
Linked List data structure usage offer considerable saving in

Computational time

Computational time

None

None

Computational time and space utilization

Computational time and space utilization

Space utilization

Space utilization

Question 7

Time: 00:00:00
Which of the following code is for creating a new node?

ptr=(Node*)malloc(sizeof(Node));

ptr=(Node*)malloc(sizeof(Node));

ptr=(Node*)malloc(Node);

ptr=(Node*)malloc(Node);

ptr(Node*)malloc(sizeof(Node*));

ptr(Node*)malloc(sizeof(Node*));

ptr=(Node)malloc(sizeof(Node));

ptr=(Node)malloc(sizeof(Node));

Question 8

Time: 00:00:00
What type of memory is referred for the linked list.

Static memory allocation

Static memory allocation

local memory

local memory

Dynamic memory allocation

Dynamic memory allocation

All type of memory can assigned

All type of memory can assigned

Question 9

Time: 00:00:00
 Suppose the linked list is used to implement the stack then which for the following node is considered as a top.

Any node

Any node

Middle node

Middle node

Last node

Last node

First node

First node

Question 10

Time: 00:00:00
The link field of the linked list carries

Zero value

Zero value

Link of next node

Link of next node

Link of the first node.

Link of the first node.

None

None

null
null

Buy TCS NQT Paid Materials

Paid Materials TCS NQT

Join TCS NQT Online Classes