第一章 单元测试

1、 问题:What is the fundamental question of computer science? ( )
选项:
A:How fast can a computer compute?
B:What can be computed?
C:What is the most effective programming language?
D:How much money can a programmer make?
答案: 【
What can be computed?

2、 问题:A statement is ( )
选项:
A:a translation of machine language
B:a complete computer command
C:a precise description of a problem
D:a section of an algorithm
答案: 【
a complete computer command

3、 问题:The items listed in the parentheses of a function definition are called ( )
选项:
A:parentheticals
B:parameters
C:arguments
D:both B and C are correct
答案: 【
both B and C are correct

4、 问题:All information that a computer is currently working on is stored in main memory. ( )
选项:
A:对
B:错
答案: 【

5、 问题:A loop is used to skip over a section of a program. ( )
选项:
A:对
B:错
答案: 【

第二章 单元测试

1、 问题:Which of the following is not a legal identifier? ( )
选项:
A:spam
B:spAm
C:2spam
D:spam4U
答案: 【
spam

2、 问题:In Python, getting user input is done with a special expression called ( )
选项:
A:for
B:read
C:simultaneous assignment
D:input
答案: 【
input

3、 问题:The process of describing exactly what a computer program will do to solve a problem is called ( )
选项:
A:Design
B:implementation
C:programming
D:specification
答案: 【
specification

4、 问题:In Python, x = x + 1 is a legal statement. ( )
选项:
A:对
B:错
答案: 【

5、 问题:The best way to write a program is to immediately type in some code and then debug it until it works. ( )
选项:
A:对
B:错
答案: 【

第三章 单元测试

1、 问题:Which of the following is not a built-in Python data type? ( )
选项:
A:int
B:float
C:rational
D:string
答案: 【
rational

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