Course: Operating systems
Year: 2023
A1. The assignment exercises are all exercises in the lab slides for the corresponding week (excluding examples). For instance, you have 4 exercises for lab 01.
A2. No, you just create a new folder for each week and put the solutions of the exercises inside that folder for that week.
A3. Yes, since each TA will check part of the assignment. Your work will be penalized if you didn't add any of them.
A4. We don't allow such thing since the assignments are individual and your work will be penalized if we catch any plagiarism.
A5. Yes, it clarifies what you should submit. If you change the file names or file extensions, then those files won't be graded. If you missed submitting some required files, then your work will be penalized.
A6. Yes, but it's recommended to run them on Linux based OS. On MacOS, you will see different output for some exercises, but you should state explicitly inside the work that you're using MacOS to avoid confusing the graders.
A7. No, it depends on the complexity of the exercise.
A8. Each TA will grade part of the assignment. Based on specific grading criteria, we will assign points to your assignment. The grading criteria are contextual and should be tailored to the assignment itself.
The general grading criteria are: 1) you will get 0 if you didn't submit, submitted late, or the last commit time exceeded the deadline + a plagiarism is detected. 2) you will get full grade if your solution is fully correct and satisfies all requirements.
A9. No, we are aware of that, and your work will not be reported as plagiarized for these cases.
A10. No, just submit the source code main.c and the compiled program ex4
A11. It's not important where to open the repository. If you opened the repository in home directory, then you don't need to do any additional work. But if you opened it in a different directory, then you need to copy the folder week1 to this directory after finishing the exercises in order to push it to the remote repository.
A12. You should use the format weekXX since you have more than 10 labs. For exYY format, you should stick to the format mentioned in the slides (ex1, ex2…etc). The submission instructions on Moodle are general and they are overrided by the requirements of the exercises.
A13. Don't create any new branch, keep the default and both are acceptable.
A14. We meant to sort by last modified datetime of the folder entries (file and folder).
A15. You should search then sort then list last 5 entries. Return to the exercise to check the required criteria for sorting and searching.
A16. Some commands where some means at least one command.
A17. No, it's mentioned in the exercise that you need to put these files inside new folders, so you need to create folders too. But you don't need to submit the folders. In case you submitted the folders which contain the required files, then it's fine! We accept any additional work.
A1. No, the ex1 has two parts, the first part is to let two processes (called publisher and subscriber) to communicate using a pipe, but these two processes are created from the same program channel.c. After finishing the first part, you don't need to use it for the second part and the rest of the exercise is for the second part. In the second part, you have a similar story, but the communication method is different and the processes are created from separate programs. The second part includes publisher.c, subscriber.c and ex1.sh. In this part, you cannot use pipe since you have separate programs, we asked you to use named pipe to accomplish the communication between the processes created from programs subscriber.c and publisher.c
(please, attend the labs if you want to understand the exercises)
A2. It's up to you
A3. We are tolerant for such compatibility issues as TA. Don't worry, and use the one that works for you. I'm personally using gnome-terminal on Ubuntu 22.04.1
A4. Yes, the publisher publishes the message got from stdin. The subscriber should read the message from the named pipe (IPC mechanism) and print it in stdout. We are interested here to get the messages in order and without duplicates or losses. The delay here is acceptable