แบบทดสอบหลังเรียน เรื่อง ตัวแปร ชนิดข้อมูล ฟังก์ชันรับค่า
Quiz
•
World Languages
•
7th Grade
•
Hard
Kru-Noosanee Hayeeyusoh
Used 5+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
การใช้ตัวแปร: ถ้าต้องการสร้างตัวแปรชื่อ score และกำหนดค่าให้กับ score เป็น 10 จะเขียนโค้ดอย่างไร?
score = 10
score == 10
score = '10'
score : 10
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
การใช้ตัวแปร: ถ้าต้องการเปลี่ยนค่าของตัวแปร x จาก 5 เป็น 7 จะเขียนโค้ดอย่างไร?
x += 7
x = 5
x = 10
x = 7
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
ชนิดข้อมูล: ชนิดข้อมูลที่ใช้เก็บตัวเลขทั้งเต็มและทศนิยมคือชนิดข้อมูลอะไร?
integer
string
float
boolean
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
ชนิดข้อมูล: ถ้าต้องการเก็บข้อความในตัวแปรชื่อ name จะใช้ชนิดข้อมูลอะไร?
float
boolean
integer
string
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
ชนิดข้อมูล: ถ้าต้องการเก็บค่าจริงหรือเท็จในตัวแปรชื่อ is_valid จะใช้ชนิดข้อมูลอะไร?
string
float
integer
boolean
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
การแปลงชนิดข้อมูล: เมื่อต้องการแปลงค่าตัวแปร x จากชนิดข้อมูลจำนวนเต็มเป็นชนิดข้อมูลทศนิยมจะใช้ฟังก์ชันอะไร?
str(x)
int(x)
float(x)
bool(x)
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
การแปลงชนิดข้อมูล: เมื่อต้องการแปลงค่าตัวแปร y จากชนิดข้อมูลทศนิยมเป็นชนิดข้อมูลจำนวนเต็มจะใช้ฟังก์ชันอะไร?
bool()
int()
float()
str()
Create a free account and access millions of resources
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
10 questions
กาพย์เรื่องพระไชยสุริยา
Quiz
•
7th Grade
10 questions
คำราชาศัพท์
Quiz
•
6th - 8th Grade
11 questions
นิราศภูเขาทอง by pp
Quiz
•
7th Grade
10 questions
โคลงโลกนิติ
Quiz
•
6th - 8th Grade
15 questions
เตรียมความพร้อม B-NET
Quiz
•
7th - 12th Grade
15 questions
ชนิดและหน้าที่ของคำ
Quiz
•
7th Grade
10 questions
แบบทดสอบคำสุภาพ
Quiz
•
1st Grade - University
10 questions
คําไทย7ชนิด
Quiz
•
7th Grade
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
11 questions
NEASC Extended Advisory
Lesson
•
9th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
10 questions
Boomer ⚡ Zoomer - Holiday Movies
Quiz
•
KG - University
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd Grade
20 questions
Multiplying and Dividing Integers
Quiz
•
7th Grade
Discover more resources for World Languages
21 questions
Realidades 1A
Quiz
•
7th - 8th Grade
20 questions
Spanish Subject Pronouns
Quiz
•
7th - 12th Grade
22 questions
Spanish Subject Pronouns
Quiz
•
6th - 9th Grade
20 questions
regular preterite
Quiz
•
7th Grade
10 questions
Exploring Dia de los Muertos Traditions for Kids
Interactive video
•
6th - 10th Grade
20 questions
Telling Time in Spanish
Quiz
•
3rd - 10th Grade
20 questions
Ser & Subject Pronouns
Quiz
•
6th - 9th Grade
40 questions
Repaso (subject pronoun, ser, la hora)
Quiz
•
7th - 12th Grade
