首页
登录
从业资格
The operation of removing an element fro
The operation of removing an element fro
admin
2022-08-02
51
问题
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://www.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
随机试题
Passage1[br][originaltext]上海博物馆是一座大型中国古代艺术博物馆,共有3个展厅和11个专馆,总面积38。00平方米,由
It’sasimplecalculus,kidsandmoney:Frombirthuntilcollegegraduation,
[originaltext]M:ItsaysherethatyougraduatedfromUniversityofPennsylvani
EatingOurYoung[A]AtFeltonvilleSchoolofArtsandSciences,amiddlesc
TheEndofAIDS?[A]OnJune5th1981America’sCentres
EducationoutofschoolⅠ.Theoriginof
Educatortodayaremoreandmoreoften【C1】______tosaythatcomputerliter
[originaltext]W:Hi.HowcanIhelpyou?M:Yes,I’dliketoreturnthissweate
A.白带 B.黄带 C.赤带 D.赤白带 E.五色带寒湿下注多见的临床表
进行开关柜暂态地电压局部放电带电检测的人员应掌握暂态地电压局部放电检测仪器的(
最新回复
(
0
)