answersLogoWhite

0


Best Answer

A recursive system is one in which the output is dependent on one or more of its past outputs while a non recursive system is one in which the output is independent of any past outputs.e.g feedforward system having no feedback is a non recursive system.

User Avatar

Wiki User

13y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

14y ago

Assume that your dns server authoritative for for a domain "example.com"

Non-Recursive query is a query for a domain that DNS is authoritative for (Ex: example.com)

Recursive query is a query for a domain that DNS is not authoritative for (Ex Google.com, Yahoo.com etc) When you say that a function is recursive, it means that the function refers to itself. One of the more common examples of this is the factorial function, which is defined as: f(0) = 1 f(1) = 1 f(n) = n * f(n-1)

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is the difference between recursive and non recursive program?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

Explain non-recursive and recursive algorithm for postorder traversal on binary tree?

Step 1:- select first root node (t), start travelsing left contin


What is cgi and non cgi sites?

difference between cgi and non cgi sites


Differences between engineered fill and non engineered fill material?

difference between engineered fill and non engineered fill material


What is recursive call in terms of algorithm?

A recursive call in an algorithm is when a function (that implements this algorithm) calls itself. For example, Quicksort is a popular algorithm that is recursive. The recursive call is seen in the last line of the pseudocode, where the quicksort function calls itself. function quicksort('array') create empty lists 'less' and 'greater' if length('array') ≤ 1 return 'array' // an array of zero or one elements is already sorted select and remove a pivot value 'pivot' from 'array' for each 'x' in 'array' if 'x' ≤ 'pivot' then append 'x' to 'less' else append 'x' to 'greater' return concatenate(quicksort('less'), 'pivot', quicksort('greater'))


How do you write a C program to find the GCD of two given integers using non recursive functions?

Use the following function: int gcd (int a, int b) { while (b != 0) { a %= b; a ^= b ^= a ^= b; } return a; } Note that a ^= b ^= a ^= b is an efficient method of swapping two values.

Related questions

Jntu 2-2 oops through java answers?

write a java program to find factorial using recursive and non recursive


Write a c program to find GCD of two given integers by using both recursive n non recursive functions?

i love u darling


Are all recursive programs non recursive?

None of them is, obviously.


What is the definition of non recursive in c?

non recursive function is excuted faster than recrussive


What is the difference between a proposition and a non proposition?

difference between a proposition and non proposition


What is the difference between agriculture and non-agriculture?

Agriculture is farming and non-agriculture is non farming.


Difference between typing and non typing keys?

Difference between typing and non typing keys


What is difference between Cognizable and non-cognizable offences?

Cognizable offences are serious crimes in which police can make an arrest without a warrant, while non-cognizable offences are less serious crimes in which police cannot make an arrest without a warrant and need permission from the court. Cognizable offences generally have higher penalties and are investigated more thoroughly compared to non-cognizable offences.


When is it appropriate to use recursion?

In many problems the recursive solution is simple and elegant whereas the non-recursive solution is complex and difficult to code.In these cases the recursive solution can take advantage of the system stack for each function call, whereas in most non-recursive solutions, a stack in which to store data must be explicitly programmed


What are the difference between managerial and non managerial levels?

Discuss the difference between managerial and non managerial tasks?


What is the difference between constant and non-constant motion?

Acceleration is the difference between constant and non-constant motion.


What is the difference between statutory and non statutory audits?

what is the difference between statutory audit and non statutory audit.