3i Infotech Placement: Sample Questions 938 - 939 of 1245

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

Question 938

Edit

Describe in Detail

Essay▾

What is ‘inode’ ?

Explanation

Understanding of Unix Inodes
  • Every file in UNIX has a unique number called Inode.
  • Number is associated with file information like user, group, ownership and access mode information.
  • Every inode stores the attributes and disk block location of the object՚s data.
  • Directories are lists of names assigned to inodes- self-entry contains a directory, its parent, and every children.
  • A files inode number is found from following command.

    Ls-i

  • If the inode number is known, the following command can get details of the file:

Question 939

Edit

Describe in Detail

Essay▾

How to do inter-process communication?

Explanation

  • Inter-process communication or IPC allows exchange of data between processes.
  • Provides a set of programming interfaces to help programmer organize the activities among different processes.

Two Types of Inter Process Communication

  • Independent process
    • An independent process is not affected by the execution of other processes.
  • Co-operating process
    • A co-operating process can be affected by other executing processes.
Two Types of Inter Process Communication
  • The communication between these processes allows co-operation between them.

Process Communicates with Each Other Using These Two Ways

  • Shared Memory
  • Message passing
Process Communicates with Each Other Using These Two Ways

Developed by: