Internet of things(IOT) is an interconnection of physical devices and internet. These devices have the capability to sense, monitor and respond to various actions. In current situation of pandemic COVID-19, it has been observed that touching of things like thermometer by different persons could enhance the possibility to transfer the virus from thermometer to second person, if the thermometer was touched by COVID positive person.
Suppose as a java programmer, you are given a task to develop an application which could check patient’s temperature without touching thermometer or patient’s body.
To develop this app for IOT device, what do you think Java language should prefer on other languages or not? Justify your answer with solid reason.
The Java language is not suitable for writing programs for the hardware, as at least programs written in this language need an execution environment (JVM). This is already the factor that does not allow Java to be a language for programming microcontrollers, which will obviously be used in equipment that measures temperature. Therefore, for such tasks use low-level languages like assembly or C These languages provide high-speed performance, and also do not require additional programs for their execution.
Comments
Leave a comment