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
ZO
Tom [10]

Answer:

format

Explanation:

3 0
3 years ago
Why was chess considered to be one of the most difficult games for computers to play well?​
telo118 [61]

Answer:

In a general sense, the answer to that is Go. The main reason for that is because the size of the board and the fact that it is empty to begin with gives the game a much more complex opening to the game. But if you were to make things equal in board size then chess is the obvious more difficult game to master.

Explanation:

6 0
3 years ago
Read 2 more answers
You should click ____ in the category list on the number sheet in the format cells dialog box to select or create a format code.
Mademuasel [1]
Hello <span>Ghaile561</span><span>



Answer: You should click custom in the category list on the number sheet in the format cells dialog box to select or create a format code.


Hope this helps
-Chris</span>
3 0
4 years ago
Which system provides an easier way for people to communicate with a computer than a graphical user interface (GUI)
Marta_Voda [28]
Answer: natural Language Processing

Explanation:

Natural Language Processing: It is a sub field of linguistics which is concerned with the interactions between Human and computer especially how to program computers to process and to understand large amounts of natural language data.
6 0
3 years ago
Which kind of tablet positions the case below a keyboard, providing functionality similar to that of a laptop?
lianna [129]
The appropriate response is convertible. A convertible portable figuring gadget has a show screen and cover upheld at three focuses for stable development between a shut position, a tablet PC operational position and a tablet PC operational position. A web pivot gathering essentially couples along a collapsing hub on the cover side of the show screen and to the back negligible edge of the base unit with which the show screen participates.
4 0
3 years ago
Other questions:
  • Why might you need to convert a file to another file type?
    14·1 answer
  • _______ ______ is the creation of a computer program by utilizing pictorial elements. Question 36 options: A. Assembly Programmi
    7·2 answers
  • What are two reasons for using layered protocols? what is one possible disadvantage of using layered protocols?
    13·1 answer
  • A manufacturer wants to estimate the proportion of defective items that are produced by a certain machine. A random sample of 50
    6·1 answer
  • The term Electronic Privacy Information Center (EPIC) refers to a form of the digital subscriber line technology, which enables
    6·1 answer
  • Which best describes what a bibliography includes?
    8·1 answer
  • when a page contains function is loaded the browser by passes the function without running it - true or false
    7·1 answer
  • When a communication exchange that does not verify the identity of the endpoints of a communication and accepts any properly for
    10·1 answer
  • What is the meaning of the concept (atomically)
    11·1 answer
  • Apart from using secure networks, how else can Dhruv keep his deliverables safe in the office and on the go? Select all that app
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!