All formatting for a paragraph is stored in the paragraph mark and carried to the next paragraph when you press the Enter<span> key. </span>
Answer:
No you can not tell that recursion is ever required to solve a problem.
Recursion is required when in the problem, the solution of the input depends on the solution of the subsets of the input.
Iteration is also another form of repetitive approach we follow to solve that kind of problems.
But the difference between recursion and iteration is :
- In recursion we call the function repeatedly to return the result to next level.
- In iteration certain bunch of instructions in a loop are executed until certain conditions met.
Explanation:
For example in the Fibonacci sequence problem, to find , we need to compute and before that.
- In case of recursion we just call the method Fibonacci(n) repeatedly only changing the parameter Fibonacci(n-1), that calculates the value and return it.
Fibonacci(n)
1. if(n==0 or n==1)
2. return 1.
3.else
4. return( Fibonacci(n-1)+Fibonacci(n-1) )
- But in case of iteration we run a loop for i=2 to n, within which we add the value of current and to find the value of
Fibonacci(n)
1. if(n<=2)
2. result = 1
3. else
4. result1 =1 and result2=1.
5. { result = result1 +result2.
6. result1= result2.
7. result2 = result.
8. }
9. output result.
The Microsoft Excel IF function returns one value if the condition is TRUE, or another value if the condition is FALSE. The IF function is a built-in function in Excel that is categorized as a Logical Function.
Profile let's go with profile hope this helps
Answer:
a. Most of the time we provide our information on different platforms on internet, that platforms provides us password to make sure that only the person knows your password can access your information. After getting password from some particular website, we assume that our information is secured now and secret from other users that also using that website. So we can say that <em>Passwords</em> is required to keep the information secret.
b. We want to make sure that our information should be secret from those people who can create problem for us or can be harmful in terms of life and money. These peoples are known as hackers. That may use our information for some purpose that can be harmful for us or our families. These people can use these information to steel our money or personnel information.
c. We sign privacy policy certificate while creating account on the website. That certificate is a legal document that is used to maintain the privacy of the users. But we can't say, our whole information is secure.