

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
48 questions
อัลกอริทึมฉบับรวมมิตร
Presentation
•
7th Grade
55 questions
โมเมนต์ของแรง
Presentation
•
8th Grade
44 questions
2 เทคโนโลยีการจัดการข้อมูล
Presentation
•
6th - 8th Grade
45 questions
กลอนสุภาพ
Presentation
•
6th Grade
45 questions
ดนตรี สังคมและวัฒนธรรม
Presentation
•
8th Grade
45 questions
อุปกรณ์และเครื่องมือ กลไกอิเล็คทรอนิค
Presentation
•
9th Grade
51 questions
ประโยชน์ของข้อมูล ป.5/สนพ.อักษร
Presentation
•
5th Grade
55 questions
1011(ก) - โปรแกรมประมวลผลคำ ม.1 (บท1-2)
Presentation
•
8th Grade
Popular Resources on Wayground
20 questions
Math Review
Quiz
•
3rd Grade
15 questions
Fast food
Quiz
•
7th Grade
20 questions
Context Clues
Quiz
•
6th Grade
20 questions
Inferences
Quiz
•
4th Grade
19 questions
Classifying Quadrilaterals
Quiz
•
3rd Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
10 questions
Identify Fractions, Mixed Numbers & Improper Fractions
Quiz
•
3rd - 4th Grade
Discover more resources for Computers
15 questions
Fast food
Quiz
•
7th Grade
10 questions
Candy
Quiz
•
4th - 8th Grade
10 questions
Fact Check Ice Breaker: Two truths and a lie
Quiz
•
5th - 12th Grade
10 questions
Memorial Day History and Traditions
Interactive video
•
5th - 8th Grade
14 questions
Volume of rectangular prisms
Quiz
•
7th Grade
15 questions
Middle School Fun Trivia Questions
Quiz
•
7th - 8th Grade
22 questions
Simple Probability
Quiz
•
7th Grade
10 questions
Video Games
Quiz
•
6th - 12th Grade