Work in Progress: Unlocking Code Generation Through Synergistic Prompt Engineering
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.
Authors
- Ka-wing Fong (ORCID: https://orcid.org/0000-0001-6995-0264)
- Kin-Hon Ho (ORCID: https://orcid.org/0000-0002-2524-6950)
- Michael Georgiades (ORCID: https://orcid.org/0000-0002-5930-8814)
- Tse-Tin Chan (ORCID: https://orcid.org/0000-0001-9235-7813)
- Tao Fan (ORCID: https://orcid.org/0000-0001-5337-9251)
- Yun Hou (ORCID: https://orcid.org/0000-0001-7103-1478)
Institutions
- Education University of Hong Kong (HK)
- Neapolis University Pafos (CY)
- Hang Seng University of Hong Kong (HK)
- Hong Kong Shue Yan University (CN)
- University of Hong Kong (HK)
Publication Details
- Published
- 2025-03-23
- DOI
- https://doi.org/10.1109/edunine62377.2025.10980842
- Primary Topic
- Teaching and Learning Programming
- Type
- article
- Field-Weighted Citation Impact
- 0.00