Search Header Logo

ความรู้พื้นฐาน Python

Authored by Thanakrit Yomthaisong

Computers

10th Grade

Used 1+ times

ความรู้พื้นฐาน Python
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

echo("Hello")

printf("Hello")

print("Hello")

display("Hello")

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

คำสั่ง print("5 + 3") จะได้ผลลัพธ์เป็นอะไร?

8

5 + 3

Error

"8"

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

ผลลัพธ์ของคำสั่ง print(5 + 3) คือข้อใด

"5 + 3"

53

8

Error

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

ข้อใดคือประเภทข้อมูล จำนวนเต็ม ในภาษา Python

int

float

str

bool

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

ข้อใดคือค่าของตัวแปร x หลังรันคำสั่ง x = 10 // 3

3

3.33

3.0

Error

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

คำสั่ง input() ใช้เพื่อทำอะไรใน Python

แสดงผลข้อมูล

คำนวณทางคณิตศาสตร์

รับค่าจากผู้ใช้

ประกาศตัวแปร

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

while

for

if

def

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?