1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Yuliya22 [10]
4 years ago
6

Refer to the method f:

Computers and Technology
1 answer:
Goshia [24]4 years ago
5 0
<h2>This function will land up in infinite function call</h2>

Explanation:

first time when the function gets invoked,

f(6,8), so k=6 & n=8, inside the function it checks k==n, ie. 6==8, returns false, then one more if is available, so 6>8 is check for , once again it is false and else loop is executed, the function is called recursively using f(k-n,n), that is f(6-8,8), it means f(-2,8) is passed.

Second time,

if(-2==8) is false, so if(-2>8) is again false and function f(-10, 8) is called

if(-10==8) is false, so if(-10>8) is again false and function f(-18,8) is called

if(-18==8) is false, so if(-18>8) is again false and function f(-26,8) is called

So this goes recursively and ends in an infinite function call.

You might be interested in
Read the sentence. Piles of discarded trash litter the cobblestones of the quaint brick alley. Which image best shows a visualiz
Snezhnost [94]

Answer:

C

Explanation:

JUST DID IT

3 0
3 years ago
What is the maximum duration of daily scrum meetings A:15minsB:45minsC10mins:30mins
scoray [572]

Answer:

A

Explanation:

A common approach to a daily scrum (although not the only approach) is for each member of the development team to address the following three daily scrum questions:

1. What did I accomplish since the last daily scrum?

2. What do I plan to work on by the next daily scrum?

3. What are the obstacles or impediments that are preventing me from making progress?

Development teams are typically between five to nine people. Each development team member should need no more than 90 seconds to address the three questions listed above. So, if you had a team of nine people, each of whom took 90 seconds to cover the questions, combined with some overhead of getting the meeting started and transitioning from person to person, you would end up with a meeting duration of about 15 minutes.

To emphasize that 15 minutes should be thought of as a timeboxed limit.

8 0
3 years ago
Read 2 more answers
Plzzzz help me
Art [367]

Answer:

Answered below

Explanation:

Carpal tunnel syndrome is a disease which occur as a result of pressure on the median nerve supplying the hand. The median nerve passes under the carpal tunnel, which is a band of tendons at the wrist, and gets compressed.

Causes include;

Excessive, prolonged, repetitive typing, diabetes, obesity, arthritis.

Symptoms include;

Numbness of the hand, weakness of the hand, inability to grasp, tingling sensations on the parts of the hand affected.

6 0
3 years ago
_____ changes all occurrences of misspelled words in a document.
guajiro [1.7K]

Answer:

My answer is C.

4 0
3 years ago
The program below is used to calcualte the sum of 3 numbers. There is an error in this program. Which line contains the error? n
djyliett [7]

Answer:

  1. num1=10
  2. num2 =20
  3. num3="30"
  4. sum = num1+num2+num3
  5. print (num1)
  6. print (num2)
  7. print (num3)
  8. print (sum)

The error is at line 3. The variable num3 has been assigned a string value with use of the quotes.

To fix the error, take away the quotes from the number 30, since the arithemetic operation cannot be carried out on the string in python program language.

Explanation:

5 0
3 years ago
Other questions:
  • Hardware- The ______________ equipment that makes up the computer.
    6·1 answer
  • Why is the DNS service included in Windows Server 2012 R2 integrated with DHCP service?
    6·1 answer
  • Assume there is a Mac and a HP computer each has an Intel microprocessor. Would an assembly program produced using the Mac compu
    13·1 answer
  • A four year old laptop will not boot and presents error messages on the screen
    8·1 answer
  • Create a program asks a user for an odd positive integer. If the user gives and even number or a number that is negative it prom
    7·1 answer
  • Write a function shampoo_instructions() with parameter num_cycles. If num_cycles is less than 1, print "Too few.". If more than
    9·1 answer
  • 1) List two hardware methods that can be used to secure data
    11·1 answer
  • How to deactivate the brainly app?​
    12·2 answers
  • Write a method named collapse that accepts an array of integers as a parameter and returns a new array where each pair of intege
    6·1 answer
  • Q.3.1 Explain why devices on a network need addresses. (5)​
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!