Deck 17: Stacks and Queues

ملء الشاشة (f)
exit full mode
سؤال
What is a LIFO data structure?
استخدم زر المسافة أو
up arrow
down arrow
لقلب البطاقة.
سؤال
The addition and deletion of elements in a stack only occur at one end, called the ____________________ of the stack.
سؤال
A stack element can be accessed either at the top or the bottom of the stack.
سؤال
The ____________________ operation of a stack removes and stores the top element of the stack.
سؤال
Which stack function is a private member of the class?
سؤال
What is the position of the top element of a stack in an array-based implementation?
سؤال
Removing an element from an empty stack results in ____________________.
سؤال
In a linked implementation of a stack, the stack is only full if computer memory runs out.
سؤال
A(n) ____________________ is a system in which a queue of objects is waiting to be served by various servers.
سؤال
A(n) ____________________ array can be used in an array implementation of a queue to avoid an overflow error at the rear of the queue when the queue is not full.
سؤال
What does these terms refer to:

- \gg addQueue:
سؤال
What does these terms refer to:

- \gg Back (rear):
سؤال
What does these terms refer to:

- \gg Customer:
سؤال
What does these terms refer to:

- \gg deleteQueue:
سؤال
What does these terms refer to:

- \gg destroyStack:
سؤال
What does these terms refer to:

- \gg Front:
سؤال
What does these terms refer to:

- \gg Infix notation:
سؤال
What does these terms refer to:

- \gg Last In First Out (LIFO) data structure:
سؤال
What does these terms refer to:

- \gg Overflow:
سؤال
What does these terms refer to:

- \gg pop:
سؤال
What does these terms refer to:

- \gg Prefix (Polish notation):
سؤال
What does these terms refer to:

- \gg push:
سؤال
What does these terms refer to:

- \gg Queue:
سؤال
What does these terms refer to:

- \gg queueFront:
سؤال
What does these terms refer to:

- \gg queueRear:
سؤال
What does these terms refer to:

- \gg Queuing systems:
سؤال
What does these terms refer to:

- \gg Server:
سؤال
What does these terms refer to:

- \gg Simulation:
سؤال
What does these terms refer to:

- \gg Stack:
سؤال
What does these terms refer to:

- \gg Postfix (Reverse Polish) notation:
سؤال
What does these terms refer to:

- \gg Time-driven simulation:
سؤال
What does these terms refer to:

- \gg Top:
سؤال
What does these terms refer to:

- \gg Transaction time:
سؤال
What does these terms refer to:

- \gg Underflow:
فتح الحزمة
قم بالتسجيل لفتح البطاقات في هذه المجموعة!
Unlock Deck
Unlock Deck
1/34
auto play flashcards
العب
simple tutorial
ملء الشاشة (f)
exit full mode
Deck 17: Stacks and Queues
1
What is a LIFO data structure?
A Last In First Out (LIFO) data structure is a data structure in which the item that is added last will be removed first.
2
The addition and deletion of elements in a stack only occur at one end, called the ____________________ of the stack.
top
3
A stack element can be accessed either at the top or the bottom of the stack.
False
4
The ____________________ operation of a stack removes and stores the top element of the stack.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 34 في هذه المجموعة.
فتح الحزمة
k this deck
5
Which stack function is a private member of the class?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 34 في هذه المجموعة.
فتح الحزمة
k this deck
6
What is the position of the top element of a stack in an array-based implementation?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 34 في هذه المجموعة.
فتح الحزمة
k this deck
7
Removing an element from an empty stack results in ____________________.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 34 في هذه المجموعة.
فتح الحزمة
k this deck
8
In a linked implementation of a stack, the stack is only full if computer memory runs out.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 34 في هذه المجموعة.
فتح الحزمة
k this deck
9
A(n) ____________________ is a system in which a queue of objects is waiting to be served by various servers.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 34 في هذه المجموعة.
فتح الحزمة
k this deck
10
A(n) ____________________ array can be used in an array implementation of a queue to avoid an overflow error at the rear of the queue when the queue is not full.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 34 في هذه المجموعة.
فتح الحزمة
k this deck
11
What does these terms refer to:

- \gg addQueue:
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 34 في هذه المجموعة.
فتح الحزمة
k this deck
12
What does these terms refer to:

- \gg Back (rear):
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 34 في هذه المجموعة.
فتح الحزمة
k this deck
13
What does these terms refer to:

- \gg Customer:
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 34 في هذه المجموعة.
فتح الحزمة
k this deck
14
What does these terms refer to:

- \gg deleteQueue:
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 34 في هذه المجموعة.
فتح الحزمة
k this deck
15
What does these terms refer to:

- \gg destroyStack:
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 34 في هذه المجموعة.
فتح الحزمة
k this deck
16
What does these terms refer to:

- \gg Front:
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 34 في هذه المجموعة.
فتح الحزمة
k this deck
17
What does these terms refer to:

- \gg Infix notation:
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 34 في هذه المجموعة.
فتح الحزمة
k this deck
18
What does these terms refer to:

- \gg Last In First Out (LIFO) data structure:
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 34 في هذه المجموعة.
فتح الحزمة
k this deck
19
What does these terms refer to:

- \gg Overflow:
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 34 في هذه المجموعة.
فتح الحزمة
k this deck
20
What does these terms refer to:

- \gg pop:
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 34 في هذه المجموعة.
فتح الحزمة
k this deck
21
What does these terms refer to:

- \gg Prefix (Polish notation):
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 34 في هذه المجموعة.
فتح الحزمة
k this deck
22
What does these terms refer to:

- \gg push:
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 34 في هذه المجموعة.
فتح الحزمة
k this deck
23
What does these terms refer to:

- \gg Queue:
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 34 في هذه المجموعة.
فتح الحزمة
k this deck
24
What does these terms refer to:

- \gg queueFront:
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 34 في هذه المجموعة.
فتح الحزمة
k this deck
25
What does these terms refer to:

- \gg queueRear:
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 34 في هذه المجموعة.
فتح الحزمة
k this deck
26
What does these terms refer to:

- \gg Queuing systems:
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 34 في هذه المجموعة.
فتح الحزمة
k this deck
27
What does these terms refer to:

- \gg Server:
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 34 في هذه المجموعة.
فتح الحزمة
k this deck
28
What does these terms refer to:

- \gg Simulation:
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 34 في هذه المجموعة.
فتح الحزمة
k this deck
29
What does these terms refer to:

- \gg Stack:
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 34 في هذه المجموعة.
فتح الحزمة
k this deck
30
What does these terms refer to:

- \gg Postfix (Reverse Polish) notation:
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 34 في هذه المجموعة.
فتح الحزمة
k this deck
31
What does these terms refer to:

- \gg Time-driven simulation:
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 34 في هذه المجموعة.
فتح الحزمة
k this deck
32
What does these terms refer to:

- \gg Top:
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 34 في هذه المجموعة.
فتح الحزمة
k this deck
33
What does these terms refer to:

- \gg Transaction time:
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 34 في هذه المجموعة.
فتح الحزمة
k this deck
34
What does these terms refer to:

- \gg Underflow:
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 34 في هذه المجموعة.
فتح الحزمة
k this deck
locked card icon
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 34 في هذه المجموعة.