刷题
导入试题
【判断题】
Python只能使用内置数据库SQLite,无法访问MS SQLServer、ACCESS或Oracle、MySQL等数据库。
A. 对
B. 错
查看试卷,进入试卷练习
微信扫一扫,开始刷题
答案
B
解析
暂无解析
相关试题
【判断题】
使用OpenGL画图时,画点是最基本的操作,具体生成的图形由glBegin()函数指定的mode来决定。例如,mode值为GL_TRIANGLES时表示将要绘制三角形。
A. 对
B. 错
【判断题】
OpenGL采用的“状态机”工作方式,一旦设置了某种状态以后,除非显式修改该状态,否则该状态将一直保持。
A. 对
B. 错
【判断题】
假设os模块已导入,那么列表推导式 [filename for filename in os.listdir(‘C:\Windows’) if filename.endswith(‘.exe’)] 的作用是列出C:\Windows文件夹中所有扩展名为.exe的文件。
A. 对
B. 错
【判断题】
表达式 list(‘[1, 2, 3]’) 的值是[1, 2, 3]。
A. 对
B. 错
【判断题】
在函数内部没有任何声明的情况下直接为某个变量赋值,这个变量一定是函数内部的局部变量。
A. 对
B. 错
【判断题】
定义类时如果实现了contains()方法,该类对象即可支持成员测试运算in。
A. 对
B. 错
【判断题】
定义类时如果实现了len()方法,该类对象即可支持内置函数len()。
A. 对
B. 错
【判断题】
定义类时实现了eq()方法,该类对象即可支持运算符==。
A. 对
B. 错
【判断题】
定义类时实现了pow()方法,该类对象即可支持运算符**。
A. 对
B. 错
【判断题】
二进制文件不能使用记事本程序打开。
A. 对
B. 错
【判断题】
使用普通文本编辑器软件也可以正常查看二进制文件的内容。
A. 对
B. 错
【判断题】
二进制文件也可以使用记事本或其他文本编辑器打开,但是一般来说无法正常查看其中的内容。
A. 对
B. 错
【判断题】
Python标准库os中的方法isfile()可以用来测试给定的路径是否为文件。
A. 对
B. 错
【判断题】
Python标准库os中的方法exists()可以用来测试给定路径的文件是否存在。
A. 对
B. 错
【判断题】
Python标准库os中的方法isdir()可以用来测试给定的路径是否为文件夹。
A. 对
B. 错
【判断题】
Python标准库os中的方法listdir()返回包含指定路径中所有文件和文件夹名称的列表。
A. 对
B. 错
【判断题】
Python扩展库xlwt支持对Excel 2003或更低版本的Excel文件进行写操作。
A. 对
B. 错
【判断题】
Python扩展库xlrd支持对Excel 2003或更低版本的Excel文件进行读操作。
A. 对
B. 错
【判断题】
带有else子句的异常处理结构,如果不发生异常则执行else子句中的代码。
A. 对
B. 错
【判断题】
异常处理结构也不是万能的,处理异常的代码也有引发异常的可能。
A. 对
B. 错
【判断题】
在异常处理结构中,不论是否发生异常,finally子句中的代码总是会执行的。
A. 对
B. 错
【判断题】
在Python中定义函数时不需要声明函数参数的类型。
A. 对
B. 错
【判断题】
在Python中定义函数时不需要声明函数的返回值类型。
A. 对
B. 错
【判断题】
在函数中没有任何办法可以通过形参来影响实参的值。
A. 对
B. 错
【判断题】
已知 x = 3,那么执行语句 x+=6 之后,x的内存地址不变。
A. 对
B. 错
【判断题】
已知x为非空字符串,那么表达式 ”.join(x.split()) == x 的值一定为True。
A. 对
B. 错
【判断题】
已知x为非空字符串,那么表达式 ‘,’.join(x.split(‘,’)) == x 的值一定为True。
A. 对
B. 错
【判断题】
在Python中可以使用 for 作为变量名。
A. 对
B. 错
【判断题】
在Python中可以使用 id 作为变量名,尽管不建议这样做。
A. 对
B. 错
【判断题】
Python关键字不可以作为变量名。
A. 对
B. 错
【判断题】
一个数字5也是合法的Python表达式。
A. 对
B. 错
【判断题】
同一个列表对象中的元素类型可以各不相同。
A. 对
B. 错
【判断题】
同一个列表对象中所有元素必须为相同类型。
A. 对
B. 错
【判断题】
已知x为非空列表,那么执行语句x[0] = 3之后,列表对象x的内存地址不变。
A. 对
B. 错
【判断题】
列表可以作为集合的元素。
A. 对
B. 错
【判断题】
集合可以作为列表的元素。
A. 对
B. 错
【判断题】
元组可以作为集合的元素。
A. 对
B. 错
【判断题】
集合可以作为元组的元素。
A. 对
B. 错
【判断题】
字典可以作为集合的元素。
A. 对
B. 错
【判断题】
集合可以作为字典的键。
A. 对
B. 错
推荐试题
【单选题】
Which of the following statements is NOT true?____________ ___
A. Some adults can’t tell right from wrong.
B. Censorship is compared to the law because both of them perform good service to society as a whole.
C. Censors pay attention only to genuine works of art.
D. Censorship is necessary because many books, plays and films are far from being “works of art”.
【单选题】
What does the word “corrupt” in Para.4 mean?__________ ___
A. Make morally bad.
B. Hurt.
C. Injure.
D. Damage.
【单选题】
What would be the best title of this passage?_____________ ___
A. Permissive Parents and Responsible Parents.
B. Censorship and the Law.
C. Censors Value Artistic Merits .
D. Censorship Performs Good Service to Society.
【单选题】
Lie detectors are widely used in the United States because _____________. ___
A. they can help detect people’s emotional stress
B. they can help detect people's physiological changes
C. they can help find out whether a person is telling the truth or not
D. they can measure the subject’s electrical resistance
【单选题】
According to the passage, we know that Britain______________. ___
A. will adopt lie detectors widely
B. will adopt lie detectors on a smaller scale
C. adopt lie detectors
D. has not decided whether to adopt lie detectors or not
【单选题】
The tests themselves are by no means free from error..." (Line 1-2.Para.3) means ____________. ___
A. the tests definitely have no error
B. the tests sometimes make mistakes
C. the polygraphers do not make mistakes
D. the polygraphers can avoid error by using some techniques
【单选题】
Which of the following is true? ________________ ___
A. The tests are conducted by qualified polygraphers.
B. Innocent people may blush or stammer when questioned.
C. Guilty people can definitely be found out by answer questions
D. Guilty people may escape by refusing to answer questions.
【单选题】
What troubles lie detector researchers most is that _______________. ___
A. innocent people are convicted crimes
B. innocent people will learn to tell lies
C. lie detectors may cause industrial unrests
D. lie detectors are sometimes not dependable
【单选题】
In the passage the author's attitude towards "mixed-ability teaching" is _______. ___
A. critical
B. questioning
C. approving
D. objective
【单选题】
By "held back" (Line 1) the author means _____. ___
A. made to remain in the same classes
B. forced to study in the lower classes
C. drawn to their studies
D. prevented from advancing
【单选题】
The author argues that a teacher's chief concern should be the development of the student's _________. ___
A. personal qualities and social skills
B. total personality
C. learning ability and communicative skills
D. intellectual ability
【单选题】
Which of the following is NOT MENTIONED in the third paragraph? __________ ___
A. Group work gives pupils the opportunity to learn to work together with others.
B. Pupils also learn to develop their reasoning abilities.
C. Group work provides pupils with the opportunity to learn to be capable organizers.
D. Pupils also learn how to participate in teaching activities.
【单选题】
The author's purpose in writing this passage is to ______. ___
A. argue for teaching bright and not-so-bright pupils in the same class
B. recommend pair work and group work for classroom activities
C. offer advice on the proper use of the library
D. emphasize the importance of appropriate formal classroom teaching
【单选题】
According to the author, the deaths among youth are mainly caused by _____. ___
A. traffic accidents
B. smoking-related diseases
C. murder
D. all of these
【单选题】
Every day there are over_____high school students who will become regular smoker. ___
A. 75
B. 23
C. 30
D. 3000
【单选题】
By "dropout" the author means______. ___
A. students who failed the examination
B. students who left school
C. students who lost their way
D. students who were driven out of school
【单选题】
The reason for declining adolescent smoking is that ________. ___
A. NCI has taken effective measures
B. smoking is prevented among high school seniors
C. there are many smokers who have died of cancer
D. not stated
【单选题】
What is implied but not stated by the author is that ________. ___
A. smoking rates among youth have declined very little
B. there are now more female than male smokers among high school seniors
C. high smoking rates are due to the increase in wealth
D. smokers at high school are from low socio-economic backgrounds
【单选题】
According to the passage, which of the following is NOT a disadvantage of part time education? _______________ ___
A. It requires some break in one's career.
B. It tends to last too long for many people to complete a degree program.
C. It affects one's career.
D. It gives the student less time to share with the family.
【单选题】
Which of the following is NOT an advantage of distance learning? _________ ___
A. The student may choose his or her own pace.
B. The student may study at any time to his or her convenience.
C. They can pursue their chosen career while studying.
D. Their tutorial assistance comes through regular airmail, telephone, etc.
【单选题】
What benefit will distance learning program bring to a business? __________ ___
A. Recruitment of more talented people.
B. Good image of the business.
C. Better cooperation with universities.
D. Further training of employees and business growth.
【单选题】
Good distance learning program have the following characteristic EXCEPT______. ___
A. distance learning course is the same as students taking courses in campus
B. the degree should be same as on campus study
C. professor-student relationship is strictly one to one all through the course
D. includes subject evaluation tool
【单选题】
What benefit will distance learning bring to an employee of a business? ___________ ___
A. Professional growth.
B. Good relationship with the employer.
C. Good impression on the employer.
D. Higher salary.
【单选题】
In the first paragraph, what does "plastic money" (Line 6, Para.1) refer to? ______ ___
A. Dollars.
B. Online payment.
C. Credit cards.
D. Coins.
【单选题】
Which of the following is NOT true about credit cards? ____________ ___
A. Shopkeepers, among others, object to the use of credit cards because they add on the cost of the merchandise.
B. Credit card holders actually pay for their goods after the purchase has been completed.
C. The national company enjoys extensive growth because of the use of credit cards.
D. It has had the effect of increasing consumption.
【单选题】
What is the disadvantage of credit cards? _____________ ___
A. It may lead to the overgrowth of the national economy.
B. The delay in the payment of shopping goods may bring damage to shopkeepers' profits.
C. Some people may intentionally purchase goods that they cannot possibly afford.
D. Those who pay by cash at the purchase will have to pay for the cost added to the product as the interest charge of credit cards.
【单选题】
What is the main topic of the text? ________________ ___
A. Advantages and Disadvantages of Credit Cards.
B. Economic Growth Backed up by the Use of Credit Cards.
C. It can encourage great sums of consumption.
D. Credit Cards Make Life
E. asier.
【单选题】
The author's attitude towards credit card is.______________. ___
A. agreeable
B. neutral
C. humorous
D. oppositional
【单选题】
不含有割地内容的不平等条约是___。
A. 《南京条约》
B. 《北京条约》
C. 《马关条约》
D. 《辛丑条约》
【单选题】
在甲午战争后,严复翻译的《天演论》所宣传的重要思想是___。
A. “师夷长技以制夷”
B. “中学为体,西学为用”
C. “天下兴亡,匹夫有责”
D. “物竞天择,适者生存”
【单选题】
火烧圆明园发生在___期间。
A. 鸦片战争
B. 第二次鸦片战争
C. 甲午战争
D. 八国联军侵华战争
【单选题】
规定允许外国在中国办工厂的条约是___。
A. 《南京条约》
B. 《北京条约》
C. 《马关条约》
D. 《辛丑条约》
【单选题】
1895 年,日本强迫清政府签订___,割去台湾全岛及所有附属岛屿和澎湖列岛。
A. 《南京条约》
B. 《北京条约》
C. 《马关条约》
D. 《辛丑条约》
【单选题】
近代以来中国反侵略战争失败的最根本原因是___。
A. 帝国主义的强大
B. 社会制度的腐败
C. 经济技术的落后
D. 中国军队军事素质低下
【单选题】
鸦片战争以清政府的失败而告终。1842 年 8 月 29 日,清政府与英国签订了中国近代史上的第一个不平等条约是___。
A. 中英《虎门条约》
B. 中英《南京条约》
C. 中美《望厦条约》
D. 中法《黄埔条约》
【单选题】
在近代中国,规定中国向列强支付赔款最多的条约是___。
A. 《南京条约》
B. 《北京条约》
C. 《马关条约》
D. 《辛丑条约》
【单选题】
到___的订立为止,庞杂的不平等条约体系已宣告中国半殖民地社会的完全形成。
A. 《天津条约》
B. 《北京条约》
C. 《辛丑条约》
D. 《马关条约》
【单选题】
德国元帅瓦德西说:“无论欧、美、日本各国,皆无此脑力与兵力,可以统治此天下生灵四分之一,故瓜分一事,实为下策。”这表明___。
A. 帝国主义已灭亡中国
B. 帝国主义之间相互勾结
C. 帝国主义瓜分中国图谋的破产
D. 帝国主义之间的矛盾
【单选题】
帝国主义列强掀起瓜分中国的狂潮是在___。
A. 中日甲午战争爆发后
B. 第一次鸦片战争爆发后
C. 八国联军战争爆发后
D. 第二次鸦片战争爆发后
【单选题】
下面表述不正确的是___。
A. 中国人民的反侵略战争,激起了帝国主义列强的侵华野心。
B. 中国人民的反侵略战争,使我们的国家和民族历尽劫难、屡遭侵略而不亡。
C. 中国人民的反侵略战争表现出来的爱国主义精神,铸成了中华民族的民族魂。
D. 中国人民反侵略战争的失败,从反面教育了中国人民,极大地促进了中国人的思考、探 索和奋起,反侵略战争的过程,是中华民族逐步觉醒的过程。
欢迎使用我爱刷题
×
微信搜索我爱刷题小程序
温馨提示
×
请在电脑上登陆“www.woaishuati.com”使用