

Python M.1
Presentation
•
Computers
•
7th Grade
•
Practice Problem
•
Medium
Kittisak SANGOBJIT
Used 1+ times
FREE Resource
45 Slides • 15 Questions
1
2
3
4
5
6
7
Multiple Choice
Python คืออะไร?
ภาษาเขียนโปรแกรมที่ใช้เฉพาะบนแพลตฟอร์ม Windows
ภาษาเขียนโปรแกรมที่ใช้ในการเขียนโปรแกรมหนึ่ง ซึ่งถูกพัฒนาขึ้นมาโดยไม่ยึดติดกับแพลตฟอร์ม
ระบบปฏิบัติการสำหรับคอมพิวเตอร์
เครื่องมือสำหรับสร้างเว็บไซต์เท่านั้น
8
Multiple Choice
ผลลัพธ์ของคำสั่ง print(10+10) คืออะไร?
10+10
20
"10+10"
ไม่มีผลลัพธ์
9
Multiple Choice
หากข้อความมีหลายบรรทัด ควรใช้เครื่องหมายใดในการครอบข้อความ?
ครื่องหมาย ' หรือ " ติดต่อกัน 3 ตัว
เครื่องหมาย ( หรือ ) ติดต่อกัน 3 ตัว
เครื่องหมาย { หรือ } ติดต่อกัน 3 ตัว
เครื่องหมาย [ หรือ ] ติดต่อกัน 3 ตัว
10
Multiple Choice
ในโปรแกรมที่กำหนด ถ้าค่า a = 2 และ b = "3" ผลลัพธ์ของ `print(a*a)` จะเป็นอะไร?
4
6
8
23
11
Multiple Choice
ตัวแปร a = 12 หมายถึงอะไร?
กำหนดค่าตัวแปร a เป็นข้อความ
กำหนดค่าตัวแปร a เป็นตัวเลข 12
กำหนดค่าตัวแปร a เป็นคำสั่ง
กำหนดค่าตัวแปร a เป็นค่าคงที่
12
Multiple Choice
สัญลักษณ์ " / " ในคณิตศาสตร์หมายถึงอะไร?
บวก
ลบ
คูณ
หาร
13
Multiple Choice
สัญลักษณ์ " - " ในคณิตศาสตร์หมายถึงอะไร?
บวก
ลบ
คูณ
หาร
14
Multiple Choice
ผลลัพธ์ของคำสั่ง print("Hello" + " World") คืออะไร?
HelloWorld
"Hello World"
Hello World
ไม่มีคำตอบ
15
Multiple Choice
ใน Python คำสั่งใดใช้สำหรับการตรวจสอบเงื่อนไข?
check
when
if
condition
16
Multiple Choice
ผลลัพธ์ของคำสั่ง print(5 * 3) คืออะไร?
15
5*3
53
8
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
Multiple Choice
1. ครูให้นักเรียนเขียนโปรแกรมคำนวณ BMI โดยให้กรอกน้ำหนักและส่วนสูง ถ้านักเรียนต้องการให้ค่าที่ป้อนมาใช้คำนวณได้จริง ควรใช้คำสั่งใด
weight = input("น้ำหนัก (กก.): ")
weight = int(input("น้ำหนัก (กก.): "))
weight = str(input("น้ำหนัก (กก.): "))
weight = float("น้ำหนัก (กก.): ")
57
Multiple Choice
วชิระต้องการเขียนโปรแกรมคำนวณ BMI ได้ผลลัพธ์ 80 จากน้ำหนัก 50 กก. ส่วนสูง 1.6 เมตร โค้ดของเขาเป็น bmi = weight / height เขาควรแก้ไขอย่างไรให้ถูกต้อง
bmi = weight / (height ** 2)
bmi = height / (weight ** 2)
bmi = weight * height
bmi = weight – height
58
Multiple Choice
ครูต้องการให้นักเรียนเขียนโปรแกรมแสดงข้อความว่า ค่า BMI ของคุณคือ 19.53 คำสั่งในข้อใดเหมาะสมที่สุด
print("ค่า BMI ของคุณคือ" + bmi)
print("ค่า BMI ของคุณคือ", bmi)
print("ค่า BMI ของคุณคือ" * bmi)
print(bmi, "ค่า BMI ของคุณคือ")
59
Multiple Choice
ครูให้นักเรียนเขียนโปรแกรมแปลผล BMI ตามเกณฑ์กำหนดให้ ดังนี้
(< 18.5 = “ต่ำกว่าเกณฑ์”, 18.5–22.9 = “ปกติสมส่วน”, 23–24.9 = “น้ำหนักเกิน”, 25–29.9 = “อ้วนระดับ 1”, > 30 = “อ้วนระดับ 2”) คำสั่งในข้อใดถูกต้อง
3
4
60
Multiple Choice
โปรแกรมของกิติ ให้ผลลัพธ์ว่า “ค่า BMI ของคุณคือ 27.3 อ้วนระดับ 1” เมื่อเทียบกับเกณฑ์ที่กำหนด นักเรียนคิดว่าเหตุผลในข้อใดทำให้โปรแกรมแสดงผลถูกต้อง
BMI มากกว่า 25 แต่ไม่ถึง 30 เข้ากลุ่ม อ้วนระดับ 1
BMI มากกว่า 30 เข้ากลุ่ม อ้วนระดับ 2
BMI ต่ำกว่า 18.5 เข้ากลุ่ม ต่ำกว่าเกณฑ์
BMI อยู่ระหว่าง 23–24.9 เข้ากลุ่ม น้ำหนักเกิน
Show answer
Auto Play
Slide 1 / 60
SLIDE
Similar Resources on Wayground
53 questions
โคลงสุภาษิตอิสปปกรณำ
Presentation
•
8th Grade
50 questions
ชนิดและหน้าที่ของคำ
Presentation
•
7th Grade
45 questions
กฎหมายคุ้มครองสิทธิของบุคคล
Presentation
•
7th Grade
57 questions
แบบฝึกหัดพิเศษ ดนตรี ม.2 66
Presentation
•
8th Grade
50 questions
พระพุทธศาสนา ม.1
Presentation
•
7th Grade
49 questions
ระบบคอมพิวเตอร์
Presentation
•
8th Grade
53 questions
การเปลี่ยนแปลงทางธรณีวิทยา
Presentation
•
6th - 8th Grade
Popular Resources on Wayground
20 questions
"What is the question asking??" Grades 3-5
Quiz
•
1st - 5th Grade
20 questions
“What is the question asking??” Grades 6-8
Quiz
•
6th - 8th Grade
10 questions
Fire Safety Quiz
Quiz
•
12th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
34 questions
STAAR Review 6th - 8th grade Reading Part 1
Quiz
•
6th - 8th Grade
20 questions
“What is the question asking??” English I-II
Quiz
•
9th - 12th Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
47 questions
8th Grade Reading STAAR Ultimate Review!
Quiz
•
8th Grade
Discover more resources for Computers
20 questions
“What is the question asking??” Grades 6-8
Quiz
•
6th - 8th Grade
34 questions
STAAR Review 6th - 8th grade Reading Part 1
Quiz
•
6th - 8th Grade
20 questions
Revising & Editing practice
Quiz
•
7th Grade
76 questions
STAAR Mixed Review (Print Review)
Quiz
•
3rd - 7th Grade
40 questions
7th Grade ELAR STAAR Review (2025)
Quiz
•
7th Grade
14 questions
Volume of rectangular prisms
Quiz
•
7th Grade
25 questions
7th Grade Writing STAAR Review
Quiz
•
7th Grade
22 questions
Simple Probability
Quiz
•
7th Grade