
ชนิดข้อมูลในภาษาไพธอน
Authored by อัจฉราพร ขันธุแสง
Computers
10th Grade
Used 2+ times

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
ข้อใดคือชนิดข้อมูลที่เก็บตัวเลขจำนวนเต็ม?
float
str
int
bool
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
หากต้องการเก็บข้อความ "Python Programming" ควรใช้ชนิดข้อมูลใด?
float
str
int
bool
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
ค่า True และ False จัดอยู่ในชนิดข้อมูลใด?
float
str
int
bool
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
ชนิดข้อมูลใดที่ใช้เก็บตัวเลขทศนิยม?
float
str
int
bool
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
ข้อใดคือตัวแปรที่เก็บค่าชนิด float?
x = 10
name = "Alice"
is_active = True
pi = 3.14
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
ถ้าต้องการเก็บรายการผลไม้ เช่น "apple", "banana", "cherry" ควรใช้ชนิดข้อมูลใด?
dict
str
int
list
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
ข้อใดคือตัวอย่างของชนิดข้อมูล dict ที่ถูกต้อง?
fruits = ["apple", "banana"]
person = (name="Alice", age=25)
is_active = True
student = {"name": "Bob", "id": "S001"}
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Microsoft
or continue with
%20(1).png)
Apple
Others
Already have an account?