what is the difference between entry control and exit
control statement?
Answers were Sorted based on User's Feedback
Answer / ksk
Entry Comtrolled will check the Condition at First and
doesn't execute if it is False.
Exit Comtrolled will check the Condition at Last and at
least once the statement will execute though it is False .
Is This Answer Correct ? | 338 Yes | 31 No |
Answer / s.s.venkatesh
Entry control is otherwise called as WHILE loop,because the
while loop checks the condition at first,and then only
execute the following instructions.
Exit control is also called as DO WHILE loop,because the do
while loop checks the condition at last
Is This Answer Correct ? | 201 Yes | 32 No |
Answer / fernando torres 9
Entry control is otherwise called as WHILE loop,because the
while loop checks the condition at first,and then only
execute the following instructions.
Exit control is also called as DO WHILE loop,because the do
while loop checks the condition at last
Entry Comtrolled will check the Condition at First and
doesn't execute if it is False.
Exit Comtrolled will check the Condition at Last and at
least once the statement will execute though it is False .
In Entry controlled loop the test condition is checked
first and if that condition is true than the block of
statement in the loop body will be executed while in exit
controlled loop the body of loop will be executed first and
at the end the test condition is checked,if condition is
satisfied than body of loop will be executed again.
How's Thisssssssszzzzzzzz.........
Is This Answer Correct ? | 95 Yes | 23 No |
Answer / sandeep
In Entry controlled loop the test condition is checked
first and if that condition is true than the block of
statement in the loop body will be executed while in exit
controlled loop the body of loop will be executed first and
at the end the test condition is checked,if condition is
satisfied than body of loop will be executed again.
Is This Answer Correct ? | 49 Yes | 21 No |
Answer / ajay pandey
The entry control loop is also called for or while loop. Because while loop and for loop are check condition first and the condition is true then it execute the inside statement otherwise it is exit. Where do-while loop is atlist one time execute the inside statement and then check condition. Therefor do-while loop is exit control loop.
Is This Answer Correct ? | 4 Yes | 0 No |
Answer / prathika
entry check loop:
first the condition of the loop wll be checked if the condition is true then the body of the lop will be executed
if the condition is not satisified the loop will not be executed
ex:for,while
exit check loop:
the conditio is placed at the end the statment will be executed atleast once even if the condition fails
ex:do while
Is This Answer Correct ? | 4 Yes | 3 No |
Answer / jimi saha
In Entry controlled loop the test condition is checked first
and if condition is true than the bock of statement in the loop body will be executed while in exit controlled loop the body of loop will be executed first and at the end the test condition is checked, if condition is satisfied then body of loop will be executed again..
Is This Answer Correct ? | 14 Yes | 15 No |
Answer / varsha
Entry checking loop works on while statement, Exit checking loop works on do....while statement.
Entry checking loop will check the condition at the very beginning and if the condition is false,it won't work......
The exit checking loop will check for the condition at the last and even if the condition is false,it will work at least once
Ex for entry controlled loop:
int i=6;
while(i<5)
{
System.out.println("hello");
}
Output:
no output...
Ex. for exit controlled loop:
int i=6;
do
{
System.out.println("hello");
}
while(i<5);
Output:
HELLO.....
Is This Answer Correct ? | 8 Yes | 10 No |
Answer / rahul singh
entry controlled loop first test the terminating condition and then execute the loop body.If the condition is found true he loop body is execute other wise the loop terminates.It is also called pre-tested loop.or Top -Tested loop.
An exit control loop first execute the loop bod and then test the terminating condition.If the condition is found true the loop body execute again otherwise the loop terminates.It is also called Post Tested loop or Bottom Tested loop.
Is This Answer Correct ? | 3 Yes | 6 No |
What is true about the following C Functions (a) Need not return any value (b) Should always return an integer (c) Should always return a float (d) Should always return more than one value
Why is extern used in c?
what is a headerfile?and what will be a program without it explain nan example?
what is the difference between c and c++?
What are valid signatures for the Main function?
i want to have a program to read a string and print the frequency of each character and it should work in turbo c
A stack can be implemented only using array?if not what is used?
What do you mean by keywords in c?
what is disadvantage of pointer in C
what is calloc and malloc?
What are enums in c?
what is the different bitween abap and abap-hr?