Search Header Logo

พื้นฐานการเขียนโปรแกรมภาษาไพทอน

Authored by อัจฉรา เป็ดทอง

Computers

9th Grade

Used 11+ times

พื้นฐานการเขียนโปรแกรมภาษาไพทอน
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

21 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

ชนิดข้อมูลพื้นฐานในภาษาไพทอนมีอะไรบ้าง?

string, number, boolean, collection

float, double, character, map

int, float, str, bool, list, tuple, set, dict

char, byte, array, object

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

ตัวแปรในภาษาไพทอนประกาศอย่างไร?

ใช้เครื่องหมายบวก (+) เพื่อประกาศตัวแปร

ใช้คำสั่ง print() เพื่อประกาศตัวแปร

ใช้เครื่องหมายดอกจัน (*) เพื่อประกาศตัวแปร

ใช้เครื่องหมายเท่ากับ (=) เพื่อประกาศตัวแปร

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

ฟังก์ชันทางคณิตศาสตร์ใดที่ใช้ในการหาค่ารากที่สอง?

ฟังก์ชันรากที่สอง (Square Root Function)

ฟังก์ชันกำลังสอง (Square Function)

ฟังก์ชันลอการิธึม (Logarithm Function)

ฟังก์ชันตรีโกณมิติ (Trigonometric Function)

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

ชนิดข้อมูลใดที่ใช้เก็บค่าจำนวนเต็มในภาษาไพทอน?

list

int

float

string

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

ฟังก์ชันใดในภาษาไพทอนใช้ในการหาค่าผลรวม?

sum()

total()

aggregate()

calculate()

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

ชนิดข้อมูลใดที่ใช้เก็บค่าจริงในภาษาไพทอน?

int

string

bool

float

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

ชนิดข้อมูลใดที่ใช้เก็บข้อความในภาษาไพทอน?

float

list

str

int

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?