【判断题】
switch语句中,每一个的case常量表达式的值可以相同。
A. 对
B. 错
查看试卷,进入试卷练习
微信扫一扫,开始刷题
答案
B
解析
暂无解析
相关试题
【判断题】
do-while循环的while后的分号可以省略。
A. 对
B. 错
【判断题】
用字符串方式赋值比用字符逐个赋值要多占一个字节,用于存放字符串结束标志'\0'。
A. 对
B. 错
【判断题】
语言函数返回类型的默认定义类型是void。
A. 对
B. 错
【判断题】
可以用一个指针变量指向一个函数,然后通过该指针变量调用此函数。
A. 对
B. 错
【判断题】
函数形参的存储单元是动态分配的。
A. 对
B. 错
【判断题】
表达式语句和表达式没有什么区别。
A. 对
B. 错
【判断题】
函数的实参可以是常量,变量或表达式。
A. 对
B. 错
【判断题】
如果指针变量p已指向数组中的一个元素,则p+1指向同一数组中的下一个元素。
A. 对
B. 错
【判断题】
语言标准输入操作中,gets()函数一次只可读取一个字符。
A. 对
B. 错
【判断题】
如果函数定义出现在函数调用之前,可以不必加函数原型声明。
A. 对
B. 错
【判断题】
静态局部变量只在本函数内可用。
A. 对
B. 错
【判断题】
return后面括号里的表达式的值即是此函数的值。
A. 对
B. 错
【判断题】
在二维数组中,行指针是指向一维数组的指针变量。
A. 对
B. 错
【判断题】
函数若无返回值,则它一定无形参。
A. 对
B. 错
【填空题】
1.C程序是由___构成的。
【填空题】
2.C语言是一种面向___的结构化的编程语言。
【填空题】
3.一个函数由两部分组成,函数首部和___。
【填空题】
4.一个C程序总是从___函数开始执行的。
【填空题】
5.C语言本身不提供输入输出语句,输入和输出操作是由___来完成的。
【填空题】
6.每个C语句和数据声明的最后必须有一个___。
【填空题】
7.任何一个变量在使用以前必须先___。
【填空题】
8.为了能使计算机执行高级语言程序,必须先用一种称为“编译程序”的软件,把源程序翻译成二进制形式的___。
【填空题】
9.上机运行一个C程序必须经过4个步骤:编辑、编译、___和执行。
【填空题】
10.C语言中,一个字符型数据在内存中占___字节的存储单元。
【填空题】
11.字符型数据在计算机中是以其对应的___代码形式存储的。
【填空题】
12.C语言规定:在每一个字符串的结尾加一个___,以便系统据此判断字符串是否结束。
【填空题】
13.一个具有良好结构的程序由3种基本结果组成:顺序结构、选择机构和___。
【填空题】
14.赋值表达式加一个分号就成为___。
【填空题】
15.条件判断的结果是一个逻辑值:真或___。
【填空题】
16.在程序中,用___来检查所指定的条件是否满足。
【填空题】
17.用关系运算符将两个表达式连接起来的式子,称为___。
【填空题】
18.在逻辑运表达式的求解中,并不是所有的逻辑运算符都被执行,只是必须执行下一个逻辑运算符才能求出___时,才执行该运算符。
【填空题】
19.要构成一个有效的循环,应当指定两个条件:即___和循环结束的条件。
【填空题】
20.while循环的特点是先判断表达式,后执行___。
【填空题】
21.一个循环体内又包含另一个完整的循环结构,称为___。
【填空题】
22.在循环结构中用___语句提前结束本次循环。
【填空题】
23.在循环结构中用___语句提前退出循环。
【填空题】
24.用来存放字符数据的数组是___。
【填空题】
25.数组是数据类型相同的数据有序___。
【填空题】
26.有数组a[10],a[8]是数组的第___个元素。
推荐试题
【单选题】
I believe friendship is an essential element of making a healthy, ___ life.
A. flexible
B. rewarding
C. wealthy
D. inquisitive
【单选题】
___ they have written about the behaviors of animals is hardly anything new.
A. That
B. This
C. What
D. Which
【单选题】
No other drugs are as good as this one; it must have been based on a(n) ___ formula (配方).
A. enormous
B. stimulating
C. unique
D. overwhelming
【单选题】
Mothers tend to be too ___ toward their children. They should let them see more of the worl D.
A. hopeful
B. protective
C. modest
D. encouraging
【单选题】
The investigation ___ evidence of a large-scale illegal trade in wild birds.
A. uncovered
B. outweighed
C. overwhelmed
D. evolved
【单选题】
Poor Laura! I feel so sorry for her. When she fell, she hurt her arm and, ___, broke her glasses.
A. in advance
B. in addition
C. over time
D. on the other hand
【单选题】
Showing some sense of humor can be a(n) ___ way to deal with some stressful situations.
A. genuine
B. available
C. effective
D. favorite
【单选题】
It will be worth the efforts even if you fail; the rewards you ___ will be great.
A. reap
B. boast
C. assure
D. cultivate
【单选题】
He suggested transporting the supplies by air. But it is absolutely ___, for it will cost too much.
A. unusual
B. uncertain
C. impractical
D. impressive
【单选题】
The newspaper didn’t mention the ___ of the damage caused by the fire.
A. range
B. level
C. extent
D. quantity
【单选题】
Do you ___ her novels as serious literature or as mere entertainment?
A. classify
B. notify
C. simplify
D. justify
【单选题】
He doesn’t ___ of buying a house this year because the bank has refused to lend him any money.
A. afford
B. make the most
C. run out
D. stand a chance
【单选题】
If you don’t ___ cooking today, we can go out to eat at the new restaurant.
A. would like
B. go on with
C. feel like
D. figure out、
【单选题】
Bullying (恃强欺弱) can ___ a climate of fear and anxiety in school, and prevent students from focusing on their schoolwork.
A. keep back
B. give rise to
C. feel like
D. make use of
【单选题】
Science can now ___ many things which were thought to be mysterious by ancient people.
A. care for
B. lay out
C. account for
D. set up
【单选题】
The school has ___ many after-class activity groups for the pupils to make their spare time more colorful.
A. set up
B. set off
C. set out
D. set down
【单选题】
When he was a small kid, he ___ from his peers because he could read fast and remember whatever he rea D.
A. showed off
B. worked out
C. stood out
D. straightened up
【单选题】
The fall in the number of deaths from heart disease is generally ___ improvements in diet.
A. put up with
B. attributed to
C. added to
D. replaced with
【单选题】
We can be partners for now, but ultimately you have to ___ to develop a new software for our project.
A. keep up
B. fire off
C. make sense
D. take the lead
【单选题】
Emotional Intelligence (情商) could be of practical use in many ___ such as how companies decide which job applicant to hire, how parents should raise their children, how schools should teach the students, and so on.
A. aspects
B. disciplines
C. structures
D. opportunities
【单选题】
The teacher should praise students for their correct answers and also suggest ___ possibilities.
A. unlimited
B. unique
C. alternative
D. essential
【单选题】
In some classrooms, desks are arranged in a U-shape, so the teacher can ___ easily with the students.
A. interrupt
B. interact
C. interpret
D. interview
【单选题】
Computer technology ___ individuals to educate themselves and adapt to a constantly changing job market.
A. lets
B. makes
C. enables
D. provides
【单选题】
Our hope for an enjoyable dinner was instantly ___ when the waiter dropped a salad plate on my hea D.
A. spoiled
B. restricted
C. exploded
D. vanished
【单选题】
___ the world has ever seen has occurred in the information and communications technologies.
A. Great a change
B. The great change
C. A greatest change
D. The greatest change
【单选题】
___ so many people around, it wasn’t convenient to have a long talk with him.
A. As
B. When
C. With
D. Since
【单选题】
Alice used to be terribly shy, but working abroad for a year has completely ___ her.
A. solved
B. transformed
C. characterized
D. regulated
【单选题】
Chinese Mandarin (普通话) is ___ for foreigners to learn because the changes in the tone will totally change the meaning of words.
A. difficult
B. accessible
C. competitive
D. easy
【单选题】
Take action on those things that will have the biggest ___ impact on your life with the least amount of effort.
A. portable
B. positive
C. sophisticated
D. moderate
【单选题】
The adoption of this measure will greatly reduce the ___ of greenhouse gas emissions (排放物), which may help slow global warming.
A. loan
B. decline
C. release
D. response
【单选题】
I think I have a healthy lifestyle. I eat a lot of fruit and vegetables, and I’m a ___ drinker.
A. moderate
B. heavy
C. gradual
D. delicate
【单选题】
In a way the human race needs to improve its mental and physical qualities if it is to deal with the more and more ___ world and meet new challenges.
A. typical
B. complex
C. rational
D. orderly
【单选题】
If a person simply does not care about this activity, it’s ___ impossible to get him to participate.
A. barely
B. seldom
C. hardly
D. practically
【单选题】
Sometimes, even when the mind ___ functioning, the body keeps on working normally.
A. ceases
B. arouses
C. regulates
D. specializes
【单选题】
Jeffery expressed his ___ about the health and fitness of his co-workers, but they said they didn’t want to “waste time” on an exercise bike or jogging.
A. agony
B. concern
C. addiction
D. feedback
【单选题】
Such chemicals are indeed negatively ___ those humans to whom they are expose D.
A. risking
B. detecting
C. impacting
D. overwhelming
【单选题】
We regret for selling you the faulty product, and our company has agreed to ___ you by $500.
A. match
B. reverse
C. reward
D. compensate
【单选题】
This lecture taught me how to manage my time better to include my online studies in my busy ___.
A. schedule
B. outline
C. structure
D. responsibility
【单选题】
Generally speaking, an Irish person will not accept an offer straight away; he will ___ once or twice first before accepting it.
A. receive
B. decline
C. summarize
D. polish
【单选题】
There is every possibility that many species (物种) of animals will die out because of their disappearing food ___.
A. mode
B. source
C. pattern
D. foundation