
กลางภาค(T)
Presentation
•
Computers
•
11th Grade
•
Practice Problem
•
Easy
natthawut patchaikho
Used 7+ times
FREE Resource
1 Slide • 60 Questions
1
Multiple Choice
ตัวอย่างการประกาศตัวแปร
name = “นายง่วงหงาว หาวนอน”
หมายถึงอะไร?
name เป็นตัวแปรที่เก็บข้อความ "นายง่วงหงาว หาวนอน"
name เป็นตัวแปรที่เก็บตัวเลข
name เป็นตัวแปรที่เก็บค่าจริงหรือเท็จ
name เป็นตัวแปรที่เก็บค่าทศนิยม
2
Multiple Choice
ข้อใดต่อไปนี้เป็นลักษณะที่ถูกต้องของตัวแปรในภาษา Python?
ต้องไม่ใช่คำสงวน
ตัวแรกจะต้องเป็นอักษรหรือ _ เท่านั้น
ใช้ตัวพิมพ์เล็กและตัวพิมพ์ใหญ่ถือว่ามีความหมายต่างกัน
ถูกทุกข้อ
3
Multiple Choice
ตัวแปรในภาษา Python สามารถมีชนิดข้อมูลใดบ้าง?
str, int, float, bool
int, float, list, tuple
str, bool, dict, set
int, float, str, list
4
Multiple Choice
โครงสร้างควบคุมพื้นฐานในภาษา Python มีอะไรบ้าง?
1.คำสั่งแบบลำดับ 2.คำสั่งแบบเงื่อนไข
3.สั่งแบบทำซ้ำ
1.คำสั่งแบบลำดับ 2.คำสั่งแบบวนรอบ
3.สั่งแบบหยุด
1.คำสั่งแบบเงื่อนไข
2.คำสั่งแบบหยุด 3.สั่งแบบลำดับ
1.คำสั่งแบบลำดับ 2.คำสั่งแบบหยุด 3.สั่งแบบวนรอบ
5
Multiple Choice
ข้อใดต่อไปนี้คือคลาสข้อมูลที่สามารถนำมาคำนวณร่วมกันได้ในภาษา Python?
int และ float
str และ int
bool และ str
float และ str
6
Multiple Choice
ข้อใดต่อไปนี้จับคู่ประเภทข้อมูลกับคลาสในภาษา Python ได้ถูกต้อง
จำนวนเต็ม - str
ทศนิยม - int
จริง/เท็จ - bool
สตริง - float
7
Multiple Choice
จงหาผลลัพธ์ของ 25 * 5 = ?
175
100
125
150
8
Multiple Choice
ข้อใดต่อไปนี้เป็นข้อมูลเข้าในโปรแกรมคอมพิวเตอร์?
ข้อมูลที่ผู้ใช้ป้อนเข้ามา
ผลลัพธ์ที่แสดงออกมาไม่ว่าจะเป็นภาพ เสียง สิ่งของ
ข้อผิดพลาดที่เกิดขึ้น
ข้อมูลที่เคยถูกประมวลผลแล้ว
9
Multiple Choice
ข้อใดต่อไปนี้เป็นข้อมูลออกของโปรแกรมคอมพิวเตอร์?
ข้อมูลที่ผู้ใช้ป้อนเข้ามา
ผลลัพธ์ที่แสดงออกมาไม่ว่าจะเป็นภาพ เสียง สิ่งของ
ข้อผิดพลาดที่เกิดขึ้น
ข้อมูลที่เคยถูกประมวลผลแล้ว
10
Multiple Choice
ภาษาไพทอนเป็นภาษาโปรแกรมประเภทใด?
ภาษาคอมพิวเตอร์ระดับสูง
ภาษาคอมพิวเตอร์ระดับต่ำ
ภาษามนุษย์
ภาษาสัญลักษณ์
11
Multiple Choice
ข้อใดต่อไปนี้เป็นลักษณะของ 'คอมเมนต์' ในโปรแกรม
ข้อความอธิบายที่ไม่มีผลในการทำงาน
คำสั่งที่ทำให้โปรแกรมหยุดทำงาน
ข้อความที่มีผลต่อการทำงานของโปรแกรม
ข้อความที่ใช้ในการรับข้อมูลจากผู้ใช้
12
Multiple Choice
ในภาษาไพทอน คำสั่ง print("สวัสดีโลก") จะแสดงผลลัพธ์ว่าอย่างไร?
Hello World
สวัสดีโลก
ปอนด์
ข้อผิดพลาด
13
Multiple Choice
การใช้เครื่องหมายคอมมา (,) ในคำสั่ง print ของภาษาไพทอนมีประโยชน์อย่างไร?
ใช้สำหรับแยกค่าหลายตัวเพื่อแสดงผลพร้อมกัน
ใช้สำหรับคูณตัวเลข
ใช้สำหรับแสดงผลลัพธ์เป็นตัวเลขเท่านั้น
ใช้สำหรับแสดงผลลัพธ์เป็นภาษาอังกฤษเท่านั้น
14
Multiple Choice
ข้อใดต่อไปนี้เป็นการใช้ print เพื่อแสดงผลลัพธ์ของการคำนวณทางคณิตศาสตร์?
A = 15
B = 20
print("ผลบวก =", A+B)
print("8+4")
ช้าง = "นาย A"
print("ชื่อ",ช้าง)
ไก่ = "5"
print("เลขที่",ไก่)
15
Multiple Choice
การใช้ \n ในคำสั่ง print มีผลอย่างไรต่อการแสดงผลข้อความ?
ทำให้ข้อความขึ้นบรรทัดใหม่
ทำให้ข้อความอยู่บรรทัดเดียวกัน
ทำให้ข้อความแสดงตัวหนา
ทำให้ข้อความแสดงตัวเอียง
16
Multiple Choice
input(_) ใช้ทำอะไรในภาษาไพทอนเบื้องต้น?
ใช้รับค่าข้อมูลจากผู้ใช้
ใช้แสดงผลข้อมูลบนหน้าจอ
ใช้คำนวณผลลัพธ์ทางคณิตศาสตร์
ใช้เก็บข้อมูลในตัวแปร
17
Drag and Drop
18
Drag and Drop
19
Drag and Drop
20
Drag and Drop
21
Drag and Drop
22
Drag and Drop
A = 123
23
Drag and Drop
A = 123
24
Drag and Drop
A = 123
25
Drag and Drop
26
Drag and Drop
27
Drag and Drop
H = "Hello World"
28
Drag and Drop
FA = "youtube"
29
Drag and Drop
H = "Hello"
W = "Wolrd"
30
Drag and Drop
A = 50
B = 5
31
Drag and Drop
หมา = "หงอย"
หงอย = "หมา"
32
Drag and Drop
33
Drag and Drop
34
Drag and Drop
35
Drag and Drop
A = 333
36
Drag and Drop
เด็กชายสมหญิง
37
Drag and Drop
เด็กชาย
สมหญิง
38
Drag and Drop
39
Drag and Drop
40
Drag and Drop
41
Reorder
จงลำดับความสำคัญตามรูปแบบนิพจน์ให้ถูกต้อง
มากที่สุด ไป น้อยที่สุด
(_) วงเล็บ
** ยกกำลัง
/ หาร
+ บวก
- ลบ
42
Multiple Choice
นิพจน์มีความสำคัญอย่างไร
เป็นเครื่องหมายทางคณิตศาสตร์
ใช้แทนค่าตัวเลข
กำหนดลำดับตัวดำเนินการ
แทนค่าของข้อมูล
43
Multiple Choice
ในหากกรณีที่นิพจน์มีค่าเท่ากัน ข้อใดถูกต้อง
เรียงความสำคัญ
ซ้ายไปขวา
คำนวณค่าบวกก่อน
เรียงความสำคัญ
ขวาไปซ้าย
คำนวณค่าลบก่อน
44
Categorize
49 > 75
49 < 75
65 =! 15*4
77+33 = 100
40 = 200/5
225 + 225 = 550
8 = 4x2 or 7 =6
30 < 50
100 = 10*10
15 + 5 = 20
12 = 3*4
10 = 2*5 + 3
50 < 25
100 - 50 = 60
30 + 30 = 61
15 * 3 = 40
จัดระเบียบตัวเลือกเหล่านี้เป็นหมวดหมู่ที่เหมาะสม จริง-เท็จ
45
Fill in the Blanks
46
Multiple Choice
A = 25 / 5 =! 5
B = 25 * 7 = 175
หากค่าคือ A and B ผลของ Bool จะเป็น?
จริง
เท็จ
47
Multiple Choice
คำตอบของ
8 + 6 * 5
คือข้อใด
70
38
40
68
48
Multiple Choice
คำตอบของ
(8 + 6) * 5
คือข้อใด
70
38
40
68
49
Multiple Choice
คำตอบของ
36 / 6 + 4
คือข้อใด
12
6
10
16
50
Multiple Choice
คำตอบของ
36 / (6 + 4)
คือข้อใด
3
3.6
10
4
51
Multiple Choice
คำตอบของ
15 - 3 * 4
คือข้อใด
3
12
48
60
52
Reorder
จงลำดับความสำคัญตามรูปแบบนิพจน์ให้ถูกต้อง
มากที่สุด ไป น้อยที่สุด
not
and
or
53
Multiple Choice
A = 3*3 =! 3**2
B = 21 % 3 = 0
หากค่าคือ (not A) and B ผลของ Bool จะเป็น?
จริง
เท็จ
54
Multiple Choice
A = 50 * 7 = 350
B = 14 % 7 = 0
หากค่าคือ A and B ผลของ Bool จะเป็น?
จริง
เท็จ
55
Multiple Choice
A = 20 * 7 = 27
B = 27 - 15 = 6 * 2
หากค่าคือ A or (not B) ผลของ Bool จะเป็น?
จริง
เท็จ
56
Multiple Choice
A = 20 * 7 = 27
B = 27 - 15 = 6 * 2
หากค่าคือ A and (not B) ผลของ Bool จะเป็น?
จริง
เท็จ
57
Multiple Choice
A = 27 > 4
B = 15 >19
หากค่าคือ A and B ผลของBool จะเป็น?
จริง
เท็จ
58
Multiple Choice
A = 27 > 4
B = 15 >19
หากค่าคือ A or B ผลของBool จะเป็น?
จริง
เท็จ
59
Multiple Choice
A = 3*3 =! 3**2
B = 28 % 3 = 0
หากค่าคือ (not A) and B ผลของ Bool จะเป็น?
จริง
เท็จ
60
Multiple Choice
A = 88 + X >77 + X
B = X + 36 > 64 + X
หากค่าคือ not( A or B) ผลของBool จะเป็น?
จริง
เท็จ
61
ตัวอย่างการประกาศตัวแปร
name = “นายง่วงหงาว หาวนอน”
หมายถึงอะไร?
name เป็นตัวแปรที่เก็บข้อความ "นายง่วงหงาว หาวนอน"
name เป็นตัวแปรที่เก็บตัวเลข
name เป็นตัวแปรที่เก็บค่าจริงหรือเท็จ
name เป็นตัวแปรที่เก็บค่าทศนิยม
Show answer
Auto Play
Slide 1 / 61
MULTIPLE CHOICE
Similar Resources on Wayground
51 questions
Define Multimedia 1
Presentation
•
9th - 12th Grade
50 questions
Mastering Microsoft Word: Understanding the Interface
Presentation
•
9th - 12th Grade
51 questions
General maintenance final study guide
Presentation
•
9th - 12th Grade
51 questions
Arrays Y11
Presentation
•
11th - 12th Grade
53 questions
ความรู้และการคิดเชิงออกแบบเพื่อการแก้ปัญหา ม.5
Presentation
•
11th Grade
53 questions
อารยธรรมจีน ep.1
Presentation
•
11th - 12th Grade
60 questions
Elements of Computer
Presentation
•
11th Grade
48 questions
Untitled Presentation
Presentation
•
10th 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
10 questions
Fact Check Ice Breaker: Two truths and a lie
Quiz
•
5th - 12th Grade
10 questions
Video Games
Quiz
•
6th - 12th Grade
15 questions
Memorial Day Trivia
Quiz
•
KG - 12th Grade
12 questions
Name that Candy
Quiz
•
KG - 12th Grade
20 questions
Guess The App
Quiz
•
KG - Professional Dev...
30 questions
K/H Final Review Part 1
Quiz
•
9th - 12th Grade
40 questions
NCFE Earth and Environmental Science Released Test
Quiz
•
9th - 12th Grade
22 questions
Revise and Edit Final Review 3
Quiz
•
8th - 12th Grade