【良心出品】2013韩山师范学院专升本插班生考试《数据结构》课程试卷
2013专升本插班生考试《数据结构》课程试卷

韩山师范学院2013年专升本插班生考试试卷计算机科学与技术 专业 数据结构 试卷 (A 卷)一、 单项选择题(每题2分,共40分)1、从逻辑上可以把数据结构分为( )两大类。
A .动态结构、静态结构B .顺序结构、链式结构C .线性结构、非线性结构D .初等结构、构造型结构 2、下面关于算法说法错误的是( )A .算法最终必须由计算机程序实现B .为解决某问题的算法同为该问题编写的程序含义是相同的C . 算法的可行性是指指令不能有二义性D .以上几个都是错误的 3、栈和队列的共同特点是( )。
A.只允许在端点处插入和删除元素B.都是先进后出C.都是先进先出D.没有共同点4、以下数据结构中,哪一个是线性结构( )?A .广义表 B. 二叉树 C. 稀疏矩阵 D. 串5、下面关于线性表的叙述中,错误的是哪一个?()A.线性表采用顺序存储,必须占用一片连续的存储单元。
B.线性表采用顺序存储,便于进行插入和删除操作。
C.线性表采用链接存储,不必占用一片连续的存储单元。
D.线性表采用链接存储,便于插入和删除操作。
6、静态链表中指针表示的是()。
A.内存地址 B.数组下标 C.表头地址 D.下一元素地址7、若某线性表最常用的操作是存取任一指定序号的元素和在最后进行插入和删除运算,则利用()存储方式最节省时间。
A.顺序表 B.双链表 C.带头结点的双循环链表 D.单循环链表8、下列各种排序算法中平均时间复杂度为O(n2)是()。
A.快速排序 B. 堆排序 C. 归并排序 D. 冒泡排序9、设散列表中有m个存储单元,散列函数H(key)= key % p,则p最好选择()。
A. 小于等于m的最大奇数B. 小于等于m的最大素数C. 小于等于m的最大偶数D. 小于等于m的最大合数10、字符串的长度是指()。
A. 串中不同字符的个数B. 串中不同字母的个数C. 串中所含字符的个数D. 串中不同数字的个数11、设指针变量top指向当前链式栈的栈顶,则删除栈顶元素的操作序列为()。
专升本试题(数据结构)

