what is the role of BIOS? why is it important for it to keep its memory after the computer is switched off?
It powers the BIOS memory, keeping your bios settings active, and it powers the clock.
The only battery in a desktop computer is the one used to keep the clock running when the machine is powered down, provide some juice for the BIOS to start, and keep a few neurons of CMOS memory alive so that the machine knows what to do when the power-on button is pressed. It's nothing but a small silver 'button', like a wrist-watch battery, typically on the motherboard.
Only if the BIOS battery is flat or out of circuit.
You might have to replace the BIOS battery.
BIOS is a program (stored in ROM), not a memory.However the BIOS uses a battery backed up RAM to store a variety of settings and parameters. This BIOS RAM is itself volatile (it can only store data when powered), however the battery backup provides power to this RAM when the main power of the computer is off (making it act as if it were nonvolatile). When this battery dies the BIOS RAM will lose its data and (after the battery is replaced) the machine may have to be reconfigured from scratch before the machine will startup correctly.
BIOS chip
The BIOS itself is stored in ROM which does not require any power to maintain its contents. The BIOS setting are stored in a very low power CMOS SRAM with a battery to keep it powered up even when the computer itself is switched off (the BIOS does nothing to maintain this, it is done in the hardware).
a battery in the computer
The computer's BIOS.
The reason that causes your BIOS to reset to its defaults is a dead battery. Because CMOS (BIOS settings) is a volatile form of memory, the memory chip needs a constant power source, even when the computer is off. To supply this, there is a coin battery located directly on the motherboard. Simply replace this with the exact same kind and you shouldn't have any more problems.
It's the battery on a Motherboard/Similar COmputer Component that allows it to retain BIOS information
Yes...a laptop is a computer. Basically the same thing as a desktop computer, only smaller. It has a motherboard, processor, memory, BIOS...etc. The same parts as a "normal" computer, only smaller!! That's primarily why the cost more. The engineering behind it.