1) If the attribute is set to true, the web resources checksum will be compared with a value stored when it was first run. What happen if the checksum is different? There will be an error message prompted and force application to start?
Yes. An error message will be displayed and the user will be forced to quit the app.
2) By default this attribute is set to false. However, for my understanding Direct Update will also require calculating checksum of the web resources. What is the underlying meaning of setting it to true or false?
Direct Update is a valid path for Worklight to change the web resources of an application, and will happen after the application contacts the Worklight Server upon launch or return to the foreground.
The idea here that if someone managed to get into the filesystem of the device and alter the web resources, the app will detect this and prevent use of the application.