Search Header Logo

ม.2 บทที่ 2 part 2 ความรู้การเขียนโปรแกรม Python

Authored by เอกชัย จิตรักษ์

Computers

7th Grade

Used 6+ times

ม.2 บทที่ 2 part 2 ความรู้การเขียนโปรแกรม Python
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

การประกาศตัวแปรใน Python ใช้สัญลักษณ์อะไร?

::

<>

==

=

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

ฟังก์ชันเเสดงผลใน Python ใช้คำว่าอะไร?

printf

function

print

class

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

ตัวแปรใน Python สามารถเก็บข้อมูลประเภทใดบ้าง?

ฟังก์ชัน,เซ็ต, ดิกชันนารี, ทูเพิล

คลาส,ตัวเลข, สตริง, ลิสต์

ตัวเลข, สตริง, ลิสต์, ทูเพิล

โมดูล,,เซ็ต, ดิกชันนารี, ทูเพิล

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

ฟังก์ชันในการนำเข้าข้อมูลด้วยตนเองคือข้อใด

ฟังก์ชัน read()
ฟังก์ชัน input()
ฟังก์ชัน output()
ฟังก์ชัน fetch()

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

ข้อใดคือฟังก์ชันทางเลือกเเละเงื่อนไข

do-while

if-else

for-loop

while-loop

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

ข้อความในข้อใดสามารถตั้งชื่อตัวเเปลได้

ข้อความที่เริ่มต้นด้วยตัวเลข

ข้อความที่ไม่เริ่มต้นด้วยตัวเลขไม่มีสัญลักษณ์พิเศษ

ข้อความที่มีสัญลักษณ์พิเศษ
ข้อความที่มีช่องว่างที่ต้น

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

การใช้ฟังก์ชัน print() ใน 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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?