本答案对应课程为:点我自动跳转查看
本课程起止时间为:2021-03-01到2021-04-25
本篇答案更新状态:已完结

第一课 第一课测验

1、 问题:以下与数据的存储结构无关的术语是()
选项:
A:哈希表
B:链表
C:栈
D:循环队列
答案: 【

2、 问题:某算法的时间复杂度是O(),表明该算法的()
选项:
A:问题规模与成正比
B:问题规模是
C:执行时间与正比
D:执行时间等于
答案: 【执行时间与正比

3、 问题:以下关于数据结构的说法中,正确的是()
选项:
A:数据的存储结构独立于其逻辑结构
B:数据结构仅由其逻辑结构和存储结构决定
C:数据的逻辑结构独立于其存储结构
D:数据的逻辑结构唯一决定了其存储结构
答案: 【数据的逻辑结构独立于其存储结构

4、 问题:以下算法的时间复杂度为()
选项:
A:
B:
C:
D:
答案: 【

5、 问题:求整数n(n≥0)阶乘的算法如下,其时间复杂度是()
选项:
A:
B:
C:
D:
答案: 【

6、 问题:在存储数据时,通常不仅要存储各数据元素的值,而且还要存储()
选项:
A:数据的操作方法
B:数据元素的类型
C:数据元素之间的关系
D:数据的存取方法
答案: 【数据元素之间的关系

7、 问题:The characteristic of an algorithm that can be handled when an illegal operation occurs is called ()
选项:
A:readability
B:robustness
C:reliability
D:correctness
答案: 【robustness

8、 问题:In data structures,logically,data structures can be divided into()
选项:
A:dynamic structure and static structure
B:internal structure and external structure
C:compact structure and non-compact structure
D:linear structure and nonlinear structure
答案: 【linear structure and nonlinear structure

9、 问题:For the following program fragment the running time(Big-O) is()
选项:
A:
B:
C:
D:
答案: 【

10、 问题:The running time of an algorithm can be expressed as the following equation,So the running time(Big-O) is()
选项:
A:
B:
C:
D:
答案: 【

11、 问题:以下数据结构中,()是非线性数据结构。
选项:
A:字符串
B:树
C:栈
D:队列
答案: 【

12、 问题:在线性表中,处理开始元素外,每个元素()
选项:
A:有多个后继元素
B:有多个前驱元素
C:只有唯一的后继元素
D:只有唯一的前驱元素
答案: 【只有唯一的前驱元素

13、 问题:若线性表最常用的操作是存取第i个元素及其前驱后继元素的值,为了提高效率,应采取()的存储方式
选项:
A:顺序表
B:单链表
C:单循环链表
D:双向链表
答案: 【顺序表

14、 问题:在一个长度为n的顺序表中删除第i个元素(1≤i≤n)时,需向前移动()个元素
选项:
A:i-1
B:n-i
C:n-i-1
D:n
答案: 【n-i

15、 问题:设线性表中有2n个元素,()在单链表上的实现比在顺序表上的效率高
选项:
A:在最后一个元素的后面插入一个新元素
B:删除所有值为x的元素
C:交换第i个素和第2n-i-1个元素的值(i=0,…,n-1)
D:顺序输出前k个元素
答案: 【删除所有值为x的元素

16、 问题:单链表中,增加一个头结点的目的是()
选项:
A:说明单链表是线性表的链式存储
B:标识表结点中首结点的位置
C:方便运算实现
D:是单链表中至少有一个结点
答案: 【方便运算实现

17、 问题:The Linked List is designed for conveniently()data item
选项:
A:inserting
B:getting
C:locating
D:finding
答案: 【inserting

18、 问题:The main advantage of a circular list is that()
选项:
A:can traverse the entire list from any point in the table
B:no longer requires head pointers
C:when knows the location of a node,it can easily find its direct predecessor
D:in the delete operation,to ensure that the list continues to open
答案: 【can traverse the entire list from any point in the table

19、 问题:The condition that the double-loop linked list L with a head is empty is()
选项:
A:L->prior==L&&L->next==NULL
B:L->prior==L&&L->next==L
C:L->prior==NULL&&L->next=L
D:L->prior==NULL&&L->next==NULL
答案: 【L->prior==L&&L->next==L

20、 问题:以下()是一个线性表
选项:
A:邻接表
B:由n个实数组成的集合
C:由100个字符组成的序列
D:所有整数组成的序列
答案: 【由100个字符组成的序列

21、 问题:一个线性表最常用的操作是存取任意指定序号的元素和最后进行插入删除操作,则利用()存储方式可以节省时间
选项:
A:顺序表
B:带头结点的双循环链表
C:双向链表
D:单循环链表
答案: 【顺序表

22、 问题:对于顺序表,访问第i个位置的元素和第i个位置插入一个元素的时间复杂度为()
选项:
A:O(1),O(n)
B:O(n),O(1)
C:O(n),O(n)
D:O(1),O(1)
答案: 【O(1),O(n)

23、 问题:Combine two ordered tables with n elements into an ordered table,with the least number of comparisons()
选项:
A:n-1
B:2n-1
C:2n
D:n

本门课程剩余章节答案为付费内容
本文章不含期末不含主观题!!
本文章不含期末不含主观题!!
支付后可长期查看
有疑问请添加客服QQ 2356025045反馈
如遇卡顿看不了请换个浏览器即可打开
请看清楚了再购买哦,电子资源购买后不支持退款哦

   

发表回复

您的电子邮箱地址不会被公开。 必填项已用 * 标注