HUMAN COMPUTER INTERACTION Lab. Of Distributed Multimedia Information Systems and Applications | TUC/MUSIC Department of Electronic and Computer Engineering Technical University of Crete Rontidis Pavlos Souris Anastasios
mDS
Description: Node-based binary tree with the properties: A left sub-tree of a node contains only nodes with keys less than … A left sub-tree of a node contains only nodes with keys less than … Description: AVL tree is a self-balancing binary search tree, and it was the first such data structure to be invented. Description: A red-black tree is a type of self-balancing binary search tree, a data structure used in computing science, typically used to implement associative arrays. s
menu mDS
The purpose of this test is to test basic knowledge on BSTs. Time Limit: 3 min Completed in: 2min Date finished: 2/22/2011 The purpose of this test is to test two operation on BSTs, Insertion and deletion. Time Limit: 6 min Not taken The purpose of this test is to test BST traversals. Insertion and deletion. Time Limit: 10 min Not taken
Tap start to start the timer. Tap start to complete or exit the Quiz. Start Finish Tap start to start the timer. Tap start to complete or exit the Quiz.
Multiple choice Description… Answer 1…. Answer 2… Answer 3… Start Finish 00:01
The purpose of this test is to test basic knowledge on BSTs. Time Limit: 3 min Completed in: 2min Date finished: 2/22/2011 The purpose of this test is to test two operation on BSTs, Insertion and deletion. Time Limit: 6 min Failed: 10min Not Completed The purpose of this test is to test BST traversals. Insertion and deletion. Time Limit: 10 min Not taken
mDS Prototype: Animations List Search for key = 6 Search for key = 9 Node creation & insertion In-order Traversal iPhone demo iPad demo change options
Change options return practice animation help options
Option screen mDS
Option screen mDS
mDS Prototype: Animations List Search for key = 6 Search for key = 9 Node creation & insertion In-order Traversal iPhone demo iPad demo change options
Searc h 6 return practice animation help options
Enter node’s key: You tapped inside an empty node.
Enter node’s key: 6
< < 10 is True cancel
> 6 > 3 is True cancel
> 6 < 8 is True cancel
= 6 is True cancel
Node found ! cancel
mDS Prototype: Animations List Search for key = 6 Search for key = 9 Node creation & insertion In-order Traversal iPhone demo iPad demo change options
Search 9 return practice animation help options
You tapped inside an empty node. Enter node’s key:
You tapped inside an empty node. Enter node’s key: 9
< < 10 is True cancel
> 9 > 3 is True cancel
> 8 is True cancel
Leaf reached. Node not found. NULL cancel
mDS Prototype: Animations List Search for key = 6 Search for key = 9 Node creation & insertion In-order Traversal iPhone demo iPad demo change options
Insert 9
Node created !
Enter node’s key: You tapped inside an empty node.
Enter node’s key: 9 You tapped inside an empty node.
< current.key root.key 9 < current.key Next step: current current.left cancel
> current.key 3 9 > current.key Next step: current current.right cancel
found position for key = NULL Pointer to NULL: Allocate space for new node. current.key 8 9 > current.key cancel
Algorithm finished. Result: Insertion completed. 9 Node inserted. cancel
mDS Prototype: Animations List Search for key = 6 Search for key = 9 Node creation & insertion In-order Traversal iPhone demo iPad demo change options
In- order traver sal
Gesture initiated an in-order traversal. cancel
Printed: 2 Recursion to left sub-tree. cancel
Printed: 2, 3 cancel
Printed: 2, 3, 6 cancel
Printed: 2, 3, 6, 8 cancel
Printed: 2, 3, 6, 8, 10 Visited root. cancel
Printed: 2, 3, 6, 8, 10, 15 Recursion to right sub-tree. cancel
Printed: 2, 3, 6, 8, 10, 15, 16 cancel
Printed: 2, 3, 6, 8, 10, 15, 16, 17 cancel
NULL cancel In-order traversal completed. Keys printed in ascending order. Printed: 2, 3, 6, 8, 10, 15, 16, 17
mDS Prototype: Animations List Search for key = 6 Search for key = 9 Node creation & insertion In-order Traversal iPhone demo iPad demo change options