1) Identify the concept of stack in data structures a) Data is identified by an index b) The stack is used to chain the data c) The addition and deletions process are restricted at one end, called top d) Items are accessible one after another beginning at the head and ending at the tail. 2) Identify the operation that returns the new value of the stack. a) Top b) Push c) Pop d) Remove 3) LIFO stand for a) Last in last out b) First in first out c) Last in first out 4) Select the situation that occur when user try to remove element from the empty stack. a) Overflow b) Underflow c) Emptyflow 5) Select the operation that represent inserting and deleting item in stack a) in, out b) push, pop c) last in, last out d) enqueue, dequeue 6) Character P, A, H, L, A, W, A, N are placed in a Stack respectively. Choose the CORRECT order if they are removed one by one. a) PAHLAWAN b) NAWALHAP c) NAWALPAH d) PAHLANAW 7) Identify the last top value index after push and pop operation in figure given. a) 0 b) 1 c) 2
0%
Quiz Stack
共享
共享
共享
由
Maznah8112
编辑内容
打印
嵌入
更多
作业
排行榜
显示更多
显示更少
此排行榜当前是私人享有。单击
,共享
使其公开。
资源所有者已禁用此排行榜。
此排行榜被禁用,因为您的选择与资源所有者不同。
还原选项
问答游戏
是一个开放式模板。它不会为排行榜生成分数。
需要登录
视觉风格
字体
需要订阅
选项
切换模板
显示所有
播放活动时将显示更多格式。
打开成绩
复制链接
QR 代码
删除
恢复自动保存:
?