Abstract
Prompt engineering is crucial for optimizing large language models in code generation. This paper explores a synergistic prompt engineering approach that integrates complementary prompting techniques for solving programming problems. Preliminary experiments show that by leveraging the strengths of various prompting techniques, our synergistic approach significantly outperforms traditional single- prompting techniques, improving the accuracy of code generation for Python and C++ exercises. These findings suggest that our synergistic approach is a valuable tool for students, enhancing their interactions with large language models and improving AI-driven programming education. Copyright © 2025 by IEEE.
| Original language | English |
|---|---|
| Title of host publication | Proceedings of IX IEEE World Engineering Education Conference, EDUNINE 2025 |
| Editors | Claudio da Rocha BRITO, Melany M. CIAMPI |
| Publisher | IEEE |
| ISBN (Electronic) | 9798331542788 |
| DOIs | |
| Publication status | E-pub ahead of print - 2025 |
Citation
Ho, K.-H., Georgiades, M., Fan, T.-K. J., Hou, Y., Fong, K. C. K., & Chan, T.-T. (2025). Work in progress: Unlocking code generation through synergistic prompt engineering. In C. D. R. Brito, M. M. Ciampi (Eds.), Proceedings of IX IEEE World Engineering Education Conference, EDUNINE 2025. IEEE. https://doi.org/10.1109/EDUNINE62377.2025.10980842Keywords
- Code generation
- Prompt engineering