Linked Lists

Linked Lists

University

10 Qs

quiz-placeholder

Similar activities

assessment 1

assessment 1

University

10 Qs

PDS - 04225 Lists, Stacks and Queues - Chapter 5

PDS - 04225 Lists, Stacks and Queues - Chapter 5

University

10 Qs

Linked List 2

Linked List 2

University

10 Qs

KofiNketiaAckaahGyasi_CSCI2380_03Pre2

KofiNketiaAckaahGyasi_CSCI2380_03Pre2

University

10 Qs

DSA quiz 3 set 1

DSA quiz 3 set 1

University

10 Qs

BCSC0006 - Quiz 4 - Linked List & Stacks

BCSC0006 - Quiz 4 - Linked List & Stacks

University

10 Qs

Quiziz C++

Quiziz C++

University

12 Qs

IEEE_Round2

IEEE_Round2

University

13 Qs

Linked Lists

Linked Lists

Assessment

Quiz

Computers

University

Medium

Created by

RAVIKANTH K

Used 2+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is not a disadvantage to the usage of array?

Fixed size

There are chances of wastage of memory space if elements inserted in an array are lesser than the allocated size

Insertion based on position

Accessing elements at specified positions

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the time complexity to count the number of elements in the linked list?

O(1)

O(n)

O(logn)

O(n2)

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

void fun1(struct node* head) {

if(head == NULL) return;

fun1(head->next);

printf("%d ", head->data);

}

Prints all nodes of linked lists

Prints all nodes of linked list in reverse order

Prints alternate nodes of Linked List

Prints alternate nodes in reverse order

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A linear collection of data elements where the linear node is given by means of pointer is called?

linked list

node list

primitive list

None of these

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these is an application of linked lists?

To implement file systems

For separate chaining in hash-tables

To implement non-binary trees

All of the mentioned

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Insertion of an element at the middle of a linked list requires the modification of how many pointers?

2

1

3

4

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Insertion of an element at the front of a linked list requires the modification of how many pointers?

2

1

3

4

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?