answersLogoWhite

0

The difference is that pre means before and post means after in Latin so it's tested before or after. :)

What else can I help you with?

Continue Learning about Engineering

What is the fundamental difference between while loops and numeric for loops?

There is no such difference, for and while loops are convertible: in: for (exp1; exp2; exp3) stmt; out: { exp1; while (exp2) { stmt; exp3; }} in: while (exp) stmt; out: for (; exp; ) stmt;


Difference of step up and step down in terms of no of loops in the secondary coil?

If the primary coil has ten loops and the secondary coil has five loops then the secondary coil works as a 50% step down


Difference between deterministic and nondeterministic loop?

Deterministic and non-deterministic loops A deterministic loop is predictable. The number of iterations of such a loop are known in advance, even before the loop has started. Most counting loops are deterministic. Before they start, we can say how many times they will execute. A non-deterministic loop is not easily predicted. A loop that is driven by the response of a user is not deterministic, because we cannot predict the response of the user. Non-deterministic loops usually are controlled by a boolean and the number of iterations is not known in advance.


Is the for loop a pretest type of loop?

Pretest loops, such as for-loop, while-loop, execute/evaluate the condition statement first, if the condition is met, then the statements of the loop are executed. If you were referring to the body of the loop being carried out at least once, no, the body will not be touched if the condition fails (pre-test, test BEFORE the [next] execution of the body). But the condition of the loop must have been evaluated at least once.In contrast to the post-test loops, such as do-while, repeat-until, the condition is evaluated AFTER the [next] execution of the body. It is possible that the condition is never evaluate, and not the entire loop body being executed.


C programs using loops?

Loops are very important part of a C-language. If we have to run our programe multiple time then we use Loops of C.

Related Questions

What is the fundamental difference between while loops and numeric for loops?

There is no such difference, for and while loops are convertible: in: for (exp1; exp2; exp3) stmt; out: { exp1; while (exp2) { stmt; exp3; }} in: while (exp) stmt; out: for (; exp; ) stmt;


What is the difference between finale notepad and fruity loops programs?

Finale is for writing sheet music for real instruments. Fruity Loops is for creating electronic music.


What is the difference between radial and ulnar loops?

Why are you posting a question to do with finger print identification in several computer programming wikies.


What are constructs in c plus plus?

C++ has 4 basic constructs:SequentialSelectionRepetitionRoutine invocationSequential ConstructSequential constructs determine which instruction will be executed next. In most languages the default will be the instruction that immediately follows the current instruction. However, most languages include jump statements which can be used to alter the execution sequence. In C++, jump statements employ the goto, return, break and continue keywords.Selection ConstructSelection constructs include if-else and case statements (some languages also employ pattern matching, but not C++). These are primarily used to determine which statement will be executed from a list of alternate statements. If-else statements allow us to select one statement from a maximum of two statements based upon the evaluation of an expression. We can also nest if-else statements to cater for additional alternates. However, if the expression to be evaluated is the same for each alternate then it is usually more succinct to use a case construct rather than repeatedly re-evaluating the same expression. In C++, case statements may include goto, return and break statements to determine where an alternate ends, thus allowing execution to fall-through more than one case where desired.Repetition ConstructRepetition constructs involve loop statements, such as for, while and do-while, as well as procedural loops involving goto statements, where a simple or compound statement may be iterated a fixed number of times or a variable number of times. All loops must have at least one exit point, which can either be pretest or posttest. An exit point is a conditional expression that evaluates true or false. So long as the condition remains true, the body of the loop will continue iterate. With pretest loops, the condition is evaluated before each iteration while posttest loops evaluate the condition at the end of each iteration. The only real difference is that posttest is guaranteed to iterate at least once whereas pretest may not iterate at all. In C++, for and while loops are pretest and do-while is posttest. Procedural goto loops are always posttest. Although all arguments in a for loop are optional, the conditional expression is always true unless an expression is explicitly stated. Where a condition is always true, the loop is said to be variable length and infinite. However, in order to be a valid loop, the body of an infinite loop must contain at least once exit condition (which must include a break, return or goto statement that exits the loop). C++ loops may also use the continue keyword to start a new iteration if the condition (whether pretest or postest) remains true.Routine Invocation ConstructRoutine invocation construct describes procedure calls (or function calls). Unlike a goto statement that branches off to another section of code, a procedure call returns to the point of the call after invoking the procedure. To achieve this, C++ employs the call stack, pushing the return address onto the stack before invoking the named procedure. When the procedure has completed its task, the return address is popped from the stack and control is returned to that address. The call stack can also be used to pass arguments to and from the procedure, as well as returning a single value from the procedure (the return value). This mechanism allows procedures to call other procedures without losing track of the return paths. Procedures may also call themselves, recursively, using the call stack to maintain the variable state of each instance of the procedure.


What is the difference between loops and functions?

LOOP: In loops reusability of the code is restricted to a specific area FUNCTION: In functions reusability of the code is not restricted to specific area.That means you can call the function code from any where in the program


What is the difference between do and while loops in c?

the main difference b/w do and while loops is that do loop will run atleast once even if condition is not satisfied but while loop will not execute even once if condition is not satisfied . this is bcoz in do loop condition is checked after one execution but in while condition is prechecked.


What are One of the differences between electric and magnetic fields is that electric fields lines always form closed loops?

One key difference between electric and magnetic fields is that electric field lines originate from positive charges and end on negative charges, forming closed loops; whereas, magnetic field lines always form closed loops, never having a starting or ending point.


Difference of step up and step down in terms of no of loops in the secondary coil?

If the primary coil has ten loops and the secondary coil has five loops then the secondary coil works as a 50% step down


Does the distinction between Ulnar and Radial loops depends on which hand the loop is found on?

No, the distinction between Ulnar and Radial loops does not depend on which hand the loop is found on. Ulnar loops have their opening towards the pinky finger side of the hand, while Radial loops have their opening towards the thumb side of the hand regardless of which hand they are found on.


Tell 2 or 3 differences in table manner of differences between for and while loops?

Both For and While loops are available for the purpose of executing a piece of java code repeatedly until a particular condition is met. The only difference being - the loop condition/counter has to be modified inside the while loop every time whereas the condition is integrated in the for loop definition. Otherwise both the loops are exactly same in all aspects.


What is difference between solenoid and coil?

A solenoid is a device that typically consists of a coil of wire that generates a magnetic field when an electric current passes through it. A coil, on the other hand, is simply a length of wire wound into a series of loops. A solenoid is specifically designed to create a magnetic field for a specific purpose, whereas a coil may have various applications beyond generating a magnetic field.


Which cereal floats the longest between frosted flakes and fruit loops?

# sxs xss