
Data Structures and Algorithms

Quiz
•
Computers
•
University
•
Easy
Olivia S
Used 4+ times
FREE Resource
26 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
what is the difference between data structures and abstract data types
Data structures provide concrete implementation; abstract data types specify abstract behavior.
Data structures specify abstract behavior; abstract data types provide concrete implementation.
Both data structures and abstract data types provide concrete implementations.
There is no difference between data structures and abstract data types.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Fill in the blank: A basic array is a type of ________.
array
list
matrix
record
3.
MULTIPLE SELECT QUESTION
30 sec • 1 pt
Which of the following is an abstract data type?
Graph
Queue
Hash Table
Linked List
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The role of an iterator in data structures is to allow sequential access to the elements of a collection.
It allows sequential access to elements of a collection.
It sorts the data in a specific order.
It provides random access to any element.
It modifies the structure directly.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Fill in the blank: The big O of accessing an element in a singly linked list is ________.
O(n)
O(1)
O(log n)
O(n²)
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which operation is more efficient in linked lists compared to arrays?
Insertion
Accessing
Searching
Traversal
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
State the difference between singly linked lists and doubly linked lists.
Singly linked lists have one pointer per node while doubly linked lists have two pointers per node.
Singly linked lists are circular while doubly linked lists are linear.
Singly linked lists store data in nodes while doubly linked lists do not store data.
Singly linked lists use extra memory compared to doubly linked lists.
Create a free account and access millions of resources
Similar Resources on Wayground
25 questions
Stack and Queue

Quiz
•
University
21 questions
OOP - session 2.1 - JVM, Array, Stack

Quiz
•
University
26 questions
221 quiz questions exam 2 prep

Quiz
•
University
25 questions
ATS Gasal-X TO 1

Quiz
•
10th Grade - University
30 questions
Data Structure & Algorithm-Quiz-1

Quiz
•
University
27 questions
Comp 210 MT2 Review

Quiz
•
University
25 questions
DSA_Unit1

Quiz
•
University
23 questions
Data Structures and Algorithms Quiz - BATCH 1

Quiz
•
University
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade