• Home
  • Search
  • Automatic Grading of Programming Exercises using Property-Based Testing
  • Cite Icon20
  • https://doi.org/10.1145/2899415.2899443Copy DOI Icon

Automatic Grading of Programming Exercises using Property-Based Testing

  • Jul 11, 2016
  • Clara Benac Earle +2 more
Show More
  • Abstract
  • Literature Map
  • References
  • Citations
  • Similar Papers
Abstract

We present a framework for automatic grading of programming exercises using property-based testing, a form of model-based black-box testing. Models are developed to assess both the functional behaviour of programs and their algorithmic complexity. From the functional correctness model a large number of test cases are derived automatically. Executing them on the body of exercises gives rise to a (partial) ranking of programs, so that a program A is ranked higher than program B if it fails a strict subset of the test cases failed by B. The model for algorithmic complexity is used to compute worst-case complexity bounds. The framework moreover considers code structural metrics, such as McCabe's cyclomatic complexity, giving rise to a composite program grade that includes both functional, non-functional, and code structural aspects. The framework is evaluated in a course teaching algorithms and data structures using Java.

Similar Papers
  • Book Chapter

Efficient Loop-Extended Model Checking of Data Structure Methods

  • Jan 01, 2011
  • Qiuping Yi +2
  • Research Article
  • Citations8

A data-centric and interpretable EEG framework for depression severity grading using SHAP-based insights.

  • May 25, 2025
  • Journal of neuroengineering and rehabilitation
  • Anruo Shen +3
  • Research Article
  • Citations2

Improve Navigation Software Quality by Using Prediction Model of Coding Stage Defect Density

  • Apr 30, 2011
  • Journal of Convergence Information Technology
  • Shangfei Xie - +1
  • Conference Article
  • Citations1

Cloaca: A Concurrent Hardware Garbage Collector for Non-strict Functional Languages

  • Aug 28, 2024
  • Craig Ramsay +1
  • PDF
  • Research Article
  • Citations38

Validation of cross-sectional and longitudinal ComBat harmonization methods for magnetic resonance imaging data on a travelling subject cohort

  • Oct 06, 2022
  • Neuroimage. Reports
  • Sophie Richter +11
  • Research Article
  • Citations2

Comparison of hard limiting and soft computing methods for predicting software effort estimation: In reference to Small Scale Visualization Projects

  • Sep 25, 2018
  • International Journal of Engineering & Technology
  • T M Kiran Kumar +1
  • Research Article
  • Citations13

Enhancing Performance Optimization of Multicore/Multichip Nodes with Data Structure Metrics

  • May 01, 2014
  • ACM Transactions on Parallel Computing
  • Ashay Rane +1
  • Conference Article
  • Citations1

The structured flowchart niche

  • Jan 01, 1988
  • David A Scanlan
  • Research Article
  • Citations48

Tumor classification by gene expression profiling

  • Apr 01, 2001
  • ACM SIGBIO Newsletter
  • M Granzow +5
  • Conference Article
  • Citations22

A Methodology for Relating Software Structure with Energy Consumption

  • Sep 01, 2017
  • Abdul Ali Bangash +2
  • Research Article
  • Citations14

Transforming functional models to critical chain models via expert knowledge and automatic parsing rules for design analogy identification

  • Sep 14, 2017
  • Artificial Intelligence for Engineering Design, Analysis and Manufacturing
  • Malena Agyemang +2
  • Supplementary Content
  • Citations104

Efficient algorithms for solving static hamilton-jacobi equations

  • Jan 01, 2003
  • D I Meiron +1
  • Conference Article
  • Citations38

Foundations of computer science

  • Jan 01, 1996
  • Viera K Proulx +2
  • Conference Article

Rethinking Cognitive Complexity for Unit Tests: Toward a Readability-Aware Metric Grounded in Developer Perception

  • Sep 07, 2025
  • Wendkûuni C Ouédraogo +7
  • Conference Article
  • Citations26

Towards a model of energy complexity for algorithms [mobile wireless applications

  • Jan 01, 2005
  • R Jain +2
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.