Deck 12: Binary Trees
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
فتح الحزمة
قم بالتسجيل لفتح البطاقات في هذه المجموعة!
Unlock Deck
Unlock Deck
1/17
العب
ملء الشاشة (f)
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.
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
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.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 17 في هذه المجموعة.
فتح الحزمة
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.
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.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 17 في هذه المجموعة.
فتح الحزمة
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.
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.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 17 في هذه المجموعة.
فتح الحزمة
k this deck
7
8.A binary tree stores data in right brances and left branches.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 17 في هذه المجموعة.
فتح الحزمة
k this deck
8
4.A node at a higher level is called parent.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 17 في هذه المجموعة.
فتح الحزمة
k this deck
9
10.Hashing is another method of storing and processing data.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 17 في هذه المجموعة.
فتح الحزمة
k this deck
10
1.The top of a binary tree is a branch.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 17 في هذه المجموعة.
فتح الحزمة
k this deck
11
18.Preorder processing is abbreviated as:
A)NLR
B)LNR
C)LRN
D)RNL
A)NLR
B)LNR
C)LRN
D)RNL
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 17 في هذه المجموعة.
فتح الحزمة
k this deck
12
3.A binary tree is the same as a linked list.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 17 في هذه المجموعة.
فتح الحزمة
k this deck
13
6.Stacks are used to process a binary tree.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 17 في هذه المجموعة.
فتح الحزمة
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.
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.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 17 في هذه المجموعة.
فتح الحزمة
k this deck
15
2.A node on a binary tree may be a leaf.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 17 في هذه المجموعة.
فتح الحزمة
k this deck
16
19.Inorder processing is abbreviated as:
A)NLR
B)LNR
C)LRN
D)RNL
A)NLR
B)LNR
C)LRN
D)RNL
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 17 في هذه المجموعة.
فتح الحزمة
k this deck
17
5.The bottom position of the tree is called a root
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 17 في هذه المجموعة.
فتح الحزمة
k this deck