华东师范大学期中试卷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 << 0;ﻩ Quiz(n - 1);ﻩﻩ cout << 1;ﻩ Quiz(n - 1);ﻩ }ﻩ }a)00011011 b)ﻩ11100100 c)10011100 d)ﻩ10010101 e)ﻩ0010114、 A h ea p i s a list in w h ic h each en tr y co n tain s a key, and, fo r all p osit i o n s i in the lis t, t h e k e y at po s it i o n i is at lease as la r ge as t he k ey s in posi t i ons 2i+2 a nd ( ), pro vided these posi t i on s exis t in th e l i s t、a) 2 ib) 2 i-1c) 2 i-2d) 2 i+15、 Given the recursive functionﻩﻩ int Func( /* in */ int i,ﻩﻩ /* in */ int j )ﻩ { if (i < 11)ﻩﻩ if (j < 11)ﻩﻩ return i + j; elseﻩﻩ return j + Func(i, j - 2);ﻩﻩ else return i + Func(i - 1, j);ﻩﻩ ...