แบบทดสอบการเขียนโปรแกรม ม3

แบบทดสอบการเขียนโปรแกรม ม3

4th Grade

31 Qs

quiz-placeholder

Similar activities

ข้อสอบปลายภาคเรียนที่ 1/2568 ชั้นประถมศึกษาปีที่ 4

ข้อสอบปลายภาคเรียนที่ 1/2568 ชั้นประถมศึกษาปีที่ 4

4th Grade

30 Qs

วิทยาการคำนวณ ป.4 กลางภาคเรียนที่ 1/2562

วิทยาการคำนวณ ป.4 กลางภาคเรียนที่ 1/2562

4th Grade

30 Qs

ข้อสอบปลายภาค ป.4

ข้อสอบปลายภาค ป.4

4th Grade

30 Qs

ทดสอบคอมพิวเตอร์ ป.4 ภาค 1

ทดสอบคอมพิวเตอร์ ป.4 ภาค 1

4th Grade

30 Qs

วิชาคอมพิวเตอร์ เรื่อง ฮาร์ดแวร์และซอร์ฟแวร์

วิชาคอมพิวเตอร์ เรื่อง ฮาร์ดแวร์และซอร์ฟแวร์

4th - 6th Grade

30 Qs

.NET with NextJS

.NET with NextJS

1st - 10th Grade

30 Qs

แนวข้อสอบแนวทางการบริหารจัดการศูนย์ USO Net : SLA

แนวข้อสอบแนวทางการบริหารจัดการศูนย์ USO Net : SLA

1st - 12th Grade

30 Qs

Network

Network

1st - 4th Grade

30 Qs

แบบทดสอบการเขียนโปรแกรม ม3

แบบทดสอบการเขียนโปรแกรม ม3

Assessment

Quiz

Computers

4th Grade

Practice Problem

Medium

Created by

นินจาทมิฬ default

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

31 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

ถ้า a = 10 และ b = 20 หลังจากการทำคำสั่ง a = a + b ผลลัพธ์ของ a จะเป็นเท่าไร?

30

20

10

40

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

หาก x = 5 และ y = 3 หลังจากการทำคำสั่ง y = x - y ค่าของ y จะเป็นเท่าไร?

8

2

5

3

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

ถ้า x = 6 และ y = 9 แล้วทำการใช้คำสั่ง x = x * y ค่าของ x จะเป็นเท่าไร?

15

54

3

16

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

ถ้าเรามีตัวแปร a = 2, b = 5, และ c = 3 คำสั่ง a = b - c จะทำให้ค่า a เป็นเท่าไร?

2

8

5

2

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

ถ้าคำสั่ง if x > y ให้แสดง "x is greater" ถ้า x = 7 และ y = 5 ผลลัพธ์ที่ได้จะเป็นอะไร?

"x is greater"

"y is greater"

ไม่แสดงอะไร

"x is less"

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

ในการใช้คำสั่ง for เพื่อหาผลรวมของตัวเลขจาก 1 ถึง 10 จะต้องทำอย่างไร?

for i in range(1, 11): sum += i

for i in range(10): sum += i

for i in range(1, 10): sum += i

for i in range(1, 11): sum = i

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

ถ้า x = 5 และ y = 3 หลังจากคำสั่ง x = x * y ค่าของ x จะเป็นเท่าไร?

8

15

5

3

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?