The scenarios and the examples discussed in the class helped a lot to understand the concepts . It is a good way of teaching .