P4 Makeup: MLQ Scheduler
- Due Nov 25, 2019 at 5pm
- Points 17
- Questions 17
- Available until Nov 26, 2019 at 5:30pm
- Time Limit 30 Minutes
- Allowed Attempts 2
Instructions
This quiz aims to examine your understanding of core concepts in xv6 related to Project 4 as well as your familiarity with the project requirements. In order to be able to answer these questions, you need to read the project specifications carefully and thoroughly, and obtain a basic understanding of how processes are handled in xv6. Hint: it would be highly advisable to familiarize yourself with all the functions in proc.c and understand their purposes.
Note that you will have a 30 minute time limit for this quiz, so you may want to look through the source code before you begin.
Feel free to look at the specification and the source code while answering these questions.
The purpose of this quiz is to give a small number of additional points (a maximum of 35 bonus points) to students who received 70 points or fewer on Project 4. If you received 70 or more points, you can take this quiz, but it won't impact your P4 grade.
The maximum points that can be added to your Project grade will be scaled, so that students who did worse receive relatively more points (but cannot score better than someone who scored higher when implementing this project).
For example, if you received a 0 on this project, scoring 100% on this quiz will give you 35 points. If you received a 20, scoring 100% will give you a total of 20 + 25 = 45 points.
Original Points | Max Bonus (70 - original) / 2 | Possible Final Points |
0 | 35 | 0 + 35 = 35 |
10 | 30 | 10 + 30 = 40 |
20 | 25 | 20 + 25 = 45 |
30 | 20 | 30 + 20 = 50 |
40 | 15 | 40 + 15 = 55 |
50 | 10 | 50 + 10 = 60 |
60 | 5 | 60 + 5 = 65 |
70+ | 0 | 70 + 0 = 70 |
If you like formulas, this is what it is:
new final points = max((70-original points)/2, 0) * % of quiz points + original points
You can only take this quiz one time and the correct answers will not be shown at this time. You have a 30 minute time limit for this quiz.
This is an experiment. In the future, we hope to have these types of questions as a warm-up to start each project.