【单选题】
线性表是具有n个______的有限序列(n≠0)___
A. 表元素
B. 字符
C. 数据元素
D. 数据项
查看试卷,进入试卷练习
微信扫一扫,开始刷题

答案
C
解析
暂无解析
相关试题
【单选题】
下面关于线性表的叙述错误的是___。
A. 线性表采用顺序存储必须占用一片连续的存储空间
B. 线性表采用链式存储不必占用一片连续的存储空间
C. 线性表采用链式存储便于插入和删除操作的实现
D. 线性表采用顺序存储便于插入和删除操作的实现
【单选题】
在一个长度为n 的顺序表中,向第i个元素(1≤i≤n+1)之前插入一个新元素时,需要向后移动________个元素。___
A. n-i
B. n-i+1
C. n-i-1
D. i
【单选题】
顺序表和链表相比存储密度较大,这是因为 ___。
A. 顺序表的存储空间是预先分配的
B. 顺序表不需要增加指针来表示元素之间的逻辑关系
C. 链表中所有节点的地址是不连续的
D. 顺序表中所有元素的存储地址是连续的
【单选题】
判定一个循环队列Q(最多有MAXQSIZE个元素空间)为空的条件为 ___
A. Q.front==Q.rear
B. Q.front!=Q.rear
C. Q.front==(Q.rear+1)%MAXQSIZE
D. Q.front!=(Q.rear+1)%MAXQSIZE
【单选题】
判定一个循环队列Q(最多有MAXQSIZE个元素空间)为满的条件 ___
A. Q->front==Q->rear
B. Q->front!=Q->rear
C. Q->front==(Q->rear+1)%MAXQSIZE
D. Q->front!=(Q->rear+1)%MAXQSIZE
【单选题】
在循环队列中用数组A[0..m-1] 存放队列元素,其队头和队尾指针分别为front和rear,则当前队列中的元素个数是___
A. ( front - rear + 1) % m
B. ( rear - front + 1) % m
C. ( front - rear + m) % m
D. ( rear - front + m) % m
【单选题】
若用一个大小为6的数组来实现循环队列,且当前rear和front的值分别为0和3。当从队列中删除一个元素,再加入两个元素后,rear和front的值分别为 ___
A. 1和5
B. 2和4
C. 4和2
D. 5和1
【单选题】
数组M[1..4,1..5]的每个元素占5个单元,按行优先次序存储在起始地址为1000的连续的内存单元中,则最后一个元素M[4,5] 的地址为 _________
A. 1005
B. 1015
C. 1100
D. 1095
【单选题】
三维数组A[4][5][6]按行优先存储方法存储在内存中,若每个元素占2个存储单元,且数组中第一个元素的存储地址为120,则元素A[3][4][5]的存储地址为___
A. 356
B. 358
C. 360
D. 362
【单选题】
对某二叉树进行前序遍历的结果为ABDEFC,中序遍历的结果为DBFEAC,则后序周游的结果为___
A. DBFEAC
B. DFEBCA
C. BDFECA
D. BDEFAC
【单选题】
请指出在顺序表{2、5、7、10、14、15、18、23、35、41、52}中,用二分法查找关键码12 需做______次关键码比较。___
A. 2
B. 3
C. 4
D. 5
推荐试题
【单选题】
1___
A. Because he likes the sunny weather,
B. Because he wants to challenge himself.
C. Because it can help solve his sleeping problem.
D. Because it can help him forget all his troubles.
【单选题】
2___
A. To go sailing.
B. To go surfing.
C. To go to the beach.
D. To go to her nephew's.
【单选题】
3___
A. Going to visit relatives.
B. Enjoying the warm sun on the beach.
C. Building sand castles with her niece and nephew.
D. Playing in the sand and jumping in the waves.
【单选题】
4___
A. Surfing in the sea.
B. Collecting seashells.
C. Building sand castles.
D. Jumping in thewaves.
【单选题】
2___
A. People aged 16to 24.
B. People aged 25 to 34.
C. People aged 16 and over.
D. People aged 55 and over.
【单选题】
3___
A. People aged16 to 24 preferred listening to music most.
B. more popularB It was geting more andamong the Bish people.
C. Trwas the third most popular ativity among people aged 55 and over.
D. People aged 25 to 34 listened to musicmore often than those aged 16 to 24.
【单选题】
4___
A. Older people go out to pubs more often.
B. Younger people go to the cinema less frequently.
C. Older people spend more time reading and gardening.
D. Younger people spend less time visiting friends and family.
【单选题】
3___
A. She can either read or rest a little on the train.
B. She can read and respond to emails on the train.
C. She can travel to many different parts of the city.
D. She can go shopping on her way home from work.
【单选题】
4___
A. He can take the train to the old part of the city.
B. He can save a lot of money when he takes the train.
C. He can save 20 minutes to go to work with the train.
D. Hecan take the train to the airpor insted of driving.
【单选题】
1___
A. About an hour.
B. More than an hour.
C. About half an hour.
D. More than one and a half hours.
【单选题】
2___
A. More and more Americans spend over an hour getting to work.
B. Over 10 percent of Americans spend less than an hour getting to work.
C. Only New York people spend more than 90 minutes getting to work.
D. Over 10 percent of Americans spend more than 90 minutes getting to work.
【单选题】
3___
A. Because gas prices are not high.
B. Because the commute is not tiring.
C. Because he can attend a better school.
D. Because he can have his favorite lifestyle.
【单选题】
4___
A. Traffic jams.
B. Expensive housing.
C. Poorer life quality.
D. A tiring and boring trip.
【单选题】
1___
A. She liked playing an interesting game.
B. She enjoyed seeing many of her old friends.
C. She enjoyed wearing her Halloween costume.
D. She liked the decorations in Jason's front yard.
【单选题】
2___
A. None of her friends likes Jason.
B. None of Jason's guests is young.
C. She wants to go to Linda's party.
D. She went to Jason's party last year.
【单选题】
3___
A. The party will last four hours.
B. Six people will attend the party.
C. They will have huge bags of candy.
D. They will play a new game called Guess Who"
【单选题】
4___
A. Go to Jason's party.
B. Go to Linda's party.
C. Attend both Jason's and Linda's parties.
D. Celebrate Halloween with her parents.
【单选题】
1___
A. Some stores offered bigger holiday discounts.
B. Some stores provided more choices of nightlife.
C. Some stores made efforts to attract young people.
D. Some stores opened much earlier than they used to.
【单选题】
2___
A. To attract young customers.
B. To beat other stores for sales.
C. To let people sleep late the next day.
D. To keep people stay up for the night.
【单选题】
4___
A. She and her cousins went back home at midnight.
B. She liked the traditional 4 a.m. Black Friday openings better.
C. She preferred midnight shopping to earlymorning shopping.
D. She and her cousins got up very early to buydiscounted items.
【单选题】
___坚持以人民为中心的发展思想,鲜明提出了创新、协调、绿色、开放、共享的新发展理念。
A. 党的十八大
B. 党的十八届三中全会
C. 党的十八届四中全会
D. 党的十八届五中全会