DCSA--Computer Programming :
Topics : Decision Making and Looping : Question and answer : Category : LOOP : # What do you mean by looping ? Describe two different forms of looping . Ans : A loop is a sequence of instructions that is continually repeated until a certain condition is reached. Two forms are ; 1. Entry-controlled loop . 2. Exit-Controlled loop . Entry-Controlled loop : The control conditions are tested before the start of the loop execution. If the conditions are not satisfied, then the body of the loop will not be executed. Exit-Controlled loop : The control conditions are tested at the end of the body of the loop . As result the body is executed unconditionally for the first tim...
Comments
Post a Comment