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
ivanzaharov [21]
3 years ago
11

How can the function abcfunc change the address in its local copy of intpoint?

Computers and Technology
1 answer:
Sophie [7]3 years ago
7 0

Answer:

the correct answer is it cannot

You might be interested in
I do not know what I am supposed to do someone help please.​
Mamont248 [21]

Answer:

The expatiation about errors and their solutions is given below in explanation section

Explanation:

Variables and functions Declaration Error:

In this program, variables are not declared properly according to the programming rules.

  • var size of color

i.e. the variable " size of color" has space between words, the proper declaration of this variable is to omit the space between the words e.g. sizeOfColor.

  • var 1dimension

Some programming language restricts to declare a variable that starts with numbers. Please write this variable in this way: var dimension1.

  • fill() function

fill function is not properly declared and initialized. two errors are in this function. one, this function is using curly bracket "{}" instead of small bracket "()". the second error is, you are passing it string value while it is expecting integer value. the solution is: remove the curly bracket and put a small opening and closing brackets at the place of curly brackets and assign integer value.

  • eclipse function

in the eclipse function, the way of assigning variables is incorrect. for example the variable "size of color" has space between words and variable "1dimension" is started with a number.

6 0
4 years ago
What term is defined as private data placed in a packet with a header containing routing information that allows the data to tra
xeze [42]

Answer:

Encapsulation

Explanation:

Encapsulation is referring to the concept that data buding with some approach or method that is applied to that selected data.  it also restricts the use of some internal data of an object. The motive behind restricting the data is to prevent the misuse of the data.

For example- in java, encapsulation is refer to the wrapping of code with the data in one unit.

7 0
4 years ago
I forgot to tell it’s on Roblox for those who play and wanted to be friends and new ppl username is mosarider489
never [62]

Answer:.

Explanation:

.

8 0
3 years ago
Read 2 more answers
Select the statements that are true regarding the future of technology. Select 2 options.
nata0808 [166]

Answer:

  • Quantum computers are currently being built by Google and IBM, and will be available to the public in 2021.
  • Biocomputing can involve the use of biological components, like DNA, to store and process data.

Explanation:

Quantum computers make use of quantum processes like superposition to perform computation which make them exponentially faster and more powerful than normal classic computers.

Leading the way to develop quantum computers that will be available to the public are Google and IBM with IBM having confirmed in September 2020 that they already have a 65 qubits quantum computer which should be public by 2021.

Biocomputing is also another exciting future prospect in computer technology. It involves the use of biological components like DNA and proteins to store and process data. It is believed that with further work in this field, biocomputers will be able to perform computations many times faster than the traditional computer.

4 0
4 years ago
Before making a dish, we want to check whether we already have the necessary ingredients in our pantry or whether we need to go
Leona [35]

Answer:

class Pantry(AD):

              def __init__(self, ingredients):

""" We initialize the Pantry class by passing the ingredients that were passed in to the initializer for the superclass AD"""

              super().__init__(ingredients)

              def needed_ingredients(self, recipes):

""" Given a list of recipes, computes which ingredients to buy, and in which quantity to be able to make all recipes. Can be implemented in 10 lines of code."""

              # define the object new_pantry to contain the ingredients needed

               new_pantry = Pantry({})

                ingredients_present = self

                # loop over the recipes in the list

                for recipe in recipes:

                        # convert ingredients of recipe from AD to Pantry

                        ingredients = Pantry(recipe.ingredients)

                        # subtract the recipe's ingredients from ingredients_present

                          ingredients_present = ingredients_present - ingredients

                        # loop over the ingredients_present for key in ingredients_present:

                       # if any ingredients's quantity < 0, add it to new_pantry

                                                           if ingredients_present[key] < 0:

# check if ingredient is present in new_pantry, add the quantity to existing quantity

                                                               if key in new_pantry:

                                            new_pantry[key] += -1*(ingredients_present[key])

else: # if ingredient is not present in new_pantry, make a new entry for the ingredient

                                               new_pantry[key] = -1*(ingredients_present[key])

ingredients_present[key] = 0      # set the quantity of the ingredient in ingredients_present to 0

Explanation:

I believe everything else is provided in the question.

Copy all the details you were provided in the question as it is and add the needed_ingredients in the Pantry class.

If you are getting any assertion error, Update the code to set the negative quantities in ingredients_present to 0

6 0
3 years ago
Other questions:
  • Ascending and descending are examples of
    5·2 answers
  • Suppose sum and num are int variables, and the input is 18 25 61 6 -1
    11·2 answers
  • Tiff is the default file format for most digital cameras. <br> a. True <br> b. False
    12·1 answer
  • What does this mean in python?
    5·1 answer
  • You are an ISP. For the Address Block 195.200.0.0/16 a. If you have 320 Customers that need 128 addresses/customer - will there
    6·1 answer
  • Write code that prompts for three integers, averages them, and prints the average. Make your code robust against invalid input;
    7·1 answer
  • What is a spark line? how is a different a chart​
    14·1 answer
  • Which data type is used to teach a Machine Learning (ML) algorithm during structured learning?
    12·1 answer
  • What is uncopyrighted software that is given away without cost
    13·1 answer
  • You are given the following design parameters, fill in the table: All memory addresses are 32-bit long; A 64Kbyte (2^16 byte) ca
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!