Search Header Logo

Python Basic quiz

Authored by FRUK KURT

Used 2+ times

Python Basic quiz
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

Media Image

จาก code นี้ ถ้าหาก สั่ง print จะได้ผลลัพธ์แบบไหน

11

"1"1

2

Error

2.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

ถ้าต้องการรับข้อมูลจากผู้ใช้ใน Python จะใช้ฟังก์ชันอะไร?

print()

readline()

getuser()

input()

3.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Media Image

จาก code นี้ ถ้าหาก สั่ง print จะได้ผลลัพธ์แบบไหน

2.2

"2"

"2.2"

2

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Media Image

จาก code นี้ ถ้าหาก สั่ง print จะได้ผลลัพธ์แบบไหน

Fasle

True

Error

5

5.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Media Image

จาก code นี้ ถ้าหาก สั่ง print จะได้ผลลัพธ์แบบไหน

Small

Normal

Tall

Error

6.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Media Image

จาก code นี้ ค่า x, y, z ควรมีค่าเท่าใด เพื่อให้ได้ ผลลัพธ์ คือ 0 2 4 6 8

x=1, y=2, z=3

x=0, y=10, z=2

x=0, y=2, z=8

x=0, y=8, z=2

7.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

จากลิสต์ my_list = [1, 2, 3, 4] ถ้าต้องการเพิ่มตัวเลข 5 เข้าไปในลิสต์นี้จะใช้วิธีใด?

my_list.add(5)

my_list.append(5)

my_list.insert(5)

my_list.input(5)

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?