
การประเมินการเขียนโปรแกรมภาษาไพทอน
Authored by สุเมธ อยู่แก้ว
Computers
1st Grade

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
ในภาษา Python ข้อใดคือวิธีการสร้างตัวแปร?
var x = 5
x := 5
x = 5
let x = 5
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
คำสั่งใดใช้สำหรับการแสดงผลข้อความในภาษา Python?
console.log()
System.out.println()
print()
echo()
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
โครงสร้างการวนซ้ำแบบใดที่ใช้บ่อยที่สุดในภาษา Python?
do...while loop
for loop
repeat...until loop
while...do loop
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
ข้อใดคือนิพจน์เปรียบเทียบที่ถูกต้องในภาษา Python?
x === y
x == y
x .equals(y)
x equals y
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
การเขียนคอมเมนต์แบบหลายบรรทัดในภาษา Python ทำได้อย่างไร?
// คอมเมนต์
/* คอมเมนต์ */
''' คอมเมนต์ '''
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
ข้อใดคือวิธีการสร้างฟังก์ชันในภาษา Python?
function myFunction():
def myFunction():
void myFunction():
proc myFunction():
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
List ในภาษา Python ใช้เครื่องหมายใดในการกำหนดค่า?
{}
()
[]
<>
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Microsoft
or continue with
%20(1).png)
Apple
Others
Already have an account?