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
Anna007 [38]
3 years ago
12

What is the output?

Computers and Technology
1 answer:
yuradex [85]3 years ago
8 0

Answer:

this is x,y correct?

well if it is then wouldnt it be 5,30?

You might be interested in
What is the output of the code below assuming that global variable x has value 2 and global y has value 3? def f1(): return "ab"
Lostsunrise [7]

Answer:

ababababab

Explanation:

The code above is written in python and python uses indentation .So let me rephrase the code accordingly and explain what the code really do.

Note x and y is a global variable which can be used by any of the function declared.  According to the question x and y are 2 and 3 respectively

The first block of code describes a function f1 without any argument but the code should return the string "ab"

def f1():

      return "ab"

The second block of code defines a function f2 and returns the value of f1 multiply by x. This means you are multiplying the string "ab" by 2 which will be equals to abab

def f2():

           return f1() * x

The third block of code declared a function f3 and returns the sum of  f2 and product of f1 and y. using PEMDAS principle the multiplication aspect will be solved first so, ab × 3 = ababab, then we add it to f2  . ababab + abab = ababababab.

def f3():

        return f2() + f1() * y

Finally, we print the function f3 value to get ababababab

print(f3())

If you run the code on your IDE like below you will get  ababababab

x = 2

y = 3

def f1():

      return "ab"  

def f2():

      return f1() * x  

def f3():  

      return f2() + f1() * y  

print(f3())

     

7 0
3 years ago
WILL GIVE BRAINLIEST! How do I create (and then print out) an int array of length n filled with 0's in Java? Please hurry, my ho
koban [17]

Answer:

press print icon on the top right corner

Explanation:

3 0
3 years ago
While the names for Web addresses, or URLs, are not case-sensitive, the names for files you create for the Web are. 
gtnhenbr [62]
90% sure the answer isTrue
6 0
4 years ago
Is Microsoft Publisher a desktop publishing app?
ladessa [460]

Answer:

yes

Explanation:

Publisher is a desktop publishing application that helps you create visually rich, professional-looking publications. With Publisher on your PC, you can: Lay out content for a print or online publication in a variety of pre-designed templates.

3 0
3 years ago
Read 2 more answers
List and describe in detail any four power management tools that were developed by at
leva [86]

Power management tools is a kind of technology that enables the efficient and optimized management of the power that is consumed by computer hardware.

<h3>What is the purpose of a power management tool? </h3>

The key purpose of a power management tool is to help:

  • minimize power consumption;
  • save costs
  • preserve the optimal performance of the system.

Examples of power management tools are:

  • Signal chain Power
  • ADI Power Studio
  • LTpowerPlay, etc.

Learn more about Power management tools at:
brainly.com/question/12816781

3 0
2 years ago
Other questions:
  • How efficient would a 6-bit code be in asynchronous transmission if it had 1 parity bit, 1 start bit, and 2 stop bits?
    5·1 answer
  • If you need to set up direct deposit, which information from your check would you likely need?
    14·1 answer
  • Su
    6·1 answer
  • Assume there is a variable , h already associated with a positive integer value. Write the code necessary to count the number of
    13·1 answer
  • Here's another question!<br><br> What is some iterative programming structure uses?
    13·1 answer
  • What is being identified when antibodies stick to pathogens during immunostaining?
    11·1 answer
  • Tasavvuf kelimesi soyut bir kelimedir.​
    7·1 answer
  • ____ is Windows XP system service dispatch stubs to executables functions and internal support functions.
    13·1 answer
  • What is closeable interface in java.
    12·1 answer
  • Who is the monst important person and why
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!