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

Institutions

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
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Work in Progress: Unlocking Code Generation Through Synergistic Prompt Engineering

Ka-wing Fong, Kin-Hon Ho, Michael Georgiades, Tse-Tin Chan et al.
Teaching and Learning Programming
article

Work in Progress: Unlocking Code Generation Through Synergistic Prompt Engineering

Ka-wing Fong, Kin-Hon Ho, Michael Georgiades, Tse-Tin Chan, Tao Fan, Yun Hou
article en

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.

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)
Industry, innovation and infrastructure
Openalex Percentile: Top 91%
Teaching and Learning Programming
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.