Mastering client-side Web programming is essential for the development of responsive and interactive Web applications. To support novice students’ self-study, in this paper, we propose a novel exercise format called the phrase fill-in-blank problem (PFP) in the Web Programming Learning Assistant System (WPLAS). A PFP instance presents a source code with blanked phrases (a set of elements) and corresponding Web page screenshots. Then, it requests the user to fill in the blanks, and the answers are automatically evaluated through string matching with predefined correct answers. By increasing blanks, PFP can come close to writing a code from scratch. To facilitate scalable and context-aware question creation, we implemented the PFP instance generation algorithm in Python using regular expressions. This approach targets meaningful code segments in HTML, CSS, and JavaScript that reflect the interactive behavior of front-end development. For evaluations, we generated 10 PFP instances for basic Web programming topics and 5 instances for video games and assigned them to students at Okayama University, Japan, and the State Polytechnic of Malang, Indonesia. Their solution results show that most students could solve them correctly, indicating the effectiveness and accessibility of the generated instances. In addition, we investigated the ability of generative AI, specifically ChatGPT, to solve the PFP instances. The results show 86.7% accuracy for basic-topic PFP instances. Although it still cannot fully find answers, we must monitor progress carefully. In future work, we will enhance PFP in WPLAS to handle non-unique answers by improving answer validation for flexible recognition of equivalent responses.
Nowadays, speakers are essential components for message delivery in indoor environments, including lectures, public addresses, and emergency announcements. Their physical placement should ensure adequate direct-sound audibility across occupant service areas while maintaining installation feasibility. A digital twin is a technology that allows an infrastructure layout to be designed and evaluated virtually on a computer before physical installation by reconstructing an indoor environment as a 3D model. In previous studies, we have proposed a method to reconstruct a 3D indoor model of an indoor environment from its panoramic images using 3D Gaussian Splatting (3DGS) and a 3D point cloud, and applied it to surveillance camera placement. In this paper, we propose a digital twin-based speaker placement planning tool for indoor environments by generalizing the previous method to direct-sound acoustic simulation. This tool consists of four stages: (1) reconstructing a 3D indoor model from panoramic images and extracting floor and desk receiver surfaces, (2) assigning the initial speaker budget based on the reconstructed floor area, (3) determining speaker mounting positions on valid ceiling regions using K-means spatial clustering under obstacle and boundary constraints, and (4) simulating broadband direct-sound sound pressure level (SPL) across floor and desk receiver surfaces. For evaluation, the proposed tool was deployed across three real-world indoor scenarios: a basketball hall (), a furnished office (), and a non-convex L-shaped office (). The experimental results showed that in each scenario, the generated layout achieved complete direct-sound audibility compliance across all sampled physical test locations (≥60 dB floor/≥65 dB desk) with zero detected hotspots exceeding , maintaining SPL values between and . An on-site physical measurement campaign confirmed that the generated layouts satisfy target audibility thresholds under real room conditions, with mean absolute errors between and . These results confirm the practical utility of our approach as an initial geometry-driven planning tool for indoor audio infrastructure deployment.