Exploration of designing an automatic classifier for questions containing code snippets—A case study of Oracle SQL certification exam questions

This study uses the Oracle SQL certification exam questions to explore the design of automatic classifiers for exam questions containing code snippets. SQL's question classification assigns a class label in the exam topics to a question. With this classification, questions can be selected from the test bank according to the testing scope to assemble a more suitable test paper. Classifying questions containing code snippets is more challenging than classifying questions with general text descriptions. In this study, we use factorial experiments to identify the effects of the factors of the feature representation scheme and the machine learning method on the performance of the question classifiers. Our experiment results showed the classifier with the TF-IDF scheme and Logistics Regression model performed best in the weighted macro-average AUC and F1 performance indices. The classifier with TF-IDF and Support Vector Machine performed best in weighted macro-average Precision. Moreover, the feature representation scheme was the main factor affecting the classifier's performance, followed by the machine learning method, over all the performance indices.

Authors

Institutions

Publication Details

Journal
PLoS ONE
Published
2025-01-09
DOI
https://doi.org/10.1371/journal.pone.0309050
Primary Topic
Software Engineering Research
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Exploration of designing an automatic classifier for questions containing code snippets—A case study of Oracle SQL certification exam questions

Yunsen Wang, Po-Chou Shih, Hung-Yi Chen
PLoS ONE
Software Engineering Research
article

Exploration of designing an automatic classifier for questions containing code snippets—A case study of Oracle SQL certification exam questions

Yunsen Wang, Po-Chou Shih, Hung-Yi Chen
article en

Abstract

This study uses the Oracle SQL certification exam questions to explore the design of automatic classifiers for exam questions containing code snippets. SQL's question classification assigns a class label in the exam topics to a question. With this classification, questions can be selected from the test bank according to the testing scope to assemble a more suitable test paper. Classifying questions containing code snippets is more challenging than classifying questions with general text descriptions. In this study, we use factorial experiments to identify the effects of the factors of the feature representation scheme and the machine learning method on the performance of the question classifiers. Our experiment results showed the classifier with the TF-IDF scheme and Logistics Regression model performed best in the weighted macro-average AUC and F1 performance indices. The classifier with TF-IDF and Support Vector Machine performed best in weighted macro-average Precision. Moreover, the feature representation scheme was the main factor affecting the classifier's performance, followed by the machine learning method, over all the performance indices.

PLoS ONEVol. 20(1)
Chaoyang University of Technology (TW), Montclair State University (US), National Yunlin University of Science and Technology (TW)
Openalex Percentile: Top 100%
Software Engineering Research
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.

Exploration of designing an automatic classifier for questions containing code snippets—A case study of Oracle SQL certification exam questions — Yunsen Wang, Po-Chou Shih, et al. · PLoS ONE (2025) | TGRS Research Map | TGRS