Search Header Logo

แนวข้อสอบภาษาไพทอน

Authored by ณัฐวรรธน์ ตาดคํา

Computers

11th Grade

Used 18+ times

แนวข้อสอบภาษาไพทอน
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

34 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

ข้อใดคือประเภทข้อมูล (data type) ในภาษาไพทอน:

Integer

String

Boolean

ถูกทุกข้อ

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

คำสั่งใดใช้ในการแสดงผลในภาษาไพทอน:

input()

print()

output()

show()

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

ผลลัพธ์ของคำสั่งต่อไปนี้คืออะไร: python print(2 + 3 * 4)

14 (correct)

20

18

24

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

ข้อใดเป็นลักษณะการเขียนความคิดเห็น (comment) ในภาษาไพทอน:

//

/*

# (correct)

<----------->

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

ฟังก์ชัน len() ใช้สำหรับ:

คำนวณผลรวมของรายการ

วัดความยาวของสตริง

แปลงตัวเลขเป็นสตริง

ลบรายการออกจากลิสต์

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

ข้อใดเป็นตัวดำเนินการที่ใช้ในภาษาไพทอน:

&&

||

== (correct)

!==

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

ฟังก์ชันใดใช้ในการรับค่าจากผู้ใช้ในภาษาไพทอน:

input() (correct)

get()

read()

ask()

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?