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

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
10 questions
Bab 3.1.2 ASK T2

Quiz
•
1st - 12th Grade
10 questions
Variables and Data Types

Quiz
•
3rd - 10th Grade
15 questions
Hardware & Software

Quiz
•
8th - 12th Grade
10 questions
หน่วยที่ 3 สื่อบันทึกข้อมูล

Quiz
•
9th - 12th Grade
15 questions
Intermediate Python

Quiz
•
9th - 11th Grade
10 questions
ตัวแปร (Variable)

Quiz
•
10th Grade
10 questions
[TN]TIN10_BAI18_GÓI CÂU HỎI 1

Quiz
•
10th Grade
10 questions
Jenis Data

Quiz
•
7th - 12th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Appointment Passes Review

Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
Grammar Review

Quiz
•
6th - 9th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
17 questions
[AP CSP] Binary Number System

Lesson
•
9th - 12th Grade
15 questions
1.1 Network Fundamentals Quiz

Quiz
•
10th Grade
20 questions
Understanding Information Processing Cycle

Quiz
•
10th Grade
19 questions
AP CSP Unit 1 Review (code.org)

Quiz
•
10th - 12th Grade