Search Header Logo
กลางภาค(T)

กลางภาค(T)

Assessment

Presentation

Computers

11th Grade

Practice Problem

Easy

Created by

natthawut patchaikho

Used 7+ times

FREE Resource

1 Slide • 60 Questions

1

Multiple Choice

ตัวอย่างการประกาศตัวแปร

name = “นายง่วงหงาว หาวนอน”

หมายถึงอะไร?

​ ​

1

name เป็นตัวแปรที่เก็บข้อความ "นายง่วงหงาว หาวนอน"

2

name เป็นตัวแปรที่เก็บตัวเลข

3

name เป็นตัวแปรที่เก็บค่าจริงหรือเท็จ

4

name เป็นตัวแปรที่เก็บค่าทศนิยม

2

Multiple Choice

ข้อใดต่อไปนี้เป็นลักษณะที่ถูกต้องของตัวแปรในภาษา Python?

1

ต้องไม่ใช่คำสงวน

2

ตัวแรกจะต้องเป็นอักษรหรือ _ เท่านั้น

3

ใช้ตัวพิมพ์เล็กและตัวพิมพ์ใหญ่ถือว่ามีความหมายต่างกัน

4

ถูกทุกข้อ

3

Multiple Choice

ตัวแปรในภาษา Python สามารถมีชนิดข้อมูลใดบ้าง?

1

str, int, float, bool

2

int, float, list, tuple

3

str, bool, dict, set

4

int, float, str, list

4

Multiple Choice

โครงสร้างควบคุมพื้นฐานในภาษา Python มีอะไรบ้าง?

1

1.คำสั่งแบบลำดับ 2.คำสั่งแบบเงื่อนไข

3.สั่งแบบทำซ้ำ

2

1.คำสั่งแบบลำดับ 2.คำสั่งแบบวนรอบ

3.สั่งแบบหยุด

3

1.คำสั่งแบบเงื่อนไข

2.คำสั่งแบบหยุด 3.สั่งแบบลำดับ

4

1.คำสั่งแบบลำดับ 2.คำสั่งแบบหยุด 3.สั่งแบบวนรอบ

5

Multiple Choice

ข้อใดต่อไปนี้คือคลาสข้อมูลที่สามารถนำมาคำนวณร่วมกันได้ในภาษา Python?

1

int และ float

2

str และ int

3

bool และ str

4

float และ str

6

Multiple Choice

ข้อใดต่อไปนี้จับคู่ประเภทข้อมูลกับคลาสในภาษา Python ได้ถูกต้อง

1

จำนวนเต็ม - str

2

ทศนิยม - int

3

จริง/เท็จ - bool

4

สตริง - float

7

Multiple Choice

จงหาผลลัพธ์ของ 25 * 5 = ?

1

175

2

100

3

125

4

150

8

Multiple Choice

ข้อใดต่อไปนี้เป็นข้อมูลเข้าในโปรแกรมคอมพิวเตอร์?

1

ข้อมูลที่ผู้ใช้ป้อนเข้ามา

2

ผลลัพธ์ที่แสดงออกมาไม่ว่าจะเป็นภาพ เสียง สิ่งของ

3

ข้อผิดพลาดที่เกิดขึ้น

4

ข้อมูลที่เคยถูกประมวลผลแล้ว

9

Multiple Choice

ข้อใดต่อไปนี้เป็นข้อมูลออกของโปรแกรมคอมพิวเตอร์?

1

ข้อมูลที่ผู้ใช้ป้อนเข้ามา

2

ผลลัพธ์ที่แสดงออกมาไม่ว่าจะเป็นภาพ เสียง สิ่งของ

3

ข้อผิดพลาดที่เกิดขึ้น

4

ข้อมูลที่เคยถูกประมวลผลแล้ว

10

Multiple Choice

ภาษาไพทอนเป็นภาษาโปรแกรมประเภทใด?

1

ภาษาคอมพิวเตอร์ระดับสูง

2

ภาษาคอมพิวเตอร์ระดับต่ำ

3

ภาษามนุษย์

4

ภาษาสัญลักษณ์

11

Multiple Choice

ข้อใดต่อไปนี้เป็นลักษณะของ 'คอมเมนต์' ในโปรแกรม

1

ข้อความอธิบายที่ไม่มีผลในการทำงาน

2

คำสั่งที่ทำให้โปรแกรมหยุดทำงาน

3

ข้อความที่มีผลต่อการทำงานของโปรแกรม

4

