Search Header Logo

ข้อสอบไพทอน

Authored by ซัลมี ลงซา

Computers

9th Grade

Used 22+ times

ข้อสอบไพทอน
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

ไพทอน คืออะไร ?

ใช้เขียนเพื่อคำนวณ ตรวจสอบเงื่อนไข และออกคำสั่งต่างๆ

ใช้เขียนเพื่อตรวจสอบข้อมูล สำหรับการเขียนโปรแกรม

เพื่อทดสอบโปรแกรมไพทอน

ใช้ในการอ้างอิงการเขียนโปรแกรม

Answer explanation

เลือกคำตอบที่ถูกที่สุด

2.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

 

เรียงลำดับขั้นตอนกระบวนการเชิงระบบให้ถูกต้อง

input

output

process

process

input

output

input

process

output

output

process

input

3.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

ข้อใดผิด ?

x = "2"

y = "3"

print(x)

print(y)

= 2

= 3

s = 3

w = 5

a = s+y

print(a)

= 8

q = 'สวัสดีค่ะ'

r = 'นักเรียน'

n = q+r

print(n)

='สวัสดีค่ะนักเรียน'

name = "sun"

print(name)

= "sun"

4.

FILL IN THE BLANKS QUESTION

20 sec • 1 pt

x = "hello"

print ( (a)   )

="hello"

5.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

.append ใช้สำหรับอะไร ?

เพื่อลบข้อมูล

เพื่อเพิ่มข้อมูล

เพื่อส่งข้อมูล

เพื่อเก็บข้อมูล

6.

FILL IN THE BLANKS QUESTION

20 sec • 1 pt

freind_list = ["nana","cha","mai"]

(a)   (freind_list)

= ["nana","cha","mai"]

7.

FILL IN THE BLANKS QUESTION

20 sec • 1 pt

(a)   = ['banana','apple','mango']

print(fruit_list)

= ['banana','apple','mango']

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?