EzDevInfo.com

32-bit interview questions

Top 32-bit frequently asked interview questions

Should I choose 32 or 64 bit for Linux?

I own a Linux workstation which currently has 4 GB of RAM and planning to go for 8 GB in the near future. CPU is a Core2Quad Q9550.

Should I install a 32 or 64 bit variant of Linux?


Source: (StackOverflow)

Is there a significant limitation on useable software on a 64-bit Windows machine?

I have a 32-bit laptop that I've had for like two years. I'm getting a new one now, and I'm now noticing that lots of laptops come with Windows 7 64-bit. I've always heard that it's harder to find certain software for 64-bit OS's than 32-bit. Is there any truth to that? Am I significantly limited as far as useable software on a 64-bit machine as opposed to a 32-bit machine?


Source: (StackOverflow)

Advertisements

Upgrade Ubuntu from 32 to 64 bit edition

Is there a way to upgrade my 32-bit version of Ubuntu to 64-bit version? I use Ubuntu 9.10.

If there is no simple way, what if I simply copy my home and /etc directories to new installation, will it work?


Source: (StackOverflow)

If 32-bit machines can only handle numbers up to 2^32, why can I write 1000000000000 (trillion) without my machine crashing?

32 bit computers can only store signed integers up to 232 - 1.
This is why we have run out of ipv4 addresses and have entered the 64 bit era.

However, the number 232 - 1 (2,147,483,647) is not as large as the number 1 trillion (1,000,000,000,000) which I seem to be able to display fine without my machine crashing.

Can someone explain why this is?


Source: (StackOverflow)

32-bit vs. 64-bit systems

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?


Source: (StackOverflow)

How to check if a binary is 32 or 64 bit on Windows?

So, I need to do just that before I move the program to 32bit machine and experience a spectacular failure. Is there an easy way to do this?


Source: (StackOverflow)

Is my Windows 7 x86 license key valid for a x64 installation of Windows? [duplicate]

Possible Duplicate:
When reinstalling Windows 7, does the language, version, architecture (64-bit or 32-bit) or source (OEM, retail, or MSDN) matter?

I've just got a new laptop with Windows 7 x86 Home Premium installed, however I ideally I'd like to be running a 64-bit operating system:

  • Is my Windows license key "generic" (in that it entitles me to install either a x86 or x64 edition of Windows), or does this licence key specific to the x86 version of Windows?

  • Is there any way of me installing and running Windows 7 Home Premium x64 using my x86 license key?


Source: (StackOverflow)

Different PATH environment variable for 32bit and 64bit Windows - is it possible?

Is it possible to have whole or part of PATH environment variable specific to the type of running process's image (32bit/64bit)? When I run some app from within 64bit cmd.exe I would like to have it pick the 64bit version of OpenSSL library whereas when I run some app from within 32bit cmd.exe I would like to have it pick the 32bit version of OpenSSL library.

FOLLOW UP
where.exe does not find OpenSSL libs when %ProgramFiles% variable is used in the PATH environment variable


Source: (StackOverflow)

32 bit or 64 bit OS on a 512 mb VPS?

I am planning to rent a VPS service with following basic specification:

  • 512mb of RAM
  • 1 CPU
  • 20gb HDD (4gb of it is swap)
  • Ubuntu 10.10 server

I am able to choose between a 32 bit or 64 bit install of Ubuntu server as the operating system.

My question is would it be better to chose a 32 bit operating system since I will have only 512mb of RAM, rather than using a 64 bit operating system and dealing with the additional overheads?

edit:

I have installed Ubuntu server 10.10 32 bit and 64 bit on VirtualBox. After a minimalistic installation with only ssh server, the 32 bit installation consumes 63mb of RAM when first boot up and 64 bit consumes 85mb of RAM.

After installing and running tor daemon, 32 bit consumes 99mb of RAM when first boot up and 64 bit consumes 128mb.


Source: (StackOverflow)

Is my install 32 or 64bit?

I'm trying to find out if my Ubuntu install is 32 or 64bit. The best I can find is "i686" does this mean its 32 bit?

Whats the correct way of finding out if the Ubuntu installed on my laptop is 32 or 64 bit?


Source: (StackOverflow)

