1) What is wrong with this line of code after the . Print ('My name is Fred') a) The wrong type of speech marks b) Doesn't need brackets c) Capital letter for P in Print 2) A variable is a a) memory location that can store a value that can be changed during the running of the program b) a value that can go up or down c) Can only be whole numbers or decimals 3) If you miss a bracket out of a simple print statement, the type of error message is a) name error b) syntax error c) syntax error unterminated string literal 4) If you spell input wrong and put imput, what error do you think will occur a) name error b) syntax error c) syntax error unterminated string literal 5) When you fix errors you are __________ your program a) debunking b) debussing c) debugging 6) A comment symbol in python code is a a) / b) | c) # 7) There are 2 modes for python programming. They are a) editor and runtime b) white mode and black mode c) IDE and DLE 8) There is an error in the code after the . name = input('what is your name?') print ('My name is ' +name') a) should be input = name b) put a comma after the 2nd bracket c) take out the last speech mark 9) One rule for naming variables is it must start with a capital letter a) True b) False 10) If you needed to create a variable for price of a sandwich e.g. £1.50 then you would need to use this datatype a) integer b) real c) boolean
0%
Year 9 CS Lesson 1 Python Review
共有
共有
共有
Sburchell
さんの投稿です
Y9
Computing
コンテンツの編集
印刷
埋め込み
もっと見る
割り当て
リーダーボード
もっと表示する
表示を少なくする
このリーダーボードは現在非公開です。公開するには
共有
をクリックしてください。
このリーダーボードは、リソースの所有者によって無効にされています。
このリーダーボードは、あなたのオプションがリソースオーナーと異なるため、無効になっています。
オプションを元に戻す
クイズ
は自由形式のテンプレートです。リーダーボード用のスコアは生成されません。
ログインが必要です
表示スタイル
フォント
サブスクリプションが必要です
オプション
テンプレートを切り替える
すべてを表示
アクティビティを再生すると、より多くのフォーマットが表示されます。
オープン結果
リンクをコピー
QRコード
削除
自動保存:
を復元しますか?