
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
15 questions
DS MODULE 3 LINKED LIST

Quiz
•
University
15 questions
Data Structures Activity - 1

Quiz
•
University
15 questions
DS Module 3 Linked List

Quiz
•
University
10 questions
Struktur Data

Quiz
•
University
10 questions
Stack

Quiz
•
University
10 questions
assessment 1

Quiz
•
University
10 questions
C++ linked list

Quiz
•
University
15 questions
Data Structure

Quiz
•
University
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade