Operating System Programming and Technical Logical Reasoning Decision Making and Problem Solving

Q. What is a FIFO?

A. FIFO are otherwise called as 'named pipes'. FIFO (first-in-first-out) is a special file which is said to be data transient. Once data is read from named pipe, it cannot be read again. Also, data can be read only in the order written. It is used in interprocess communication where a process writes to one end of the pipe (producer) and the other reads from the other end (consumer).

Read Solution (Total 0)

Operating System Other Question

Q. What are links and symbolic links in UNIX file system?

A. A link is a second name (not a file) for a file. Links can be used to assign more than one name to a file, but cannot be used to assign a directory more than one name or link filenames on different computers.
Symbolic link 'is' a file that only contains the name of another file.Operation on the symbolic link is directed to the file pointed by the it.Both the limitations of links are eliminated in symbolic links.
Commands for linking files are:
Link ln filename1 filename2
Symbolic link ln -s filename1 filename2
No. of pages are given and using LRU algorithm we have to find the number of page faults.
a) 2 b) 6 c) 5 d)7