ชนิดข้อมูลในภาษาไพธอน

Quiz
•
Computers
•
10th Grade
•
Hard
อัจฉราพร ขันธุแสง
Used 1+ times
FREE Resource
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"}
Create a free account and access millions of resources
Similar Resources on Wayground
11 questions
Learning Variables

Quiz
•
9th - 12th Grade
12 questions
Java Strings

Quiz
•
9th - 12th Grade
15 questions
Python

Quiz
•
6th Grade - University
10 questions
Data Conversion & User Input

Quiz
•
10th Grade
15 questions
หน่วยที่ 2 เรื่อง ( Language C )

Quiz
•
9th - 12th Grade
10 questions
ว30285-ทดสอบเรื่องคำสั่งแบบเงื่อนไข

Quiz
•
10th Grade
10 questions
คำศัพท์ภาษาไพทอน Test 10 ข้อ

Quiz
•
9th - 12th Grade
11 questions
แหล่งข้อมูล

Quiz
•
10th Grade
Popular Resources on Wayground
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
20 questions
PBIS-HGMS

Quiz
•
6th - 8th Grade
10 questions
"LAST STOP ON MARKET STREET" Vocabulary Quiz

Quiz
•
3rd Grade
19 questions
Fractions to Decimals and Decimals to Fractions

Quiz
•
6th Grade
16 questions
Logic and Venn Diagrams

Quiz
•
12th Grade
15 questions
Compare and Order Decimals

Quiz
•
4th - 5th Grade
20 questions
Simplifying Fractions

Quiz
•
6th Grade
20 questions
Multiplication facts 1-12

Quiz
•
2nd - 3rd Grade