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

Hung-Yi Chen1, Po-Chou Shih2, Yunsen Wang3

  • 1Department of Information Management, Chaoyang University of Technology, Taichung, Taiwan.

Plos One
|January 9, 2025
PubMed
Summary

This study developed automatic classifiers for Oracle SQL exam questions with code. The TF-IDF scheme and Logistics Regression model achieved the best performance for question classification.

Related Concept Videos

Classification of Systems-I01:26

Classification of Systems-I

Linearity is a system property characterized by a direct input-output relationship, combining homogeneity and additivity.
Homogeneity dictates that if an input x(t) is multiplied by a constant c, the output y(t) is multiplied by the same constant. Mathematically, this is expressed as:
168
Classification of Systems-II01:31

Classification of Systems-II

Continuous-time systems have continuous input and output signals, with time measured continuously. These systems are generally defined by differential or algebraic equations. For instance, in an RC circuit, the relationship between input and output voltage is expressed through a differential equation derived from Ohm's law and the capacitor relation,
133
Detection of Gross Error: The Q Test01:00

Detection of Gross Error: The Q Test

When one or more data points appear far from the rest of the data, there is a need to determine whether they are outliers and whether they should be eliminated from the data set to ensure an accurate representation of the measured value. In many cases, outliers arise from gross errors (or human errors) and do not accurately reflect the underlying phenomenon. In some cases, however, these apparent outliers reflect true phenomenological differences. In these cases, we can use statistical methods...
5.6K
Force Classification01:22

Force Classification

Forces play a crucial role in the study of physics and engineering. They are essential in describing the motion, behavior, and equilibrium of objects in the physical world. Forces can be classified based on their origin, type, and direction of action.
Contact and non-contact forces are two of the most widely used categories of forces. As the name suggests, contact forces require physical contact between two objects to act upon each other. Examples of contact forces include frictional,...
1.1K
Design Example: Automobile Ignition System01:14

Design Example: Automobile Ignition System

The automobile's ignition system plays a vital role by ensuring the timely ignition of the fuel-air mixture in each cylinder. This ignition is facilitated by a spark plug, which is composed of two electrodes separated by an air gap. A spark forms across this air gap when a substantial voltage is generated between the electrodes, leading to the ignition of the fuel.
One can generate a large voltage using a car battery of 12 volts with the help of inductors. Inductors are known for opposing...
212
Machines: Problem Solving I01:22

Machines: Problem Solving I

A toggle clamp is a mechanical device commonly used for holding and clamping objects in various applications, such as woodworking, metalworking, and assembly operations. Consider a toggle clamp subjected to a force of 200 N at the handle. The vertical clamping force can be calculated, provided the dimensions of the toggle clamp are known.
The toggle clamp system is a machine structure consisting of movable, pin-connected multi-force members that form a stabilized system to transmit forces. The...
298