$30
INSTRUCTOR MENU
1. Add class material
2. Add assessments
3. View lecture materials
4. View assessments
5. Grade assessments
6. Close assessment
7. View comments
8. Add comments
9. Logout
STUDENT MENU
1. View lecture materials
2. View assessments
3. Submit assessment
4. View grades
5. View comment
6. Add comments
7. Logout
In the sample case below, when we say {INSTRUCTOR MENU} and {STUDENT MENU}, consider the above-mentioned statements in place.
Note:
1. zip and .mp4 file extension must be maintained where required. The input format specified above should not be violated. This means, if a student enters “submission.rar” for an assignment, it is not a valid submission and should not be accepted.
Other than that no error handling is required.
Sample Test Case:
Welcome to Backpack
1. Enter as instructor
2. Enter as student
3. Exit
1 Instructors:
0 - I0
1 - I1
Choose id: 0
Welcome I0
{INSTRUCTOR MENU}
1. Add Lecture Slide
2. Add Lecture Vide
Enter topic of slides: Slide 1
Enter number of slides: 2
Enter content of slides
Content of slide 1: Content 1
Content of slide 2: Content 2
welcome I0
{INSTRUCTOR MENU}
1. Add Lecture Slide
2. Add Lecture Video
Enter topic of video: Lecture 1
Enter filename of video: lecture1.mp
Welcome I0
{INSTRUCTOR MENU}
1. Add Assignment
2. Add Quiz
Enter problem statement: Assignment 1 problem
Enter max marks: 5
Welcome I0
{INSTRUCTOR MENU}
1. Add Assignment
2. Add Quiz
Enter quiz question: Name a language which supports OOPS?
Welcome I0
{INSTRUCTOR MENU}
Enter comment: Welcome to the course
Welcome I
{INSTRUCTOR MENU}
Welcome to Backpack
1. Enter as instructor
2. Enter as student
3. Exit
Students:
0 - S0
1 - S1
2 - S2
Choose id: 0
Welcome S0
{STUDENT MENU}
Title: Slide 1
Slide 1: Content 1
Slide 2: Content 2
Number of slides: 2
Date of upload: Thu Oct 14 23:25:25 IST 2021
Uploaded by: I0
Title of video: Lecture 1
Video file: lecture1.mp4
Date of upload: Thu Oct 14 23:25:39 IST 2021
Uploaded by: I0
Welcome S0
{STUDENT MENU}
ID: 0 Assignment: Assignment 1 problem Max Marks: 5
ID: 1 Question: Name a language which supports OOPS? S0
{STUDENT MENU}
Pending assessments
ID: 0 Assignment: Assignment 1 problem Max Marks: 5
ID: 1 Question: Name a language which supports OOPS?
Enter ID of assessment: 0
Enter filename of assignment: assign1_s0.zip
Welcome S0
{STUDENT MENU}
Graded submissions
ungraded submissions
Submission: assign1_s0.zip
Welcome S0
{STUDENT MENU}
Welcome to Backpack
1. Enter as instructor
2. Enter as student
3. Exit
Students:
0 - S0
1 - S1
2 - S2
Choose id: 1
Welcome S1
{STUDENT MENU}
Welcome to Backpack
1. Enter as instructor
2. Enter as student
3. Exit
Instructors:
0 - I0
1 - I1
Choose id: 1
Welcome I1
{INSTRUCTOR MENU}
List of assessments
ID: 0 Assignment: Assignment 1 problem Max Marks: 5
ID: 1 Question: Name a language which supports OOPS? ----------------
Enter ID of assessment to view submissions: 0
Choose ID from these ungraded submissions
0. S0
1. S1
0 Submission:
Submission: assign1_s0.zip
Max Marks: 5
Marks scored: 5
Welcome I1
{INSTRUCTOR MENU}
list of Open Assignments:
ID: 0 Assignment: Assignment 1 problem Max Marks: 5
ID: 1 Question: Name a language which supports OOPS?
Enter id of assignment to close: 1
Welcome I1
{INSTRUCTOR MENU}
Welcome to Backpack
1. Enter as instructor
2. Enter as student
3. Exit
Students:
0 - S0
1 - S1
2 - S2
Choose id: 0
Welcome S0
{STUDENT MENU}
No pending assessments
Welcome S0
{STUDENT MENU}
Graded submissions
Submission: assign1_s0.zip
Marks scored: 5
Graded by: I1
Ungraded submissions
Welcome S0
{STUDENT MENU}
Enter comment: Hello I am a student
Welcome S0
{STUDENT MENU}
Welcome to the course - I0
Thu Oct 14 23:26:26 IST 2021
Hello I am a student - S0
Thu Oct 14 23:32:47 IST 2021
Welcome S0
{STUDENT MENU}
Welcome to Backpack
1. Enter as instructor
2. Enter as student