This is an Api Based marking guide app/script for each Subject then output the score based on paper Submission. Best practices using Lumen.
Parameters
- Subject - UNIQUE
- Question No - UNIQUE
- Question
- Correct Answer - StrtoUpper conversion during processing
- Answer Choice/corresponding answers - StrtoUpper conversion in process
Methods
- Create a new marking guide for A SUBJECT
- Save a created making guide and it override if there is an exiting making guide
- Store a new marking guide in a file or array for each subject
- Delete a marking guide
- list all marking guide(within the store methods)
- Create Student Paper(A unique submission is made by a student)
- Score Output- Answers Comparison from marking guide and student paper submission and then output score
- Quit(End the loop )
Note: Store Format: multidimensional-array with key value pair:Subject: question no, correct answer;
Note:(a subject can have one marking guide)
References class Paper
into its class constructor using dependency injection.
Note:(a student can only take a subject)
References class Paper
into its class constructor using dependency injection.
- Create a new marking guide
- Save (/ Override if existing) the marking guide
- Store a new marking guide
- Remove/Delete a marking guide
- List all available marking guide
- Score a paper and output the score and a percentage
- Quit!
In order to start using the application, navigate to the MarkingGuideScript
directory on the local machine and run php run.php
in your directory commandline/terminal to get started
Laravel Lumen is a stunningly fast PHP micro-framework for building web applications with expressive, elegant syntax. We believe development must be an enjoyable, creative experience to be truly fulfilling. Lumen attempts to take the pain out of development by easing common tasks used in the majority of web projects, such as routing, database abstraction, queueing, and caching.
Documentation for the framework can be found on the Lumen website.
Thank you for considering contributing to Lumen! The contribution guide can be found in the Laravel documentation.
If you discover a security vulnerability within Lumen, please send an e-mail to Taylor Otwell at [email protected]. All security vulnerabilities will be promptly addressed.
The Lumen framework is open-sourced software licensed under the MIT license. "# LumenPaperGuideApi"