1.

State the difference between a simulator and an emulator?

Answer»

Simulators and emulators are both virtual devices that look and OPERATE like real phones, but they are not real phones. Emulators mimic the hardware/software and OS of mobile applications to test. In a simulator, the BASIC behavior of a device is SIMULATED instead of the hardware/OS. In a virtual phone, software mimics the functionality of the real device (apart from a few other functions like the CAMERA). 

Simulator Emulator
They are designed to simulate mobile's internal behavior.  Essentially, it emulates/mimics both hardware and software features of the device.  
It is written using a high-level language. It is written using machine-level assembly language.  
In most cases, they are preferred when testing the internal behavior of the device, such as its hardware, firmware, and so on.  They are the most suitable for testing the interaction between software and underlying hardware or a combination of both.
In terms of debugging, simulators can pose a challenge. Debugging is easier with emulators. 


Discussion

No Comment Found