Operating System [3i Infotech Placement]: Sample Questions 28 - 29 of 81

Glide to success with Doorsteptutor material for competitive exams : get questions, notes, tests, video lectures and more- for all subjects of your exam.

Question 28

Operating System
Edit

Describe in Detail

Essay▾

What are the criteria for choosing a process for swapping out of the memory to the swap device?

Explanation

Swapping Process Out
  • The kernel gathers the page addresses of data at primary memory to be swapped out.
  • Kernel copies the physical memory assigned to a process to the space allocated on the swap device.
  • The mapping between physical memory and swap device is kept in page table entry.

Question 29

Operating System
Edit

Describe in Detail

Essay▾

What are links and symbolic links in UNIX file system?

Explanation

Define Symbolic Links
  • A link is a pointer or reference to another file.
  • A directory UNIX has a list of file names and corresponding inodes.
  • Link points to another file.

Hard Link

  • In hard link- the i-numbers of two difference directory file entries point to the same inode.

Soft Link

  • A symbolic link or a soft link a special type of link containing links or references to another file or directory in the form of the path.
  • To create a symbolic link, following command is used:

    Ln-s target link_name

  • Path is the target and name of the link is link_name.
  • Symbolic link can created to creare a file system based on different views of the user.

Developed by: