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 |
Write an interactive c program that will encode or decode a line of text. To encode a line of text, proceed as follows: Convert each character, including blank spaces, to its ASCII equivalent. Generate a positive random integer. Add this integer to the ASCII equivalent of each character. The same random integer will be used for the entire line of text. Suppose that N1 represents the lowest permissible value in the ASCII code, and N2 represents the highest permissible value. If the number obtained in step 2 above exceeds N2, then subtract the largest possible multiple of N2 from this number, and add the remainder to N1. Hence the encoded number will always fall between N1 and N2, and will therefore always represent some ASCII character. Display the characters that correspond to the encoded ASCII values. The procedure is reversed when decoding a line of text. Be certain, however, that the same random number is used in decoding as was used in encoding.
1 Answers Amazon, CSJM, HCL, Microsoft, TCS, Wipro,
helllo sir , what is the main use of the pointer ,array ,and the structure with the example of a programe
What is array in c with example?
Hierarchy decides which operator a) is most important b) is used first c) is fastest d) operates on largest numbers
diff. between *p and **p
wap to print "hello world" without using the main function.
a linearly ordered set of data elements that have the same structure and whose order is preserved in storage by using sequential allocation a) circular b) ordinary c) array d) linear list
9.how do you write a function that takes a variable number of arguments? What is the prototype of printf () function? 10.How do you access command-line arguments? 11.what does ‘#include<stdio.h>’ mean? 12.what is the difference between #include<> and #include”…”? 13.what are # pragma staments? 14.what is the most appropriate way to write a multi-statement macro?
What does sizeof function do?
sir, i cannot find the way how to write aprogram by using array on queue
typedef enum { html, java, javascript, perl, cgi } lang;The above statement defines a : a) Union b) User defined type c) Enumerated variable d) none
What do you mean by a sequential access file?