|
 |
|
สอบถามหน่อยนะคะ พอดีหนูทำแบบทดสอบออนไลน์แล้วต้องการกดปุ่มเข้าไปทำโดยคลิ๊กปุ่มแล้วมีการสุ่มข้อสอบค่ะ |
|
 |
|
|
 |
 |
|
คร่าวๆ ผมคิดได้แค่นี้ ส่วน coding คงไม่ยากแล้วนะ ไปเรียง flow ให้ดีครับ
1. ฐานข้อมูล คำถาม question
q_id
q_name คำถาม
2.ฐานข้อมูล คำตอบ awnser ประกอบด้วยข้อคำตอบที่ถูก จะเป็น 0 ผิด 1 ถูก อะไรก็ว่าไป
awnser_id
q_id
awnser_name คำตอบ
awnser_st // 1 คำตอบถูก - 0 คำตอบผิด
3.ฐานข้อมูล ชื่อแบบทดสอบ
test_id
test_name ชื่อแบบทดสอบ
test_limit จำนวนข้อสอบ
test_pass เกณฑ์คะแนนผ่าน
4.ฐานข้อมูล ประวัติการทำข้อสอบ history
id
citizen_id รหัสพนักงาน/บัตร ปชช
q_id รหัสคำถาม
awnser_id รหัสคำตอบ
test_id รหัสแบบทดสอบ
number_test คำตอบข้อที่ 1-2-3-4 หรือ ก-ข-ค-ง
test_group รหัสกลุ่มแบบทดสอบ อาจ random ตัวเลขเอา
date_test (datetime)
5.ฐานข้อมูล เก็บคะแนนข้อสอบ
id
citizen_id รหัสพนักงาน/บัตร ปชช
test_id รหัสแบบทดสอบ
score คะแนนที่ได้
test_group รหัสกลุ่มแบบทดสอบ ใช้ตัวเดียวกับข้อ 4
date_test (datetime)
|
 |
 |
 |
 |
Date :
2018-04-24 14:19:40 |
By :
Pong Thep |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
|
|
|

|
Load balance : Server 03
|