
Data Structures Quiz

Quiz
•
Computers
•
University
•
Medium
zin marYIU
Used 1+ times
FREE Resource
30 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a tree in data structures?
A linear data structure
A hierarchical data structure
A non-linear data structure
Both b and c
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In a binary search tree (BST), which traversal gives elements in sorted order?
Preorder
Postorder
Inorder
Level-order
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which tree data structure is best suited for hierarchical representation?
Binary Tree
B-Tree
Heap
Trie
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In a binary tree, how many children can a node have at most?
1
2
3
Any number
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a graph in data structures?
A tree-like structure
A collection of nodes connected by edges
A linear data structure
A stack-based structure
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the difference between a directed graph and an undirected graph?
Directed graphs have weights on edges, while undirected graphs do not
Directed graphs have edges with a direction, while undirected graphs do not
Directed graphs cannot have cycles
Undirected graphs require more memory
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A graph without cycles is called a:
Complete graph
Connected graph
Acyclic graph
Weighted graph
Create a free account and access millions of resources
Similar Resources on Wayground
27 questions
Data Structures Midterm Exam WRI

Quiz
•
University
25 questions
Quiz Data Structures unit II

Quiz
•
University
30 questions
Quiz Informatika 7

Quiz
•
7th Grade - University
25 questions
CHAPTER 4- QUEUES

Quiz
•
University
30 questions
DS_WeeklyTest-4

Quiz
•
University
31 questions
ITSC-2214 Quiz 2

Quiz
•
University
35 questions
OVERVIEW OF COMPUTER SYSTEM

Quiz
•
University
31 questions
Technical 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