Deck 12: Abstract Data Types
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
سؤال
فتح الحزمة
قم بالتسجيل لفتح البطاقات في هذه المجموعة!
Unlock Deck
Unlock Deck
1/13
العب
ملء الشاشة (f)
Deck 12: Abstract Data Types
1
In a binary tree, each node has _______ two subtrees.
A) more than
B) less than
C) at most
D) at least
A) more than
B) less than
C) at most
D) at least
C
2
If A is the first data element input into a queue, followed by B, C, and D, then _______ is the first element to be removed.
A) A
B) B
C) C
D) D
A) A
B) B
C) C
D) D
A
3
A(n) _______ list is also known as a queue.
A) LIFO
B) FIFO
C) unordered
D) ordered
A) LIFO
B) FIFO
C) unordered
D) ordered
B
4
In postorder traversal of a binary tree, the left subtree is processed _______.
A) first
B) second
C) last
D) after the right subtree
A) first
B) second
C) last
D) after the right subtree
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 13 في هذه المجموعة.
فتح الحزمة
k this deck
5
If A is the first data element input into a stack, followed by B, C, and D, then _______ is the first element to be removed.
A) A
B) B
C) C
D) D
A) A
B) B
C) C
D) D
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 13 في هذه المجموعة.
فتح الحزمة
k this deck
6
A stack is a _________ structure.
A) FIFO
B) LIFO
C) DIFO
D) SIFO
A) FIFO
B) LIFO
C) DIFO
D) SIFO
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 13 في هذه المجموعة.
فتح الحزمة
k this deck
7
The pop operation _______ of the stack.
A) deletes an item from the top
B) deletes an item from the bottom
C) inserts an item at the top
D) inserts an item at the bottom
A) deletes an item from the top
B) deletes an item from the bottom
C) inserts an item at the top
D) inserts an item at the bottom
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 13 في هذه المجموعة.
فتح الحزمة
k this deck
8
In _______ traversal of a binary tree, the right subtree is processed last.
A) preorder
B) inorder
C) postorder
D) any order
A) preorder
B) inorder
C) postorder
D) any order
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 13 في هذه المجموعة.
فتح الحزمة
k this deck
9
In an inorder traversal of a binary tree, the root is processed _______.
A) first
B) second
C) last
D) two times
A) first
B) second
C) last
D) two times
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 13 في هذه المجموعة.
فتح الحزمة
k this deck
10
In _______ traversal of a binary tree, the left subtree is processed last.
A) preorder
B) inorder
C) postorder
D) out of order
A) preorder
B) inorder
C) postorder
D) out of order
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 13 في هذه المجموعة.
فتح الحزمة
k this deck
11
The push operation _______ of the stack.
A) deletes an item from the top
B) deletes an item from the bottom
C) inserts an item at the top
D) inserts an item at the bottom
A) deletes an item from the top
B) deletes an item from the bottom
C) inserts an item at the top
D) inserts an item at the bottom
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 13 في هذه المجموعة.
فتح الحزمة
k this deck
12
In postorder traversal of a binary tree, the root is processed _______.
A) first
B) second
C) last
D) after the left subtree
A) first
B) second
C) last
D) after the left subtree
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 13 في هذه المجموعة.
فتح الحزمة
k this deck
13
In an abstract data type, _______.
A) the ADT implementation is known
B) the ADT implementation is hidden
C) the ADT public operations are hidden
D) Nothing is hidden
A) the ADT implementation is known
B) the ADT implementation is hidden
C) the ADT public operations are hidden
D) Nothing is hidden
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 13 في هذه المجموعة.
فتح الحزمة
k this deck