1) What type of loop is a while loop? a) Condition controlled b) Count controlled 2) What is the value of x? a) 101 b) 99 c) 100 d) None of the above, it's an infinite loop 3) What is the output of this if statement? a) True b) False 4) In programming, what is iteration? a) The repetition of steps within a program b) A decision point in a program c) The order in which instructions are carried out d) Testing a program to make sure it works 5) Which two statements are used to implement iteration? a) IF and WHILE b) FOR and WHILE c) ELSE and WHILE d) IF and ELSE 6) Which of the following symbols is used in Python to mean "Not equal to"? a) == b) <> c) != d) >< 7) To repeat a fixed number of times use a a) while loop b) for loop 8) To repeat until a particular condition is true use a) while loop b) for loop 9) The character that must be at the end of the line for if, while, for is... a) : b) . c) ; d) , 10) Data type that can only be true or false a) int b) bool c) string d) float
0%
Python Quiz 2
共有
共有
共有
Karenahmed81
さんの投稿です
コンテンツの編集
印刷
埋め込み
もっと見る
割り当て
リーダーボード
もっと表示する
表示を少なくする
このリーダーボードは現在非公開です。公開するには
共有
をクリックしてください。
このリーダーボードは、リソースの所有者によって無効にされています。
このリーダーボードは、あなたのオプションがリソースオーナーと異なるため、無効になっています。
オプションを元に戻す
クイズ
は自由形式のテンプレートです。リーダーボード用のスコアは生成されません。
ログインが必要です
表示スタイル
フォント
サブスクリプションが必要です
オプション
テンプレートを切り替える
すべてを表示
アクティビティを再生すると、より多くのフォーマットが表示されます。
オープン結果
リンクをコピー
QRコード
削除
自動保存:
を復元しますか?