Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


what is the difference between a looping statement and a
decision statement

Answers were Sorted based on User's Feedback



what is the difference between a looping statement and a decision statement..

Answer / guest

looping statement will be executed repeatedaly until the
condition becomes false.
Decision statment have only one entry point but must have
two exit points since the answer to the question can be
either a "YES" or a "NO".

Is This Answer Correct ?    90 Yes 8 No

what is the difference between a looping statement and a decision statement..

Answer / ankit guha

the main difference between looping statement and decision making statement is that in loop the statement execute several times until the condition would not get false whereas in decision the statement execute either one or not execute on the basis of the condition provided.

Is This Answer Correct ?    25 Yes 6 No

what is the difference between a looping statement and a decision statement..

Answer / vignesh1988i

looping statement :
this can rotate to a specific number of times upto
the termination condition given ......
here we can conclude many decisions by further adding
statements using some decisions control statement....
for eg :

for(int i=0;i<5;i++)
{
if(i%2==0)
{
printf("winner ");
if(i)
printf("looser ");
}
else
{
printf("intelligent ");
if(i)
printf("big idiot");
}
}
here using both looping and conditions structures we there
by get different by varying the values of 'i'.

decision statement:

in these statements we must take only one decision at a
time....... multiple desions not possible... the decisions
can be nested ..... but no 2 or more decisions possible at a
time.....

eg: if-else,switch

thank you

Is This Answer Correct ?    24 Yes 20 No

what is the difference between a looping statement and a decision statement..

Answer / paravati

Distinguish between decision making and looping statements ?

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Programming Languages AllOther Interview Questions

How many types of list exist in the HTML

2 Answers  


how to get second highest salary from a employee table and how get a 5th highest salary from a employee table by using proc sql?

0 Answers   ABC,


how to remove header and footer in jcl using sort utility

0 Answers   CTS,


What is good attributes of Programming language ?

6 Answers   GKN Land Systems,


Piggy backing is a technique for a) Flow control b) sequence c) Acknowledgement d) retransmition

17 Answers   Fast Booking, HCL, Lucent, NIC,


One boy has to climb steps. He can climb 1 or 2 steps at a time. Write a function that will returns number of way a boy can climb the steps. Int WaytoSteps(int n) (eg:- suppose number of steps is n=4 ,the function will return 5 (one-one-one-one ,one-one-two, one-two-one-,two-one-one, two-two)

0 Answers   Persistent,


Why COBOL/400 is giving 95 session error when opening a file even though the file is having key and the screen or display file is having IND ARA defined?

1 Answers   Freelance,


through which algorithm does the garbage collector works? how the garbage collector will understand that the object will going to be deleted?

0 Answers   Motorola,


I'm new to ABAP. What is Module pool in SAP?

0 Answers   TCS,


How to find the aerry size

1 Answers   Cap Gemini,


___ method used to move a recordset pointer in nth position in DAG.

1 Answers  


What does this useful command line do? tasklist /m "mscor*"

1 Answers  


Categories