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 write the answer
always highlight the key word of writing any answer without fail,also draw simple figure each and every answer related question accordingly.

What is flat slab concept?
Flat slab is a reinforced concrete slab supported directly by concrete columns without the use of beams. Flat slab is defined as one sided or two-sided support system with sheer load of the slab being...

Try to clear up the basics, if basics are clear then you can go ahead with any difficult problem
Hey guys, To all the students i just want to convey that just clear up your basics so that they can help you solve anyu problem and you would achieve a great success. Regards, Ishani Chakraborty

Multiple Choice Question On Material Science
Multiple Choice Questions: 1. First material known to be used by man: (a) Cotton (b) Bronze (c) Iron (d) Rock 2. First metal known to be used by man:(a) Iron (b) Bronze (c) Silver (d) Aluminium 3. Which...
G

GRATIFY

2 0
0

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