GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  Operating System  >  Windows & Unix
Go To First  |  Previous Question  |  Next Question 
 Windows & Unix  |  Question 55 of 115    Print  
What is the difference between unix and windows?

  
Total Answers and Comments: 6 Last Update: September 21, 2009     Asked by: Shelja Gupta 
  
 Sponsored Links

 
 Best Rated Answer
Submitted by: karishma
 
unix is multi user multi tasking,while windows is single user multi tasking

Above answer was rated as good by the following members:
vijay chaurasia, divya_hyd, madhavanjpcc, rocky65536
September 22, 2005 01:15:49   #1  
kulwant1977 Member Since: September 2005   Contribution: 7    

RE: What is the difference between unix and windows?

Unix and Windows use completely different paradigms for run-time loading of code. Before you try to build a module that can be dynamically loaded be aware of how your system works.

In Unix a shared object (.so) file contains code to be used by the program and also the names of functions and data that it expects to find in the program. When the file is joined to the program all references to those functions and data in the file's code are changed to point to the actual locations in the program where the functions and data are placed in memory. This is basically a link operation.

In Windows a dynamic-link library (.dll) file has no dangling references. Instead an access to functions or data goes through a lookup table. So the DLL code does not have to be fixed up at runtime to refer to the program's memory; instead the code already uses the DLL's lookup table and the lookup table is modified at runtime to point to the functions and data.

In Unix there is only one type of library file (.a) which contains code from several object files (.o). During the link step to create a shared object file (.so) the linker may find that it doesn't know where an identifier is defined. The linker will look for it in the object files in the libraries; if it finds it it will include all the code from that object file.

In Windows there are two types of library a static library and an import library (both called .lib). A static library is like a Unix .a file; it contains code to be included as necessary. An import library is basically used only to reassure the linker that a certain identifier is legal and will be present in the program when the DLL is loaded. So the linker uses the information from the import library to build the lookup table for using identifiers that are not included in the DLL. When an application or a DLL is linked an import library may be generated which will need to be used for all future DLLs that depend on the symbols in the application or DLL.


 
Is this answer useful? Yes | NoAnswer is useful 2   Answer is not useful 0Overall Rating: +2    
November 02, 2005 04:33:33   #2  
Alok Dubey        

RE: What is the difference between unix and windows?
You may compare it as MS-DOS and UNIX as MS-DOS is predecessor of Windows just like that unix is for LINUX.We can't compare unix with windows.
 
Is this answer useful? Yes | No
November 03, 2005 17:36:33   #3  
javaman Member Since: November 2005   Contribution: 1    

RE: What is the difference between unix and windows?
b
 
Is this answer useful? Yes | NoAnswer is useful 0   Answer is not useful 2Overall Rating: -2    
February 26, 2006 23:36:13   #4  
karishma Member Since: February 2006   Contribution: 9    

RE: What is the difference between unix and windows?
unix is multi user multi tasking while windows is single user multi tasking
 
Is this answer useful? Yes | NoAnswer is useful 2   Answer is not useful 0Overall Rating: +2    
February 20, 2007 02:08:48   #5  
ajay2222@gmail.com Member Since: December 2005   Contribution: 6    

RE: What is the difference between unix and windows?
hai alok you are from which place.
 
Is this answer useful? Yes | NoAnswer is useful 0   Answer is not useful 2Overall Rating: -2    
September 21, 2009 06:38:51   #6  
rocky65536 Member Since: September 2009   Contribution: 1    

RE: What is the difference between unix and windows?
UNIX Windows
Multi user SIngle user
CLUI GUI
Secure less secure

 
Is this answer useful? Yes | No


 
Go To Top


 Sponsored Links

 
About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape