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

Quiz
•
Computers
•
4th Grade
•
Medium
นินจาทมิฬ default
Used 1+ times
FREE Resource
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
Create a free account and access millions of resources
Similar Resources on Wayground
30 questions
วิทยาการคำนวณ ป.4 กลางภาคเรียนที่ 1/2562

Quiz
•
4th Grade
30 questions
วิชาคอมพิวเตอร์ เรื่อง ฮาร์ดแวร์และซอร์ฟแวร์

Quiz
•
4th - 6th Grade
30 questions
ทดสอบคอมพิวเตอร์ ป.4 ภาค 1

Quiz
•
4th Grade
30 questions
.NET with NextJS

Quiz
•
1st - 10th Grade
29 questions
แบบทดสอบความรู้ทั่วไป ป6

Quiz
•
4th Grade
30 questions
สอบ Scratch

Quiz
•
1st - 5th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade