
แบบทดสอบก่อนเรียน เรื่อง ตัวแปรในภาษาไพทอน

Quiz
•
Computers
•
8th Grade
•
Medium
Arrow ly
Used 4+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
ตัวแปรในภาษาไพทอน คืออะไร
ก. ตัวแปรคือคำสั่งที่ใช้ในการคำนวณทางคณิตศาสตร์เท่านั้น
ข. ตัวแปรคือค่าคงที่ที่ไม่สามารถเปลี่ยนแปลงได้ในระหว่างการทำงานของโปรแกรม
ค. ตัวแปรคือชื่อที่ใช้ในการเก็บข้อมูลหรือค่า เพื่อใช้ในโปรแกรม
ง. ตัวแปรคือตัวเลขหรือตัวอักษรที่ใช้แสดงผลลัพธ์ออกทางหน้าจอเท่านั้น
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
ถ้าต้องการเก็บตัวเลขทศนิยมควรใช้ชนิดข้อมูลใดในไพทอน
int
str
bool
float
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
ข้อใดเป็นการใช้ตัวแปรไม่ถูกต้อง
name = "Tom"
thai_score = 24
1product = "pen"
mySubject = "computer"
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
ข้อใดเป็นการตั้งชื่อตัวแปรที่ไม่ถูกต้อง
productprice
productPrice#
productPrice
product_price
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
ถ้าจะสร้างตัวแปรเก็บค่าชื่อคำว่า Kitty ควรใช้ตัวแปรตามข้อใด
Myschool
myScore
mywork
myName
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
ข้อใดคือการตั้งชื่อตัวแปรตามรูปแบบ camal case
student_score_final
studentScoreFinal
3studentscorefinal
student score final
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
จากคำสั่ง x = 10 และ x = x + 5 ค่าใหม่ของ x คือเท่าไร
15
20
25
30
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
บทที่ 2 ออกแบบกันก่อน | DTM.2

Quiz
•
8th Grade
10 questions
วิทยาการคำนวณ ep2 ม.2/5

Quiz
•
8th Grade
10 questions
ทบทวน Dreamweaver CS6

Quiz
•
6th Grade - University
10 questions
ระบบเทคโนโลยีที่ซับซ้อน

Quiz
•
8th Grade
12 questions
M41 4 ผังงาน (flow chart)

Quiz
•
4th - 10th Grade
10 questions
วิทยการคำนวณ 2-การใช้เทคโนโลยีสารสนเทศอย่างปลอดภัย

Quiz
•
7th - 9th Grade
10 questions
Computer

Quiz
•
1st Grade - University
10 questions
แบบทดสอบวิเคราะห์ข้อมูลด้วยกราฟ

Quiz
•
6th - 8th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

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

Interactive video
•
6th - 10th Grade
18 questions
Company Logos

Quiz
•
6th - 8th Grade
10 questions
Exploring Cybersecurity Techniques and Threats

Interactive video
•
6th - 10th Grade
10 questions
Understanding the Internet and Data Transmission

Interactive video
•
7th - 12th Grade
25 questions
How to Email a Teacher- https://youtu.be/NioeNhfpVfI

Quiz
•
6th - 8th Grade
20 questions
Computer Hardware

Quiz
•
6th - 8th Grade
21 questions
Gear Ratio Practice

Quiz
•
6th - 8th Grade