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
faltersainse [42]
3 years ago
12

For functional programming languages, the scope of a local name Group of answer choices is always the entire program. starts imm

ediately at the point when the name is declared. is in the body part of the declaration or definition. is exactly same as object-oriented programming languages such as C++.
Computers and Technology
1 answer:
svp [43]3 years ago
6 0

Answer:

in the body part of the declaration or definition

Explanation:

In functional programming the scope of a variable is in the body part of the declaration or definition. Meaning that as soon as it is declared, whatever body it is in can call and use that variable but not any code outside of that body. For example, in the below code variable (var1) is declared inside func1 and therefore can be used by any code inside the body of func1 but not by code inside func2 since it is outside the body of func1.

void func1() {

int var1;

}

void func2() {

var1 = 2 // This will not work, since var1 is only available in func1()

}

You might be interested in
With _____ technology, a web server delivers information to users, who have signed up for the service, instead of waiting for th
myrzilka [38]

With the use of Push technology, a web server delivers information to users, who have signed up for the service.

<h3>What is  push technology?</h3>

This is known to be Software that automatically send information to users. via a Web browser, e-mail, or others.

Note that in the case above, With the use of Push technology, a web server delivers information to users, who have signed up for the service.

Learn more about Push technology from

brainly.com/question/9165574

#SPJ12

6 0
2 years ago
What is the output?
nikitadnepr [17]

Answer:

Following are the modified code to this question:

phrase = "Hi Dad"#defining a variable that stores a string variable  

print(phrase.lower())#Use print method that use lower method to print value in lower case

Output:

hi dad

Explanation:

In the above python code, a phrase variable is declared, that store a string value "Hi Dad", and in the next step, a print method is used, and inside the method a lower() method is used, in which it converts the string value into the lower case, that's why the above code output is "hi dad" into the lower case.

5 0
3 years ago
In an oligopolistic market, consumer choice is?
Alekssandra [29.7K]

Answer:

it's limited

Explanation:

I took the Test on Edgenuity

7 0
3 years ago
Read 2 more answers
15 points. Please give an actual answer and not some random thing. this is not just free points. Correct answer will receive bra
trapecia [35]

Answer:

i think its b

Explanation:

i did the test and got it right

7 0
3 years ago
Read 2 more answers
Package Newton’s method for approximating square roots (Case Study: Approximating Square Roots) in a function named newton. This
Shtirlitz [24]

Answer:

def newton(n):

       #Define the variables.

       t = 0.000001

       esti = 1.0

       #Calculate the square root

       #using newton method.

       while True:

               esti = (esti + n / esti) / 2

               dif = abs(n - esti ** 2)

               if dif <= t:

                       break

   

       #Return the result.

       return esti

#Define the main function.

def main():

   

       #Continue until user press enters.

       while True:

               try:

         

                       #Prompt the user for input.

                       n = int(input("Enter a number (Press Enter to stop):"))

                       #display the results.

                       print("newton = %0.15f" % newton(n))

     

               except:

                       return

#Call the main function.

main()

7 0
3 years ago
Other questions:
  • Determine encryption that is needed to provide security for the company’s system. This will include plans to address: Passive an
    11·1 answer
  • Plz answer me will mark as brainliest ​
    7·2 answers
  • A network slows down when a network card is locked in a perpetual mode
    12·2 answers
  • All of the following are organization habits except:
    10·1 answer
  • A garments manufacturing company buys various types of natural and synthetic materials to produce clothes. Which material is a s
    6·2 answers
  • Write a class called TextProcessor that implements the methods listed below. Your implementation may use the charAt() and length
    14·1 answer
  • Please help it’s timed
    5·1 answer
  • If there are over 1,000 websites about a certain topic, the information is reliable. A. True B. False
    12·1 answer
  • A leading global vendor Of computer software hardware for computer mobile and gaming systems and cloud services it's corporate h
    14·1 answer
  • What is this line called that appears and disappears in the search box<br><br> WILL MARK BRAINLIEST
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!