Exam Questions Flashcards
What size quantum should you use for round robin and why? What is the relationship between size of quantum and context switching?
This has issues as switching processes wastes time. Setting quantum to long means slow response. Good rule is 20-50ms. Short quantum - good for interactive systems, good response, poor throughput Long quantum - good for batch systems, bad response, good throughput
Explain components of virtual addresses, know how to map virtual and physical pages, what is layout of virtual and physical memories? How big is page table? Be able to do calculations
Last bits are for page size and frame size, the remaining bits are the numbers of pages and frames. Last bits being those in the offset range. So if we remove any offset values, we can then say that what’s left is the page number. This is index into page table. Number of page table entries = (Number of bits in physical address - offset) bits
Explain Diagram of Virtual Memory
You have a screenshot of this. Beginning of lecture on April 8
Calculate number of page faults
…
What’s the relationship between the working set and the size of the page? What sort of page size would you use?
….
Access modify change times - what’s going on? Using stat command
lab task
structure of files
the boot block (block 0): contains code to bootstrap the system the super block (block 1): contains summary information for the file system (where to find everything else) blocks for a fixed number of inodes blocks for file data (each block contains a fixed number of disk sectors) read tannebaum
how do we use chmod and how do we change read write execute permissions in unix
…
What happens if i change permission on directory to non execute
..
What is going on with ssh? How do i log into dimefox?
ssh dimefox.eng.unimelb.edu.au`
What is the max possible file size in bytes of the linux ext2 file system given: 10 data blocks with direct addresses 1 single indirect block 1 double indirect block 1 triple indirect block Assume disk blocks are 1KB and pointes to disk blocks are 4 bytes
Use screencap Sun 5 july 4:05pm. 10*1KB: 10KB 1KB + 8 bytes… google
Write Dekker’s algorithm and explain it
….
Protocol stack
do lab tasks
define packet switching, speak about pros and cons
see other cards
http is a protocol. so when you enter an address how does it get to your machine?
contact dns server to get IP address or resource, then displays requested file. …… …..