Which of the following is not a linear data structure?

DATA STRUCTURES_LBRCE

Quiz
•
Computers
•
University
•
Hard
Dr Reddy
Used 2+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
stack
queue
linked list
Tree
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following best defines a data structure?
A way to store data in memory
A collection of algorithms
A way to organize and store data to facilitate access and modification
A programming language construct
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which data structure uses Last In First Out (LIFO) order?
Stack
Queue
Linked List
Tree
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the time complexity of accessing an element in an array?
O(n)
O(1)
O(logn)
O(n*n)
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which data structure does not require contiguous memory allocation?
Array
Stack
Linked List
Queue
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the worst case runtime of linear search algorithm?
O(n*n)
O(1)
O(logn)
O(n)
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the time complexity of searching for an element in a singly linked list?
O(n)
O(logn)
O(1)
O(n*n)
Create a free account and access millions of resources
Similar Resources on Quizizz
15 questions
Linked List (Chapter 2)

Quiz
•
University
20 questions
Data Structures

Quiz
•
University
15 questions
Arrays and Linked Lists

Quiz
•
University
17 questions
Demo DS-A ASHV Quiz

Quiz
•
University
15 questions
User-Defined DS

Quiz
•
University
15 questions
Stack??

Quiz
•
University
20 questions
Generics

Quiz
•
University
15 questions
Knowledge Knockout[Quiz Round](2nd-4th years)

Quiz
•
University
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade