Quiz #2: Filesystems and processes CC-BY-NC

Maintainer: admin

Held in-class on Tuesday, October 16. Questions recalled from memory so they are paraphrased and may contain errors.

1Question 1

Why is are boot loaders stored in ROM rather than RAM?

1.1Solution

ROM is not volatile while RAM is

2Question 2

What three things do threads of the same processes share?

2.1Solution

Data section, code section, open files.

3Question 3

What is stored in the system-wide file table?

3.1Solution

Location of the file on disk, access dates, file size.

4Question 4

What is the UNIX command for changing access privileges on a file called foo so that the owner has read, write and execute permissions, the group has write permissions, and everyone else has read permissions?

4.1Solution

chmod 724 foo