Ir al contenido

Documat


Implementación de casos de prueba negativos en actividades VPL de Moodle

  • Carmona del Barco, Pablo [1] ; Fernández Muñoz, J. Álvaro [1] ; Perea Ortega, José M. [1]
    1. [1] Universidad de Extremadura

      Universidad de Extremadura

      Badajoz, España

  • Localización: Modelling in Science Education and Learning, ISSN-e 1988-3145, Vol. 16, Nº. 2, 2023, págs. 43-50
  • Idioma: español
  • DOI: 10.4995/msel.2023.19256
  • Títulos paralelos:
    • Development of negative test cases in Moodle VPL activities
  • Enlaces
  • Resumen
    • español

      VPL (Virtual Programming Lab) es un plugin de Moodle que permite automatizar la evaluación del código de un programa  escrito en un determinado lenguaje de programación. Actualmente, VPL solo permite configurar casos de prueba positivos durante la evaluación, es decir, posibilita mostrar un mensaje de error al estudiante cuando la salida del programa difiere de la esperada para cada caso. Esto limita la identificación del tipo de error cometido y su consecuente retroalimentación, ya que podrían existir problemas para los que sea conveniente comprobar si se obtiene una salida específica que no debería darse y que estaría motivada por algún error que se está cometiendo en el programa. Este trabajo presenta una mejora para paliar esta limitación que consiste en incluir casos de prueba negativos en el proceso de evaluación de VPL, de manera que también se pueda mostrar un mensaje de error cuando la salida del programa coincida con la configurada para cada uno de los errores previstos en el problema a resolver. Dicha mejora facilita al docente la identificación de errores previsibles en el código que entrega el estudiante y permite, en cierto modo, orientarle hacia el tipo de error cometido sin que este conozca el caso de prueba que lo provocó.

    • English

      VPL (Virtual Programming Lab) is a Moodle plugin that automates the code evaluation of a program written in a given  programming language. Currently, VPL only allows the configuration of positive test cases during the evaluation, i.e. it makes it possible to display an error message to the student when the output of the program differs from the expected output for each case. This limits the identification of the type of error committed and its consequent feedback, since there could be problems for which it is necessary to check if a specific output is obtained that should not be given and that would be motivated by some logical error that is not being controlled in the program. This work presents an improvement to alleviate this limitation, which consists of including negative test cases in the VPL evaluation process, so that an error message can also be displayed when the output of the program matches the one configured for each of the errors expected in the problem to be solved. This  improvement makes it easier for the teacher to identify potential errors in the code delivered by the student and allows, in  some way, to guide the student towards the type of error committed without the student knowing the test case that caused it.

  • Referencias bibliográficas
    • Amaya Berssanette, J. H., y De Francisco, A. C. (2021). Active learning in the context of the teaching/learning of computer programming: A...
    • Cardoso, M., Vieira, A., y Rocha, A. (2018). Integration of virtual programming lab in a process of teaching programming EduScrum based. En...
    • Cheah, C. S. (2020). Factors contributing to the difficulties in teaching and learning of computer programming: A literature review. Contemporary...
    • Rodríguez del Pino, J. C., Rubio Royo, E., y Hernández Figueroa, Z. (2010). VPL: laboratorio virtual de programación para Moodle.
    • En XVI Jornadas de Enseñanza Universitaria de la Informática. https://upcommons.upc.edu/bitstream/handle/2099/11840/r51.pdf
    • Rodríguez del Pino, J. C., Rubio Royo, E., y Hernández Figueroa, Z. (2012). A virtual programming lab for Moodle with automatic assessment...

Fundación Dialnet

Mi Documat

Opciones de artículo

Opciones de compartir

Opciones de entorno