The push operation throws a StackException when it tries to ______.

a) add an item to an empty stack
b) add an item to an array-based implementation of a stack that is already full
c) delete an item from an array-based implementation of a stack that is already full
d) delete an item from an empty stack


b.

Computer Science & Information Technology

You might also like to view...

You can add and delete fields in either Layout view or Design view

Indicate whether the statement is true or false

Computer Science & Information Technology

As with a while loop, when you use a for loop, you must be careful to stay within array bounds, remembering that the highest usable array subscript is one less than the size of the array.

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

Computer Science & Information Technology

Match the PowerPoint features and types of presentations to their descriptions:

I. linear presentation II. interactivity III. non-linear presentation IV. hyperlink V. action button A. presentation that progresses sequentially B. ability to branch to other slides or files based on viewer's decision C. presentation that progresses nonsequentially D. ready-made icon E. connection within a presentation that branches to another location

Computer Science & Information Technology

A hacker is a person who uses computer expertise to gain access to computer systems without permission

Indicate whether the statement is true or false

Computer Science & Information Technology