Time left:

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


1. ► ANSI C IO libraries are unbuffered.

A.
B.

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

A.
B.

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

A.
B.

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

A.
B.

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

A.
B.

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

A.
B.

7. ► open call returns -1 on error.

A.
B.

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

A.
B.

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

A.
B.

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

A.
B.

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

A.
B.

12. ► sync does not need any arguments.

A.
B.

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

A.
B.

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

A.
B.

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

A.
B.

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

A.
B.

17. ► lseek cannot absolutely position a file pointer.

A.
B.

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

A.
B.

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

A.
B.

20. ► Inode stands for: Interface Nodes.

A.
B.


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