💻 AI Code Generation — English Grammar Exam

แบบทดสอบไวยากรณ์ภาษาอังกฤษ — สัปดาห์ที่ 6

First Conditional (If...will...) · AI Coding Vocabulary

📖 Grammar Guide — คู่มือไวยากรณ์

1. First Conditional — Basic Structure โครงสร้างพื้นฐาน

รูปแบบ: If + subject + present simple, subject + will + base verb
ใช้พูดถึงสถานการณ์ที่เป็นไปได้ในอนาคตและผลลัพธ์ที่น่าจะเกิด
สำคัญ: ใช้ present simple หลัง if (ไม่ใช่ will!)
If you write a clear prompt, AI will generate better code.
If the code has a bug, the program will crash.

2. First Conditional — Negative ประโยคปฏิเสธ

ปฏิเสธในส่วน if: If + subject + don't/doesn't + base verb
ปฏิเสธในส่วนผลลัพธ์: subject + won't + base verb
If you don't debug the code, the error will remain.
If the syntax is wrong, the code won't compile.

3. First Conditional — Reversed Order กลับด้านได้

สามารถสลับตำแหน่งได้ แต่ถ้าเอา if ไว้หลัง ไม่ต้องใส่ comma
You will save time if you use AI. (no comma)
The program will work if you fix the bug. (no comma)

4. Common Mistake ข้อผิดพลาดที่พบบ่อย

อย่าใช้ will หลัง if! ใช้ present simple เท่านั้น
❌ If you will write... → ✅ If you write...
❌ If you will use AI, you will save time.
✅ If you use AI, you will save time.

📝 เลือกระดับความยาก — Choose Difficulty

ℹ️ About This Exam / เกี่ยวกับการสอบ

English: This exam tests First Conditional (If...will...) through AI coding vocabulary and scenarios.

ไทย: แบบทดสอบนี้ทดสอบ First Conditional (If...will...) ผ่านคำศัพท์และสถานการณ์เกี่ยวกับการเขียนโค้ดด้วย AI

  • 🌱 Easy / ง่าย: 10 ข้อ — พื้นฐาน / basic
  • 🔍 Medium / ปานกลาง: 15 ข้อ — ผสม / mixed
  • 🏆 Hard / ยาก: 20 ข้อ — ขั้นสูง / advanced