首页
登录
从业资格
The operation of removing an element fro
The operation of removing an element fro
admin
2022-08-02
37
问题
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
随机试题
[img]2017m7s/ct_ecrbjm_ecrbjtc_0558_201707[/img][br]A、 B、 C、
Howlongdoesaninterviewusuallylastaccordingtothespeaker?[br][origina
FewAmericansstayinonepositionoroneplaceforalifetime.Wemovefrom
[originaltext]W:Michael,doyougoouttowork?M:(23)Notregularly.Iused
CreativeCapitalismA)ThemainbuildingonDisney’s
[originaltext]W:Departmentofartdesignandmedia,canIhelpyou?M:Yes.[1
下列有关住宅建设开发的技术经济指标的表述中,哪项是正确的?()A.土地开发费
患者,男,64岁。突然出现胸骨后压榨性疼痛并放射到左肩和左侧小指,不能忍受,面色
我国《商业银行法》明确规定商业银行不得从事证券经营业务,同时利率尚未完全市场化,
既有法人可用于项目资金的外部资金()。A.企业在银行的存款 B.企业产权转让
最新回复
(
0
)