operating-systems interview questions
Top operating-systems frequently asked interview questions
I'm trying to convince somebody of the benefits of switching to a 64-bit OS but I'm having a hard time finding arguments other than "you can use more than 3GB RAM". Are there any other clearly-communicable benefits in having a 64-bit operating system?
There are 65536 ports for every system in the network, and every connection or Send/Receive will use one of those.
My question is: what happens if we have 65536+1 connections?!
I know that it does not happens in normal way, but I'm curious to know how Operating Systems handle it.
I want to upgrade from Windows 7 to Windows 8. How can I do this while keeping all of my files in-tact? Is it possible to retain all of my applications and user settings, too?
Why is it that:
- a 32-bit OS, when installed on a 64-bit CPU, can run old 16-bit applications,
- but if you install a 64-bit OS it can't run those applications directly and need some sort of emulation (that doesn't always work perfectly)?
To be more specific, I have an 64-bit processor (Intel Core 2 Duo). When I had Windows XP and Windows 7 (both 32-bit) installed, they could run old DOS and 616-bit Windows applications.
Now I have installed the 64-bit edition of Windows 7. Why can't it run those same applications anymore?
What are the differences between 32-bit and 64-bit systems?
If you have used both of them, what kind of sharp differences have you experienced?
Would it be a problem to use 32-bit programs on 64-bit systems in some cases?
In reading the man page on the free command in Linux. I found that is gets its info from
I understand a few of the entries, like
MemFree. What do the rest mean.
MemTotal: 3973736 kB
MemFree: 431064 kB
Buffers: 46604 kB
Cached: 494648 kB
SwapCached: 11360 kB
Active: 2322760 kB
Inactive: 933028 kB
Active(anon): 2057952 kB
Inactive(anon): 679956 kB
Active(file): 264808 kB
Inactive(file): 253072 kB
Unevictable: 16 kB
Mlocked: 16 kB
SwapTotal: 4096568 kB
SwapFree: 3961748 kB
Dirty: 236 kB
Writeback: 0 kB
AnonPages: 2704520 kB
Mapped: 182240 kB
Shmem: 23372 kB
Slab: 93848 kB
SReclaimable: 52044 kB
SUnreclaim: 41804 kB
KernelStack: 5064 kB
PageTables: 64928 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
WritebackTmp: 0 kB
CommitLimit: 6083436 kB
Committed_AS: 7327800 kB
VmallocTotal: 34359738367 kB
VmallocUsed: 321156 kB
VmallocChunk: 34359411708 kB
HardwareCorrupted: 0 kB
AnonHugePages: 0 kB
Hugepagesize: 2048 kB
DirectMap4k: 225280 kB
DirectMap2M: 3895296 kB
I just saw these minimum requirements for a game:
Memory: 2GB for 32-bit OS or 4GB for 64-bit OS
Why does the 64bit OS require more RAM than its 32bit counterpart?
A shell like the bash or command.com (up to Windows ME) or CMD.EXE (in later versions) provides an interface that (among other things) accepts commands from the user. What does an operating system look like before a shell is run? How were systems used before the first shell was developed (e.g. UNIX in the early 1970s)? If a computer cannot even accept commands (there is no command line), how can a user interact with it? What is this most basic interface? Can I run this interface in a terminal emulator or is there no way going behind a shell?
I often hear people say "Unix's unique philosophy is that it treats everything as a file" or "In Unix, everything is a file". But I've never heard anyone explain why it is unique to Unix.
So, why is this unique to Unix? Does other operating systems such as Windows and Macs not operate on files?
And, is it unique compared to other operating systems?
How are these fundamentally different "things" on Windows?
Aren't all running things Processes?
It seems that every Application has an associated process that shuts it down if it is shut down. One process can manage more than one application instance, it looks like. And Services, I'm not even sure what they are, exactly.
Are they not processes themselves?
Basically, I want to get a new PC, but I have so many software/games installed on my current hard drive, that I don't want to waste the time to re-install/re-configure. Would it work if I just take out my current hard drive, and stick it into a new PC? the motherboard/video card etc are all different, would the new PC boot up and work flawlessly?
The operating system is Windows 7.
Is there an OS which can be used without RAM, specifically the kind I can create a bootable pendrive from and use it in the computer? This gets awkward, since booting is essentially loading OS in RAM.
Note: I originally wanted to know about a RAM-less OS to check if my laptop (which does not boot but presents a blank screen) RAM had gone bad, but I like the way this question has snowballed.
As I understand it, the kernel does all the interaction with the hardware, and manages the memory, the I/O devices, etc. So the kernel is doing everything, yet it is just a part of the operating system. So what else is there in an OS ? Just the applications that come bundled with it ? For example, what does Ubuntu have other than a kernel ? The Gnome Desktop, and a few other applications ?
I am just about to start an OS course and as an Apple user I am not very familiar with the underlying details of Windows OS. I was wondering, is MS DOS still used with Windows running on top or is ONLY Windows used now as the OS? I was a little confused because I read somewhere that MS-DOS is used for booting but Windows has all other OS capabilities built into it and thus is used for all other OS operations...