How to formulate specific how-to questions in software development?

Developers often ask how-to questions using search engines, technical Q&A communities, and interactive Q&A systems to seek help for specific programming tasks. However, they often do not formulate the questions in a specific way, making it hard for the systems to return the best answers. We...

Full description

Saved in:
Bibliographic Details
Main Authors: LIU, Mingwei, PENG, Xin, MARCUS, Andrian, TREUDE, Christoph, XIE, Jiazhan, XU, Huanjun, YANG, Yanjun
Format: text
Language:English
Published: Institutional Knowledge at Singapore Management University 2022
Subjects:
Online Access:https://ink.library.smu.edu.sg/sis_research/8900
https://ink.library.smu.edu.sg/context/sis_research/article/9903/viewcontent/fse22a.pdf
Tags: Add Tag
No Tags, Be the first to tag this record!
Institution: Singapore Management University
Language: English
id sg-smu-ink.sis_research-9903
record_format dspace
spelling sg-smu-ink.sis_research-99032024-06-27T08:19:50Z How to formulate specific how-to questions in software development? LIU, Mingwei PENG, Xin MARCUS, Andrian TREUDE, Christoph XIE, Jiazhan XU, Huanjun YANG, Yanjun Developers often ask how-to questions using search engines, technical Q&A communities, and interactive Q&A systems to seek help for specific programming tasks. However, they often do not formulate the questions in a specific way, making it hard for the systems to return the best answers. We propose an approach (TaskKG4Q) that interactively helps developers formulate a programming related how-to question. TaskKG4Q is using a programming task knowledge graph (task KG in short) mined from Stack Overflow questions, which provides a hierarchical conceptual structure for tasks in terms of [actions], [objects], and [constraints]. An empirical evaluation of the intrinsic quality of the task KG revealed that 75.0% of the annotated questions in the task KG are correct. The comparison between TaskKG4Q and two baselines revealed that TaskKG4Q can help developers formulate more specific how-to questions. More so, an empirical study with novice programmers revealed that they write more effective questions for finding answers to their programming tasks on Stack Overflow. 2022-11-01T07:00:00Z text application/pdf https://ink.library.smu.edu.sg/sis_research/8900 info:doi/10.1145/3540250.3549160 https://ink.library.smu.edu.sg/context/sis_research/article/9903/viewcontent/fse22a.pdf http://creativecommons.org/licenses/by-nc-nd/4.0/ Research Collection School Of Computing and Information Systems eng Institutional Knowledge at Singapore Management University Programming Task Query Formulation Stack Overflow Software Engineering
institution Singapore Management University
building SMU Libraries
continent Asia
country Singapore
Singapore
content_provider SMU Libraries
collection InK@SMU
language English
topic Programming Task
Query Formulation
Stack Overflow
Software Engineering
spellingShingle Programming Task
Query Formulation
Stack Overflow
Software Engineering
LIU, Mingwei
PENG, Xin
MARCUS, Andrian
TREUDE, Christoph
XIE, Jiazhan
XU, Huanjun
YANG, Yanjun
How to formulate specific how-to questions in software development?
description Developers often ask how-to questions using search engines, technical Q&A communities, and interactive Q&A systems to seek help for specific programming tasks. However, they often do not formulate the questions in a specific way, making it hard for the systems to return the best answers. We propose an approach (TaskKG4Q) that interactively helps developers formulate a programming related how-to question. TaskKG4Q is using a programming task knowledge graph (task KG in short) mined from Stack Overflow questions, which provides a hierarchical conceptual structure for tasks in terms of [actions], [objects], and [constraints]. An empirical evaluation of the intrinsic quality of the task KG revealed that 75.0% of the annotated questions in the task KG are correct. The comparison between TaskKG4Q and two baselines revealed that TaskKG4Q can help developers formulate more specific how-to questions. More so, an empirical study with novice programmers revealed that they write more effective questions for finding answers to their programming tasks on Stack Overflow.
format text
author LIU, Mingwei
PENG, Xin
MARCUS, Andrian
TREUDE, Christoph
XIE, Jiazhan
XU, Huanjun
YANG, Yanjun
author_facet LIU, Mingwei
PENG, Xin
MARCUS, Andrian
TREUDE, Christoph
XIE, Jiazhan
XU, Huanjun
YANG, Yanjun
author_sort LIU, Mingwei
title How to formulate specific how-to questions in software development?
title_short How to formulate specific how-to questions in software development?
title_full How to formulate specific how-to questions in software development?
title_fullStr How to formulate specific how-to questions in software development?
title_full_unstemmed How to formulate specific how-to questions in software development?
title_sort how to formulate specific how-to questions in software development?
publisher Institutional Knowledge at Singapore Management University
publishDate 2022
url https://ink.library.smu.edu.sg/sis_research/8900
https://ink.library.smu.edu.sg/context/sis_research/article/9903/viewcontent/fse22a.pdf
_version_ 1814047626017898496