HD (Hard Drive) Interview Preparation Guide
Download PDF

Hard Disk (HD) Frequently Asked Questions in various Hard Drive (HD) Interviews asked by the interviewer. So learn Hard Disk (HD) with the help of this Hard Drive (HD) Interview questions and answers guide and feel free to comment as your suggestions, questions and answers on any Hard Drive (HD) Interview Question or answer by the comment feature available on the page.

27 Hard Drive (HD) Questions and Answers:

1 :: What is Hard Drive (HD)?

A hard disk drive (HDD) is a non-volatile, random access device for digital data. It features rotating rigid platters on a motor-driven spindle within a protective enclosure. Data is magnetically read from and written to the platter by read/write heads that float on a film of air above the platters.

2 :: Explain SIM and RIM instructions?

SIM is Set Interrupt Mask. Used to mask the hardware interrupts. RIM is Read Interrupt Mask. Used to check whether the interrupt is Masked or not.

3 :: Which Logic calculations are done in which type of registers?

Accumulator is the register in which Arithmetic and Logic calculations are done.

4 :: Explain and Give example for Non-Maskable interrupts?

Trap is known as Non-Maskable interrupts, which is used in emergency condition.

This has the highest priority

5 :: Explain Which is the tool used to connect the user and the computer?

Interpreter is the tool used to connect the user and the tool.

And the operating system is used to connect the user and computer.

6 :: Explain If you are getting in disc boot error. At initial stage what you need 2 check. Please detail in steps?

1.Enter into the BIOS and check whether your hard disk drive is set as first boot device,if not then set it as first boot device in the boot device priority.
2.If the problems exists,then you have to boot the system with a new operating system cd and install a new one.
3.Side by side check the RAM also for the connection

7 :: What is MBR located on the disk?

Main Boot Record is located in sector 0, track 0, head 0, cylinder 0 of the primary active partition.

sector 0, head 0, cylinder 0,

8 :: Explain How many logical drives is it possible to fit onto a physical disk?

Maximum of 24 logical drives. The extended partition can only have 23 logical drives.

Max of 24 partition from "c" to "z"
primary 4

9 :: Explain Which Segment is used to store interrupt and subroutine return address registers?

Stack Segment in segment register is used to store interrupt and subroutine return address registers.

10 :: Explain what is meant by cross-compiler?

A program runs on one machine and executes on another is called as cross-compiler

Cross compiler programs are written for embedded systems(usually) but run on normal PCs to gauge their performance. Later on, they are ported to embedded systems.

11 :: What you understand by a hard disk and how are they classified?

Hard drives are usually devices that can be used for storing data and to retrieve it. They are composed of one or more than one rigid disc that rapidly rotates.

★ The discs are magnetically coated and use magnetic heads to read and write data on them.
★ They are also known as the secondary storage devices used to store large amounts of data.
★ They can be classified into the following types : Non-Volatile, Digital, Magnetic or data storage devices.
★ Hard drives have been dominant since the use of personal computers as they allow large amounts of data to be stored at low costs and high reliability.

12 :: Explain structure of a hard drive?

Hard disks in them contain various components such as Platter, Spindle, Actuator, power connector, Jumper block, IDE connector etc.

★ In the inside of a hard disk there is the spindle which is used to hold circular magnetic disks also known as platters. They are usually made up of a non magnetic material, ( aluminum alloy).
★ These platters are spun at speeds in excess of 4000 RPM, nowadays 7200 RPM based hard disks are common enough.
★ The read and write heads work on these spinning platters to read and write data. They are controlled by an actuator arm that prevents any error.

13 :: How data is read and written on a hard disk?

★ In a hard disk information / data is written on the rotating platters by the read and write heads.
★ The heads are not in actual contact with the disk they are actually slightly above the magnetic surface of the platter.
★ The heads detects the magnetization of the platter right below them. The actuator arm aids the heads in covering the platter area.
★ The surface is divided into micro sized areas known as magnetic domains. Every magnetic domain has a magnetic dipole which has their own field.
★ The write heads read/write by magnetizing the area. It generates a strong magnetic field for this purpose.

