DSA Day 4

Quiz
•
Computers
•
University
•
Hard

Skill Chaze
FREE Resource
7 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these is not an application of a linked list?
To implement file systems
To implement file systems
To implement non-binary trees
Random Access of elements
2.
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
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the time complexity of inserting at the end in dynamic arrays?
O(1)
O(n)
O(logn)
Either O(1) or O(n)
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following points is/are true about Linked List data structure when it is compared with array?
Arrays have better cache locality that can make them better in terms of performance.
It is easy to insert and delete elements in Linked List
Random access is not allowed in a typical implementation of Linked Lists
The size of array has to be pre-decided, linked lists can change their size any time.
All of the above
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following sorting algorithms can be used to sort a random linked list with minimum time complexity?
Insertion Sort
Quick Sort
Heap Sort
Merge Sort
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the output of following function in which start is pointing to the first node of the following linked list 1->2->3->4->5->6 ?
1 4 6 6 4 1
1 3 5 1 3 5
1 2 3 5
1 3 5 5 3 1
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A variant of the linked list in which none of the node contains NULL pointer is?
Singly linked list
Doubly linked list
Circular linked list
None
Similar Resources on Wayground
12 questions
Analisis Struktur Data

Quiz
•
10th Grade - University
10 questions
MATLAB 2

Quiz
•
KG - University
10 questions
DS Quiz 1

Quiz
•
University
10 questions
Lesson 9 Knowledge Assessment

Quiz
•
6th Grade - University
10 questions
CSS TECH TRIVIA - MEDIUM LEVEL

Quiz
•
University
11 questions
Data Structures - Training: Quiz 1

Quiz
•
University
10 questions
Kuis StrukDat

Quiz
•
University
10 questions
searching 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