Linear Data Structures Quiz

Quiz
•
Computers
•
University
•
Hard
Navkiran Gill
Used 8+ times
FREE Resource
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
What is a dangling pointer in the context of data structures?
A pointer that points to a memory location which has already been deallocated
A pointer that has not been initialized
A pointer that points to the starting address of an array
A pointer that points to a memory block managed by a garbage collector
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
What is the rear end of a queue called?
Front
Rear
Back
Tail
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)
Create a free account and access millions of resources
Similar Resources on Wayground
41 questions
Ujian Informatika Kelas VIII

Quiz
•
8th Grade - University
40 questions
Java-Collections

Quiz
•
University
35 questions
QuizFinLesson7

Quiz
•
University
45 questions
Unit Test II

Quiz
•
University
35 questions
end of year Quiz

Quiz
•
12th Grade - University
42 questions
UTS Algoritma dan Pemrograman

Quiz
•
University
40 questions
Data Structures and Algorithms Quiz

Quiz
•
University
40 questions
STS KELAS X-3

Quiz
•
10th Grade - University
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade