Q.1.
What does os.name contain?
Q.2.
What does print(os.geteuid()) print?
Q.3.
What does os.getlogin() return?
Q.4.
What does os.close(f) do?
Q.5.
What does os.fchmod(fd, mode) do?
Q.6.
Which of the following functions can be used to read data from a file using a file descriptor?
Q.7.
Which of the following returns a string that represents the present working directory?
Q.8.
What does os.link() do?
Q.9.
Which of the following can be used to create a directory?
Q.10.
Which of the following can be used to create a symbolic link?