Apple Question:

How to test ios simulator? or How would you test an Android simulator? note: the questions asks for how would you test the simulator itself and NOT applications?

Tweet Share WhatsApp

Answer:

Two methods must be applied. First, the simulator must conform to the system specification for the hardware. Every instruction that retires must behave exactly as the hardware expects, including every result, and every control register. Unit tests can be written for these individual cases and used to maintain the simulator. Next, real world programs and applications should be ported to run on the simulator. Instrumentation code can be added to provide some kind of checksum section to ensure that the simulator is outputting results the same as hardware.

Download Apple PDF Read All 37 Apple Questions
Previous QuestionNext Question
Compare
-Heap sort Vs Quick sort - worst case, avg case and best case with applications
-Heap sort Vs Merge sort - worst case, applications
What is B trees and its applications?