Final Year Project
Final Year Project
A PROJECT REPORT
On
“ONLINE EXAM ENHANCEMENT USING BLOCKCHAIN”
Submitted in the fulfilment of the requirement of Eighth Semester for the
award of
Bachelor of Engineering
In
Computer Science and Engineering
Submitted By
CERTIFICATE
This is to certify that the project report entitled “ONLINE EXAM ENHANCEMENT USING
BLOCKCHAIN” is a bonafied work carried out by
ABHISHEK SAHAY 1BO20CS004
AMIT KUMAR 1BO20CS010
CHANDRA MOHAN SOREN 1BO20CS027
HIMESH KUMAR 1BO20CS041
in the fulfilment for the requirements of Eighth Semester, Bachelor of Engineering in Computer
Science and Engineering of Visvesvaraya Technological University, Belagavi during the year
2023-24. It is certified that all corrections and suggestions indicated for the internal assessment have
been incorporated in the report. This project report has been approved as it satisfies the academic
requirements in respect to the work prescribed for the Bachelor of Engineering degree.
External Viva
1. _______________________ ______________________
2. _______________________ ______________________
ABSTRACT
This paper proposes a novel Learning Management System (LMS) built on the Ethereum blockchain to
address these concerns. The system leverages MetaMask wallets for secure student authentication and
utilizes smart contracts to automate grading and plagiarism detection, providing immediate feedback and
enhancing learning efficiency. Robust security protocols ensure data integrity and prevent exam
malpractices. This innovative approach fosters academic fairness, reduces instructor workload, and
facilitates comprehensive student performance analysis, paving the way for a secure and efficient future of
online education.
iii
ACKNOWLEDGEMENT
The satisfaction and euphoria that accompanies the successful completion of any task would be
incomplete without mentioning the people who made it possible. With deep gratitude, we
acknowledge all those guidance and encouragement, which served as bacon of light and crowned
our efforts with success. We thank each one of them for their valuable support.
We express my sincere thanks to Dr. B.R. Shetty, Chairman, Brindavan College of Engineering,
Bangalore, for providing necessary facilities and motivation to carry out Project work successfully.
We convey my sincere thanks to Dr. Shruti Sharma, CEO, Brindavan Group of Institutions for her
support and motivation.
We express our sincere thanks to Dr. Bhagappa, Principal, and Brindavan College of
Engineering for providing necessary facilities and motivation to carry out project work successfully.
We express our heartfelt gratitude and humble thanks to Prof. Avinash N, Head of Dept, CSE,
Brindavan College of Engineering, for the constant encouragement and help to carry out project
work successfully.
We take this opportunity to express our sincere gratitude to Project Coordinator Prof. Mamatha M,
Assistant Professor, Dept. of CSE, Brindavan College of Engineering for encouraging us
throughout the Project work.
We would also like to express our humble thanks to Project guide Prof. M.G Kousar, Assistant
Professor, Dept. of CSE, Brindavan College of Engineering for guiding and having facilitated us
to complete our project work successfully.
We would like to mention our special thanks to all the faculty members of Computer Science and
Engineering Department, Brindavan College of Engineering for their invaluable support and
guidance. We finally thank our family and friends who have been encouraging us constantly and
inspiring.
iv
TABLE OF CONTENTS
v
CHAPTER NO TITLES PAGE NO
8. Result 37
Conclusion 43
References 44
Appendix A: Snapshots 45
Appendix C: Certificate 70
vi
LIST OF FIGURES
vii
CHAPTER 1
INTRODUCTION
CHAPTER 1
INTRODUCTION
The traditional examination system, with its reliance on paper, pencils, and centralized
administration, is facing a growing wave of challenges. Concerns about security breaches, data
manipulation, plagiarism, and fairness are casting a shadow over the integrity of educational
assessments. In this context, blockchain technology emerges as a transformative force,
promising to revolutionize online examinations with its inherent advantages of
decentralization, immutability, and transparency. Imagine a scenario: Students worldwide take
an exam simultaneously on a secure online platform. Their responses are encrypted and stored
on a distributed ledger, accessible only to authorized parties. An automated grading system
powered by smart contracts instantly evaluates answers, providing immediate feedback.
Plagiarism detection tools scan submissions in real-time, ensuring academic integrity. And the
entire process, from question generation to scorekeeping, is governed by transparent,
immutable records, fostering trust and accountability. This is the power of blockchain-based
online examinations. Let's develop deeper into the key components of this model and compare
it to the traditional system.
CHAPTER 2
LITERATURE SURVEY
CHAPTER 2
LITERATURE SURVEY
Title: A Proposed Model for Improving the Reliability of Online Exam Results Using
Blockchain [1]
Year: 2023
• Proposed an innovative model that combines blockchain technology, the LMS Moodle,
and an auto-grading system to enhance the security, reliability, and efficiency of online exams.
• Plan to conduct future work that includes comprehensive system benchmarking using
appropriate tools and methodologies to further enhance the credibility and validity of their
research.
Title: Smart Contract Enabled Online Examination System Based in Blockchain Network [2]
Author: Apoorv Jain, Arun Kumar Tripathi, Naresh Chandra and P. Chinnasamy
Year: 2021
Title: Exam Conduction and Proctoring System Using Face Detection [3]
Author: Hemant B. Shinde, Rohan Ranjan, Varun Ringnekar, Himangi Rinwa and Rohit Singh
Year: 2022
adding students. Students have access to a dashboard where they can view their
upcoming tests, check their scores on previous tests, and revie
• w missed tests.
• The proposed system is based on Java web and makes full use of various resources on
the campus to enhance education efficiency and realize education in a logical and
standardized way. It also aims to reduce the workload of teachers by providing a
convenient and fast learning tool for both instructors and examinees.
Title: Computer-Based Test System for University Academic Enterprise Examination [4]
Year: 2013
• The paper involves the development life cycle and the conceptual design of the
computer-Based Test (CBT) system. The development life cycle follows the Waterfall
Model, which consists of five stages: Requirement Analysis and Definition, System and
Software Design, Implementation and Testing, System Testing, and Maintenance.
• The conceptual design of the CBT system includes the activity diagram, data flow
diagram, use cases, and the entity-relationship diagram.
• Additionally, the paper discusses the features of the proposed software, which includes
online examination and tutorial applications for economic courses, as well as the client-
server architecture on which the software is designed to work.
Title: Online Test and Management System using Blockchain Network [5]
Author: Seung Jae Pee, Eung Seon Kang, Jae Geun Song and Ju Wook Jang
Year: 2019
• The paper describes the construction of a private blockchain network with nodes for
the system manager, examiners, and examinees. Each node is assigned different
authority within the network.
Author: Xinying Yang, Sheng Wang, Feifei Li, Yuan Zhang, Wenyun Yan and Fangyu Gai
Year: 2022
• This paper involves proposing a new concept called Dasein Verification to formalize
the verification demands behind a ledger system. The paper then explains how
• LedgerDB, a centralized ledger database, becomes the first Dasein-complete CLD
system and achieves high verification efficiency.
• The paper also conducts empirical evaluations to validate the verification efficiency
and completeness of LedgerDB. The experiments were conducted in an in-house cluster
with two nodes, each of which runs CentOS 7.2.1511 and is equipped with Intel(R)
Xeon(R) Platinum 2.5GHz CPU, 32GB RAM, and 1 TB of ESSD storage.
SYSTEM ANALYSIS
It is important to note that the field is dynamic, with frequent advancements and new
developments. As a result, more recent systems may have emerged since the last
comprehensive analysis.
In terms of security, traditional online exam systems typically rely on secure connections
(HTTPS), user authentication, and encryption. Similarly, traditional LMS relies on centralized
servers and databases, employing conventional security measures such as firewalls and
encryption. Authentication in traditional LMS often involves username/password-based
methods, coupled with traditional database integrity checks.
Basic analytics based on user activity are commonly offered in traditional LMS, but the user
experience can vary significantly depending on the platform's design and features.
Some institutions may enhance the security and reliability of online exams by employing secure
exam proctoring services that involve video monitoring. However, it's worth noting that these
services may not currently leverage blockchain technology in their processes.
Online Exam Enhancement Using Blockchain System Analysis
Key Features:
3.2.1 Scope
• The Blockchain-based Learning Management System (LMS) seeks to transform
education by utilizing blockchain technology.
• The primary objectives include enhancing security, transparency, and efficiency in
content management, assessments, and student performance analytics.
3.2.2 Objectives
• Investigate and analyze the implications of integrating blockchain technology in
education.
• Focus specifically on the development and implementation of a decentralized Learning
Management System (LMS).
• Examine the capabilities of blockchain in enhancing security, transparency, and
efficiency in educational transactions and interactions.
• Evaluate the impact of incorporating artificial intelligence and machine learning
algorithms for personalized learning experiences tailored to students' unique needs and
preferences.
• Explore the scalability, interoperability, and governance mechanisms of the
Blockchain-based LMS.
• Assess the system's ability to accommodate diverse educational entities and
technologies while ensuring compliance, data privacy, and equitable participation.
• Contribute to the existing body of knowledge by providing a comprehensive analysis,
insights, and recommendations.
• Emphasize the decentralized aspects of blockchain technology and highlight potential
benefits for educational stakeholders.
The System Requirements & Specification (SRS) is a document focused on what the software
needs to do and how it must perform. It lays the important groundwork so that every person
involved with the project understands the most crucial details.
2. PHP
3. Node JS
4. Metamask Wallet
6. Blockchain
7. Ethereum
8. Solidity
9 Ganache
10. Web3.JS
12. VS Code
13. MySQL
14. MongoDB
Online Exam Enhancement Using Blockchain System Requirement & Specification
4.1.2 PHP
PHP (Hypertext Preprocessor) is an open-source scripting language used for server-side web
development. Embedded in HTML, it interacts with databases to create dynamic web pages
and applications. Widely used due to its simplicity and versatility, PHP powers many websites
and frameworks, including WordPress and Laravel.
4.1.3 Node JS
MetaMask is a popular cryptocurrency wallet and browser extension that allows users to
manage, store, and interact with Ethereum and ERC-20 tokens. It enables secure transactions
and access to decentralized applications (dApps) directly from a web browser, enhancing the
user experience within the Ethereum blockchain ecosystem.
WAMP (Windows, Apache, MySQL, PHP) and LAMP (Linux, Apache, MySQL, PHP) are
software stacks used for web development. They provide a complete environment to develop
and run web applications, including a web server (Apache), a database (MySQL), and a
scripting language (PHP) on respective operating systems.
4.1.6 Blockchain
A blockchain is a distributed ledger with growing lists of records (blocks) that are securely
linked together via cryptographic hashes. Each block contains a cryptographic hash of the
previous block, a timestamp, and transaction data (generally represented as a Merkle tree,
Since each block contains information about the previous block, they effectively form a chain
(compare linked list data structure), with each additional block linking to the ones before it.
Consequently, blockchain transactions are irreversible in that, once they are recorded, the data
in any given block cannot be altered retroactively without altering all subsequent blocks.
Blockchains are typically managed by a peer-to-peer (P2P) computer network for use as a
public distributed ledger, where nodes collectively adhere to a consensus algorithm protocol to
add and validate new transaction blocks. Although blockchain records are not unalterable, since
blockchain forks are possible, blockchains may be considered secure by design a distributed
computing system with high Byzantine fault tolerance.
4.1.7 Ethereum
Ethereum is a network of computers all over the world that follow a set of rules called the
Ethereum protocol. The Ethereum network acts as the foundation for communities,
applications, organizations and digital assets that anyone can build and use.
4.1.8 Solidity
4.1.9 Ganache
Ganache is a personal blockchain for rapid Ethereum and File coin distributed application
development. You can use Ganache across the entire development cycle; enabling you to
develop, deploy, and test your dApps in a safe and deterministic environment.
4.1.10 Web3.JS
web3.js is a collection of libraries that allow you to interact with a local or remote Ethereum
node using HTTP, IPC or WebSocket. or Utilities with built-in helpers for Ethereum dApps and
web3 packages. Get block and state information from Ethereum nodes.
The Inter Planetary File System (IPFS) is a protocol, hypermedia and file sharing peer-to-peer
network for storing and sharing data in a distributed file system. IPFS uses content-addressing
to uniquely identify each file in a global namespace connecting IPFS hosts.
4.1.12 VS Code
Visual Studio Code is a lightweight but powerful source code editor which runs on your desktop
and is available for Windows, macOS and Linux. It comes with built-in support for JavaScript,
TypeScript and Node.js and has a rich ecosystem of extensions for other languages and
runtimes (such as C++, C#, Java, Python, PHP, Go, .NET).
4.1.13 MySQL
4.1.14 MongoDB
MongoDB is a popular open-source NoSQL database that stores data in flexible, JSON-like
documents. It is designed for high performance, scalability, and ease of development. Unlike
traditional relational databases, MongoDB uses a schema-less data model, making it ideal for
handling large volumes of unstructured or semi-structured data.
SYSTEM DESIGN
IMPLEMENTATION
The implementation of the Blockchain-Based-Exam-Portal can be broken down into the
following steps:
6.1 Setting up the environment: The first step involves setting up the necessary software.
This includes installing Wamp Server for the web server and MySQL database, MongoDB for
storing questions and question sequences, Ganache for creating a personal Ethereum
blockchain, and Metamask Extension for browser-based blockchain interactions.
6.2 Database creation: The next step is to create the necessary tables in the MySQL database.
This is done in the exam_portal.sql file. The tables include answer_details for storing student
answers, faculty_details for storing faculty information, and paper_details for storing exam
paper details.
Online Exam Enhancement Using Blockchain Implementation
6.3 Building the frontend: The frontend of the application is built using HTML, CSS, and
JavaScript. This includes pages for login, faculty home, creating exams, and viewing question
papers. The functions.js file contains various JavaScript functions for handling user interactions
on these pages.
6.4 Implementing the backend: The backend of the application is implemented in PHP. This
includes files like accesscode.php, answer_submit.php, create_exam.php, and others. These
files handle requests from the frontend and interact with the MySQL database and the Ethereum
blockchain.
6.5 Blockchain integration: The Ethereum blockchain is integrated into the application using
the exam_portal.sol Solidity file. This file defines a smart contract for storing student answers
on the blockchain.
6.6 Security measures: The application uses two-step verification for user validation and
SHA1 encryption for securing passwords and security codes.
• Randomized questions: The application has the ability to randomize the sequence of
questions for each student.
• Exam creation and control by faculties: Faculties have the ability to create and control
exams. They can add and delete questions, and view student answers.
• Blockchain-based answer storage: Student answers are stored on the Ethereum
blockchain, making them secure and tamper-proof.
• Two-step user validation: The application uses a two-step verification process for
validating users, adding an extra layer of security.
• Basic encryption techniques: The application uses basic encryption techniques to cipher
data in transit, ensuring the confidentiality of the data.
SYSTEM TESTING
Testing is extremely important for quality assurance and ensuring the products reliability. The
success of testing for programmer flaws in largely determined by the experience. Testing might
be a crucial component in ensuring the proposed systems quality and efficiency in achieving
its goal. Testing is carried out at various phases during the system design and implementation
process with the goal of creating a system that is visible, adaptable and secure.
Testing is an important element of the software development process. The testing procedure
verifies whether the generated product meets the requirements for which it was intended.
➢ Testing may be a defined as a process of running a program with the goal of detecting
a flaw.
➢ An honest case is one in which there is a good chance of discovering a mistake that
hasn’t been detected yet.
➢ A successful test is one that uncovers previously unknown flaw. If testing is done
correctly, problems in the program will be discovered. Testing cannot reveal whether
or not flaws are present. It can only reveal the presence of software flaws.
A programmer must first grasp the fundamental idea that governs software testing before
applying the methodologies to create successful test cases. All testing must be able to be tracked
back to the customer’s specification.
A Test design is a process that describes “how” testing should be done. It includes processes
for the identifying test cases by enumerating steps of the defined test conditions.
Any engineering product is frequently put to the test in one of two ways:
Glass container checking out is every other call for this kind of checking out. By understanding
the necessary characteristic that the product has been supposed to do, checking out is regularly
accomplished that proves every characteristic is absolutely operational at the same time as
additionally checking for faults in every characteristic. The take a look at case layout technique
that leverages the manage shape of the procedural layout to create take a look at instances is
used on this take a look at case.
A Tests are regularly finished on this checking out via way of means of understanding the
indoors operation of a product to make certain that each one gears mesh, that the indoors
operation operates reliably in step with specification, and that each one inner additive had been
nicely exercised. It is in most cases worried with the software’s practical needs.
A software testing template should be established as a set of stages in which particular test suit
design techniques are defined for the software engineering process.
A software developer can use a software testing strategy as a route map. Testing might be a
collection of actions that are prepared ahead of time and carried out in a methodical manner.
As a result, a software testing template should be established as a set of stages in which
particular test suit design techniques are defined for the software engineering process. The
following characteristics should be included in every software testing strategy: Testing begins
at the module level and progresses to entire computer-based system are mixing
A Unit testing checks the tiny piece of software that makes up the module. The white box
orientation of the unit test is maintained throughout. Different modules are tested alongside the
requirements created throughout the module design process. The aim of unit testing is to inspect
the inner logic of the modules, and it is used to verify the code created during development
phase. It is usually done by the module’s developer. The coding phase is sometimes referred to
as coding and unit testing because of its tight association with coding. Unit tests for many
modules are frequently run in simultaneously.
A Integration testing is the second level of quality assurance. This type of testing integrates
different components in program like modules also to check the interface problems. Many
tested modules are combined into subsystems and tested as a result of this. The purpose of this
test is to see if all of the modules are properly integrated. Integration testing may be divided
into three categories
➢ Top-Down Integration:
Construction and testing using autonomous modules begin with Bottom-up integration, as the
name suggests.
➢ Regression Testing:
It is a subset of previously executed tests to ensure that Modifications have not propagated
unexpected side effects during this competition of an Integration test strategy.
➢ Functional Testing:
The business and technical requirements, system documentation, and user guides all specify
that functional tests must be conducted to ensure that the functions being tested are available.
The following items are the focus of functional testing:
Validation Testing may be characterized in a lot of ways however, one easy definition is that
validation is a hit whilst software program plays in a manner that clients may fairly expect. The
affordable expectation is said with inside the software program requirement specification that
is a record that lists all the software program’s user-seen attributes. Validation standards are a
segment of the specification. The statistics on this component serves as the premise for the
validation trying out strategy.
Software developer can’t know how a customer will utilize a program ahead of time.
Instructions to be utilized could be misconstrued, a peculiar combination of knowledge could
be employed on a regular basis, and a result that was clear to the tester could be unclear to a
field user. It's impractical to conduct a formal acceptance test with all users if the programmed
is designed as a product that will be used by many people. Most software developers utilize
alpha and beta testing to detect bugs that only the most experienced users seem to be aware of.
At the developer's premises, a customer does the trial.
Testing objectives for the integration of education with Generative AI, IoT, and cloud
computing aim to ensure the reliability, functionality, and effectiveness of the integrated
system. Here are some testing objectives:
1. Functional Testing:
➢ Verify that all components of the integrated system, including Generative AI models,
IoT devices, and cloud services, function as intended.
➢ Test the functionality of features such as content generation, real-time monitoring,
collaborative engagement, and personalized learning experiences.
➢ Ensure that user interactions, data processing, and communication protocols work
seamlessly across different components.
2. Performance Testing:
➢ Assess the performance of the integrated system under various load conditions,
including normal usage, peak usage, and stress scenarios.
➢ Measure response times, throughput, and resource utilization to identify performance
bottlenecks, scalability limits, and areas for optimization.
➢ Test the system's ability to handle concurrent user interactions, process large volumes
of data, and maintain acceptable levels of latency.
3. Security Testing:
➢ Evaluate the security posture of the integrated system by identifying and mitigating
potential vulnerabilities, threats, and risks.
➢ Conduct penetration testing, vulnerability scanning, and security assessments to assess
the resilience of the system against cyber-attacks and unauthorized access.
➢ Verify compliance with security best practices, encryption standards, and data
protection regulations to safeguard sensitive educational data.
4. Interoperability Testing:
5. Usability Testing:
➢ Evaluate the usability, accessibility, and user experience of the integrated system from
the perspective of students, educators, administrators, and other stakeholders.
➢ Conduct user testing, surveys, and interviews to gather feedback on user interfaces,
navigation flows, and feature usability.
➢ Identify usability issues, usability barriers, and areas for improvement to enhance user
satisfaction and adoption rates.
➢ Test the reliability and resilience of the integrated system by simulating failure
scenarios, network disruptions, and resource outages.
➢ Assess the system's ability to recover from failures, restore data integrity, and maintain
service availability during adverse conditions.
➢ Implement fault tolerance mechanisms, disaster recovery procedures, and redundancy
strategies to ensure business continuity and data integrity.
RESULT
Signup: The owner directly creates accounts for the users in the database. There are two types
of accounts: Student and Faculty.
Faculty Login: When a faculty member logs in, they are prompted to enter their login ID,
password, and a security phrase. After authentication, they are redirected to their dashboard
where they can create an exam. A unique exam ID is generated with the creation of each exam.
The faculty member can also see who has taken the exam and evaluate the answers given by
the student.
Login Page: A login page is a webpage where users enter their credentials—usually a
username and password—to gain access to a website or application. It serves as a security
measure to ensure that only authorized individuals can access certain information or
functionalities.
Student Login: When a student logs in, they are prompted to enter a security key and then the
exam ID to access the particular exam. After entering the exam ID, the exam starts.
Faculty Dashboard: On this dashboard the faculty can create exam, Schedule them and will
be able to evaluate the exams attempted by the students.
Exam Interface: The student gets an interface for answering the multiple-choice questions.
After answering all the questions, the student gets a finish button. On clicking the finish button,
a Metamask wallet popup appears.
Evaluation: This system incorporates smart contracts, allowing for efficient and accurate
assessment of student performance. As part of the implementation, we developed an evaluation
page specifically designed for faculty members. This page features a user-friendly in green and
displays unanswered questions in red. The color-coded system provides a visual representation
of student responses, aiding faculty members in swiftly evaluating and providing feedback on
student performance.
Smart Contract Interaction: The student signs a transaction using the Metamask wallet to
send the exam data to the smart contract for evaluation. Upon submitting, the Metamask popup
appears again, and after signing the transaction, the data is sent to the smart contract. Once a
smart contract has been deployed, it cannot be altered. The only way to remove a smart contract
is if this functionality was incorporated into the contract from the outset.
Moreover, the incorporation of advanced features such as an eye monitoring system, student
performance analyzer, auto-grading system, and plagiarism detector further enhances the
overall examination experience. The eye monitoring system ensures exam authenticity by
preventing unauthorized activities, while the student performance analyzer provides valuable
insights into individual learning patterns. The auto-grading system streamlines the assessment
process, saving time and reducing manual errors. Simultaneously, the plagiarism detector
safeguards the integrity of the evaluation process, fostering a culture of academic honesty.
Together, these features, when integrated with blockchain technology, create a comprehensive
and foolproof online exam system. This not only addresses existing challenges in data security
and reliability but also sets a new standard for trustworthy, transparent, and technologically
advanced assessment methodologies. The amalgamation of blockchain and innovative
examination features establishes a robust foundation for the future of online educational
assessment.
REFERENCES
[1] Mohamed Abdelsalam, Amira M. Idrees, Marwan Shokry “A Proposed Model for
Improving the Reliability of Online Exam Results Using Blockchain” Institute of Electrical
and Electronics Engineers (IEEE), DOI: 10.1109/ACCESS.2023.3304995
[2] A. Jain, A. Kumar Tripathi, N. Chandra, και P. Chinnasamy, ‘Smart contract enabled online
examination system based in blockchain network’, στο 2021 International Conference on
Computer Communication and Informatics (ICCCI), Coimbatore, India, 2021.
[3] Prof. H. B. Shinde, “Exam Conduction and Proctoring System Using Face Detection,”
INTERANTIONAL JOURNAL OF SCIENTIFIC RESEARCH IN ENGINEERING AND
MANAGEMENT, vol. 06, no. 01, Jan. 2022, doi: 10.55041/ijsrem11444.
[4] T. M. Fagbola, A. A. Adigun, and A. O. Oke, “Computer-Based Test (Cbt) System For
University Academic Enterprise Examination,” Int. J. Sci. Technol. Res., vol. 2, no. 8, 2013.
[5] S. J. Pee, E. Seon Kang, J. G. Song and J. Wook Jang, "Online test and management system
using blockchain network," 2019 21st International Conference on Advanced Communication
Technology (ICACT), 2019, pp. 269-272, doi: 10.23919/ICACT.2019.8701891.
[6] X. Yang et al., "Ubiquitous Verification in Centralized Ledger Database," 2022 IEEE 38th
International Conference on Data Engineering (ICDE), Kuala Lumpur, Malaysia, 2022, pp.
1808-1821, doi: 10.1109/ICDE53745.2022.00181.
APPENDIX A
SNAPSHOTS
Fig: Create Exam page
Fig: Ganache
Fig: Login Page
content may change prior to final publication. Citation information: DOI 10.1109/ACCESS.2023.3304995
Date of publication xxxx 00, 0000, date of current version xxxx 00, 0000.
ABSTRACT Nowadays, Learning Management Systems (LMS) have become increasingly popular,
particularly due to the COVID-19pandemic, offering enhanced effectiveness and efficiency. Online exams
have emerged as a critical feature within LMS, serving as a means to evaluate students' performance and
assess their understanding of the course material. These exams play a crucial role in determining
students' eligibility for progression to the next grade or level of study. It is imperative that online exam
results meet the standards of reliability and transparency. Any lack of reliability, such as the vulnerability
to hacking, can have detrimental effects on students' overall grades. Traditional online exam systems
typically store data in centralized locations like MySQL databases, leaving them susceptible to
unauthorized access by malicious individuals who may alter students' exam results. This paper aims to
propose a blockchain-based framework that facilitates the secure and peer-to-peer conduct and
evaluation of academic exams. The framework employs hashing techniques to ensure the integrity of the
data and utilizes proof of stake mechanisms to enhance security. Blockchain technology has proven to be
effective in safeguarding data integrity by virtue of its decentralized data storage approach and the use of
cryptographic hashing forevery block within the chain. This paper demonstrates how online exams can be
developed using blockchain technology, with each question asked and answered being directly stored on the
blockchain. To achieve this, we have developed a module that integrates with the Moodle learning
management system. Through a comparative analysis of the default centralized storage approach in Moodle,
our module modifies the exam results' storage method, ensuring secure and tamper-proof data storage on
the blockchain network. By leveraging the blockchain network, the data associated with exam results is
reliably secured, ensuring its integrity, and making it immune to manipulation. Our results indicate that the
data stored through the blockchain achieved complete accuracy, with no discrepancies observed when
compared to the standard approach employed by the Moodle LMS for storing results. The blockchain
network provides a reliable and immutable platform that prevents unauthorized alterations or
manipulations of student data. In conclusion, our blockchain-based framework offers a robustsolution
for enhancing the security and reliability of online exam results. By leveraging the decentralized and
tamper-proof nature of blockchain technology, we can ensure the integrity and transparency of student
data, ultimately providing a more trustworthy and accurate assessment of their academic performance.
INDEX TERMS Blockchain, Online Test, Online Examination System, Smart Contracts, Ethereum, Meta
Mask Wallet, Learning Management Systems, LMS, Moodle, Centralized Ledger Database, CLD
This work is licensed under a Creative Commons Attribution 4.0 License. For more information, see https://creativecommons.org/licenses/by/4.0/
This article has been accepted for publication in IEEE Access. This is the author's version which has not been fully edited and
content may change prior to final publication. Citation information: DOI 10.1109/ACCESS.2023.3304995
process
M. Abdelsalam et al.: A Proposed Model forof transaction
Improving fee deduction
the Reliability from
of Online Exam the Using
Results user's wallet for
Blockchains
INTRODUCTION submitting data to the blockchain. Our innovative model will
allow students to log in, take their exams, and once
The occurrence of COVID-19 has drastically changed
completed,submit their answers directly onto the blockchain
education all over the world. Many schools and universities
network. The exam administrator can then access a
had started to adapt new technique in learning by dashboard displaying allsubmitted answers.
considering onlineeducation instead of pen and papers. E-
learning is similar to a network-enabled transmission of The main contribution of the paper is the proposal of an
knowledge by using electronic applications to process innovative model that utilizes blockchain technology to
learning [1]. It emerges the normal workwith paper and give transform exams into a web application. This model enables
a variety of technologies to provide more benefits for the students to log in, take exams, and submit their answers
students. Trough which students can take theirlectures in directly onto the blockchain network. The proposed model
offers several advantages. First, by leveraging blockchain
form of videos or tutorials that can be watched by them
technology, the model enhances security and reliability by
using their personal computers or laptops anytime they
storing exam data ina tamper-proof manner that cannot be
want [2]. It improves the classroom interaction by creating
easily manipulated. Thisaddress concerns related to cheating,
environment where they actively participate in online hacking, and unauthorized alteration of exam content.
tutorials toaccomplish a work that has been given to them Additionally, the model utilizes the LMS Moodle, a widely
[2]. A lot of advantages come with E-learning to students used learning management system, which provides various
like the courses of lectures that are available on demand so features such as online lectures, assignments, and exam
students can revise thecourse or complete the given tasks. creation. By integrating the proposed model with Moodle, it
Also, it helps fast or slow learners, decreases stress and it allows for seamless administration of exams within the
allows communicating with students and addresses their familiar LMS environment. Furthermore, the model
issues immediately through the E- learning systems [1]. introduces an auto-grading system that automatically
They can also benefit from online exams for preliminary corrects exams and sends the grades to students. This
screening in a meaningful and productive way. E-exams streamlines the grading process and provides timely
offer further advantages as well. When compared to feedback to students. Overall, the main contribution of your
traditional printed paper tests, these electronic exams save paper lies in the proposaland demonstration of an innovative
model that combines blockchain technology, the LMS
faculty members time and effort, and students are safer
Moodle, and an auto-gradingsystem to enhance the security,
becausethe latter take a lot of time and work to correct, extract
reliability, and efficiency of online exams. By leveraging
the scores, and announce them to students. E-exams are
blockchain's immutability and transparency, the proposed
regarded as one ofthe most significant e-learning tools for model aims to address the challenges associated with
gauging success [3]. centralized exam systems and provide a secure and reliable
Various online exams are being conducted being user- solution for conducting online exams.
friendly, and being on centralized servers which can
develop many issues and security breaches. Attackers may BACKGROUND
commitcheating, hacking the data stored or deleting exam
content for that. It must offer a solution for securing its Blockchain is essentially a digital ledger of transactions that
reliability, here Blockchain come into play to solve the is duplicated and distributed across the entire network of
security and reliability issues as everything will be stored computersystems on the blockchain. With each transaction
in manner they cannot be manipulate with. We will use LMS a block is created and stored to network then this chain will
Moodle; as it is one the most LMS all over the world that grow more and more. So, every block is being stored in
provides a lot of features like to allow teachers to make decentralized way [4].
online lectures, make assignments for students and make
exams for them. As well as it has auto grading system to
automatically correct exams and send the grades to
students.
In this paper, we aim to conduct a thorough
comparison between the traditional centralized and
modern decentralized learning management systems.
Furthermore, we will provide an in-depth demonstration of
our proposed model, which focuses on transforming an exam
into a web application. This model will facilitate the
submission of exam answers and results directly onto the FIGURE 1: Blockchain Block [4]
blockchain as a new block, along with an explanation of the
This work is licensed under a Creative Commons Attribution 4.0 License. For more information, see https://creativecommons.org/licenses/by/4.0/
This article has been accepted for publication in IEEE Access. This is the author's version which has not been fully edited and
content may change prior to final publication. Citation information: DOI 10.1109/ACCESS.2023.3304995
M. Abdelsalam et al.: A Proposed Model for Improving the Reliability of Online Exam Results Using Blockchains
Figure 1 illustrates the block characteristics in blockchain Figure 2 illustrates the currency being sent to specific
network, every block contains header and body, each address using ether cryptocurrency and MetaMask wallet
block header contains previous block hash to ensure the which we will explain during the research. We will use our
integrity. Theblock body contains transaction counter and model to build oursmart contract that will help us to store data
the transaction itself. Blockchain uses an asymmetric and it cryptocurrency ether to pay for the data to enter the
cryptography technique to ensure the authentication of blockchain network.
transactions [4]. We will use blockchain technique to save
SOLIDITY is an object-oriented programming language
our exam grades data.
createdspecifically by Dr. Gavin Wood for constructing and
designing smart contracts on Blockchain platforms. It's used
SMART CONTRACT is an application that operates on top of
to create smart contracts that implement business logic and
theblockchain. It is a block of code that can be run when
generate a chain of transaction records in the blockchain
specific requirements are met. Its goal is to make
system. It has alot of similarities with C and C++ and is pretty
agreements between unreliable parties easier to follow
simple to learnand understand. For example, a “main” in C is
through on and enforce them. It could be compared to a
equivalent to a “contract” in solidity [7]. This is the
system that distributes digital assets to a number of
programming language that will be used to code our smart
interested parties if certain conditions are satisfied[6]. As
contract, to publish it to students,to submit their answers then
compared to other traditional contracts, the operation of
it will take their grades and be stored in the blockchain
smart contracts is not dependent on the trusted third
network.
party and thus reduces the transactional cost. Smart
contracts can be developed by utilizing different
blockchain platforms, but the most common to use is METAMASK is crypto currency wallet that is equipped with
Ethereum. It supports more features than other platforms a key vault, secure login, its token wallet, and token
and makes the creation and customization easier [5]. We exchange everything you need to manage your digital
can apply smart contracts to learning management assets. We can useto pay by crypto currencies or if someone
systems. Some of the main benefits of smart contracts are: wants to receive crypto. It is a web browser extension or
A. Speed, efficiency and accuracy: as the contract is can be used as mobile app downloaded. The extension
automated, it is executed immediately as the enters the Ethereum web3 APIinto website’s JavaScript; so,
conditionis met without wasting the time. the webapp could read data fromBlockchain MetaMask also
B. Savings: while using smart contracts, there is no let the user create and manage their wallet. Then when
needof third-party involvement thus avoiding time users need to create any transaction it will pop-up with an
delays and fee charges. interface so user can review transaction before paying any
C. Security: all the transaction records in the blockchain. crypto as well as it requires user to enter their username
and password every time the browser closes. We willuse it
We will use smart contract to interact and submit students here to get ID account on the Ethereum network, then check
answers and grades to be saved in the blockchain network. if the user belongs to this network or not and pay the cryptoto
submit answers to the network [8]. It will be used by the
students as their crypto currency wallet that they will use to
ETHEREUM it is a decentralized computing infrastructure
thatwe can use to execute programs like smart contracts as it pay for the submission of their test to be stored in the
interactswith users to get the transactions they made or data blockchain network as well as it will ensure that there is an
they submit to blockchain network. Along with being used as account id to payfor the submission.
cryptocurrency that are called ether, it allows developers to
MOODLE is an open-source learning platform that is
build decentralizedapps on the top of blockchain to ensure
availability, auditability,transparency, and neutrality [7]. assigned for online learning, distance education, flipped
classroom and projects in schools or universities [9]. It is a
complete LMS that have classes, different dashboards for
admins, teachers and students. Online classes schedules as
well as online exams are widely used in many schools and
universities online teaching and learning and it is used
especially in STEM (science, technology, engineering and
math) education [10]. We will illustrate our model based on
this Webapp to show how our module works. Itwill be used
to adapt our module to it. As Nowadays, it is considered one
of the most popular LMS that is being used by alot of schools
and universities.
FIGURE 2 Sending 1 ether to the contract address [7]
This work is licensed under a Creative Commons Attribution 4.0 License. For more information, see https://creativecommons.org/licenses/by/4.0/
This article has been accepted for publication in IEEE Access. This is the author's version which has not been fully edited and
content may change prior to final publication. Citation information: DOI 10.1109/ACCESS.2023.3304995
thathelp us to make test or inspect states [11] as it gives us components of our architecture may not introduce new
a benchof private keys that can generate address with it for concepts in data security, privacy, or performance, it is the
enabling usto run tests. It allows us as well to check if there unique combination and integration of these components
is new block hasbeen added to blockchain and the amount that offers a novel solution to the problem at hand.
of crypto taken formaccount per transaction. It will be used
to have a similar situation like a local blockchain network to In terms of data security, our architecture leverages the
run our module test and maketransactions to save data in immutability and transparency of blockchain technology to
blockchain network. ensure the integrity and tamper-resistance of exam data. By
storing exam data on the blockchain, we provide a secure
and trustworthy environment that mitigates the risk of data
Ledger DB is a centralized ledger database (CLD) that
manipulation or unauthorized access. While the use of
provides tamper-evident, non-repudiable, and highly
blockchain for data security is not new, our application of it
auditable features. It is similar to a blockchain in that it
within the context of online exams, specifically integrated
provides a tamper-evident andnon-repudiable ledger, but
withthe Moodle LMS, adds a novel dimension to the existing
it does not have the same decentralized architecture as a
literature.
blockchain. It also offers stronger auditability than a
blockchain by adopting a TSA two-way pegprotocol. This Regarding privacy, our architecture incorporates privacy-
protocol prevents malicious behaviors from bothusers and enhancing techniques such as data anonymization and
service providers, and it allows for verifiable data access control mechanisms. These measures protect the
removals [12]. sensitive information of students and ensure compliance
RESEARCH CONTRIBUTION with privacy regulations. While privacy-preserving
techniques are not uniqueto our architecture, the integration
In our paper, the main focus is on proposing and of these techniques within the context of online exams,
demonstrating an innovative model that combines alongside blockchain and the MoodleLMS, presents a novel
blockchain technology, the LMS Moodle, and an auto- approach that balances data security, privacy, and
grading system to enhance the security, reliability, and performance.
efficiency of online exams. Our objective is to showcase the
Furthermore, the integration with the Moodle LMS, a
feasibility and potential of this model in addressing the
widely used learning management system, provides a
challenges associated with centralizedexam systems.
seamless and familiar environment for conducting online
While we agree that thorough system benchmarking exams. This integration enhances usability and user
requires more robust methodologies and metrics, such as experience, addressing the performance aspect of our
performance tests, scalability analysis, and comparative architecture. While the use of anLMS for online exams is not
evaluations, wewould like to clarify the purpose and scope novel, our specific integration with Moodle, in combination
of our research. The inclusion of desktop-generated with blockchain technology and the auto-grading system,
screenshots serves to illustrate the user interface and adds a unique and innovative dimension to the existing
workflow of the system, providing a visual representation of literature.
how students interact with the web applicationand submit
their exam answers onto the blockchain network. Lastly, our model introduces an auto-grading system that
automates the correction of exams and delivers timely
We acknowledge that desktop-generated screenshots alone grades tostudents. This automation streamlines the grading
may not be sufficient for conducting a comprehensive process, improves efficiency, and enhances the overall
benchmarkinganalysis. However, as our primary emphasis is performance of the system. While auto-grading systems
on the conceptual framework and practical implementation have been explored in various contexts, our integration of
of the proposed model,we believe that the inclusion of these such a system within the proposed architecture, along with
screenshots is appropriate to support the visualization of the other components, contributes to the novelty of our
our innovative approach. research.
To further enhance the credibility and validity of our In conclusion, while individual components of our
research, we plan to conduct future work that includes architecture may not introduce new concepts in data
comprehensive system benchmarking using appropriate security, privacy, or performance, the innovative aspect lies
tools and methodologies. This will allow for a more in- in the integration and combination of these components
depth analysis of the model's performance, scalability, and within the context of online exams. By combining blockchain
other relevant metrics. technology, the Moodle LMS, and an auto-grading system,
our architecture provides a comprehensive solution that
Our main contribution lies in the development of an
balances data security, privacy, andperformance. We believe
integratedmodel that combines blockchain technology, the
that the unique combination of thesecomponents and their
LMS Moodle, and an auto-grading system to address the
integration into the online exam context demonstrates the
This work is licensed under a Creative Commons Attribution 4.0 License. For more information, see https://creativecommons.org/licenses/by/4.0/
This article has been accepted for publication in IEEE Access. This is the author's version which has not been fully edited and
content may change prior to final publication. Citation information: DOI 10.1109/ACCESS.2023.3304995
The last two systems are designed for online testing based
on blockchain for security. Our contribution is represented
in that our module will be applied on Moodle that it is a
complete LMS which provide all features needed for any
FIGURE 3: System Architecture [15]
online institution.
X. Yang et al., 2022, [20] proposed a new verification framework
Fagbola et al., 2013, [17] had proposed a webapp online
designed specifically for centralized ledger databases (CLD).
exams to support the examination process and fix some of
This framework aims to achieve two essential goals: robust
problem that exist in various webapps like automatically
external auditability and rapid verification. The core concept
This work is licensed under a Creative Commons Attribution 4.0 License. For more information, see https://creativecommons.org/licenses/by/4.0/
This article has been accepted for publication in IEEE Access. This is the author's version which has not been fully edited and
content may change prior to final publication. Citation information: DOI 10.1109/ACCESS.2023.3304995
This work is licensed under a Creative Commons Attribution 4.0 License. For more information, see https://creativecommons.org/licenses/by/4.0/
This article has been accepted for publication in IEEE Access. This is the author's version which has not been fully edited and
content may change prior to final publication. Citation information: DOI 10.1109/ACCESS.2023.3304995
M. Abdelsalam et al.: A Proposed Model for Improving the Reliability of Online Exam Results Using Blockchains
After that the exam will be presented to the students to 4: Declare a mapping named "alreadySumitedStudents"
answer it, after answering the exam the students will be
that maps an address to a bool value that is used to view if
asked to confirm the transaction for submitting their
student submitted before or not and view an error message
answers to blockchain network, which is done by
MetaMask Ethereum blockchain wallet, after transaction is if the studentalready submit.
confirmed then student’s answers willbe stored as block in 5: Declare a uint variable named "studentCount" and
the blockchain network which will be secured and can’t be
initialize itto 0.
tempered with. Finally, the admin can nowopen dashboard
to specify the students who have submitted the exam and 6: Define a function named "addStudent" that takes the
their results which will come from the blockchain network. following parameters:
EXPERIMENTAL SETUP DESCRIPTION
- studentId (uint)
In Figure 7, first we will build our smart contract using - name (string)
solidityprogramming languages and Ethereum along with - firstQuestion (uint)
truffle JS to generate our Json file for the contract that will - secondQuestion (uint)
used in Moodle to allow students to submit their questions - thirdQuestion (uint)
answers and grades to be saved in the blockchain.
- fourthQuestion (uint)
- fifthQuestion (uint)
- sixthQuestion (uint)
- finalResult (uint)
- grade (string)
This work is licensed under a Creative Commons Attribution 4.0 License. For more information, see https://creativecommons.org/licenses/by/4.0/
This article has been accepted for publication in IEEE Access. This is the author's version which has not been fully edited and
content may change prior to final publication. Citation information: DOI 10.1109/ACCESS.2023.3304995
M. Abdelsalam et al.: A Proposed Model for Improving the Reliability of Online Exam Results Using Blockchains
This work is licensed under a Creative Commons Attribution 4.0 License. For more information, see https://creativecommons.org/licenses/by/4.0/
This article has been accepted for publication in IEEE Access. This is the author's version which has not been fully edited and
content may change prior to final publication. Citation information: DOI 10.1109/ACCESS.2023.3304995
M. Abdelsalam et al.: A Proposed Model for Improving the Reliability of Online Exam Results Using Blockchains
FIGURE 12: the code of Error message to enter account private key
In Figure 15, the system retrieves the private key that the
studenthas imported. Subsequently, it obtains the account IDs
within the college or university network. Using the
imported private key, the system generates the student's
FIGURE 13: Get generated account private key
account ID. It then proceeds to verify whether this account ID
belongs to the network by checking its existence within the
In Figure 14, students will import their private key, which network database. This step ensures that the account ID
is provided by the college, to authenticate their affiliation provided by the student is valid andauthorized within the
with thespecific college network. This authentication step specific college or university network.
ensures thatthe student is a valid member of the college's
network and prevents unauthorized access from students
belonging to othercolleges or universities. By importing the
private key, students
This work is licensed under a Creative Commons Attribution 4.0 License. For more information, see https://creativecommons.org/licenses/by/4.0/
This article has been accepted for publication in IEEE Access. This is the author's version which has not been fully edited and
content may change prior to final publication. Citation information: DOI 10.1109/ACCESS.2023.3304995
M. Abdelsalam et al.: A Proposed Model for Improving the Reliability of Online Exam Results Using Blockchains
If the account ID does not belong to the network, an error will not be deducted, and an error message will be displayed
popup message, like the one shown in Figure 16, will be tothe student.
displayed to the student, prompting them to import the
private key providedby the college. Importantly, this entire
It's important to note that the transaction amount is only
process takes place without storing the account ID or deductedwhen both the transaction and data blocks are fully
private key in a centralized database where they can be generated andverified. This ensures that the data is securely
potentially accessed or manipulated.By avoiding centralized and accurately submitted to the smart contract and saved
storage, the system ensures the securityand integrity of the as a block in the blockchain network. The decentralized
student's personal information and authentication details. nature of the blockchainnetwork makes it highly resistant
to modifications or hacking attempts, thus ensuring the
integrity and immutability of the submitted data.
Once the student has completed all the exam questions, a Once the transaction has been successfully added as a block
popup will appear, seeking the student's permission to in the blockchain network, if the student attempts to
initiate a cryptographic transaction. This transaction aims to resubmit theexam answers through any means, MetaMask
securely store the student's answers on the blockchain will prevent anyfurther transactions and display an error. If
network. The transaction process is facilitated through the the student confirms their intention to proceed with the
MetaMask Ethereum Wallet, as illustrated in Figure 17. submission despite this error,a popup message will appear,
indicating that the user has alreadysubmitted their answers,
Upon successful completion of the transaction, a hash is like the example shown in Figure 18. This prevents
generated, serving as proof of the student's transaction on duplicate submissions and ensures that each student's
the blockchain. In the event of a failed transaction where a exam answers are recorded accurately and only once
block hash is not generated, the corresponding within the blockchain network.
cryptocurrency amount10
This work is licensed under a Creative Commons Attribution 4.0 License. For more information, see https://creativecommons.org/licenses/by/4.0/
This article has been accepted for publication in IEEE Access. This is the author's version which has not been fully edited and
content may change prior to final publication. Citation information: DOI 10.1109/ACCESS.2023.3304995
M. Abdelsalam et al.: A Proposed Model for Improving the Reliability of Online Exam Results Using Blockchains
FIGURE 19: How error message appears show up if user submits again
CASE STUDY
We conducted a case study with 30 students enrolled in message prompting them to insert their private key.We
the Business Information Systems (BIS) program at the
College ofCommerce and Business Administration, Helwan encountered another issue where some students attempted
University in Cairo, Egypt. The focus of the study was the to use private keys obtained from the internet or other
Internet Application (IA) exam for the academic year. To departments within the university. However, the system
ensure the security of theonline exam results, we integrated
our module into the MoodleLearning Management System verified every privatekey, extracting the student's account ID
(LMS). and checking if it belonged to the college network. If the
account ID did not matchthe college network, an error popup
Each student received a unique username, password, and
message was shown, directing the students to insert the
privatekey from the college. The private key was required
private key provided by theircollege.
for submitting answers to the blockchain network. The exam
processbegan with students logging into the Moodle LMS and Once the students began the exam, they answered the
selectingthe course for the exam. If a student forgot to enter questions presented randomly, utilizing the features
their privatekey into the MetaMask wallet before starting available in the Moodle LMS. After completing all the
the exam, the system detected this and displayed a popup questions, the students submitted their answers to the
This work is licensed under a Creative Commons Attribution 4.0 License. For more information, see https://creativecommons.org/licenses/by/4.0/
This article has been accepted for publication in IEEE Access. This is the author's version which has not been fully edited and
content may change prior to final publication. Citation information: DOI 10.1109/ACCESS.2023.3304995
M. Abdelsalam et al.: A Proposed Model for Improving the Reliability of Online Exam Results Using Blockchains
their account ID, preventing duplicate submissions. As a designed dashboard to access the students' exam results.
result,their wallet transactions failed, and an error message This dashboard directly retrieves the results from the
wasdisplayed to them. blockchain network, as depicted in Table 1. The utilization of
Upon successful submission of their answers to the blockchain in storing examination data has demonstrated
blockchain network, a new block containing the student's successful implementation in this case study, ensuring
exam final resultand their answers was created and added transparency and accuracy. This approach was seamlessly
to the blockchain network. This block and its details can be integrated with one of the most renowned Learning
viewed through Ganache, as shown in Figure 20. Management Systems (LMS).
The conducted exam in our case study exemplifies the
reliability and transparency of storing data on the
blockchain network. Throughout the study, the data
remained 100 percent accurate, with no instances of data
loss. The system proved to be highly reliable and secure,
effectively safeguarding against unauthorized access and
manipulation.
This paper establishes that adopting blockchain technology
for storing examination data can offer a trustworthy and
secure solution, enhancing the integrity and transparency
of the assessment process. By leveraging the capabilities of
FIGURE 20: New block being added after submitting the data a well- established LMS and incorporating blockchain
technology, the case study successfully demonstrates the
Once the students have submitted their exam answers to potential benefits of this approach in the context of
the blockchain network, administrators can log in to a academic examinations.
specially
content may change prior to final publication. Citation information: DOI 10.1109/ACCESS.2023.3304995
M. Abdelsalam et al.: A Proposed Model for Improving the 9:13 PM of Online Exam Results Using Blockchains
Reliability
This work is licensed under a Creative Commons Attribution 4.0 License. For more information, see https://creativecommons.org/licenses/by/4.0/
This article has been accepted for publication in IEEE Access. This is the author's version which has not been fully edited and
content may change prior to final publication. Citation information: DOI 10.1109/ACCESS.2023.3304995
M. Abdelsalam et al.: A Proposed Model for Improving the Reliability of Online Exam Results Using Blockchains
PROBABILITY OF FAILURE:
After conducting our case study, we proceeded to compare
the performance of the system before and after The probability of data loss, unavailability, or removal from
implementing blockchain security measures. the network is significantly reduced when utilizing the
In the traditional system without blockchain, the storage blockchain network. This is due to the inherent
and management of examination data relied on centralized characteristics of blockchain technology where data is
databases or servers. This approach often introduced distributed across multiple nodes. As aresult, the probability
vulnerabilities, such as potential data loss, unauthorized of failure is nearly impossible compared to centralized
access, or manipulation. The system's reliance on a
centralized authority also limited transparency and made it
databases. Each node in the blockchain network
difficult to ensure the integrity of theexamination process. contains a copy of the data, ensuring its availability and
In contrast, after implementing blockchain technology to resilience.
secure the system, we observed several notable
improvements. First and foremost, the decentralized nature In contrast, centralized databases are more vulnerable to
of the blockchain network provided enhanced security and data removal or damage by malicious actors. A single point of
eliminated the risk of a single point of failure. The use of failurecan lead to the loss of data or compromise its integrity.
cryptographic techniques ensured the immutability of data However,with blockchain, the decentralized and distributed
stored on the blockchain, making it virtuallytamper-proof. nature of thenetwork ensures that data remains secure and
The transparency of the blockchain network allowed for protected.
increased accountability and trust in the examination
process. Each transaction and block on the blockchain By adopting blockchain in the Moodle eLearning system, we can
could be independently verified, providing an audit trail of greatly enhance data security and reliability. Blockchain
all student submissions and results. This transparency also technology secures the data through cryptographic
minimized thepotential for fraud or manipulation. techniques,making it highly trustworthy. Figure 22 visually
Furthermore, the integration of the blockchain with the illustrates thebenefits of using blockchain in ensuring data
existing Learning Management System (LMS) provided a security and integrity within the Moodle eLearning system.
seamless userexperience. Students could securely submit
their answers to the blockchain network, ensuring the Overall, the use of blockchain in the Moodle eLearning
authenticity and integrity of their submissions. Admins systemsignificantly mitigates the risks associated with data
could easily access the exam results through a dedicated loss, unavailability, and unauthorized manipulation. It
dashboard that directly retrieved data fromthe blockchain provides a robust and resilient framework that enhances the
network. security and trustworthiness of the data, ultimately
benefiting the entire eLearning ecosystem.
Overall, our comparison between the traditional system
and the blockchain-secured system highlighted the
numerous advantages of incorporating blockchain
technology in the context of examination data
management. The blockchain approach provided
improved security, transparency, reliability, and
protection against unauthorized access or manipulation.
Thesefindings demonstrate the potential of blockchain in
revolutionizing the way examination data is stored and
managed, ultimately enhancing the overall examination
process.
LEVEL OF TRANSPARENCY:
This work is licensed under a Creative Commons Attribution 4.0 License. For more information, see https://creativecommons.org/licenses/by/4.0/
This article has been accepted for publication in IEEE Access. This is the author's version which has not been fully edited and
content may change prior to final publication. Citation information: DOI 10.1109/ACCESS.2023.3304995
M. Abdelsalam et al.: A Proposed Model for Improving the Reliability of Online Exam Results Using Blockchains
CONCLUSION
This work is licensed under a Creative Commons Attribution 4.0 License. For more information, see https://creativecommons.org/licenses/by/4.0/
This article has been accepted for publication in IEEE Access. This is the author's version which has not been fully edited and
content may change prior to final publication. Citation information: DOI 10.1109/ACCESS.2023.3304995
M. Abdelsalam et al.: A Proposed Model for Improving the Reliability of Online Exam Results Using Blockchains
REFERENCES
Mohamed Abdelsalam is currently a lecturer in
[1] Gautam. S.S., Tiwari. M. K. "Components and benefits of E-learning
Information Systems Department, Faculty of
system," International Research Journal of Computer Science (IRJCS),
Commerce & Business Administration, Helwan
vol. 3, no. 01, p. 14-17 January 2016.
University, Cairo, Egypt. He received his master’s
[2] A. Z. Al Rawashdeh, E. Y. Mohammed, A. R. Al Arab, M. Alara, B. Al-
degree in information technology from Faculty of
Rawashdeh, and B. Al-Rawashdeh, “Advantages and Disadvantages of
Computers & Information, Helwan University, Cairo,
Using e-Learning in University Education: Analyzing Students’
Egypt in 2013. His Master Project on A proposed
Perspectives,” Electronic Journal of e-Learning, vol. 19, no. 3, pp. 107–
framework for applying Business Intelligence to
117, May 2021, doi: 10.34190/ejel.19.3.2168
enhance Ontology learning style and he received his
[3] Mohd. E. Eltahir, N. R. Alsalhi, and S. S. Al-Qatawneh, “Implementation
of E-exams during the COVID-19 pandemic: A quantitative study in Ph.D. in information systems in July 2018, in the area of Constructing Virtual
higher education,” PLOS ONE, vol. 17, no. 5, p. e0266940, May 2022, Reality E-learning Environment Framework Based on Personalized Learning.
doi: 10.1371/journal.pone.0266940 he has teaching experience of more than 10 years in the areas of information
[4] Z. Zheng, S. Xie, H. Dai, X. Chen, and H. Wang, “An overview of systems. he published several researches in various fields in information
blockchain technology: Architecture, Consensus, and future trends,”
systems. My research interests include Data Analytics, Data Mining, Machine
2017 IEEE International Congress on Big Data (BigData Congress),
2017. Learning, E-Learning solutions, Data Science, and Data warehousing,
[5] A. Rosic Smart contracts: the Blockchain Technology that will replace Blockchain.
Lawyers, Blockgeeks, Italy, 2017.
[6] Buterin V. A next-generation smart contract and decentralized application
Amira M. Idrees she is a professor in information
platform. 2017. https://github.com/ethereum/wiki/ wiki/White-Paper/.
systems. she has been the head of scientific
Accessed 19 Feb 2017.
departments and the vice dean of the community
[7] A. M. Antonopoulos and G. W. Ph. D., Mastering Ethereum. 2018.
services and environmental development, Faculty of
[8] Metamask Inc, Metamask, Website Https://Metamask.Io/.
Computers and Information, Fayoum University. She
[9] Moodle - Open-source learning platform | Moodle.org,” Moodle - Open-
is currently a professor in the Faculty of Computers
source learning platform | Moodle.org. https://moodle.org.
and Information Technology in Future University, the
[10] S. H. Gamage, J. R. Ayres, and M. B. Behrend, “A systematic review on
trends in using Moodle for teaching and learning,” International Journal head of IS department and the head of University
of STEM Education, vol. 9, no. 1, 2022. Requirements Unit. Her research interests include
[11] A. Jabbar and S. Dani, “Investigating the link between transaction and
computational costs in a blockchain environment,” International Journal Knowledge Discovery, Text Mining, Opinion Mining, Cloud Computing, E-
of Production Research, vol. 58, no. 11, pp. 3423–3436, 2020. Learning, Software Engineering, Data Science, and Data warehousing.
[12] X. Yang et al., “LedgerDB,” Proceedings of the VLDB Endowment, vol.
13, no. 12, pp. 3138–3151, Aug. 2020, doi: 10.14778/3415478.3415540.
[13] A. Jain, A. Kumar Tripathi, N. Chandra, και P. Chinnasamy, ‘Smart Marwan Shokry was born in Cairo, Egypt in 1996.
contract enabled online examination system based in blockchain He received his bachelor's degree in commerce and
network’, στο 2021 International Conference on Computer business administration from Business Information
Communication and Informatics (ICCCI), Coimbatore, India, 2021. Systems, Faculty of Commerce & Business Administration,
[14] Yuan Zhenming, Zhang Liang, and Zhan Guohua, “A novel web-based Helwan University, Cairo, Egypt, in 2018.
online examination system for Computer Science Education,” 33rd
Annual Frontiers in Education, 2003. FIE 2003., Nov. 2003. He is currently pursuing Master degree in commerce
[15] Prof. H. B. Shinde, “Exam Conduction and Proctoring System Using and business administration at Helwan university,
Face Detection,” INTERANTIONAL JOURNAL OF SCIENTIFIC Cairo, Egypt.
RESEARCH IN ENGINEERING AND MANAGEMENT, vol. 06, no. 01,
Jan. 2022, doi: 10.55041/ijsrem11444. From 2018 to 2019, He was teaching assistant in
[16] M. Z. Rashad, M. S. Kandil, A. E. Hassan, και M. A. Zaher, ‘An Arabic Business Information System. He is currently a Full stack developer with
web-based exam management system’, International Journal of Electrical Software Department in Santeon Group Software Company. His current
& Computer Sciences IJECS-IJENS, 2010. research interest includes blockchain network, cryptocurrency, universities
[17] T. M. Fagbola, A. A. Adigun, and A. O. Oke, “Computer-Based Test (Cbt) networks and network security
System For University Academic Enterprise Examination,” Int. J. Sci.
Technol. Res., vol. 2, no. 8, 2013.
[18] Rooksby and K. Dimitrov, “Trustless education? A blockchain system for
university grades1,” Ubiquity: The Journal of Pervasive Media, vol. 6,
no. 1, pp. 83–88, Nov. 2019, doi: 10.1386/ubiq_00010_1
[19] S. J. Pee, E. Seon Kang, J. G. Song and J. Wook Jang, "Online test and
management system using blockchain network," 2019 21st International
Conference on Advanced Communication Technology (ICACT), 2019,
pp. 269-272, doi: 10.23919/ICACT.2019.8701891.
[20] X. Yang et al., "Ubiquitous Verification in Centralized Ledger Database,"
2022 IEEE 38th International Conference on Data Engineering (ICDE),
Kuala Lumpur, Malaysia, 2022, pp. 1808-1821, doi:
10.1109/ICDE53745.2022.00181.
This work is licensed under a Creative Commons Attribution 4.0 License. For more information, see https://creativecommons.org/licenses/by/4.0/
APPENDIX C
CERTIFICATES