
Linked Lists

Quiz
•
Computers
•
University
•
Medium
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
Similar Resources on Wayground
10 questions
Data structures

Quiz
•
University
10 questions
DS Quiz1

Quiz
•
University
7 questions
Binary Search Tree

Quiz
•
University
10 questions
DATA STRUCTURE QUIZ 1- INTRO TO DATA STRUCTURES

Quiz
•
University
10 questions
Basic java

Quiz
•
University
5 questions
Quiz 2 Practice

Quiz
•
University
10 questions
DS - Linked List

Quiz
•
University
15 questions
Stacks and Queues Quiz

Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
36 questions
Unit 5 Key Terms

Quiz
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
15 questions
Properties of Equality

Quiz
•
8th Grade - University
38 questions
WH - Unit 3 Exam Review*

Quiz
•
10th Grade - University
21 questions
Advise vs. Advice

Quiz
•
6th Grade - University
12 questions
Reading a ruler!

Quiz
•
9th Grade - University