Search Header Logo

แข่งขันcodingม.ต้น

Authored by arunee chaiphichit

Information Technology (IT)

12th Grade

Used 15+ times

แข่งขันcodingม.ต้น
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

ตัวแปรในภาษา Python ใช้เพื่อทำอะไร?

ใช้เพื่อเก็บข้อมูลและอ้างอิงในโปรแกรม

ใช้เพื่อสร้างฟังก์ชันใหม่

ใช้เพื่อจัดการกับไฟล์ในระบบ

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

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

ประเภทข้อมูลใดที่ใช้เก็บค่าจำนวนเต็มใน Python?

string

float

list

int

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

คำสั่งใดใช้ในการประกาศตัวแปรใน Python?

การประกาศตัวแปรใน Python ใช้การกำหนดประเภทของตัวแปร

การประกาศตัวแปรใน Python ต้องใช้คำสั่ง if

การประกาศตัวแปรใน Python ใช้การกำหนดค่าให้กับชื่อของตัวแปร

การประกาศตัวแปรใน Python ต้องใช้คำสั่ง print

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

เพื่อทำการตรวจสอบเงื่อนไขและตัดสินใจในโปรแกรม

เพื่อสร้างฟังก์ชันใหม่ใน Python

เพื่อจัดการกับข้อผิดพลาดในโปรแกรม

เพื่อเพิ่มประสิทธิภาพของโปรแกรม

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

str

float

int

bool

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

คำสั่งใดที่ใช้ในการวนลูปใน Python?

for, while

iterate

repeat

loop

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

การใช้คำสั่ง else ใน Python มักจะใช้ร่วมกับคำสั่งใด?

for

switch

if

while

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?