1) What does concatenation mean in programming? a) It is a process of joining two strings. b) It is a syntax error in a programming code. c) It is to declare a variable and assigning it a value. d) None of the Above 2) Which of these is not a core data type? a) List b) Dictionary c) Tuple d) Class 3) Why do we learn Python? a) It's a really big snake b) It's simple and easy to learn c) It's the name of a very funny comedy show d) It's so rare that no one else knows it 4) What will the output be from the following code? print("Hello world!") a) Syntax Error b) "Hello world!" c) Hello world! d) print(Hello world!) 5) What will the output be from the following code? print(3+4) a) 3+4 b) SyntaxError c) 7 d) print(3+4) 6) What will the output be from the following code? print("3+4") a) 7 b) 34 c) 3+4 d) SyntaxError 7) What will the output be from the following code? Print("Hello world!") a) Name Error/syntax error b) Hello world! c) "Hello world" d) Print(Hello world!) 8) What extension must you add to the end of a file when saving a python program? a) .xlsx b) .docx c) .pptx d) .py 9) What button do you press to compile (run) your program so that it runs in the shell? a) F3 b) F7 c) F5 d) F9 10) What does the print function do in python? a) It's a variable. b) It displays something like a string or integer c) It can input data d) It loops the code.
0%
Plenary Python Next Steps
共享
共享
共享
由
Arashid
编辑内容
打印
嵌入
更多
作业
排行榜
显示更多
显示更少
此排行榜当前是私人享有。单击
,共享
使其公开。
资源所有者已禁用此排行榜。
此排行榜被禁用,因为您的选择与资源所有者不同。
还原选项
随堂测验
是一个开放式模板。它不会为排行榜生成分数。
需要登录
视觉风格
字体
需要订阅
选项
切换模板
显示所有
播放活动时将显示更多格式。
打开成绩
复制链接
QR 代码
删除
恢复自动保存:
?