Answer:
p(x,n)
1. if(n==0) [if power is 0]
2. then result =1.
3.else
4. { result=1.
5. for i=1 to n.
6. { result = result * x. } [each time we multiply x once]
7. return result.
8. }
Let's count p(3,3)
30, so come to else part.
i=1: result = result *3 = 3
i=2: result = result *3 = 9
i=2: result = result *3 = 27
Explanation:
here the for loop at step 4 takes O(n) time and other steps take constant time. So overall time complexity = O(n)
Answer: Joystick is the only one that makes sense, a stylus and digitizer are both used on drawing tablets, not computer games.
Answer:
The correct answer to the following question will be "Marketspace".
Explanation:
- A relatively new marketing term which seems to be a simulated market place. It's an area for the electronic exchange of ideas and information in which external boundary restrictions are removed, termed as Marketspace.
- The electronic trading world focused on connectivity often filled by advanced computer and telecommunications technology and digitized deals.
Therefore, Marketspace is the right answer.
I believe its A as the image provided says plain message