Design and development of computation model for visual programming environment using pedagogical approach for cogntive learning