1) What is the technical name for an error in a program a) Syntax Error b) Code Invalid c) Code Error d) Code Incorrect 2) Parenthesis is used in Python and refers to: a) Round Brackets b) Square Brackets c) Curly Brackets d) None of these 3) What is an indentation error in Python? a) Missing Speech marks b) Error in the name of Python command c) Missing parenthesis d) Extra or not enough spaces used 4) What is the error with this code: print(I can program in Python") a) Missing Speech mark b) Missing parenthesis c) Spelling Error d) Indention Error e) Capital letter used in Command Word 5) What is the error with this code: print("I can program in Python" a) Missing Speech mark b) Missing parenthesis c) Spelling Error d) Indention Error e) Capital letter used in Command Word 6) What is the error with this code: pirnt("I can program in Python") a) Missing Speech mark b) Missing parenthesis c) Spelling Error d) Indention Error e) Capital letter used in Command Word 7) What is the error with this code: PRINT("I can program in Python") a) Missing Speech mark b) Missing parenthesis c) Spelling Error d) Indention Error e) Capital letter used in Command Word 8) What is the error with this code: print ("I can program in Python ") a) Missing Speech mark b) Missing parenthesis c) Spelling Error d) Indention Error e) Capital letter used in Command Word 9) Select the correct definition for the term “constant” a) A Python command b) A value that does change c) A temporary memory location which holds a value that does not change. d) A temporary memory location which holds a value that will change. 10) Select the correct definition for the term “variable” a) A Python command b) A value that does not change c) A temporary memory location which holds a value that does not change. d) A temporary memory location which holds a value that will change. 11) Would the temperature be stored as a Constant or Variable? a) Constant b) Variable 12) Would your name be stored as a Constant or Variable? a) Constant b) Variable 13) Would the number of hours in a day be stored as a Constant or Variable? a) Constant b) Variable 14) Would the number of countries in the world be stored as a Constant or Variable? a) Constant b) Variable 15) Would the Speed of Light be stored as a Constant or Variable? a) Constant b) Variable 16) Are Constants name normally in Lowercase or Uppercase? a) Lowercase b) Uppercase 17) Are Variables name normally in Lowercase or Uppercase? a) Lowercase b) Uppercase
0%
Variables, Constants
共享
共享
共享
由
Ahmedpatel1
编辑内容
打印
嵌入
更多
作业
排行榜
显示更多
显示更少
此排行榜当前是私人享有。单击
,共享
使其公开。
资源所有者已禁用此排行榜。
此排行榜被禁用,因为您的选择与资源所有者不同。
还原选项
随堂测验
是一个开放式模板。它不会为排行榜生成分数。
需要登录
视觉风格
字体
需要订阅
选项
切换模板
显示所有
播放活动时将显示更多格式。
打开成绩
复制链接
QR 代码
删除
恢复自动保存:
?