1) Which of the following is an invalid name? a) temp1 b) temp_1 c) %temp d) TEMP 2) Which of the following keywords is used for conditions? a) while b) for c) else d) if 3) Select the relational operator : a) - b) + c) and d) == 4) The extension for a Python file is given as: a) .py b) .pt c) .pyt d) .pty 5) Operator used for indentation is? a) ; b) ' c) : d) ) 6) Which of the following is used for integer division? a) / b) % c) // d) + 7) Keywords can be used as variable names(T/F) a) True b) False 8) Single line commentaries can be given by : a) * b) # c) @ d) ! 9) Multiple line commentaries can be given by : a) " " b) ; c) . d) < 10) Which of the following is used for looping? a) for b) if c) break d) pass
0%
Python quiz
แชร์
แชร์
แชร์
โดย
Jeeviteshraturi
แก้ไขเนื้อหา
สั่งพิมพ์
ฝัง
เพิ่มเติม
กำหนด
ลีดเดอร์บอร์ด
แสดงเพิ่มขึ้น
แสดงน้อยลง
ลีดเดอร์บอร์ดนี้ตอนนี้เป็นส่วนตัว คลิก
แชร์
เพื่อทำให้เป็นสาธารณะ
ลีดเดอร์บอร์ดนี้ถูกปิดใช้งานโดยเจ้าของทรัพยากร
ลีดเดอร์บอร์ดนี้ถูกปิดใช้งานเนื่องจากตัวเลือกของคุณแตกต่างสำหรับเจ้าของทรัพยากร
แปลงกลับตัวเลือก
เปิดกล่อง
เป็นแม่แบบแบบเปิดที่ไม่ได้สร้างคะแนนสำหรับลีดเดอร์บอร์ด
ต้องลงชื่อเข้าใช้
สไตล์ภาพ
แบบ อักษร
ต้องสมัครสมาชิก
ตัวเลือก
สลับแม่แบบ
แสดงทั้งหมด
รูปแบบเพิ่มเติมจะปรากฏเมื่อคุณเล่นกิจกรรม
เปิดผลลัพธ์
คัดลอกลิงค์
คิวอาร์โค้ด
ลบ
คืนค่าการบันทึกอัตโนมัติ:
ใช่ไหม