{"title":"Towards More Trustworthy Online Examinations: Formal Modeling and Verification Using CPNs","authors":"Wenbo Zhou, Yiyuan Wang, Minghao Yin","doi":"10.1002/smr.70088","DOIUrl":null,"url":null,"abstract":"<div>\n \n <p>Online examinations are among the most effective ways to evaluate students' learning outcomes. The reliable design of online examination systems is crucial to ensuring the correctness of examination procedures. While existing approaches focus on isolated aspects (for example, state-level verification via UPPAAL or secure data transmission via cryptography), they lack the capability for comprehensive verification of the entire examination workflow. To address this gap, we use colored Petri nets (CPNs), which enable end-to-end modeling of concurrent processes and data-token interactions. In this paper, we develop a comprehensive CPN-based framework to model the entire online examination workflow. We formalize eight critical properties (e.g., correct total score) using ASK-CTL and verify them through state-space exploration and scenario simulation in CPN Tools. The verification results demonstrate that the model satisfies all eight properties, with no deadlocks or property violations found among 62,292 state-space nodes. This work provides a formal verification framework for designing trustworthy online examination systems, reducing risks of logical errors and security vulnerabilities in real-world implementations.</p>\n </div>","PeriodicalId":48898,"journal":{"name":"Journal of Software-Evolution and Process","volume":"38 4","pages":""},"PeriodicalIF":1.6000,"publicationDate":"2026-03-29","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Journal of Software-Evolution and Process","FirstCategoryId":"94","ListUrlMain":"https://onlinelibrary.wiley.com/doi/10.1002/smr.70088","RegionNum":4,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q3","JCRName":"COMPUTER SCIENCE, SOFTWARE ENGINEERING","Score":null,"Total":0}
引用次数: 0
Abstract
Online examinations are among the most effective ways to evaluate students' learning outcomes. The reliable design of online examination systems is crucial to ensuring the correctness of examination procedures. While existing approaches focus on isolated aspects (for example, state-level verification via UPPAAL or secure data transmission via cryptography), they lack the capability for comprehensive verification of the entire examination workflow. To address this gap, we use colored Petri nets (CPNs), which enable end-to-end modeling of concurrent processes and data-token interactions. In this paper, we develop a comprehensive CPN-based framework to model the entire online examination workflow. We formalize eight critical properties (e.g., correct total score) using ASK-CTL and verify them through state-space exploration and scenario simulation in CPN Tools. The verification results demonstrate that the model satisfies all eight properties, with no deadlocks or property violations found among 62,292 state-space nodes. This work provides a formal verification framework for designing trustworthy online examination systems, reducing risks of logical errors and security vulnerabilities in real-world implementations.