Search Header Logo

ข้อสอบ เรื่อง List

Authored by Nutthawut Songkamphon

Computers

6th Grade

Used 3+ times

ข้อสอบ เรื่อง List
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

30 sec • 1 pt

การเก็บข้อมูลแบบลิสต้องอยู่ภายใต้เครื่องหมายในข้อใด

( )

{ }

[ ]

# #

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

ข้อมูลในลิสจะมี index เริ่มต้นที่ใด

0

1

2

-1

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

กำหนดให้

thislist = ["apple", "banana", "cherry", "apple", "cherry"]

ข้อใด คือ คำสั่งแสดงผลข้อมูลในลิส

print

input

print(thislist)

input(thislist)

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

กำหนดให้

thislist = ["apple", "banana", "cherry", "apple", "cherry"]

thislist มีความยาวเท่าใด

5

4

3

3

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

กำหนดให้

thislist = ["apple", "banana", "cherry"]

ถ้าใช้คำสั่ง print(thislist[2]) ได้ผลดังข้อใด

apple

banana

cherry

thislist

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

กำหนดให้

thislist = ["apple", "banana", "cherry"]

ถ้าใช้คำสั่ง print(thislist[-2]) ได้ผลดังข้อใด

apple

banana

cherry

thislist

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

กำหนดให้

thislist = ["apple", "banana", "cherry"]

ถ้าต้องการเพิ่มข้อมูลเข้าไปในลิสก์ในตำแหน่งสุดท้ายใช้คำสั่งในข้อใด

remove

append

insert

pop

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?