

Unit 3: Data Structure
Presentation
•
Computers
•
12th Grade
•
Practice Problem
•
Easy
Andrew Dawson
Used 1+ times
FREE Resource
6 Slides • 11 Questions
1
Unit 3: Data Structure
2
Pre-order traversal (depth first search):
Order - root, traverse the left sub-tree then traverse the right sub-tree
Binary trees and traversal
Pre-order traversal
3
Order - Traverse left sub-tree, node, then traverse right sub-tree.
Binary trees and traversal
In-order traversal
4
Order - Traverse left sub-tree, then traverse right sub-tree, then the node.
Binary trees and traversal
Post-order traversal
5
Draw
A binary tree structure is designed to contain strings and uses the following rules:
• The left pointer indicates the condition “earlier or at the same position in the alphabet”
• The right pointer indicates the condition “later in the alphabet”
Construct a binary tree using these rules and the data entered in the following order: Goat, Duck, Fox, Bear, Ant, Cat, Leopard, Owl, Mayfly, Insect, Jaguar, Emu.
You may use the initial letters if you wish.
6
Fill in the Blanks
7
Fill in the Blanks
8
Fill in the Blanks
9
Draw
Draw a representation of a binary tree using the data items: Smith, Jones, Ahmed, Lewis, Thomas, Brown
10
Categorize
Clone a tree
Count the number of leaves
Convert expression tree to prefix notation
Sort/search a binary tree
Accept traversing alphabetically
Deleting / Undo a binary tree
Stack-based programming
Convert postfix notation to expression tree
Match the examples to each of the pre/in/post order methods
11
Stacks are: Last in, first out (LIFO) data structures.
Pushing: Adding data to the stack.
Popping: Taking data off the stack.
Stacks
12
Queues are: First in, first out (FIFO) data structures.
Queues
13
Fill in the Blanks
Type answer...
14
Open Ended
Explain the differences between stack and queue data structures [4 marks]
15
Draw
b) i) [2]
16
Draw
b) ii) [2]
17
Drag and Drop
When searching an
When searching an
Unit 3: Data Structure
Show answer
Auto Play
Slide 1 / 17
SLIDE
Similar Resources on Wayground
11 questions
Telephone Vocabulary
Presentation
•
12th Grade
12 questions
Sistem Keamanan Jaringan (ASJ 12)
Presentation
•
12th Grade
11 questions
Teenager 5 Session 22: Pronunciation & Speaking
Presentation
•
KG
14 questions
Pronoun Problems
Presentation
•
12th Grade
10 questions
Compound and Simple Interest
Presentation
•
12th Grade
11 questions
boolean algebra
Presentation
•
12th Grade
12 questions
Abiotic vs Biotic
Presentation
•
12th Grade
12 questions
MIL_COT
Presentation
•
12th Grade
Popular Resources on Wayground
6 questions
Secondary Safety Quiz
Presentation
•
9th - 12th Grade
10 questions
MyPath Diagnostic Overview
Presentation
•
6th - 8th Grade
20 questions
Lab Safety Quiz
Quiz
•
6th Grade
21 questions
Continents and Oceans
Quiz
•
6th Grade
20 questions
Adding and Subtracting Decimals
Quiz
•
5th Grade
20 questions
Parts of Speech
Quiz
•
5th Grade
16 questions
Subject & Predicate
Quiz
•
5th Grade
21 questions
Lab Safety
Quiz
•
10th Grade