Deck 12: Abstract Data Types

ملء الشاشة (f)
exit full mode
سؤال
In a binary tree, each node has _______ two subtrees.

A) more than
B) less than
C) at most
D) at least
استخدم زر المسافة أو
up arrow
down arrow
لقلب البطاقة.
سؤال
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(n) _______ list is also known as a queue.

A) LIFO
B) FIFO
C) unordered
D) ordered
سؤال
In postorder traversal of a binary tree, the left subtree is processed _______.

A) first
B) second
C) last
D) after the right subtree
سؤال
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 stack is a _________ structure.

A) FIFO
B) LIFO
C) DIFO
D) SIFO
سؤال
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
سؤال
In _______ traversal of a binary tree, the right subtree is processed last.

A) preorder
B) inorder
C) postorder
D) any order
سؤال
In an inorder traversal of a binary tree, the root is processed _______.

A) first
B) second
C) last
D) two times
سؤال
In _______ traversal of a binary tree, the left subtree is processed last.

A) preorder
B) inorder
C) postorder
D) out of order
سؤال
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
سؤال
In postorder traversal of a binary tree, the root is processed _______.

A) first
B) second
C) last
D) after the left subtree
سؤال
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
فتح الحزمة
قم بالتسجيل لفتح البطاقات في هذه المجموعة!
Unlock Deck
Unlock Deck
1/13
auto play flashcards
العب
simple tutorial
ملء الشاشة (f)
exit full mode
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
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
3
A(n) _______ list is also known as a queue.

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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 13 في هذه المجموعة.
فتح الحزمة
k this deck
6
A stack is a _________ structure.

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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 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
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 13 في هذه المجموعة.
فتح الحزمة
k this deck
locked card icon
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 13 في هذه المجموعة.