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
MissTica
3 years ago
5

When calling a function with arguments that should be modified, the __________ of those arguments are passed.

Computers and Technology
1 answer:
ad-work [718]3 years ago
6 0

Answer:

Addresses.

Explanation:

An argument can be defined as a value that can be passed to a function.

Simply stated, an argument is a value that must be passed into a function, subroutine or procedure when it is called. This value can be passed to a function either by reference or by value.

This ultimately implies that, an argument which is also a parameter variable stores information which is passed from the location of the method call directly to the method that is called by the program.

Basically, parameters can serve as a model for a function; when used as an input, such as for passing a value to a function and when used as an output, such as for retrieving a value from the same function.

When calling a function with arguments that should be modified, the addresses of those arguments are passed. This is simply because the argument is an address or pointer in itself and as such the function parameter being called must be a pointer.

In object-oriented programming (OOP) language, an object class represents the superclass of every other classes when using a programming language such as Java. The superclass is more or less like a general class in an inheritance hierarchy. Thus, a subclass can inherit the variables or methods of the superclass.

Hence, all instance variables that have been used or declared in any superclass would be present in its subclass object.

You might be interested in
Write a code block to encode strings from original messages, using our custom encoding. To do so: Initialize a variable called c
blondinia [14]

Answer:

  1. custom_encoded = ""
  2. custom_message = "this is a pen"
  3. custom_encoding = {
  4.    "a": "1",
  5.    "e": "2",
  6.    "i": "3",
  7.    "o": "4",
  8.    "u": "5"
  9. }
  10. for c in custom_message:
  11.    if(c in custom_encoding):
  12.        custom_encoded = custom_encoded + custom_encoding[c]
  13.    else:
  14.        custom_encoded = custom_encoded + c
  15. print(custom_encoded)

Explanation:

The solution code is written in Python 3.

Let's define a variable custom_encoded with an empty string (Line 1).

Create another variable custom_message and set a sample string to it (Line 2).

Create one more variable custom_encoding to hold the mapping values between vowel and their respective encoded character (Line 3-9).

Create a for loop to loop through all the character in custom_message (Line 11) and in the loop check if the current character is found in custom_encoding dictionary, if so, use the current character to loop up the dictionary for the encoded value and add the encoded string to custom_encoded (Line 12-13). Otherwise, just add the current character to custom_encoded (Line 14-15).

At the end, print the custom_encoded to terminal and you shall get th3s 3s 1 p2n

3 0
3 years ago
Which term is used for a formal, documented process that describes when and how official project documents may be modified, the
kondor19780726 [428]

Answer:

The term is Change control system

Explanation:

Change control system is a systematic approach or important part of project management process used to implement and serves vital purposes of assuring that the process of making changes is done carefully and ultimately signed off on by a responsible party. It enables essential control of IT activities in project management and coordination.

4 0
3 years ago
Read 2 more answers
Enterprise software is designed for organizations to __________.
klemol [59]

Answer:

The goal of enterprise software is to enable the activities of large organizations, supporting a wide range of different user roles.

6 0
2 years ago
Jnhj hjibfnufnbfjbnkfv fj v
kirill [66]

Answer: baller.

Explanation:

6 0
3 years ago
What is the difference between Sleep and Shut Down?
OleMash [197]

Answer:

When you shut down your PC, all your open programs close and the PC shuts down your operating system. but In sleep mode, the PC enters a low-power state. The PC's state is kept in memory, but other parts of the PC are shut down and won't use any power.

Explanation:

3 0
3 years ago
Other questions:
  • Define the method object inc_num_kids() for PersonInfo. inc_num_kids increments the member data num_kids.Sample output for the g
    11·1 answer
  • How do you uninstall a program using the Control Panel?
    10·1 answer
  • Whatis meant by Translation Lookaside Buffer?
    5·1 answer
  • Who invented the first RAM stick
    11·1 answer
  • When at the rightmost cell in a row, press the ENTER key to move to the first cell in the next row; do not press the TAB key
    6·1 answer
  • PLEASE HELP
    6·1 answer
  • You notice your glove is torn; what should you do
    14·2 answers
  • By default, the Windows desktop displays
    6·1 answer
  • To make slides in a PowerPoint Online application presentation have the same transition effect, select __________ on the Transit
    11·2 answers
  • How many likes to send messages on here?
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!