Answer the following questions true (T) or false (F)
1. Placing data on a stack is called popping the stack.
2. Removing data from a stack is called popping the stack.
1. False
Explanation: The correct term is pushing the item onto the stack.
2. True
Explanation: Insertion is pushing, removal is popping. Some stacks use void pop operations that merely discards the data removed from the top. Such stacks provide a function to examine the top of the stack. Other stacks remove and return the data on the stack top.
You might also like to view...
In a ________ relationship, a record can match several records in the second table and a record in the second table can match several records from the first table:
A) multiple B) many-to-many C) compound D) several-to-several
When configuring a switch to connect to a router that is being configured with a ROAS configuration, which Cisco IOS command must be entered on the interface to ensure that the link forms a trunk?
A) switchport mode trunk B) switchport mode dynamic desirable C) switchport mode access D) switchport mode trunk router