answersLogoWhite

0

AllQ&AStudy Guides
Best answer

In computer science, deterministic algorithm is an algorithm which, given a particular input, always produces the same result. This is used to increase the efficiency of machines.

This answer is:
Related answers

In computer science, deterministic algorithm is an algorithm which, given a particular input, always produces the same result. This is used to increase the efficiency of machines.

View page

Algorithm is deterministic if for a given input the output generated is same for a function. A mathematical function is deterministic. Hence the state is known at every step of the algorithm.Algorithm is non deterministic if there are more than one path the algorithm can take. Due to this, one cannot determine the next state of the machine running the algorithm. Example would be a random function.FYI,Non deterministic machines that can't solve problems in polynomial time are NP. Hence finding a solution to an NP problem is hard but verifying it can be done in polynomial time. Hope this helps.Pl correct me if I am wrong here.Thank you.Sharada

View page

P is the class of problems for which there is a deterministic polynomial time algorithm which computes a solution to the problem. NP is the class of problems where there is a nondeterministic algorithm which computes a solution to the problem, but no known deterministic polynomial time solution

View page

Boorapa Chodchoey has written:

'Optimal deterministic algorithm for the simple symmetric hypotheses testing problem'

View page

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.

View page
Featured study guide

Let’s say you have 150x6 for example. What is a way to multiply those numbers without skip counting

What should you subtract to get 8

What is 90x2

➑️
See all cards
5.0
β˜†β˜…β˜†β˜…β˜†β˜…β˜†β˜…β˜†β˜…
1 Review
More study guides
4.38
β˜†β˜…β˜†β˜…β˜†β˜…β˜†β˜…β˜†β˜…
8 Reviews

β˜†β˜…β˜†β˜…β˜†β˜…β˜†β˜…β˜†β˜…
No Reviews
Search results