

Data Structures Flashcard
Flashcard
•
Other
•
University
•
Practice Problem
•
Hard
Wayground Content
FREE Resource
Student preview

10 questions
Show all answers
1.
FLASHCARD QUESTION
Front
What is a data structure?
Back
A way to organize and store data
2.
FLASHCARD QUESTION
Front
Which of the following is an example of a linear data structure? Options: Queue, Stack, Array, All of the above
Back
All of the above
3.
FLASHCARD QUESTION
Front
In a binary tree, how many children can a node have?
Back
2
4.
FLASHCARD QUESTION
Front
Which of the following operations can be performed in constant time on a stack? Push, Pop, Peek, All of the above
Back
All of the above
5.
FLASHCARD QUESTION
Front
What is the height of a tree?
Back
The number of edges on the longest path from the root to a leaf
6.
FLASHCARD QUESTION
Front
Which of the following is true about a red-black tree?
Options:
It is a self-balancing binary search tree.
Every red node must have a black parent.
The root must be black.
All of the above
Back
All of the above
7.
FLASHCARD QUESTION
Front
In a red-black tree, what color is the root node?
Back
Black
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?