Deck 12: Binary Trees

Full screen (f)
exit full mode
Question
17.To process data using postorder processing:

A)Node is processed first,then the left branch,then the right.
B)The left branch is processed first,then the node and then the right branch
C)The left branch is processed first,then the right branch,and then the node
D)The right branch is processed first,then the node,and then the left branch.
Use Space or
up arrow
down arrow
to flip the card.
Question
7.There are teo branches from every node.
Question
12.Given the following data,what would the root value be if the tree were transversed as NLR, (Remember the data should be in alphabetical order. ) Dave
Julie
Martha
Adam
Frank
Peter
Norman

A)Julie
B)Adam
C)Martha
D)Peter
E)Norman
Question
9.There are three ways to process binary trees: Preorder,Inorder,and Postorder.
Question
16.To process data using inorder processing:

A)Node is processed first,then the left branch,then the right.
B)The left branch is processed first,then the node and then the right branch
C)The left branch is processed first,then the right branch,and then the node
D)The right branch is processed first,then the node,and then the left branch.
Question
11.A binary tree:

A)Has a root node.
B)Each node has no more than two branches.
C)Uses stacks to process the nodes.
D)Uses two extra fields for the pointers to the branches.
E)All of the above.
Question
8.A binary tree stores data in right brances and left branches.
Question
4.A node at a higher level is called parent.
Question
10.Hashing is another method of storing and processing data.
Question
1.The top of a binary tree is a branch.
Question
18.Preorder processing is abbreviated as:

A)NLR
B)LNR
C)LRN
D)RNL
Question
3.A binary tree is the same as a linked list.
Question
6.Stacks are used to process a binary tree.
Question
15.To process data using preorder processing:

A)Node is processed first,then the left branch,then the right.
B)The left branch is processed first,then the node and then the right branch
C)The left branch is processed first,then the right branch,and then the node
D)The right branch is processed first,then the node,and then the left branch.
Question
2.A node on a binary tree may be a leaf.
Question
19.Inorder processing is abbreviated as:

A)NLR
B)LNR
C)LRN
D)RNL
Question
5.The bottom position of the tree is called a root
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/17
auto play flashcards
Play
simple tutorial
Full screen (f)
exit full mode
Deck 12: Binary Trees
1
17.To process data using postorder processing:

A)Node is processed first,then the left branch,then the right.
B)The left branch is processed first,then the node and then the right branch
C)The left branch is processed first,then the right branch,and then the node
D)The right branch is processed first,then the node,and then the left branch.
C
2
7.There are teo branches from every node.
False
3
12.Given the following data,what would the root value be if the tree were transversed as NLR, (Remember the data should be in alphabetical order. ) Dave
Julie
Martha
Adam
Frank
Peter
Norman

A)Julie
B)Adam
C)Martha
D)Peter
E)Norman
A
4
9.There are three ways to process binary trees: Preorder,Inorder,and Postorder.
Unlock Deck
Unlock for access to all 17 flashcards in this deck.
Unlock Deck
k this deck
5
16.To process data using inorder processing:

A)Node is processed first,then the left branch,then the right.
B)The left branch is processed first,then the node and then the right branch
C)The left branch is processed first,then the right branch,and then the node
D)The right branch is processed first,then the node,and then the left branch.
Unlock Deck
Unlock for access to all 17 flashcards in this deck.
Unlock Deck
k this deck
6
11.A binary tree:

A)Has a root node.
B)Each node has no more than two branches.
C)Uses stacks to process the nodes.
D)Uses two extra fields for the pointers to the branches.
E)All of the above.
Unlock Deck
Unlock for access to all 17 flashcards in this deck.
Unlock Deck
k this deck
7
8.A binary tree stores data in right brances and left branches.
Unlock Deck
Unlock for access to all 17 flashcards in this deck.
Unlock Deck
k this deck
8
4.A node at a higher level is called parent.
Unlock Deck
Unlock for access to all 17 flashcards in this deck.
Unlock Deck
k this deck
9
10.Hashing is another method of storing and processing data.
Unlock Deck
Unlock for access to all 17 flashcards in this deck.
Unlock Deck
k this deck
10
1.The top of a binary tree is a branch.
Unlock Deck
Unlock for access to all 17 flashcards in this deck.
Unlock Deck
k this deck
11
18.Preorder processing is abbreviated as:

A)NLR
B)LNR
C)LRN
D)RNL
Unlock Deck
Unlock for access to all 17 flashcards in this deck.
Unlock Deck
k this deck
12
3.A binary tree is the same as a linked list.
Unlock Deck
Unlock for access to all 17 flashcards in this deck.
Unlock Deck
k this deck
13
6.Stacks are used to process a binary tree.
Unlock Deck
Unlock for access to all 17 flashcards in this deck.
Unlock Deck
k this deck
14
15.To process data using preorder processing:

A)Node is processed first,then the left branch,then the right.
B)The left branch is processed first,then the node and then the right branch
C)The left branch is processed first,then the right branch,and then the node
D)The right branch is processed first,then the node,and then the left branch.
Unlock Deck
Unlock for access to all 17 flashcards in this deck.
Unlock Deck
k this deck
15
2.A node on a binary tree may be a leaf.
Unlock Deck
Unlock for access to all 17 flashcards in this deck.
Unlock Deck
k this deck
16
19.Inorder processing is abbreviated as:

A)NLR
B)LNR
C)LRN
D)RNL
Unlock Deck
Unlock for access to all 17 flashcards in this deck.
Unlock Deck
k this deck
17
5.The bottom position of the tree is called a root
Unlock Deck
Unlock for access to all 17 flashcards in this deck.
Unlock Deck
k this deck
locked card icon
Unlock Deck
Unlock for access to all 17 flashcards in this deck.