(A )数据的逻辑结构(B )数据的存储结构《数据结构》专升本考试试题(2015 年 3 月)(C )数据的逻辑结构和存储结构12.算法分析的两个主要方面是((A )空间复杂度和时间复杂度 (C )可读性和文档性 (D )数据的逻辑结构、存储结构及其基本操作 )o(B )正确性和简单性(D )数据复杂性和程序复杂性一、单项选择题(本大题共 20小题,每小题2分,共40分)1 •对于一个算法,当输入非法数据时,也要能作出相应的处理,这种要求称为( (A) 正确性 (B) 可行性 (C) 健壮性2 •设S 为C 语言的语句,计算机执行下面算法时, for(i=n-1 ; i>=0 ; i--) for(j=0 ; j<i ; j++) S ; (A) n 2 (B) O( nlgn) (C) O( n) (D) O(n3 •折半查找法适用于()o (A )有序顺序表 (C )有序顺序表和有序单链表都可以 4 •顺序存储结构的优势是( )o (A )利于插入操作 (B ) (C )利于顺序访问 (D ) (D) 输入性 算法的时间复杂度为(13.若一个线性表中最常用的操作是取第i 个元素和找第i 个元素的前趋元素,则采用( 存储方式最节省时间。
(A )顺序表 (B )单链表 (C )双链表 (D )单循环链表14.在一个长度为n 的顺序表中,在第i 个元素之前插入一个新元素时,需向后移动( 个元素。
(A ) n-i (B ) n-i+1 (C ) n-i-1 ( D i 15 .非空的循环单链表head 的尾结点p 满足( )。
2) (B ) (D ) 有序单链表 无限制(A ) p->n ext==head (B ) p-> next==NULL(C ) p==NULL (D ) p==head16. 一个栈的输入序列为: a ,b ,c ,d ,e ,则栈的不可能输出的序列是( )o(A ) a,b,c,d,e (B ) d,e,c,b,a(C ) d,c,e,a,b (D ) e,d,c,b,a17.设SUBSTR(S,i,k)是求S 中从第i 个字符开始的连续k 个字符组成的子串的操作,则对 5 •深度为k 的完全二叉树,其叶子结点必在第( (A ) k-1 (B ) k (C ) k-1 和 k (D ) 6•具有60个结点的二叉树,其叶子结点有12个, (A ) 11 ( B ) 13 (C ) 48 ( D 37 利于删除操作 利于随机访问 )层上。
专升本《数据结构》 试卷 答案

专升本《数据结构》试卷答案专升本《数据结构》-试卷-答案专升本《数据结构》一、(共75题,共150分后)1.数据的逻辑结构是由()部分组成的。
(2分)a.2b.3c.4d.5标准答案:a2.算法是对某一类问题求解步骤的有限序列,并具有()个特性。
(2分)a.3b.4c.5d.6标准答案:c3.队列的入队操作是在()进行的。
(2分)a.队头b.队尾c.任意位置d.指定位置标准答案:b4.队列的出队操作是在()进行的。
(2分)a.队头b.队尾c.任意位置d.指定位置标准答案:a5.数组通常采用顺序存储的优点是()。
(2分)a.便于增加存储空间b.便于依据下标进行随机存取c.避免数据元素的移动d.防止下标溢出标准答案:b6.下列给出的操作中,()是允许对队列进行的操作。
(2分)a.删除队首元素b.取出最近进队的元素c.按元素大小排序d.中间插入元素标准答案:a7.采用带头结点的单链表存储的线性表,若表长为n,在删除第号元素时,需要移动指针()次。
(2分)a.k+1b.kc.k-1d.k-2标准答案:c8.字符数组a[1..100]使用顺序存储,a[6]地址就是517,则a的首地址为()。
(2分后)a.510b.512c.514d.516标准答案:b9.深度为n的全然二叉树最多存有()个结点。
(2分后)a.2n+1b.2n-1c.2nd.2n-1标准答案:d10.若二叉树对应的二叉链表共计n个非空链域,则该二叉树存有()个结点的二叉树。
(2分后)a.n-1b.nc.n+1d.2n标准答案:a11.下面描述错误的就是()。
(2分后)a.借助队列可以同时实现对图的广度优先结点b.二叉树中序结点的序列就是有序c.只有一个结点的二叉树的度为0d.空格串是指由1个或以上的空格符号组成的串标准答案:b12.以下与数据的存储结构无关的术语是()。
(2分)a.循环队列b.链表c.哈希表d.栈标准答案:d13.在一个长度为n的链式栈中入栈实现算法的时间复杂度为()。
专升本数据结构试卷答案

专升本数据结构试卷答案一、选择题(每题 2 分,共 30 分)1、在数据结构中,从逻辑上可以把数据结构分为()。
A 动态结构和静态结构B 紧凑结构和非紧凑结构C 线性结构和非线性结构D 内部结构和外部结构答案:C解析:数据结构从逻辑上分为线性结构和非线性结构。
线性结构是数据元素之间存在一对一的关系,如线性表、栈、队列等;非线性结构是数据元素之间存在一对多或多对多的关系,如树、图等。
2、以下数据结构中,()是非线性数据结构。
A 栈B 队列C 线性表D 二叉树答案:D解析:二叉树是一种非线性数据结构,每个节点最多有两个子节点。
栈、队列和线性表都属于线性数据结构。
3、一个顺序存储的线性表的第一个元素的存储地址是 100,每个元素的长度为 2,则第 5 个元素的地址是()。
A 108B 110C 106D 104答案:A解析:第一个元素地址为 100,每个元素长度为 2,所以第 5 个元素的地址为 100 + 2×(5 1) = 108。
4、在单链表中,增加头结点的目的是()。
A 方便运算的实现B 使单链表至少有一个结点C 标识表结点中首结点的位置D 说明单链表是线性表的链式存储实现答案:A解析:头结点的作用是方便运算的实现,比如在插入和删除操作时,可以避免对第一个元素的特殊处理。
5、设栈的顺序存储空间为 S(1:m),初始状态为 top = 0。
现经过一系列入栈与退栈运算后,top = 20,则当前栈中有()个元素。
A 20B 21C m 20D m 19答案:A解析:栈是一种先进后出的数据结构,top 指向栈顶元素的位置,top = 20 说明当前栈中有 20 个元素。
6、循环队列的存储空间为 Q(1:50),初始状态为 front = rear = 25。
经过一系列入队与退队运算后,front = 15,rear = 10,则循环队列中的元素个数为()。
A 5B 6C 16D 49答案:B解析:循环队列中元素个数的计算公式为:(rear front + 50) % 50。
2018年韩山师范学院本科插班生《数据结构》考试大纲

2018年韩山师范学院本科插班生《数据结构》考试大纲第一篇:2018年韩山师范学院本科插班生《数据结构》考试大纲《数据结构》考试大纲I 考试的性质与目的本科插班生考试是由专科毕业生参加的选拔性考试。
《数据结构》是计算机科学与技术专业(本科)的一门专业基础课程,考试主要检查考生对常用基本数据结构(顺序表、链表、栈、队列、树、二叉树、图等)的逻辑结构、存储结构和相应算法的掌握程度,以保证后续课程的学习。
II 考试的内容一、考试基本要求1、基本理论知识(l)、数据结构的基本概念和基本术语,算法的描述方法和算法分析的基本概念。
(2)、线性表的基本概念、线性表的基本操作以及这些操作分别在顺序存储和链式存储结构下的实现及复杂度分析。
(3)、栈和队列的定义、存储结构、实现和典型应用。
(4)、串的定义及其基本操作。
(5)、数组的定义、运算和存储,稀疏矩阵的压缩存储。
(6)、树的定义、基本术语和存储结构,二叉树的定义和性质、二叉树的存储结构及其各种操作,哈夫曼树的概念和应用。
(7)、图的定义和术语、图的存储结构及其各种操作。
(8)、各种查找方法的算法、适用范围及时间复杂度的分析。
(9)、多种内排算法的基本思想和算法的时间复杂度分析,不同排序方法的比较。
2、基本技能(1)、能阅读用类C语言编写的算法。
(2)、能分析算法所完成的功能、运行结果和时间复杂度。
(3)、能根据要求用类C语言编写算法。
二、考核知识点及考核要求第一章绪论一、考核知识点1.数据、数据元素、数据项、数据对象、数据结构、逻辑结构、物理结构、元素、结点等基本概念。
抽象数据类型的定义、表示和实现方法。
2.算法、算法的特性、如何用类C语言来描述算法。
3.算法设计的基本要求以及计算语句频度和估算算法时间复杂度的方法。
二、考核要求1.识记:有关数据结构的基本概念,四种基本数据结构的特点。
2.理解:四种基本数据结构的基本运算,算法复杂度度量的基本概念。
3.应用:用类C语言描述算法第二章线性表一、考核知识点1.线性表的定义和基本操作。
2013专升本插班生考试《基础英语》课程试卷

2013专升本插班生考试《基础英语》课程试卷(A卷)第 1 页共 12 页韩山师范学院2013 年专升本插班生考试试卷英语专业基础英语试卷(A 卷)题号一二三四五六七八九总分评卷人得分I. Match each word with its definition.(每空0.5 分,共10 分)Words:1) _____exotic 2)_____ cynical 3) _____ ignite 4) ____ yank5) _____ jumble 6) ____ persevere 7) ____ litter 8)_____ indiscreet9) _____conserve 10) _____ moribund 11) _____contend 12) _____threshold 13) _____reckless 14) ____juncture 15) ____ spawn 16) _____esteem17)_____ legacy 18) ____ hurtle 19) _____ fleck 20) _____ huskyDefinitions:a) money or property that one receives from someone after they dieb) to pull with a quick, strong movement, jerkc) the offspring produced at one birthd) approaching death, about to diee) scornful of the motives, virtue, or integrity of othersf) to use carefully or sparingly, avoiding wasteg) hoarse or rough in qualityh) a doorway forming an entrance to a buildingi) to cause to burnj) hasty and carelessk) to bring forth; producel) excitingly different, strange or unusualm) unwanted things for salen) a particular point in time or in a course of evento) to respect and admire感谢您的阅读,祝您工作顺利,生活愉快!。
最全版专升本《数据结构》试题答案
[试题分类]旁升本《数据结构》_08004150圉型]单选份数]: 2个顶点的无向连通网的最小成本树,至少有()个边。
(n-1)(n-1)/2答案:C个顶点的连通无向图,至少有()个边。
(m-1)(m1)/2答案:C3. 空串的长度是()。
答案:A4. 假设以数组A[O .. n1]存放循环队列的元素,其头指针fr o n t指向队头元素、尾指针re a r指向队尾元素一个,则在少用一个元素空间的前提下,队列空的判定条件为()。
A{ f ro n t+ 1) %n==re a rB { re a r+1) %n==fro n tl==fron t==fro n t答案:D5. 可以采用()这种数据结构,实现二叉树的层次遍历运算。
A集合B栈C. 队列D树答案:C6钱性表的顺序存储结构是一种()的存储结构。
A随机存取存取C顺序存取D索引存取答案:A7. 采用带头结点双向链表存储的线性表,在删除一个元素时,需要修改指针()次。
答案:D8. 队列的出队操作是指()操作。
A. 队头删除B队尾删除C. 队头插入D. 队尾插入答案:A9在关键字序列C l O,15,20,25, :}O中,采用折半法查找25,关键字之间比较需要()次。
答案:B10.串下列关于串的叙述中,正确的是()。
个串的长度相等,则2个串相等B.替换操作可以实现字符的删除C.空串至少包一个空格D. 一个串的长度至少是1答案:B11. 若二叉树对应的二叉链表共有n个非空链域,则该二叉树有()个结点的二叉树。
+l答案:D12. 下面叙述错误的是()。
A在无向图的邻接矩阵中每行1的个数等于对应的顶点度B借助于队列可以实现对二叉树的层遍历C对于单链表进行插入操作过程中不会发生上溢现象D. 栈的特点是先进后出答案:C13. 算法是对某一类问题求解步骤的有限序列。
其中,()是算法具有的5个特性之一。
A. 可读性B有穷性C. 正确性D健壮性答案:B14. 队列的入队操作是在()进行的。
4数学分析韩山师范学院专插本试题
韩山师范学院专升本数学与应用数学 专业 数学分析一、填空题(每小题2分,共30分):1. 设函数)(x f 连续,则在[a,b ]上⎰x dt t f dx d 21)(= ________________. 2. =+⎰-dx x x 222sin 1sin ππ________________. 3. 设函数⎩⎨⎧≤<+≤≤=,2 1,,10 ,)(x x a x e x f x 在[0,2]上连续,则a =________________. 4. 判别非正常积分⎰∞++⋅ 1 341 dx x arctgxx 的敛散性:_____________.(收敛、发散)5.3129223-+-=x x x y 的单调递减区间为________________.6. 函数()012)(2>+=x xx x f 的极值点为________________. 7. 函数2211y x z -+-=定义域为________________.8. 二重积分⎰⎰Dxydxdy (其中D :0≤y ≤x 2,0≤x ≤1)的值为________________.9. 设=+=)1,2(,),(y f yx xy y x f 则________________. 10. n n n1)131211(lim ++++∞→ = . 11. 设{}21),(22≤+<=y x y x E ,则E 的内部int E =________________.12. 设∈+=x x n nx x f n , ||1)() , (∞+∞-.则=∞→)(lim x f n n . 13. 广义球坐标变换⎪⎩⎪⎨⎧===ϕθϕθϕcos sin sin cos sin cr z br y ar x 的雅可比行列式=∂∂),,(),,(ϕθr z y x ________. 14. 幂级数∑∞=-1)1(1n n x n 的收敛域为________________.15. 设=∈-=E R x x x E sup },|][{则 .二、设0>a ,}{n x 满足:,00>x ,2,1,0),(211 =+=+n x a x x nn n 证明:}{n x 收敛,并求.lim n n x ∞→(10分) 三、证明不等式:ππ22cos 12,20x x x x >-><<时当.(8分) 四、计算题(每小题6分,共12分)1. 设);(),1ln(1)(22x f x x x x f '++-+=求 2.⎰+∞∞-++12x x dx . 五、 应用柯西准则判别级数∑23sin nn的敛散性.(8分) 六、证明函数f(x,y)= ⎪⎩⎪⎨⎧=≠+)0,0(),(,0)0,0(),(,222y x y x y x xy 在点(0,0)的偏导数存在,但在此点不可微.(8分)七、设)(x g 在],[b a 上连续,)(x f 在],[b a 上可积,且0)(>x f ,则在],[b a 上至少存在一点ξ,使得⎰⎰=b a ba dx x f g dx x g x f )()()()(ξ.(8分) 八、求由曲面2516251622222y x z y x z +=+=和 所围成的立体的体积. (8分) 九、证明:若f(x)为[a,b]上的连续函数, 则f 在[a,b]上可积. (8分)。
20XX年韩山师范学院本科插班生考试《数据结构》课程试卷
20xx年韩山师范学院本科插班生考试《数据结构》课程试卷韩山师范学院20xx年本科插班生考试试卷计算机科学与技术专业数据结构试卷(A 卷)一、单项选择题(每题2分,共30分)1. 栈和队列的共同特点是( A )。
A. 只允许在端点处插入和删除元素B. 都是先进后出C. 都是先进先出D. 没有共同点 2. 用链接方式存储的队列,在进行插入运算时( D )。
A. 仅修改头指针 B. 头、尾指针都要修改 C. 仅修改尾指针 D. 头、尾指针可能都要修改3. 以下数据结构中哪一个是非线性结构?( D )A. 队列B. 栈C. 线性表D. 二叉树4. 设有一个二维数组A[m][n],假设A[0][0]存放位置在644,A[2][2]存放位置在676,每个元素占一个空间,问A[3][3]存放在什么位置?( C ) A .688 B .678 C .692 D .696//对的.676+(676-644)/2A[2][2]与A[0][0] 相差两排零2个元素A[3][3]与A[2][2] 相差一排零1个元素因为元素的地址是连续的5. 树最适合用来表示( C )。
A.有序数据元素B.无序数据元素C.元素之间具有分支层次关系的数据D.元素之间无联系的数据6. 二叉树的第k层的结点数最多为( D )。
A.2k-1 B.2K+1 C.2K-1 D. 2k-17. 设有向无环图G中的有向边集合E={,,,},则下列属于该有向图G的一种拓扑排序序列的是(A)。
A. 1,2,3,4B. 2,3,4,1C. 1,4,2,3D. 1,2,4,3//拓扑排序,每个结点的所有前驱结点都排在该结点的前面。
有向无环图中,拓扑排序:1.包含所有顶点2.若序列有顶点A在B的前面,则图不存在B->A的边。
即,若图中存在B->A,则B 在A的前面故BCD不对8. 下列关于数据结构的叙述中,正确的是(A)。
A. 数组是同类型值的集合B. 树是一种线性结构C. 一般情况下递归算法的程序结构更为精炼、效率更高D. 用一维数组存储二叉树,总是以先序遍历的顺序存储各结点9. 对于线性表(7,34,55,25,64,46,20,10)进行散列存储时,若选用H(K)=K % 9作为散列函数,则散列地址为1的元素有(D)个。
2013韩山师范学院专升本插班生考试《英语语法》课程试卷
韩山师范学院2013年专升本插班生考试试卷英语专业 英语语法 试卷( A卷)(请将答案写在答题纸上)I.Choose the correct answer ( 40% )Directions: Complete the following sentences with one of the four choices which marked A,B,C and D and then write down the corresponding letter on the ANSWER SHEET.1. We’ll have a _____ journey to the countryside. Please get enoughfood and drinks and other things needed.A. two daysB. two-dayC. two-daysD. two day’s2. If I am given ______ ten minutes I can finish writing this paragraph.A. the otherB. otherC. anotherD. others3. “ Do you regret paying fifty dollars for the dog?”“ No, I would gladly have paid ______ for him.”A. as much twiceB. twice as manyC. twice as muchD. twice so much4. The family________ better health ever since they moved to the suburbs last year,A. could have enjoyedB. had enjoyedC. have been enjoyingD. are enjoying5. They would certainly have come and helped us ______________time.A. did they haveB. had they hadC. had they have D would they have6. _______ cases have been reported.A. Such fewB. Such someC. Few suchD. Some the7. ---Do you like these computers? ---I don’t like _______.A. all themB. them allC. everyoneD. any8. I did not choose any of the three offerings, because I found ______ satisfactory.A. neither of themB. none of itC. either of themD. none of them9. He bought a ______ box on Taobao yesterday evening.A. wooden small roundB. small round woodenC. round wooden smallD. small wooden round10. My watch is nowhere to be found. I ______ when I was on the bus.A. must drop itB. must have dropped itC. should have dropped itD. ought to have dropped it11. The teacher demanded that her students ______ on time to every class.A. wereB. beC. had to beD. must have to be12. We had no choice but ______ what we were asked.A. to doB. doC. didD. had to do13. The door burst open _______.A. and in rushed the crowdB. in the crowd rushedC. in rushed the crowdD. in did the crowd rush14. It is high time that such practices ______.A. are endedB. be endedC. were endedD. must be ended15. If it______________ tomorrow, I’ll stay at home.A. rainedB. will rainC. had rainedD. rains16. ______________ it is expensive or not is the crucial question.A. ThatB. WhetherC. IfD. How17. I know nothing about his journey______________ he was likely to be away for three months.A. ifB. unlessC. untilD. except that18. ______________ is the richest man in this town?A. Whom do you thinkB. Who do you thinkC. Do you think whoD. What do you think19. In some countries,______________ is called “equality” does not really mean equal rights for all people.A. whichB. whatC. thatD. one20. He didn’t seem to mind their watching TV______________ he was trying to study.A. untilB. whileC. as soon asD. so that21. We __________to start our own business, but we never had enough money.A. have hopeB. hopeC. had hopedD. should hope22. The gray building is where the workers live, and the white one is where the spare parts______A. are producingB. are producedC. producedD. being produced23. There was a knock at the door. It was the second time someone ________me that evening.A. had interruptedB. would have interruptedC. to have interruptedD. to interrupt24. He wore dark glasses to avoid ________.A. having been recognizedB. to be recognizedC. recognizedD. being recognized25. We regret ________you that the materials you ordered are out of stock.A. informingB. to informC. having informedD. to have informed26. A Dream of the Red Chamber is said _________into dozens of languages in the last decade.A. to have been translatedB. to translateC. to be translatedD. to have been translating27. The minister had his secretaries _______a press conference.A. arrangingB. to arrangeC. arrangeD. arranged28. There's a man at the reception desk who seems very angry and I think he means______trouble.A. makingB. to makeC. to have madeD. having made29. I don’t mind _______the decision as long as it is not too late.A. you to delay makingB. your delaying makingC. your delaying to makeD. you delay to make30. I'll never forget ________ you for the first time.A. to meetB. meetingC. to have metD. having to be meeting31. Life is a candle ________ to burn ever brighter.A. being meantB. meaningC. to meanD. meant32. Helen was much kinder to her youngest child than she was to the others, _______, of course, made the others jealous.A. whatB. whichC. whoD. that33. I've never been to Beijing, but it's the place ________.A. where I'd like to visitB. I most want to visitC. in which I'd like to visitD. that I want to visit it most34. Even if I had known her address, I ________ time to write to her.A. can not have hadB. will not have hadC. might not have hadD. must not have had35. ________ before we depart the day after tomorrow, we should have a wonderful dinner party.A. Had they arrivedB. Would they arriveC. Were they arrivingD. Were they to arrive36. If I hadn't stood under the ladder to catch you when you fell, you _________now.A. wouldn't be smilingB. couldn't have smiledC. won't smileD. didn't smile37. ________ for your help, we'd never have been able to get over the difficulties.A. Had it notB. If it were notC. Had it not beenD. If we had not been38. My sister's professor had her _________ her paper many times before allowing her to present it to the committee.A. rewrittenB. to rewriteC. rewriteD. rewriting39. Neither of the young men who had applied for a position in the university____________.A. has been acceptedB. have been acceptedC. was acceptedD. were accepted40. Go straight into the cave and find out what's in there, ?A. don't youB. will youC. do youD. can youII. Correct the errors in the following sentences ( 20% ) Directions: Each sentence contains four underlined parts marked A, B,C and D. Identify the one that would not be acceptable in standard written English. Mark out the incorrect one and correct it. Then write down your answers on the ANSWER SHEET.1. The robber would have not been caught if it had not been for the help of theA B C Dchild.2. Mr. Smith is one of those men who appears to be friendly; however, it is veryA B Chard to deal with him.D3. If you were to ask Peter what did he do with his money, he would haveA B Cdifficulty remembering it.D4. The little girl was so pretty that no one who saw her could help to love her.A B C D5. The only way to influence others is to talk about that they want and show themA Bhow to get it.C D6. The American Red Cross is one of the volunteer organizations that purpose isA Bto help the sick and the needy.C D7. He has lived in China for years, but enough strangely, he can’t speak a wordA B C Dof Chinese.8. Each of the girls whom I have invited to take part in the discussion haveA B C Dindicated that she will be happy to come.9. Between you and I, that woman shouldn’t allow her son to drive a car.A B C D10. The credit for the work that led to the Nobel Prize belong not only to theA B Cwinner but also to those who assisted him.D11. Humans lose their baby tooths when they are young but soon begin to growA B Canother set.D12. A female kangaroo carries their young in a pocket commonly called a pouch.A B C D13. Mr. Smith will move into his new house next Monday, by that time it will beA B C Dcompletely finished.14. It should bear in mind that there is great damage to the forests.A B C D15. These all last few days,we have been busy fighting drought.A B C D16. Many critics have condemned the television networks for not havingA Bmuch imaginative programs for children.C D17. In their own way, mathematics can be as creative and exciting as poetry.A B C D18. I am one of those people who by general opinion of the world is countedA B Cboth infamous and unhappy.D19. A friend of me wanted to see you yesterday when you were out.A B C D20.Go and get some fresh air! You were sitting here all morning.A B C DIII. Fill in the blanks with the proper forms of the words given in the brackets ( 20% )1. The temperature ____________(be)low, the fuel has to be preheated.2. Tom is one of the boys who _____( be ) always on time.3. This project _______ ( complete ) by the end of next year.4. It is absolutely essential that all the facts ______( examine ) first.5. The books are not allowed ______( take ) out of the reading-room.6. The show was boring. I'd rather I____________(not go)to it.7. You won't know if it fits until you ____________ (try)it on.8. The secretary opened the mail which ____________ (deliver)that morning.9. Don't get the boy ____________ (frighten)into crying.10. The problem ______ (discuss) now is very important.11. I ________ (work) there for two years by the coming March.12. We all agree to that suggestion that the meeting _____ (put off)13. You ___ __ (come ) earlier. The bus left a moment ago.14. There were some _____ (looker-on) by the roadside, but they didn’t inform the police of the accident.15. Three-fourths of the surface of the earth ____ (be) sea.16. Our only request is that this ________ (settle)as soon as possible.17. Will you go and see Carlos, _____ (who) I believe will be glad to help you?18. He was attending a meeting, or he ____________(attend)your birthday party.19. It was so noisy in the room that he could hardly make himself _________(hear).20. It seems that the students can never make their professor ________(satisfy) with their work.IV. Fill in the blanks with proper words ( 10% )1. It was ______ he was ill that he didn’t go with us.2. Tall ______ he is, he could not reach the apples.3. There are trees on ______ side of the street.4. When he woke up, he found _____ lying on the ground of a very dark room.5. John and I have hardly ________ same hobby.6. Please bring as ________ food as you can. The more, the better.7. They talked a long time about their university days, after ________ they had a good meal.8. His sister has a good ear ________ music.9. Work hard _______ you are told to stop.10. After the work, he was _____ tired to go back to his office.V. Rewrite the following sentences according to the requirements given in the brackets ( 10% )1. We required the teacher to repeat the questions again. (passive voice)2. They didn’t meet again until after the Second World War. (highlight the underlined part)3. The teacher came in with some of his students. (inversion)4. The man who is standing there is my classmate’s father. (participle phrase)5. He hurried to the station, but learned that the train had left. (infinitive phrase)6. After everything was packed, we set out for the mountain. (absolute construction)7. I don’t think that he will come tomorrow as expected. (tag question)8. Because they acquired a lot of fundamental scientific knowledge, they solved the problem easily. (subjunctive mood)9. I have many friends and they live in the countryside. (relative clause)10. Although she may have told you, I still think she is not to be trusted. (compound sentence)得分评卷人 得分评卷人 韩山师范学院2013年本科插班生考试试卷英语专业 英语语法 试卷答题纸 (A卷)题号一二三四五六七八总分评卷人得分I. Choose the correct answer ( 40% )1-5_________________6-10______________11-15______________16-20_______________21-25_____________26-30______________31-35_______________36-40_____________II. Correct the error ( 20% )1. ( )_____________________2. ( )_______________________3. ( )_____________________4. ( )_______________________5. ( )_____________________6. ( )_______________________7. ( )_____________________ 8. ( )_______________________9. ( )_____________________ 10. ( )______________________11.( )____________________ 12. ( )______________________13. ( )_____________________ 14. ( )_____________________15. ( )_____________________ 16. ( )_____________________得分评卷人 得分评卷人 得分评卷人 17. ( )_____________________ 18. ( )_____________________19. ( )_____________________ 20. ( )_____________________III. Fill in the blanks with proper forms of the words given ( 20% )1.______________2.________________3.________________4.______________5.________________6.________________7.______________ 8.________________ 9.________________10._____________ 11. _______________ 12._______________13._____________ 14._______________ 15._______________16._____________ 17._______________ 18._______________19._____________ 20._______________IV. Fill in the blanks with proper words. ( 10% )1.__________2._________3.__________4._________5.___________6._________7.___________8.__________9.________10.__________V. Rewrite the sentences ( 10% )1. _______________________________________________________2. _______________________________________________________3. _______________________________________________________4. _______________________________________________________5. _______________________________________________________6. _______________________________________________________7._______________________________________________________8._______________________________________________________ _________________________________________________________9._______________________________________________________10.______________________________________________________。
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
韩山师范学院2013年专升本插班生考试试卷
计算机科学与技术 专业 数据结构 试卷 (A 卷)
一、 单项选择题(每题2分,共40分)
1、从逻辑上可以把数据结构分为( A )两大类。
A .动态结构、静态结构
B .顺序结构、链式结构
C .线性结构、非线性结构
D .初等结构、构造型结构 2、下面关于算法说法错误的是( D )
A .算法最终必须由计算机程序实现
B .为解决某问题的算法同为该问题编写的程序含义是相同的
C . 算法的可行性是指指令不能有二义性
D .以上几个都是错误的
3、栈和队列的共同特点是( A )。
A.只允许在端点处插入和删除元素
B.都是先进后出
C.都是先进先出
D.没有共同点
4、以下数据结构中,哪一个是线性结构( D )?
A .广义表 B. 二叉树 C. 稀疏矩阵 D. 串
5、下面关于线性表的叙述中,错误的是哪一个?(B)
A.线性表采用顺序存储,必须占用一片连续的存储单元。
B.线性表采用顺序存储,便于进行插入和删除操作。
C.线性表采用链接存储,不必占用一片连续的存储单元。
D.线性表采用链接存储,便于插入和删除操作。
6、静态链表中指针表示的是(B)。
A.内存地址B.数组下标 C.表头地址 D.下一元素地址//所谓静态链表就是没有指针的,用下标模仿这个指针的功能的
7、若某线性表最常用的操作是存取任一指定序号的元素和在最后进行插入和删除运算,则利用( A )存储方式最节省时间。
A.顺序表 B.双链表 C.带头结点的双循环链表 D.单循环链表
8、下列各种排序算法中平均时间复杂度为O(n2)是(D)。
A.快速排序 B. 堆排序 C. 归并排序 D. 冒泡排序
9、设散列表中有m个存储单元,散列函数H(key)= key % p,则p最好选择
(B)。
A. 小于等于m的最大奇数
B. 小于等于m的最大素数
C. 小于等于m的最大偶数
D. 小于等于m的最大合数
10、字符串的长度是指(C)。
A. 串中不同字符的个数
B. 串中不同字母的个数
C. 串中所含字符的个数
D. 串中不同数字的个数
11、设指针变量top指向当前链式栈的栈顶,则删除栈顶元素的操作序列为
( D )。
A. top=top+1;
B. top=top-1;
C. top->next=top;
D. top=top->next;
12、二叉排序树可以得到一个从小到大的有序序列。
( B )
A. 先序遍历
B. 中序遍历
C. 后序遍历
D. 层次遍历
二叉排序树:
13、时间复杂度不受数据初始状态影响而恒为O(nlog
n)的是(A)。
2
A. 堆排序
B. 冒泡排序
C. 希尔排序
D. 快速排序
14、设一个有序的单链表中有n个结点,现要求插入一个新结点后使得单链
表仍然保持有序,则该操作的时间复杂度为( D )。
A. O(log
n) B. O(1) C. O(n2) D. O(n)
2
15、设一棵二叉树的深度为k,则该二叉树中最多有(D)个结点。
A. 2k-1
B. 2k
C. 2k-1
D. 2k-1
16、设某有向图的邻接表中有n个表头结点和m个表结点,则该图中有(C)
条有向边。
A. n
B. n-1
C. m
D. m-1
17、已知一算术表达式的中缀形式为 A+B*C-D/E,后缀形式为ABC*+DE/-,其前缀形式为( D )
A.-A+B*C/DE B. -A+B*CD/E C.-+*ABC/DE D. -+A*BC/DE
18、设某强连通图中有n个顶点,则该强连通图中至少有(C)条边。
A. n(n-1)
B. n+1
C. n
D. n(n+1)
1:强连通图的定义:在有向图G中,如果对于每一对vi、vj,vi≠vj,从vi到vj和从vj到vi都存在路径,则称G是强连通图。
2:分析:可知当n个节点的图构成一个环,任意两点之间存在着回路,于是最小的边数为n;最大边数为n(n-1);
19、设一组初始记录关键字序列(5,2,6,3,8),以第一个记录关键字5
为基准进行一趟快速排序的结果为(C)。
A. 2,3,5,8,6
B. 3,2,5,8,6
C. 3,2,5,6,8
D. 2,3,6,5,8
20、设无向图的顶点个数为n,则该图最多有(B)条边。
A.n-1 B.n(n-1)/2 C. n(n+1)/2 D.n2
二、填空题(每空2分,共20分)
1、数据结构中评价算法的两个重要指标是时间复杂度和空间复杂度。
2、已知如下程序段
FOR i:= n DOWNTO 1 DO {语句1}
BEGIN
x:=x+1; {语句2}
FOR j:=n DOWNTO i DO {语句3}
y:=y+1; {语句4}
END;
语句3执行的频度为。
3、解决散列表冲突的两种方法是开放地址法和链地址法。
4、判断一个无向图是一棵树的条件是有n个顶点,n-1条边的无向连通图。
5、设一棵二叉树的前序序列为ABC,则有 5 种不同的二叉树可以得到
这种序列。
6、设F和R分别表示顺序循环队列的头指针和尾指针,则判断该循环队列为
空的条件为。
7、设有一个n阶的下三角矩阵A,如果按照行的顺序将下三角矩阵中的元素(包括对角线上元素)存放在n(n+1)个连续的存储单元中,则A[i][j]与A[0][0]之间有个数据元素。
8、已知8 个数据元素为(34,76,45,18,26,54,92,65)按照依次插入结点的方法生成一棵二叉排序树,则该树的深度为__ __。
9、在一棵完全二叉树中,若编号为 i的结点有右孩子,则该右孩子结点的
编号为___ _______。
10、下面程序段的时间复杂度是。
i = 0;
while(i<=N)
i = i * 3; 三、判断题(每小题1分,共10分)
1、顺序存储方式插入和删除时效率太低,因此它不如链式存储方式好。
(×)
2、向二叉排序树中插入一个结点需要比较的次数可能大于该二叉树的高度。
(√)
3、用邻接矩阵法存储一个图所需的存储单元数目与图的边数无关。
(×)
4、顺序存储方式只能用于存储线性结构。
( × )
5、完全二叉树中的叶子结点只可能在最后两层中出现。
( √ )
6、无环有向图才能进行拓扑排序。
( √ )
7、完全二叉树一定是满二叉树,满二叉树不一定是完全二叉树。
( × ) 8、对链表进行插入和删除操作时不必移动链表中结点。
( √ ) 9、一棵哈夫曼树中不存在度为1 的中间结点。
(√) 10、强连通图的各顶点间均可达。
( √) 四、程序填空题(每个空1分,共10分)
1、将二叉树bt 中每一个结点的左右子树互换的C 语言算法如下,其中ADDQ(Q,bt),DELQ(Q),EMPTY(Q)分别为进队,出队和判别队列是否为空的函数,请填写算法中得空白处,完成其功能。
typedef struct node
{int data ; struct node *lchild, *rchild; }btnode; void EXCHANGE(btnode *bt) {btnode *p, *q; if (bt){
ADDQ(Q,bt);
while(!EMPTY(Q))
{p=DELQ(Q); q= (1)_; p->rchild= (2) ; (3) =q;
if(p->lchild) (4) ; if(p->rchild) (5) ;
}
}
}
2、下列程序判断字符串s 是否对称,对称则返回1,否则返回0;如 f("abba")返回1,f("abab")返回0;
int f( (1) )
{ int i=0,j=(2);
while (s[j]) (3)__;
for(j--; i<j && s[i]==s[j];(4) ,j--);
return( (5)___)
}
五、算法设计题(20分)
1、设计判断二叉树是否为二叉排序树的算法。
(8分)
2、试编写一个N个不相同整数的升序列,对于任一给定的整数,求与上述数列中数值最接近的整数的下标索引算法。
(12分)。