UrbanPro
true

Take BTech Tuition from the Best Tutors

  • Affordable fees
  • 1-1 or Group class
  • Flexible Timings
  • Verified Tutors

Search in

Few Operating System Question - Answers for Fresher Level Interview

Adroit Learning Foundation
26/09/2016 0 0
What is kernel? How it is different from shell?
Kernel is the core portion of the Operating system which gets loaded into the primary memory at the time of bootstrapping. It allocates the memory for the program, manages all the files, and gives response to the different system calls.
On the contrary, shell acts as the interpreter between naive user and kernel. It performs Command Line Interpretation that is it interprets the command typed in the prompt in a form that kernel understands. Kernel then allocates resources to the programs as represented by the commands .
 
How many types of files are there in any standard Unix family system?
From the Operating System aspect, Unix does not impose any internal file structure, but the differences arise when they are interpreted differently by the application software.
On this background, there are two types of files in Unix, and they are Normal or Ordinary Files and some Special Files. Normal or Ordinary files are indicated with “-“ in first position of the file permission string.
There are many special files like Directory files (indicated with “d”), Named pipes (indicated with “p”), Socket files (indicated with “s”), Symbolic link (indicated with “l”) and Device files. Device files are of two types, character device files (indicated with “c”) and block device files (indicated with “b”).
 
What is the difference between Soft Linking and hard Linking in Unix?
If a file “foo” is hard linked with “bar”, then “bar” points to the content of “foo”. That is if content of the “foo” gets changed, content of ”bar” also gets changed. Vice versa is also true. As ”foo” and “bar” point to the same locations in the file structure, they share common inode number.
On the other hand if “foo” is soft linked with “dar” then dar becomes a completely different file which holds the path of the “foo”. Content of “dar” is actually nothing but the content of the file, path of which is there in “dar”. Hence change in content of “foo” will obviously lead to change in content of “dar”. As “foo” and “bar” are two different files physically, their inode numbers will be different.
Now if “foo” gets deleted, still the content of “foo” could be accessed through “bar”, but “dar” will have no content because “dar” will try to show the content of “foo” which is not there at all in the file system.
Lastly, hard linking cannot pierce through current directory where as soft linking can span through entire directory structure.
0 Dislike
Follow 0

Please Enter a comment

Submit

Other Lessons for You

How To Prepare For Viva Voce Of Lab Experiments/Project Presentations?
Instruction to B.Tech/M.Tech/B.Pharm/M.Pharm/M.Sc/B.Sc/MBBS/BDS/MDS/LLB/LLM students on Lab/Project Viva voce: No tension, only attention. Prepare for viva as if the examiner is an expert in your project/lab...

Circular motion
Circular motion is rotation along a circle: a circular path or a circular orbit. It can be uniform, that is, with constant angular rate of rotation, or non-uniform, that is, with a changing rate of rotation. Examples...

Some interview questions for freshers on C language
Q1. What are the two forms of #include? There are two variants of #include. The one is #include and the other one is #include”file”. In general the first form that is #include is used to...

Answer writing skills for the final examination
Dear Students,Answer writing for the final examination is explained clearly in the videos so please watch the video and also subscribe for the channel for more examination techniques.

Role of numerical methods in Electronics & Communication and Electrical Branches and how to deal with it.
1) Role of Numericals: These problems are based on realizing circuits, being a R&D engineer, I would like to suggest all students to lay emphasis on Numerical Problems as they are very important both...
X

Looking for BTech Tuition Classes?

The best tutors for BTech Tuition Classes are on UrbanPro

  • Select the best Tutor
  • Book & Attend a Free Demo
  • Pay and start Learning

Take BTech Tuition with the Best Tutors

The best Tutors for BTech Tuition Classes are on UrbanPro

This website uses cookies

We use cookies to improve user experience. Choose what cookies you allow us to use. You can read more about our Cookie Policy in our Privacy Policy

Accept All
Decline All

UrbanPro.com is India's largest network of most trusted tutors and institutes. Over 55 lakh students rely on UrbanPro.com, to fulfill their learning requirements across 1,000+ categories. Using UrbanPro.com, parents, and students can compare multiple Tutors and Institutes and choose the one that best suits their requirements. More than 7.5 lakh verified Tutors and Institutes are helping millions of students every day and growing their tutoring business on UrbanPro.com. Whether you are looking for a tutor to learn mathematics, a German language trainer to brush up your German language skills or an institute to upgrade your IT skills, we have got the best selection of Tutors and Training Institutes for you. Read more