Answer the following questions true (T) or false (F)

1. There is no need for error checking when popping a stack.

2. There is no need for error checking when pushing a stack.


1. False
Explanation: It is an error to attempt to remove data from an empty stack. Such an error is called a stack underflow.
2. False
Explanation: It is an error to attempt to insert data into a stack where no storage space remains. Such an error is a stack overflow.

Computer Science & Information Technology

You might also like to view...

________ are objects on a form that display data or text, perform actions, and let users view and work with information

A) Groups B) Menus C) Toolbars D) Controls

Computer Science & Information Technology

Which statement is incorrect regarding custom shows?

A) The slides must all be from the main presentation. B) You can hyperlink from one custom show to another. C) The slides can be from other presentations. D) You can create as many custom shows as desired.

Computer Science & Information Technology

You should create a scenario before selecting the cells that will change

Indicate whether the statement is true or false.

Computer Science & Information Technology

The information system that handles the processing and tracking of transactions is called a(n):

A. TPS B. MIS C. office automation system D. DSS

Computer Science & Information Technology