
LINKED LIST

Quiz
•
Computers
•
University
•
Hard
Gouthami Velakanti
Used 3+ 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?
a) Fixed size
b) There are chances of wastage of memory space if elements inserted in an array are lesser than the allocated size
c) Insertion based on position
d) 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?
a) O(1)
b) O(n)
c) O(logn)
d) O(n2)
3.
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?
a) Linked list
b) Node list
c) Primitive list
d) Unordered list
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In linked list each node contains a minimum of two fields. One field is data field to store the data second field is?
a) Pointer to character
b) Pointer to integer
c) Pointer to node
d) Node
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What would be the asymptotic time complexity to insert an element at the front of the linked list (head is known)?
a) O(1)
b) O(n)
c) O(n2)
d) O(n3)
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following c code is used to create new node?
a) ptr = (struct node*)malloc(sizeof(struct node));
b) ptr = (struct node*)malloc(struct node);
c) ptr = (struct node*)malloc(sizeof(struct node*));
d) ptr = (struct node)malloc(sizeof(struct node));
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Linked list is considered as an example of ___________ type of memory allocation.
a) Dynamic
b) Static
c) Compile time
d) Heap
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
UNIT-2 QUEUE

Quiz
•
University
10 questions
Linked List

Quiz
•
University
15 questions
Quiz Struktur Data

Quiz
•
University
15 questions
Archivos y Colecciones

Quiz
•
University
10 questions
Quiz 1 - AK2 Section

Quiz
•
University
15 questions
DATA STRUCTURES QUIZ

Quiz
•
University
13 questions
Data Structure and Algorithms Semi-Final Examination

Quiz
•
University
10 questions
Java_Collection_I

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