首页
登录
从业资格
The operation of removing an element fro
The operation of removing an element fro
最全题库
2022-08-02
33
问题
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
随机试题
OneSaturday,MarkandJanedecidedtogotoahillneartheirvillage.They
Accordingtothewriter,greetingssuchas"Howdoyoufeel?[br]GeorgeBernard
Therearecockroaches(蟑螂)everywhereonEarthexcepttheplacesthatarecove
[originaltext]Isyourfamilyinterestedinbuyingadog?Adogcanbeahap
[originaltext]M:First,Iwanttothankyouforagreeingtothissurvey.Thisi
[originaltext]TherearemanyreasonswhyfamilylifeinBritainhaschanged
为了形成更好的师生关系,教师应树立什么样的学生观?
某男,34岁,建筑工人,一次事故中严重外伤,大量出血,血压下降,少尿,经抢救低血
投资组合理论的主要论点是:对于相同的宏观经济环境变化,不同投资项目的收益有相同的
(2017年真题)下列各项措施中,无助于企业应对通货膨胀的是()。A.发行固定利
最新回复
(
0
)