Exam 17: Stacks and Queues

arrow
  • Select Tags
search iconSearch Question
  • Select Tags

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

Free
(Short Answer)
4.9/5
(39)
Correct Answer:
Verified

a data structure in which the item that is added last will be removed first

A(n) ____________________ is a system in which a queue of objects is waiting to be served by various servers.

Free
(Short Answer)
4.9/5
(48)
Correct Answer:
Verified

queuing system

What is a LIFO data structure?

Free
(Short Answer)
5.0/5
(41)
Correct Answer:
Verified

A Last In First Out (LIFO) data structure is a data structure in which the item that is added last will be removed first.

In a linked implementation of a stack, the stack is only full if computer memory runs out.

(True/False)
4.8/5
(44)

What does these terms refer to: - \gg deleteQueue:

(Short Answer)
4.9/5
(37)

What is the position of the top element of a stack in an array-based implementation?

(Short Answer)
4.9/5
(35)

What does these terms refer to: - \gg destroyStack:

(Short Answer)
4.7/5
(34)

What does these terms refer to: - \gg Underflow:

(Short Answer)
5.0/5
(33)

What does these terms refer to: - \gg push:

(Short Answer)
4.9/5
(33)

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.

(Short Answer)
4.9/5
(38)

What does these terms refer to: - \gg queueRear:

(Short Answer)
4.9/5
(40)

Removing an element from an empty stack results in ____________________.

(Short Answer)
4.8/5
(39)

What does these terms refer to: - \gg addQueue:

(Short Answer)
4.8/5
(37)

What does these terms refer to: - \gg Stack:

(Short Answer)
4.9/5
(38)

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

(Short Answer)
4.7/5
(35)

The ____________________ operation of a stack removes and stores the top element of the stack.

(Short Answer)
4.9/5
(28)

What does these terms refer to: - \gg Front:

(Short Answer)
4.9/5
(32)

A stack element can be accessed either at the top or the bottom of the stack.

(True/False)
4.7/5
(38)

What does these terms refer to: - \gg Infix notation:

(Short Answer)
4.8/5
(34)

Which stack function is a private member of the class?

(Short Answer)
4.8/5
(47)
Showing 1 - 20 of 34
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)