ข้อความที่ใช้ในการรับข้อมูลจากผู้ใช้

12

Multiple Choice

ในภาษาไพทอน คำสั่ง print("สวัสดีโลก") จะแสดงผลลัพธ์ว่าอย่างไร?

1

Hello World

2

สวัสดีโลก

3

ปอนด์

4

ข้อผิดพลาด

13

Multiple Choice

การใช้เครื่องหมายคอมมา (,) ในคำสั่ง print ของภาษาไพทอนมีประโยชน์อย่างไร?

1

ใช้สำหรับแยกค่าหลายตัวเพื่อแสดงผลพร้อมกัน

2

ใช้สำหรับคูณตัวเลข

3

ใช้สำหรับแสดงผลลัพธ์เป็นตัวเลขเท่านั้น

4

ใช้สำหรับแสดงผลลัพธ์เป็นภาษาอังกฤษเท่านั้น

14

Multiple Choice

ข้อใดต่อไปนี้เป็นการใช้ print เพื่อแสดงผลลัพธ์ของการคำนวณทางคณิตศาสตร์?

1

A = 15

B = 20

print("ผลบวก =", A+B)

2

print("8+4")

3

ช้าง = "นาย A"

print("ชื่อ",ช้าง)

4

ไก่ = "5"

print("เลขที่",ไก่)

15

Multiple Choice

การใช้ \n ในคำสั่ง print มีผลอย่างไรต่อการแสดงผลข้อความ?

1

ทำให้ข้อความขึ้นบรรทัดใหม่

2

ทำให้ข้อความอยู่บรรทัดเดียวกัน

3

ทำให้ข้อความแสดงตัวหนา

4

ทำให้ข้อความแสดงตัวเอียง

16

Multiple Choice

input(_) ใช้ทำอะไรในภาษาไพทอนเบื้องต้น?

1

ใช้รับค่าข้อมูลจากผู้ใช้

2

ใช้แสดงผลข้อมูลบนหน้าจอ

3

ใช้คำนวณผลลัพธ์ทางคณิตศาสตร์

4

ใช้เก็บข้อมูลในตัวแปร

17

Drag and Drop

จงทำโค้ดแสดงข้อความคำว่า Hello World ให้สมบูรณ์

​ ​
Drag these tiles and drop them in the correct blank above
print
("Hello World")
(Hello World)
Hello World
Print

18

Drag and Drop

จงทำโค้ดแสดงข้อความคำว่า Kamado Nezuko ให้สมบูรณ์

​ ​
Drag these tiles and drop them in the correct blank above
print
("Kamado Nezuko")
(Kamado Nezuko)
Kamado Nezuko
Print

19

Drag and Drop

จงทำโค้ดแสดงข้อความคำว่า (Tanjiro Kamado) ให้สมบูรณ์

​ ​
Drag these tiles and drop them in the correct blank above
print
("(Tanjiro Kamado)")
(Tanjiro Kamado)
Tanjiro Kamado
Print
("Tanjiro Kamado")

20

Drag and Drop

จงทำโค้ดแสดงข้อความคำว่า (Giyu Tomioka) ให้สมบูรณ์

​ ​
Drag these tiles and drop them in the correct blank above
print
("(Giyu Tomioka)")
(Giyu Tomioka)
Giyu Tomioka
Print
("Giyu Tomioka")

21

Drag and Drop

จงทำโค้ดแสดงข้อความคำว่า 100 ให้สมบูรณ์

​ ​
Drag these tiles and drop them in the correct blank above
print
(10**2)
("50+50")
(77+33)
Print
input

22

Drag and Drop

จงทำโค้ดแสดงข้อความคำว่า 237 ให้สมบูรณ์

A = 123

​ ​
Drag these tiles and drop them in the correct blank above
print
(A+114)
("200+37")
(77+33+137)
Print
input

23

Drag and Drop

จงทำโค้ดแสดงข้อความคำว่า 246 ให้สมบูรณ์

A = 123

​ ​
Drag these tiles and drop them in the correct blank above
print
(A*2)
("A"+123)
(AA)
Print
("A+123")

24

Drag and Drop

จงทำโค้ดแสดงข้อความคำว่า 567 ให้สมบูรณ์

A = 123

​ ​
Drag these tiles and drop them in the correct blank above
print
(1134/2)
("A"+444)
(AA)
Print
(A*5)

25

Drag and Drop

จงทำโค้ดแสดงข้อความคำว่า ได้คำตอบที่สมบูรณ์

