
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
26 questions
Data Structures and Algorithms

Quiz
•
University
30 questions
Data Structures Quiz

Quiz
•
University
30 questions
Struktur data Tree

Quiz
•
University
25 questions
Year-3

Quiz
•
University
30 questions
Data Structures Quiz

Quiz
•
University
25 questions
Quiz on Queue Data Structures

Quiz
•
University
30 questions
BTech CE Batch 2

Quiz
•
University
25 questions
Exploring Linked Lists

Quiz
•
University
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

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

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
21 questions
Spanish-Speaking Countries

Quiz
•
6th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
7 questions
Common and Proper Nouns

Interactive video
•
4th Grade - University
12 questions
Los numeros en español.

Lesson
•
6th Grade - University
7 questions
PC: Unit 1 Quiz Review

Quiz
•
11th Grade - University
7 questions
Supporting the Main Idea –Informational

Interactive video
•
4th Grade - University
12 questions
Hurricane or Tornado

Quiz
•
3rd Grade - University
7 questions
Enzymes (Updated)

Interactive video
•
11th Grade - University