How to calculate Statement, Branch/Decision and Path Coverage for ISTQB Exam purpose

How to calculate Statement, Branch/Decision and Path Coverage for ISTQB Exam purpose. This may be applicable for both ISTQB Foundation Level and General Test Coverage concepts in Advanced Level exam. Follow the below given example to understand the concepts of while box testing coverage as described in the ISTQB Syllabus. What is statement coverage and branch [...]