​ ​
Drag these tiles and drop them in the correct blank above
print
("นางสาว
(นางสาว พลอย)
นาย สมชาย
Print
สมชาย")
(str):

26

Drag and Drop

จงทำโค้ดแสดงข้อความคำว่า ได้คำตอบที่สมบูรณ์

​ ​
Drag these tiles and drop them in the correct blank above
print
("demon
(demon slayer)
demon slayer
Print
slayer")
(str):

27

Drag and Drop

จงทำโค้ดแสดงข้อความคำว่า Hello World ให้สมบูรณ์

H = "Hello World"

Drag these tiles and drop them in the correct blank above
print
(H)
(Hello World)
Hello World
Print
("H")

28

Drag and Drop

จงทำโค้ดแสดงข้อความคำว่า youtube ให้สมบูรณ์

FA = "youtube"

Drag these tiles and drop them in the correct blank above
print
(FA)
(youtube)
youtube
Print
("H")

29

Drag and Drop

จงทำโค้ดแสดงข้อความคำว่า Hello World ให้สมบูรณ์

H = "Hello"

W = "Wolrd"

​ ( ​
)
Drag these tiles and drop them in the correct blank above
print
H
(Hello World)
Hello
Print
and
,
W
World
+

30

Drag and Drop

จงทำโค้ดแสดงข้อความคำว่า 250 ให้สมบูรณ์

A = 50

B = 5

=
print(C)

Drag these tiles and drop them in the correct blank above
x
print
+
A
*
B
C

31

Drag and Drop

จงทำโค้ดแสดงข้อความคำว่า หมา หงอย ให้สมบูรณ์

หมา = "หงอย"

หงอย = "หมา"

​ ( ​
​ ​
)
Drag these tiles and drop them in the correct blank above
print
หงอย
(หมา หงอย)
"หมา
Print
and
,
หมา
หงอย"
+

32

Drag and Drop

จงทำโค้ดแสดงข้อความคำว่า 69+45 ให้สมบูรณ์

​ ​
Drag these tiles and drop them in the correct blank above
print
("69+45")
(69+45)
69+45
Print

33

Drag and Drop

จงทำโค้ดแสดงข้อความคำว่า 75/25 ให้สมบูรณ์

​ ​
Drag these tiles and drop them in the correct blank above
print
("75/25")
(75/25)
75/25
Print
input

34

Drag and Drop

จงทำโค้ดแสดงข้อความคำว่า 911_1669 ให้สมบูรณ์

​ ​
Drag these tiles and drop them in the correct blank above
print
("911_1669")
(911_1669)
911_1669
Print
input

35

Drag and Drop

จงทำโค้ดแสดงข้อความคำว่า 999 ให้สมบูรณ์

​ A = 333

​ ​ ​
Drag these tiles and drop them in the correct blank above
print
("666+A")
Print
666+A
(666+A)
(100+11*9)

36

Drag and Drop

จงทำโค้ดแสดงข้อความต่อไปนี้ให้ถูกต้อง

เด็กชายสมหญิง

​(​
​ ​
)



Drag these tiles and drop them in the correct blank above
print
"เด็กชาย"
"สมหญิง"
("เด็กชาย")
n/
("สมหญิง")
,end=""
def

37

Drag and Drop

จงทำโค้ดแสดงข้อความต่อไปนี้ให้ถูกต้อง

เด็กชาย

สมหญิง

​ ​(
​ )
Drag these tiles and drop them in the correct blank above
print
"เด็กชาย"
"สมหญิง"
"เด็กชาย
n/
\n
สมหญิง"
n\

38

Drag and Drop

Question image
จงทำโค้ดแสดงกล่องข้อความดังภาพ

Drag these tiles and drop them in the correct blank above
"กรอกข้อความ"
(กรอกข้อความ
(กรอกข้อตวาม)
input
("กรอกข้อความ")
print

39

Drag and Drop

Question image
จงสร้างโค้ดกรอกชื่ออย่างง่าย#

​ ​


​ ​
Drag these tiles and drop them in the correct blank above
name = input(กรอกชื่อ)
("สวัสดี"name)
กรอกชื่อ M150
หมา = input("กรอกชื่อ")
print
("สวัสดีคุณ" , หมา)
สวัสดีคุณ M150

40

Drag and Drop

Question image
จงสร้างโค้ดเครื่องบวกเลขอย่างง่าย



​ ​ ​ ​
​ ​


Drag these tiles and drop them in the correct blank above
(กรอกตัวเลข)
A = input
("กรอกตัวเลข")
B = input
print (A + B)
input
print=(C)
หมา = input("กรอกชื่อ")
print
("สวัสดีคุณ" , หมา)

41

Reorder

จงลำดับความสำคัญตามรูปแบบนิพจน์ให้ถูกต้อง

มากที่สุด ไป น้อยที่สุด

(_) วงเล็บ

** ยกกำลัง

/ หาร

+ บวก

- ลบ

1
2
3
4
5

42

Multiple Choice

นิพจน์มีความสำคัญอย่างไร

1

เป็นเครื่องหมายทางคณิตศาสตร์

2

ใช้แทนค่าตัวเลข


3

กำหนดลำดับตัวดำเนินการ

4

แทนค่าของข้อมูล

43

Multiple Choice

ในหากกรณีที่นิพจน์มีค่าเท่ากัน ข้อใดถูกต้อง

1

เรียงความสำคัญ

ซ้ายไปขวา

2

คำนวณค่าบวกก่อน

3

เรียงความสำคัญ

ขวาไปซ้าย

4

คำนวณค่าลบก่อน

44

Categorize

Options (16)

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 Blank

จงตอบคำถามต่อไปนี้

(5+3)×23÷4(10×2)(5+3)\times2^3\div4−(10\times2)

-

46

Multiple Choice

A = 25 / 5 =! 5

B = 25 * 7 = 175

หากค่าคือ A and B ผลของ Bool จะเป็น?

1

จริง

2

เท็จ

47

Multiple Choice

คำตอบของ

8 + 6 * 5

คือข้อใด

1

70

2

38

3

40

4

68

48

Multiple Choice

คำตอบของ

(8 + 6) * 5

คือข้อใด

1

70

2

38

3

40

4

68

49

Multiple Choice

คำตอบของ

36 / 6 + 4

คือข้อใด

1

12

2

6

3

10

4

16

50

Multiple Choice

คำตอบของ

36 / (6 + 4)

คือข้อใด

1

3

2

3.6

3

10

4

4

51

Multiple Choice

คำตอบของ

15 - 3 * 4

คือข้อใด

1

3

2

12

3

48

4

60

52

Reorder

จงลำดับความสำคัญตามรูปแบบนิพจน์ให้ถูกต้อง

มากที่สุด ไป น้อยที่สุด

not

and

or

1
2
3

53

Multiple Choice

A = 3*3 =! 3**2

B = 21 % 3 = 0

หากค่าคือ (not A) and B ผลของ Bool จะเป็น?

1

จริง

2

เท็จ

54

Multiple Choice

A = 50 * 7 = 350

B = 14 % 7 = 0

หากค่าคือ A and B ผลของ Bool จะเป็น?

1

จริง

2

เท็จ

55

Multiple Choice

A = 20 * 7 = 27

B = 27 - 15 = 6 * 2

หากค่าคือ A or (not B) ผลของ Bool จะเป็น?

1

จริง

2

เท็จ

56

Multiple Choice

A = 20 * 7 = 27

B = 27 - 15 = 6 * 2

หากค่าคือ A and (not B) ผลของ Bool จะเป็น?

1

จริง

2

เท็จ

57

Multiple Choice

A = 27 > 4

B = 15 >19

หากค่าคือ A and B ผลของBool จะเป็น?

1

จริง

2

เท็จ

58

Multiple Choice

A = 27 > 4

B = 15 >19

หากค่าคือ A or B ผลของBool จะเป็น?

1

จริง

2

เท็จ

59

Multiple Choice

A = 3*3 =! 3**2

B = 28 % 3 = 0

หากค่าคือ (not A) and B ผลของ Bool จะเป็น?

1

จริง

2

เท็จ

60

Multiple Choice

A = 88 + X >77 + X

B = X + 36 > 64 + X

หากค่าคือ not( A or B) ผลของBool จะเป็น?

1

จริง

2

เท็จ

61

media

ตัวอย่างการประกาศตัวแปร

name = “นายง่วงหงาว หาวนอน”

หมายถึงอะไร?

​ ​

1

name เป็นตัวแปรที่เก็บข้อความ "นายง่วงหงาว หาวนอน"

2

name เป็นตัวแปรที่เก็บตัวเลข

3

name เป็นตัวแปรที่เก็บค่าจริงหรือเท็จ

4

name เป็นตัวแปรที่เก็บค่าทศนิยม

Show answer

Auto Play

Slide 1 / 61

MULTIPLE CHOICE