Studying for Operating system, trying to figure out which term matches with the
ID: 3762250 • Letter: S
Question
Studying for Operating system, trying to figure out which term matches with the definitions provided above. Want to see if I got it correct.
1. Within a UNIX filesystem, one inode can be referred to by many different pathnames (filenames). What is another term for these names?
a) hard links
b) symbolic links
c) URLs
d) all of the above
2. A modern monolithic operating system kernel typically implements
a) scheduling & address space management
b) some device drivers
c) a TCP/IP stack
d) All of the above
3. An OS that is based upon a microkernel architecture will typically:
a) have most device drivers and filesystem code run within separate userspace processes
b) have most OS code run in CPU supervisor mode
c) support loadable kernel modules
d) All of the above
4. A typical executing application is best described as a:
a) kernel
b) process
c) thread
d) system call
5. When a running program X requests data from a file F whose contents are on disk, the OS will:
a) save X's current state
b) schedule a disk request for F's data blocks
c) load the state of another ready-to-run program Y (which may be X)
d) All of the above
6. When a regular process is running on a single-CPU system, all of the following are true except:
a) The kernel is running.
b) Disks can be writing data to memory.
c) The CPU will generate an exception (software interrupt) if certain addresses are accessed.
d) The CPU is in user mode.
7. Modern virtual memory systems:
a) Logically divide RAM into fixed-sized chunks
b) Store portions of processes on disk
c) Allocate a logical address space to each process that is distinct from the physical memory map
d) All of the above
8. The ``dirty bit in a page table entry indicates that:
a) A security violation has occurred
b) The corresponding page has been accessed.
c) The corresponding page has been modified.
d) The corresponding page is shared between multiple processes.
9. An inode contains all of the following except:
a) user ID
b) filename
c) time of last data modification
d) link count
10. When checking the consistency of a filesystem (e.g. after a loss of power), all of the following must be checked except:
a) inode reference counts
b) pointers to data blocks (in inodes or indirect blocks)
c) contents of data blocks of regular files
d) block free lis
11. If a system automatically boots into a defective kernel (e.g., one that crashes on startup), you can recover the system by:
a) Select a different kernel in the bootloader
b) Perform a soft reboot of the system
c) Perform a hard reboot of the system
d) Press Alt-SysRq-R
12. Virtual memory is prohibitively expensive on a system that lacks a TLB because
a) Every memory access then requires a system call.
b) The page table has to be checked on every memory access
c) The process table has to be updated on every tick interval.
d) None of the above
Explanation / Answer
1.
b) symbolic links
2.
d) All of the above
3.
d) All of the above
4.
c) thread
5.
b) schedule a disk request for F's data blocks
6.
c) The CPU will generate an exception (software interrupt) if certain addresses are accessed.
7.
b) Store portions of processes on disk
8.
a) A security violation has occurred
9.
b) filename
10.
c) contents of data blocks of regular files
11.
b) Perform a soft reboot of the system
12.
b) The page table has to be checked on every memory access