Posts

Modular Programming QnA from main book (Page no.160) SEE

  1)     What is modular programming? Modular programming is a technique used to divide program into many small, manageable, logical and functional modules or blocks.   2)     What are the advantages of modular programming? The advantages of modular programming are: a)      Coding the program and testing is very easy. b)     A module can be used in multiple places, which reduces the program codes. c)      Different programmers can write different modules separately. d)     Debugging of the program becomes easier and faster since they are divided into different modules.   3)     Differences between SUB-procedure and FUNCTION procedure Sub Procedure Function Procedure 1.      Sub procedure does not return a value. 1.      Function procedure returns a value. 2.      Sub procedure name does not accept data type identifier like %, $, !, &, #. 2.      Function procedure name accept