Linear Data Structures Quiz
Quiz
•
Computers
•
University
•
Practice Problem
•
Hard
Navkiran Gill
Used 11+ times
FREE Resource
Enhance your content in a minute
40 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a linear data structure?
A structure where elements are connected sequentially
A structure where elements are connected hierarchically
A structure where elements are connected randomly
None of the above
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which sorting algorithm works by repeatedly selecting the smallest element?
Which sorting algorithm works by repeatedly selecting the smallest element?
Selection Sort
Insertion Sort
Quick Sort
Bubble Sort
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the time complexity of accessing an element in an array by index?
O(1)
O(n)
O(log n)
O(n^2)
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following operations is performed in O(1) time in a stack?
Push
Pop
Both
None
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The number of passes required in Bubble Sort for an array of n elements is:
The number of passes required in Bubble Sort for an array of n elements is:
n
n - 1
n / 2
n + 1
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which data structure works on the principle of LIFO?
Stack
Queue
Array
Linked List
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the time complexity of searching in a linked list?
O(1)
O(n)
O(log n)
O(n^2)
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
38 questions
ITE 292 NETWORKING 1 P2 EXAM
Quiz
•
University
36 questions
6° Semestre
Quiz
•
University
36 questions
CA К/р "ОАП" 1 семестр
Quiz
•
University
44 questions
Movies
Quiz
•
2nd Grade - Professio...
35 questions
Endlish
Quiz
•
University
39 questions
Eng-103 Vocab 4
Quiz
•
University
40 questions
CompTIA Security+ SY0-601 Chapters 9 - 12
Quiz
•
University
38 questions
TTL1 QUIZ
Quiz
•
University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
