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

LINKED LIST

Quiz
•
Computers
•
University
•
Hard
Gouthami Velakanti
Used 1+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
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
9 questions
Data structures

Quiz
•
University
15 questions
Coding club Summit Online Quiz

Quiz
•
University
10 questions
C - Pointers

Quiz
•
University
10 questions
DS UNIT-2 TEST-3

Quiz
•
University
12 questions
Quiziz C++

Quiz
•
University
13 questions
DSA Day 2

Quiz
•
University
8 questions
FOS Ch.1 PArt 4 (QUIZ 4)

Quiz
•
University
15 questions
Stack??

Quiz
•
University
Popular Resources on Wayground
25 questions
Equations of Circles

Quiz
•
10th - 11th Grade
30 questions
Week 5 Memory Builder 1 (Multiplication and Division Facts)

Quiz
•
9th Grade
33 questions
Unit 3 Summative - Summer School: Immune System

Quiz
•
10th Grade
10 questions
Writing and Identifying Ratios Practice

Quiz
•
5th - 6th Grade
36 questions
Prime and Composite Numbers

Quiz
•
5th Grade
14 questions
Exterior and Interior angles of Polygons

Quiz
•
8th Grade
37 questions
Camp Re-cap Week 1 (no regression)

Quiz
•
9th - 12th Grade
46 questions
Biology Semester 1 Review

Quiz
•
10th Grade