How can a 80-bit floating point be used by a 32-bit system? [duplicate]

Since a 32bit system can't manage a 2^33 number (because the obvious 32-bit limit), how can manage a 80-bit floating point number?

It should require "80-bit"...


Source: (StackOverflow)

How can I run a 32-bit app on 64-bit OSX 10.7.2?

I have an app that only exists a 32bit version. In order to use it, I used to press 2 & 3 together before booting the Mac, so it'll run in 32bit mode. However, some apps (64bit version that installed before) will always crash in this mode..

I happened to see a solution that run 32bit app in 64bit system:

arch -i386 theApp.app

But I tried with arch: /Applications/theApp.app isn't executable error. I checked the file permission and it shown drwxrwxr-x, it should be executable, uh?
EDIT: As @gd1 said, theApp.app is a folder(it's called bundle in OSX I think) and so it is not executable.

But I still need a workaround:
How can I run my 32-bit app in my 64-bit system correctly?


EDIT: I can open the app with arch now with the command(thanks @GordonDavisson):

arch -i386 /Applications/theApp.app/Contents/MacOS/theApp

However, the app run with Components lost error, log shown below:

Kjuly@MacBook-Pro:/Applications$ arch -i386 闪讯.app/Contents/MacOS/闪讯 
2012-01-08 16:17:53.381 闪讯[472:1107] isActive: ioctl to kernel socket error 2 ,No such file or directory
2012-01-08 16:17:53.436 闪讯[472:1107] The AppPath = /Applications/闪讯.app
2012-01-08 16:17:53.437 闪讯[472:1107] The src path = /Applications/Èó™ËÆØ.app/xlpppoe.kext
2012-01-08 16:17:58.892 闪讯[472:1107] Set Driver Ok...
/tmp/xlpppoe.kext failed to load - (libkern/kext) requested architecture/executable not found; check the system/kernel logs for errors or try kextutil(8).

BTW, the 闪讯.app(I hate it!! But I need it..) is used to connect to network in my university at China.


EDIT:

Kjuly@MacBook-Pro:~$ file /Applications/闪讯.app/Contents/MacOS/闪讯
/Applications/闪讯.app/Contents/MacOS/闪讯: Mach-O executable i386

and

Kjuly@MacBook-Pro:~$ file /Applications/闪讯.app/xlpppoe.kext/Contents/MacOS/xlpppoe
/Applications/闪讯.app/xlpppoe.kext/Contents/MacOS/xlpppoe: Mach-O object i386

It seems it's 32-bit only & depends on the 32-bit kernel. Oh, I'm sooo sad. :(


Here're some infos I got with the help from @GordonDavisson, maybe someone else need it.

The DOC shows some methods to temporarily start up with the 32-bit kernel to use older kernel extensions for the third-party software or hardware.

And it is about "Compatibility with the 64-bit kernel":

Third-party software (such as a virtualization engine) or hardware (such as a PCIe card) that relies on a kernel extension which was compatible with Mac OS X Server v10.5 may not work on Macs that use the 64-bit kernel in Mac OS X v10.6. Contact the software or hardware vendor for an updated kernel extension that works with the 64-bit kernel in Mac OS X Server v10.6.

As a workaround, you can temporarily start up with the 32-bit kernel to use older kernel extensions for your third-party software or hardware.


Source: (StackOverflow)

Pros and cons of 64bit vs 32bit Windows

What are the advantages and disadvantages of the two types of system? I know that 64bit allows more RAM then the 3-and-a-bit used by 32bit, but what other differences would you expect to see? I am particularly interested in Windows7. Thanks!


Source: (StackOverflow)

Is x86 32 bit or 64 bit?

I have a copy of Windows in MSDNAA and it says Windows Vista x86. Is this Windows Vista 32 bit, or 64 bit?


Source: (StackOverflow)

What is the difference between 64-bit and 32-bit Operating systems? [duplicate]

Possible Duplicate:
32-bit vs. 64-bit systems

I know that there are 2 types of OSs, 64 bit and 32 bit What is the main differences between them?

And if I am buying a new laptop, which one should i install?

It will be able to run all applications if I installed either of them?

I am talking mainly about windows Operating systems, but you can answer about others as well.


Source: (StackOverflow)