Work in Progress: Unlocking Code Generation Through Synergistic Prompt Engineering

  • Kin-Hon HO
  • , Michael GEORGIADES
  • , Tsz-Kin Justin FAN
  • , Yun HOU
  • , Ken C. K. FONG
  • , Tse-Tin CHAN

Research output: Book Chapters | Papers in Conference ProceedingsConference paper (refereed)Researchpeer-review

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.
Original languageEnglish
Title of host publicationProceedings of 2025 IEEE Engineering Education World Conference (EDUNINE)
EditorsClaudio da Rocha BRITO, Melany M. CIAMPI
PublisherIEEE
Number of pages4
ISBN (Electronic)9798331542788
ISBN (Print)9798331542788
DOIs
Publication statusPublished - 5 May 2025
Event2025 IEEE Engineering Education World Conference (EDUNINE) - Montevideo, Uruguay
Duration: 23 Mar 202526 Mar 2025

Conference

Conference2025 IEEE Engineering Education World Conference (EDUNINE)
Period23/03/2526/03/25

Bibliographical note

Publisher Copyright:
© 2025 IEEE.

Funding

This work was supported by the Research Matching Grant Scheme from the Research Grants Council of Hong Kong.

UN SDGs

This output contributes to the following UN Sustainable Development Goals (SDGs)

  1. SDG 9 - Industry, Innovation, and Infrastructure
    SDG 9 Industry, Innovation, and Infrastructure

Keywords

  • Code generation
  • prompt engineering

Fingerprint

Dive into the research topics of 'Work in Progress: Unlocking Code Generation Through Synergistic Prompt Engineering'. Together they form a unique fingerprint.

Cite this