1) Which is the correct Python file extension? a) myprogram.txt b) myprogram.exe c) myprogram.py d) myprogram.docx 2) Which is a Correct Python File Name? a) 1hello.py b) my program.py c) hello_world.py d) test@.py 3) Which one is Python language? a) echo 'Hello' b) cout << 'Hello'; c) System.out.println('Hello'); d) print(''Hello'') 4) Which one is correct? a) b) 5) Python is not case-sensitive when naming variables. a) True b) False 6) age = 10 and Age = 20 can exist together in the same program as different a) True b) False 7) Keywords in Python must be written in lowercase (e.g., if, while, for). a) True b) False 8) In Python, print("Hello") and Print("Hello") will give the same output. a) True b) False 9) In Python, how are instructions executed? a) From bottom to top b) From right to left c) From top to bottom, line by line d) In random order 10) What will this code display? a) Hello b) Ali Hello c) Hello Ali d) Error
0%
Python Basics
共享
共享
共享
由
Rukaya8
10th Grade
11th Grade
technology
编辑内容
打印
嵌入
更多
作业
排行榜
显示更多
显示更少
此排行榜当前是私人享有。单击
,共享
使其公开。
资源所有者已禁用此排行榜。
此排行榜被禁用,因为您的选择与资源所有者不同。
还原选项
随堂测验
是一个开放式模板。它不会为排行榜生成分数。
需要登录
视觉风格
字体
需要订阅
选项
切换模板
显示所有
播放活动时将显示更多格式。
打开成绩
复制链接
QR 代码
删除
恢复自动保存:
?