Evaluation of LLMs in Answering Questions: A Case Study on POSCOMP
Abstract
Several studies have investigated Large Language Models’ (LLMs) ability to answer questions from national educational assessments. However, specialized domains such as databases remain underexplored. Furthermore, current literature lacks a comprehensive analysis of how multimodal capabilities affect accuracy and stability across multiple runs. This study aims to fill these gaps by evaluating the accuracy and stability of five modern LLMs in solving 25 database questions from POSCOMP, using API requests, with hyperparameter control and five independent runs per configuration. The models investigated were GPT-5 Nano, GPT-5.4, Grok 4.1 Fast, Gemini 3 Flash Preview, and Gemini 3.1 Pro Preview, considering both LaTeX and image inputs. Additionally, we applied non-parametric statistical tests to evaluate the significance of performance differences between these input modalities. The results show that Gemini 3.1 Pro Preview demonstrated the best overall performance, outperforming the other models in both accuracy and consistency across runs, while GPT-5 Nano and Grok 4.1 Fast exhibited significant performance degradation under image inputs. Finally, the findings reinforce the importance of API-based evaluations with multiple independent runs to analyze not only the accuracy but also the reliability of responses generated by LLMs in technical domains.