Homework
COP-5611 Operating Systems Design Principles
Table of Contents
Overview
Finding the homework problems and code:
- Get the homework code repository
- Find the homework problems in the given chapter of OSTEP
- For problems requiring you to run code, find where that code is here
- Submit your answers to webcourses
Homework is assigned on the same day the topic is covered and due the following week (see the syllabus for detailed information about due dates and grading).
Assignments
Topic 4
- Chapter 13 (code) choose six to do out of 1-8
- Chapter 14 (code) 1-2, 6-7 (valgrind is optional)
- Chapter 15 (simulation) choose 2 out of 1-5
Topic 6
Setup a virtual machine with virtualbox and vagrant on your computer.
- Install VirtualBox https://www.virtualbox.org/wiki/Downloads
- Install Vagrant https://www.vagrantup.com/downloads
Setup and use the virtual machine
- Open your command-line shell
- Create and navigate to a new folder
- Run
vagrant init ubuntu/bionic64
to initialize the VM - Run
vagrant up
to boot the VM - Run
vagrant ssh
to enter your box /vagrant
is synced to the folder where you put the Vagrantfile (cd /vagrant
)exit
or Ctrl-D to leave the ssh session- To shutdown the machine,
vagrant ssh
to enter the box again and usesudo shutdown -h now
. Alternatively, usevagrant halt
to force a shutdown when not logged into the VM. - (optional)
vagrant destroy
will tear down the VM, making it no longer useable.
If you are not running GNU/Linux, you may want to use the VM for homework exercises.
Once finished the above steps (except for 9) write “I have installed and used virtualbox and vagrant, and created, started, and stopped a virtual machine as described in the homework” in the homework answer.
Topic 10
Use gpg
to encrypt this message with this public key . Be sure to use the ASCII armor flag --armor
to be sure the output is ASCII text. Submit this encrypted file for the homework.