Search Header Logo

แบบทดสอบปลายภาควิชาการเขียนโปรแกรมไพทอน ม.4/2

Authored by saijai yahata

Computers

8th Grade

Used 6+ times

แบบทดสอบปลายภาควิชาการเขียนโปรแกรมไพทอน ม.4/2
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

ตัวแปรใน Python คืออะไร?

ตัวแปรใน Python คือการอ้างอิงที่มีชื่อไปยังค่าที่เก็บอยู่ในหน่วยความจำ.

ตัวแปรใน Python คือคำสั่งที่ใช้ในการดำเนินการโค้ด.

ตัวแปรใน Python คือประเภทของฟังก์ชัน.

ตัวแปรใน Python คือค่าคงที่ที่ไม่สามารถเปลี่ยนแปลงได้.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

การประกาศตัวแปรใน Python ต้องทำอย่างไร จึงจะถูกต้อง?

N01

1Number

Num 001

#No.1

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

ข้อใดใช้สร้างคำสั่งเงื่อนไขตรวจสอบใน Python?

if

case

when

unless

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

ผลลัพธ์ของนิพจน์ 7 * 6 คืออะไร?

54

48

42

36

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

ฟังก์ชันใดใน Python ใช้สำหรับการแสดงผลข้อความบนหน้าจอ?

output()

display()

print()

show()

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

คำสั่งใดที่ใช้ในการหยุดการทำงานของลูปใน Python?

stop

break

terminate

exit

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

การใช้คำสั่ง return ในฟังก์ชัน Python มีวัตถุประสงค์เพื่ออะไร?

เพื่อหยุดการทำงานของโปรแกรม.

เพื่อส่งค่ากลับจากฟังก์ชัน.

เพื่อสร้างตัวแปรใหม่.

เพื่อแสดงผลลัพธ์บนหน้าจอ.

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?