
Data Structures Quiz

Quiz
•
Computers
•
University
•
Hard
zin marYIU
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
25 questions
ATS Gasal-X TO 1

Quiz
•
10th Grade - University
29 questions
Knowledge Testing on Data Structures

Quiz
•
University
27 questions
Comp 210 MT2 Review

Quiz
•
University
31 questions
Section 3: Scheduling (1-10)

Quiz
•
University
30 questions
Data Structures Quiz

Quiz
•
University
25 questions
PHP + MySQL

Quiz
•
7th Grade - University
28 questions
Computer Science quiz

Quiz
•
11th Grade - University
25 questions
Technical quiz(Medium-Level)

Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Would you rather...

Quiz
•
KG - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
10 questions
The Constitution, the Articles, and Federalism Crash Course US History

Interactive video
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
16 questions
Water Modeling Activity

Lesson
•
11th Grade - University
10 questions
ACT English prep

Quiz
•
9th Grade - University