A simple web form allows users to submit their name and email. Which of the following is a common method for handling this data on the server side after submission?
Senior Secondary (HKDSE) · Information and Communication Technology
Web Programming and Applications : แบบฝึกหัด
ข้อปรนัย 5 ข้อ ตรวจให้ทันทีที่ตอบ และข้อเขียน 5 ข้อ พร้อมวิธีทำละเอียด ทั้งหมดจากเรื่อง Web Programming and Applications
A developer is designing a web form where users enter a numeric value \( X \). To prevent SQL Injection attacks while maintaining a responsive user interface, which of the following strategies should be implemented?
When comparing client-side scripting (e.g., JavaScript) and server-side scripting (e.g., PHP), which of the following tasks is generally ONLY possible for a server-side script to perform?
A web application processes a flight booking. The server-side script must perform the following actions:
1. Check if the seats available (\( A \)) is greater than or equal to requested seats (\( R \)).
2. Subtract \( R \) from \( A \) in the database.
3. Insert a new record into the BOOKINGS table.
Why is server-side scripting mandatory for this process?
In a web-based inventory system, a server-side script is used to process a sales transaction. If the current stock is represented by variable \( S \) and the quantity ordered is \( Q \), which of the following sequences of operations is most appropriate for the script to perform to ensure data integrity?
Name two common methods or platforms that can be used to publish web content onto the World Wide Web.
ลองเขียนคำตอบด้วยตัวเองก่อน แล้วค่อยเทียบกับวิธีทำ
Describe one function of a server-side script when handling user login credentials and explain why this task is typically handled server-side rather than client-side.
ลองเขียนคำตอบด้วยตัวเองก่อน แล้วค่อยเทียบกับวิธีทำ
Compare the impact on network traffic when using only server-side validation versus using a hybrid approach (client-side and server-side) for a long registration form.
ลองเขียนคำตอบด้วยตัวเองก่อน แล้วค่อยเทียบกับวิธีทำ
Consider an online registration form where users need to enter their email address and a password. Before submitting the form to the server, the website should check if the email address field is not empty.
(a) What is client-side data validation? Briefly explain its main purpose in this scenario.
(b) Give one example of a common client-side scripting language used to perform such validation.
ลองเขียนคำตอบด้วยตัวเองก่อน แล้วค่อยเทียบกับวิธีทำ
A school wants to develop a simple web-based homework checklist system for its students. The system should allow students to mark assignments as "completed" and view their upcoming deadlines. An administrator should be able to add new assignments to the system.
(a) Distinguish between client-side technologies and server-side technologies in the context of this homework checklist system, providing an example for each.
(b) Outline how the client-side and server-side scripts would typically interact when a student marks an assignment as "completed".
ลองเขียนคำตอบด้วยตัวเองก่อน แล้วค่อยเทียบกับวิธีทำ
* เนื้อหาของ thinka สร้างโดย AI อาจไม่ถูกต้องสมบูรณ์ในทุกกรณี กรุณาใช้เป็นสื่อเสริมและตรวจสอบกับเอกสารอ้างอิงอย่างเป็นทางการ
คุณเห็นเฉลยแล้ว ทีนี้มาตรวจคำตอบของคุณบ้าง
หน้านี้บอกได้ว่าคำตอบที่ดีเป็นอย่างไร แต่บอกไม่ได้ว่าคำตอบของคุณขาดอะไร thinka ตรวจข้อเขียนของคุณตามเกณฑ์ให้คะแนนจริงในราว 15 วินาที
อยากฝึกโจทย์แบบนี้เพิ่มไหม เริ่มฝึกหัวข้อนี้ได้เลย ตรวจให้ทันทีทุกข้อ
เริ่มฝึกเลย