首页
登录
从业资格
The operation of removing an element fro
The operation of removing an element fro
admin
2022-08-02
40
问题
The operation of removing an element from the stack is said to( )the stack.A.popB.pushC.storeD.fetch
选项
A.pop
B.push
C.store
D.fetch
答案
A
解析
从栈中删除一个元素的操作可以称为从栈中取出来。栈(stack)又名堆栈,它是一种运算受限的线性表。其限制是仅允许在表的一端进行插入和删除运算。这一端被称为栈顶,相对地,把另一端称为栈底。向一个栈插入新元素又称作进栈、入栈或压栈,它是把新元素放到栈顶元素的上面,使之成为新的栈顶元素;从一个栈删除元素又称作出栈或退栈,它是把栈顶元素删除掉,使其相邻的元素成为新的栈顶元素。pop stack表示出栈。
转载请注明原文地址:https://tihaiku.com/congyezige/2427086.html
本试题收录于:
初级程序员题库软件水平考试初中高级分类
初级程序员
软件水平考试初中高级
相关试题推荐
()hasmanyelements:text,audiosound,
Theoperationofremovinganelementfro
Apushoperationaddsanitemtothetop
Apushoperationaddsanitemtothetop
Theoperationofremovinganelementfro
( )hasmanyelements:text,audiosound,s
______hasmanyelements:text,audioso
在XML中,元素book的声明语句如下:<1ELEMENTbook(titl
______hasmanyelements:text,audiosound
在XML中,元素book的声明语句如下:<1ELEMENTbook(title
随机试题
GlobalMigration:AWorldEverMoreontheMoveGordonBrown’sr
[originaltext](9)ACatholichighschoolinChicagoensureditsfinancials
Everyyearalargenumberofyoungpeopleleaveschoolandbeginwork.Some【
Thevictim______(本来会有机会活下来)ifhehadbeentakentohospitalintime.wouldhav
固相膜免疫测定中最常用的膜为:A.醋酸纤维素膜 B.硝酸纤维素膜 C.玻璃纤
国家对企业出资的形式可以有( )。A.货币 B.实物 C.知识产权 D.土
科学精神之所以能在欧洲率先确立起来,得益于科学精神的扩散与传播在两个方面所取得的
KPMG风险中性定价模型中用到的变量包括()。A.非违约概率 B.风险资产的承
道路旅客运输经营凭证主要包括()。A:驾驶执照 B:道路运输证 C:班车客运
关于和解的说法,正确的有( )。A.当事人申请仲裁后,达成和解协议的,可以撤回
最新回复
(
0
)