Extra Lab (Sample for End Semester Exam)
- Activate the advanced operating systems environment on your computer.
- Open a new
Python 3 notebook. - Rename the notebook as
<your roll number>_extralab - Do the tasks given below in the notebook.
- Once you are done, email the notebook to
chakravarthybhagvati@uohyd.ac.in with the subject line containing the phraseExtra Lab - Follow the instructions exactly as given.
Task AOS-I:
Read theTask AOS-II:
Open another cell in your notebook and turn into aTask AOS-III:
Write a function to calculateYou may use the predefined python module workingsets for generating address strings of specified length. Download this module into your current working directory. You can invoke it as
ws.gen_addr_refs(size)
- Open a cell in your notebook.
- Import the
workingsets module. - Generate an address string of length 10000 by calling it appropriately.
- Calculate the working set for
time = 1000, window = 128 .