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
Zarrin [17]
4 years ago
7

var shirt = "blue"; 2. var pants = "gray"; 3. var clothes = wearIt(shirt, pants); 4. function wearIt( x, y) 5. { 6. var myOutfit

= "Today I will wear a " + pants + 8 " shirt and " + shirt + " pants."; 7. return myOutfit; 8. } 9. document.write(clothes);What are the arguments and parameters in the code snipped?
Computers and Technology
1 answer:
pogonyaev4 years ago
4 0

Answer:

Arguments: "blue" and "gray"

Parameters: x and y

Explanation:

In programming, a function can take zero or one or more than one input values. These input value will be held by the variables which are called parameters. In this code snippet, x and y are parameters of wearIt function.

On another hand, when calling a function, we provide the values to the function and the values provided are termed as arguments. In this case, we provide the string blue and gray which are held by shirt and pants variables respectively to the function wearIt. The string "blue" and "gray" will then be passed to parameter x and y which will be processed in the function.  

You might be interested in
To rename a worksheet, you change the text on the ? HELP ASAP
prohojiy [21]
If this is Excel, it would be C. Sheet tab
5 0
3 years ago
Your boss has asked you to create a customized letterhead for the business, "Boyne Mountain Ski Shop". Explain how to create the
lakkis [162]

Creating a letter head is very simple. However, you need to do some planning. You are required to pick a size and shape accordingly. I would prefer a landscape oriented rectangle. Select a theme appropriate and consistent with the traits of you company. Personalize with a simple and sleek image that can be printed easily if necessary. Select a font that is bold enough, readable, and eye catching. You can include items like a slogan, a name, phone numbers, address, email address, a link to you web address and the established dates.

5 0
3 years ago
How is line used to convey meaning and emotion within the frame below? Can you identify the primary direction of lines that dire
OleMash [197]
There is no frame below. this needs an image.  Usually line show movement or direction
8 0
4 years ago
Explain the unique reason why assember language is perfered to high level language
Zigmanuir [339]

The unique reason why assembler language is preferred to high level language is that  It is said to be memory efficient and it is one that requires less memory.

<h3>Why is assembly language better than other kinds of high level?</h3>

It implies means that the programs that one uses to write via the use of high-level languages can be run easily on any processor that is known to be independent of its type.

Note that it is one that has a lot of  better accuracy and an assembly language is one that carries out a lot of better functions than any high-level language, in all.

Note also that the advantages of assembly language over high-level language is in terms of its Performance and accuracy as it is better than high-level language.

Hence, The unique reason why assembler language is preferred to high level language is that  It is said to be memory efficient and it is one that requires less memory.

Learn more about assembler language from

brainly.com/question/13171889

#SPJ1

3 0
2 years ago
Consider the Google Trends graph of dogs and cats. Give a plausible explanation or hypothesis for the spike in dog searches that
Nataly [62]

Answer:

The correct answer for: Consider the Google Trends graph of dogs and cats. Give a plausible explanation or hypothesis for the spike in dog searches that occurred between 2014 and 2015 that would lead to further investigation or research. Give your explanation and what you would want to investigate next. Is: b. dog rescues someone.

Explanation:

All right. The topic I would lie t investigate next is dogs rescue someone. Because first of all, the word dog by itself wouldn't generate such a spike in searches. c) option new dog breed seems quite difficult because for a new dog breed to be created. There has to be a hundred-year period to make the genetic design and also it has to be allowed by the kennel club as well as organizations that seek for dog's health and wellbeing. That leaves dog attack and dog rescues someone in the final mile. A dog attack is something not very common but that happens. Nevertheless, even though it is relevant it wouldn't as impressive and pivoting as a dog rescuing someone. The reason behind my posture is that as a story is not very promising, it could be a little bit yellow journalism and won't be as accepted and shared as a good act from a dog.

7 0
3 years ago
Other questions:
  • Write a cout statement that prints the value of a conditional expression. The conditional expression should determine whether th
    7·1 answer
  • Who is a miner?
    9·1 answer
  • G Suite for Education offers which benefits to educators? (Select all that apply.) Select All Correct Responses Android apps ava
    10·1 answer
  • "When an interrupt or a system call transfers control to the operating system, a kernel stack area separate from the stack of th
    11·1 answer
  • Briefly describe the software quality dilemma in your own words
    13·1 answer
  • Assume that month is an int variable whose value is 1 or 2 or 3 or 5 ... or 11 or 12. Write an expression whose value is "jan" o
    10·1 answer
  • 13. A 2-sided coin has an equal likelihood of landing on each side. One side is called "heads" and the other is called "tails".
    11·1 answer
  • Justice wrote a program and forgot to put the steps in the correct order. Which step does she need to review?
    5·2 answers
  • Write a program that declares and initializes a variable representing the weight in milligrams from the keyboard. The program di
    11·1 answer
  • Suppose a program contains 500 million instructions to execute on a processor running on 2.2 GHz. Half of the instructions takes
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!