首页
登录
从业资格
The operation of removing an element fro
The operation of removing an element fro
最全题库
2022-08-02
29
问题
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/2425329.html
本试题收录于:
初级程序员题库软件水平考试初中高级分类
初级程序员
软件水平考试初中高级
相关试题推荐
In(),theonlyelementthatcanbede
Thetwogoalsofanoperationsystemare
Theoperationofremovinganelementfro
Apushoperationaddsanitemtothetop
Theoperationofremovinganelementfro
( )hasmanyelements:text,audiosound,s
______hasmanyelements:text,audioso
在XML中,元素book的声明语句如下:<1ELEMENTbook(titl
______hasmanyelements:text,audiosound
在XML中,元素book的声明语句如下:<1ELEMENTbook(title
随机试题
Intheworldofclimatechange,itisintheEarth’scoldregionswheretren
[originaltext]ASUNCION,Paraguay--Survivorsinacrowdedsupermarketsaidlo
Themeeting______inOctober,puttheplanhasbeenputoffagainandagain.A、wa
Shoppinghasalwaysbeensomethingofanimpulseactivity,inwhichobjects
光明能源为上市公司,2014~2015年通过合营安排等,与长期股权投资有关的情
在处理基本建设与地下文物的关系时,下列哪项做法是错误的?()A.选址应尽可能
A.抑制钠内流 B.抑制钙内流 C.促进钾内流 D.阻断β-受体 E.延
水利工程项目后评价按组织实施的层次可分为( )。 A、施工单位的自我评价
对恶性淋巴瘤有显效的是A.6-巯基嘌呤B.环磷酰胺C.博来霉素D.氟尿嘧啶E.百
关于企业法人对其法定代表人行为承担民事责任的下列哪一表述是正确的A.仅对其合法的
最新回复
(
0
)