华东师范大学期中试卷2025—2 008 学年第二学期课程名称:_ _ ____ 数据结构 _____ 姓 名:___________________ 学 号:__________________专 业:___________________ 年级/班级:__________________课程性质:专业必修一二三四五六七八总分阅卷人签名一、单项选择题(共1 8 分,每题 3 分)1、 Stack h a s the propert y called las t i n a nd first out, then whi ch of the following describ e s t he prop er ty of Q u eue
a) L a st in and first ou tb) F i r s t i n and la st o utc) F i rst in a n d first out2、 A li st of it e m s f r om whi c h on l y th e i t em mos t re cently ad de d c a n be rem ov ed is k no wn as a ( )a) s tac k b) qu eu e c) c i r c u lar linked l i s t d) list3、 If the following function is called with a value of 2 for n, what is the resulting output
ﻩﻩ void Quiz( int n )ﻩ { if (n > 0)ﻩﻩ {ﻩ cout