Linked Lists

Linked Lists

University

10 Qs

quiz-placeholder

Similar activities

Data Structure Quiz 2

Data Structure Quiz 2

University

9 Qs

Stack??

Stack??

University

15 Qs

DSA Day 2

DSA Day 2

University

13 Qs

DS UNIT-2 TEST-3

DS UNIT-2 TEST-3

University

10 Qs

Quiz - Linked list

Quiz - Linked list

University

14 Qs

Data Structures Activity - 1

Data Structures Activity - 1

University

15 Qs

Struktur Data

Struktur Data

University

10 Qs

Data Structure Quiz

Data Structure Quiz

University - Professional Development

10 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?