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 代碼
刪除
恢復自動保存:
?