Time left:

[All Quizzes] → [Linux System Programming] → [Files and Directories]


1. ► Only a process started by the superuser can write to the logging daemon.

A.
B.

2. ► Directory routines in the file dirent.h have routines for recursively accessing directories.

A.
B.

3. ► A file cannot be deleted unless all its hard links have been deleted.

A.
B.

4. ► It is possible to control the number of system calls in ANSI C IO libraries.

A.
B.

5. ► fdatasync and fsync do exactly the same thing.

A.
B.

6. ► ANSI C IO routines automatically deal with concurrency.

A.
B.

7. ► stat is a system call which is used to retrieve information about a file.

A.
B.

8. ► Only the superuser can view /var/log/messages.

A.
B.

9. ► Soft links reference the name of the file or directory.

A.
B.

10. ► A file system only has a fixed number of inodes which are configured at each reboot.

A.
B.

11. ► fcntl is used to get as well as set file attributes.

A.
B.

12. ► lseek cannot absolutely position a file pointer.

A.
B.

13. ► access call returns a -1 if the permission check succeeds.

A.
B.

14. ► ANSI C IO libraries are unbuffered.

A.
B.

15. ► Inode stands for: Interface Nodes.

A.
B.

16. ► File locks are mandatory on a GNU/Linux system.

A.
B.

17. ► Poll is much more efficient than select and should be the default choice.

A.
B.

18. ► sync does not need any arguments.

A.
B.

19. ► open call returns -1 on error.

A.
B.

20. ► stat command reports total number of hard links to a file.

A.
B.


© 2016 VirtuQ™ Education All right reserved. | Terms of Use | Privacy Policy