14 :: Which errors can be handled by hard disks?

There are various ways in which modern hard disks handle errors.

★ Most hard disks use ECC`s error correcting codes mostly the Reed-Solomon error correction techniques.
★ The error checking codes usually employ the use of complex algorithms mathematically derived to store extra bits. These bits are used to correct various errors.
★ Nowadays most of the drives support LDPC or the low density parity check codes.
★ The LDPC allows performance to reach the Shannon limit and also result in the highest storage capacity drives.

15 :: What you understand by Formatting in reference to hard disks?

Generally the controller determines how the hard disk is presented to the host system.

★ In general the modern SATA and SAS present themselves as contiguous set of logical blocks, They are usually 512 bytes long.
★ Formatting can be classified into two types high level and low level formatting.
★ The process through which the logical blocks are initialized on the physical platters is known as low level formatting. This is generally performed during production itself.
★ Once the low level formatting is performed then high level formatting is performed to write the file system structure into the particular logical blocks.

16 :: Explain the various form factors in which the hard disks are available?

★ 8 inch: This was one of the first hard disks to be developed, It`s size was same as that of the 8 inch floppy drives.
★ 5.25 inch: Comparatively smaller than 8" this type of drive was first time provided by Segate.
★ 3.5 inch: This is the most common size of the drive that is used these days in personal computers.
★ 2.5 Inch: This type of hard drives is primarily used inside portable devices such as laptops, music players etc.
★ 1.8 Inch: This was a rare size and was primarily intended to be used by audio players and sub notebooks.
★ 1 Inch: This type of drives were developed to house the entire disk inside a CF II Slot.

17 :: What you understand by access time. Explain different types of timings in a hard disk drive?

The access time is the time taken by the disk to read data on it and it is directly related to the nature of the platter speeds and the moving heads.
★ Seek time: This time specified the time taken by the head to reach the track where the required / target data is available.
★ Rotational Latency: This latency occurs when the required data by the computer is still not under the head so the assembly will have to move their.
★ The access time of the hdd can be improved by giving more speed in the rotation of the platter.

18 :: Explain the purpose of interleave?

★ Interleave is the process through which gaps are placed between two sectors on the platter of a disk.
★ This was done in earlier days when the computers were not quick enough to read continuous streams of data.
★ Without interleaving there would be no gaps between the sectors and data would arrive immediately before the reading unit is ready. Due to this to read the same data a complete rotation of the disk would be required again.
★ The interleaving ratio was not fixed and can be set by the end user depending on their system specs. Nowadays the ratio of interleaving is 1:1 i.e. no interleaving is used.

19 :: Explain the different types of disk interfaces used in computers?

There are various interfaces through which hard disks connect to the computer.

★ Legacy Bit Serial Interfaces: They are the oldest form of interfaces which used two cables to connect the disk to a controller. One cable was used for data whereas the other is used for control. In addition to the above cables a power cable was also required to provide power to the disk.
★ Modern Bit Serial Interfaces: In these types of interfaces the disk is connected to a host bus interface adapter using a single cable. In addition to this cable a power cable is also used to power the drive. Some of the modern bit serial interfaces are as follows: Fibre Channel, Serial ATA and SCSI.
★ World Serial interfaces: They are similar to modern bit interfaces, these interfaces make use of a cable for data and control. Some of the common world interfaces are as follows: IDE, EIDE, SCSI etc.

20 :: Explain power consumption statistics of the hard disks?

★ These days power consumption of electrical devices has become a prime importance as portability and performance greatly depends on a devices consumption.
★ Power consumption of a hard disk directly affects: Drive age, disk failure rates, temperatures etc.
★ Smaller drives consume less energy as compared to large drives. The disks consume maximum energy during starting up, also known as spin up.
★ Spin up and spin down is directly controlled by the SCSI controller on such drives.