Project Automatic Question Paper Generator - mandaaparna/WEB GitHub Wiki
AUTOMATIC QUESTION PAPER GENERATOR APPLICATION
Group Members: Ramya Boyapati Aparna Manda Kishan Koushik Donthineni Lohitha Yenugu
School of Computing & Engineering
University of Missouri - Kansas City
Contents:
-
Contributors
-
Scope
-
Objective
-
Methodology
i. Phases
ii. Software’s and Libraries
-
Code Snippets
-
Implementation
-
Conclusion
-
Links
-
References Contributors: This report contains entire documentation that is required for the project. Project was done by Ramya Boyapati, Aparna Manda, Kishan Koushik Donthineni, Lohitha Yenugu currently pursuing Web/Mobile Programming course.
Scope: As Education being one of the most important sector, it requires technological stuff compared to other sectors. Question Paper Creation is a tedious and time consuming task. This system addresses this issue.
Objectives: Faculty: -Signup to the application and select the courses to generate question paper -Navigate to Questions List, to add Descriptive/Multiple Choice Questions per course basis -Navigate to Student List, to view the list of students enrolled into courses -Go to courses, to generate question paper
Student: -Sign up to the application and enroll into courses -Navigate to Enrollment to view the courses enrolled
Methodology: Phase 1: Database Design and User Registration Created database objects in Mongo DB.
- CourseSchema
- DescriptiveQuestionsSchema
- FacultySchema
- FacultyCourseSchema
- FacultyCourseQuestionsSchema
- FacultyQuestionPaperSchema
- MultipleQuestionsSchema
- StudentSchema
- StudentAnswersSheetSchema
- StudentCourseSchema
Created Student and Faculty, Login and Signup pages.
Phase 2: Faculty Module Created pages
- My Profile
- Courses
- Student List
- Questions List
- Add Questions
- Generate Paper
Phase 3: Student Module Created pages
- My Profile
- Enrollments
- Assignments
Software and Libraries: MEAN Stack Mongo DB Node.js Express.js
Code Snippets:
The above code is written to list the available courses for the logged in student and also lists the courses the student is already enrolled into.
The above code is written to add Descriptive Questions and Multiple Choice questions to the respective database tables. It first retrieves data from html elements and is posted to the tables.
The above code fetches all the records for the selected course and for the given difficulty level. It then runs random function on these records to generate questions. This is repeated for different levels of difficulty.
The above code is used to hide the navigation bar and to update the profile of the user.
Implementation: • This is the User Registration page
• On clicking Student Login, Student signs up using this page
Now, Student can login into the application with his credentials
• On clicking Faculty Login, Faculty signs up using this page and selects list of courses to generate question paper from the available list
This is the Student’s Profile page where student can update his details or delete his record.
• Navigation bar is collapsible allowing to view the details in full page mode
Enrollments page displays list of courses available and student can enroll to the courses
• Student List page shows the list of students enrolled into the selected course offered by logged in Faculty
Questions List page lists all the questions (Descriptive and Multiple Choice) added by the Faculty for the selected course. The ‘+’ button allows the Faculty to add questions.
• Model window to add Multiple Choice Question
Model window to add Descriptive Question
• Here, the added questions are listed for the selected course
Courses page shows list of courses the faculty signed for and allows to generate Question Paper for the respective course. Model window shows up on clicking ‘Generate Paper’.
• Model window to generate paper with Multiple Choice questions
• Modal window to generate paper with Descriptive Questions
• This is the generated paper for the given input
Conclusion: In this project, an automated Question Paper is generated which is implemented using MEAN stack technology. We have also considered the importance of randomization in the task of paper generation. Our project uses randomized method to generate questions, making it impossible to derive any pattern in the papers. We distinguished between faculty and students by their tasks.
Links: Github Link: https://github.com/mandaaparna
References: https://stackoverflow.com/questions/3087975/make-the-cursor-a-hand-when-auser-hovers-over-a-list-item https://blog.angular-university.io/angular-material-dialog/ https://stackoverflow.com/questions/28175381/how-to-access-json-array-object-inhtml-using-angular https://www.w3schools.com/angular/ng_ng-repeat.asp https://stackoverflow.com/questions/43289366/angular2-routing-the-requestedpath-contains-undefined-segment-at-index-1