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
Leni [432]
3 years ago
10

After the following code runs, what will be the value of result? var x = 30; function get () { return x; } function set (value)

{ x = value; } set(10); var result = get(20);
Computers and Technology
1 answer:
PilotLPTM [1.2K]3 years ago
5 0

Answer:

Null

Explanation:

It entirely depends on the language you are using to implement this.

But generally by the rule of scope, "result" will return null since get() was not defined to accept any argument, and it neither know the global "x" not defined it's own x in the function.

You might be interested in
Digital cameras often have trouble with auto white balance, which can result in unattractive blue, orange, or green casts.
mariarad [96]

The statement about digital cameras often having trouble with auto white balance which can result in unattractive blue, orange or green casts is; A: True.

Let us first define white balance(WB).

White balance is defined as the process of removing unrealistic color casts, in a way that will make the objects that appear to be white in person to also be appear white in the photo.

Now, for a camera to have the right white balance, it will have to consider the "color temperature" of a light source i.e the relative warmth of white light.

Finally humans eyes are very good at judging which is white under different light intensities or sources, but that is not the case with digital cameras because they struggle with auto white balance and that could lead to different colors like unattractive blue, orange, or even green color casts.

Read more about Camera pictures at; brainly.com/question/22862481

7 0
3 years ago
A function is a built-in formula in a spreadsheet. <br> a. True<br> b. False
Anna11 [10]
YES its TRUE the answer is A. true. Spreadsheet is like excel that contains built in formula and ready to use. You just have to explore more on its environment and research more about the spreadsheet so that your work will easily be done
5 0
3 years ago
Read 2 more answers
Which tool allows users to share code and also serves as a social networking
nikklg [1K]

Answer:

D. GitHub

Explanation:

A P E X

8 0
3 years ago
Which institution of the European Union (EU) is the executive body?
zhannawk [14.2K]
<span>A.Council of the European Union</span>
7 0
4 years ago
In peer to peer systems, the guarantees offered by conventional servers may be violated by:(a) physical damage to the host;(b) E
gayaneshka [121]

Answer:

Check the explanation

Explanation:

The two examples for each type of violation:

A) Power failure and Act of sabotage

B) Accidental deletion of file and Permission failure

C) Tampering of data, Denial of service attack

D) Failures of HDD (hard disk) and finding program bugs.

Note:

There is a difference in trusted behavior for pc's and servers are relevant because pea-to-peer system must be designed to cope with the looser interpretation of trust for pi s

4 0
4 years ago
Other questions:
  • Which of the following is true of Shareable Content Object Reference Model (SCORM)? Group of answer choices guidelines that allo
    7·1 answer
  • Use the get_seconds function to work out the amount of seconds in 2 hours and 30 minutes, then add this number to the amount of
    13·1 answer
  • What is the fastest typing speed ever recorded? Please be specific!
    13·1 answer
  • Clunker Motors Inc. is recalling all vehicles from model years 1995-1998 and 2004-2006. A boolean variable named recalled has be
    6·1 answer
  • Can you choose what part of the image is in focus with a point-and-shoot camera?
    15·1 answer
  • What was the first video game ever invented
    11·2 answers
  • The variable named var2 declared above will include an ending NULL character.
    9·1 answer
  • Will mark brainliest! What does this code do? What kind of code is this called?
    15·1 answer
  • Encoding in the information processing theory is the process of _____
    5·1 answer
  • In python please.
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!