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

Bảng xếp hạng

Phong cách trực quan

Tùy chọn

Chuyển đổi mẫu

Bạn có muốn khôi phục tự động lưu: không?