3i Infotech Placement: Sample Questions 1195 - 1196 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 1195

Describe in Detail Essay▾

How can a parent and child process communication?

Edit

Explanation

Define Create New Process
  • A parent and child can communicate using normal inter-process communication schemes- in addition they have special ways to communication which take advantages of their parent child relationship.
  • After forking the process, child process inherits all properties of parent, also pipe.
  • The child inherits file descriptors from its parent, if parent opens two ends of a pipe then after fork, parent can chose one end and the child choses the other end of the pipe.
  • This is done using popen () routine to run a child program.
  • Parent can store the file descriptor returned from popen () -child and parent processes can use it as stdin, and stdout.
  • In addition, child process inherits memory segments mapped anonymously by the parent- not accessible from unrelated processes.

Question 1196

Write in Short Short Answer▾

What is MAC address?

Edit

Explanation

  • The unique address for a device identified at the Media Access Control layer in the network architecture.
  • Used by the Media Access Control sub-layer of the Data-Link Layer of telecommunication protocols.
  • Different MAC exist for each physical device type
  • Usually stored in ROM on the network adapter card.
  • A hardware identification number that uniquely identifies each device on a network- manufactured into every network card, ethernet card, or Wi-Fi card.
  • Reliable way to identify senders and receivers of data on the network.
  • They are usually written in one of the below three formats:
  1. MM: MM: MM: SS: SS: SS
  2. MM: MM-MM-SS-SS-SS
  3. MMM. MMM. SSS. SSS