admin管理员组文章数量:1568433
请大家自己做,不要交头接耳 =3=
1. When Python is running in the interactive mode and displaying the chevron prompt (>>>) - what question is Python asking you?
(A) What Python script would you like me to run?(B) What is your favourite color?
(C) What is the next machine language instruction to run?
(D) What Python statement would you like me to run?
2. What will the following program print out:
>>> x = 15
>>> x = x + 5
>>> print x
(A) 20
(B) 5
(C) 15
(D) "print x"
(E) x + 5
3. Python scripts (files) have names that end with:
(A) .exe
(B) .doc
(C) .py
(D) .png
4. Which of these words is a reserved word in Python ?
(A) for
(B) names
(C) pizza
(D) payroll
5. What is the proper way to say “good-bye” to Python?
(A) // stop
(B) while
(C) quit()
(D) #EXIT
6. Which of the parts of a computer actually executes the program instructions?
(A) Secondary Memory
(B) Input/Output Devices
(C) Central Processing Unit
(D) Main Memory
7. What is "code" in the context of this course?
(A) A way to encrypt data during World War II
(B) A sequence of instructions in a programming language
(C) A password we use to unlock Python features
(D) A set of rules that govern the style of programs
8. A USB memory stick is an example of which of the following components of computer architecture?
(A) Main Memory
(B) Central Processing Unit
(C) Secondary Memory
(D) Output Device
9. What is the best way to think about a "Syntax Error" while programming?
(A) The computer has used GPS to find your location and hates everyone from your town
(B) The computer needs to have its software upgraded
(C) The computer did not understand the statement that you entered
(D) The computer is overheating and just wants you to stop to let it cool down
10. Which of the following is not one of the programming patterns covered in Chapter 1?
(A) Random steps
(B) Repeated Steps
(C) Sequential Steps
(D) Conditional Steps
版权声明:本文标题:大家的编程(Python入门)-第三周Quiz 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:https://www.elefans.com/xitong/1726605058a1077463.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论