Search Header Logo

การเขียนโปรแกรมด้วยภาษา Python

Authored by ชลธิชา ดุจจานุทัศน์

Computers

1st - 5th Grade

Used 8+ 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

10 sec • 1 pt

กําหนดให้ x, y, z = "Orange", "Banana", "Cherry" ถ้าใช้คําสั่ง print(z) จะได้ผลลัพธ์ใด

Orange

Banana

Cherry

"Orange", "Banana", "Cherry"

2.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

กําหนดให้ z = float(3) ถ้าใช้คําสั่ง print(z) จะได้ผลลัพธ์ใด

float

3

3.0

9

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

กําหนดให้ a = "Hello, World!" ถ้าใช้คําสั่ง print(a[1]) จะได้ผลลัพธ์ใด

H

e

l

o

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

กําหนดให้ a = "Hello" ถ้าใช้คําสั่ง print(len(a)) จะได้ผลลัพธ์ใด

1

5

H

Hello

5.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

กําหนดให้ list = ["apple", "banana", "cherry"] ถ้าใช้คําสั่ง print(list[-1]) จะได้ผลลัพธ์ใด

apple

banana

cherry

Null

6.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

กําหนดให้ list = [100, 23, 82] ถ้าใช้คําสั่ง list.sort() และสั่ง print(list) จะได้ผลลัพธ์ใด

[3]

[100, 23, 82]

[100, 82, 23]

[23, 82, 100]

7.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

กําหนดให้ list = [100, 23, 82] ถ้าใช้คําสั่ง list.sort(reverse = True) และสั่ง print(list) จะ

ได้คําตอบใด

[3]

[100, 23, 82]

[100, 82, 23]

[23, 82, 100]

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?