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
bonufazy [111]
2 years ago
7

What makes a GOOD algorithm choose?

Computers and Technology
1 answer:
julia-pushkina [17]2 years ago
7 0

Answer: I'd go with Efficiency and Correct.

You might be interested in
100 POINTS PLEASE HELP
Oksana_A [137]

Answer:

hope this helped ,do consider giving brainliest

Explanation:

import numpy as np

#PrintArray Function

def printArray(array):

for i in range(len(array)):

for j in range(len(array[i])):

print(array[i][j], end= " ")

print()

#Flip horizontal function

def flipHorizontal(array):

#reversing the order of arrays

array2 = np.fliplr(array).copy() printArray(array2)

#Flip Vertical function

def flipVertical(array):

#Preserving the order of array and reversing each array.

array3 = np.flipud(array).copy() printArray(array3)

#Main() function def main():

array = [[0,2,0,0,0],[0,2,0,0,0],[0,2,2,0,0],[0,2,0,2,0],[0,2,0,0,2]]

print("The array: \n")

printArray(array)

print("\nFlipped horizontally: \n") flipHorizontal(array)

print("\nFlipped vertically: \n") flipVertical(array)

if __name__=="__main__":

main()Explanation:

6 0
2 years ago
Read 2 more answers
Which member of the Jackson family was the spokesperson for the Psychic Friends Network.​
Jlenok [28]

Answer:

La Toya Jackson

Explanation:

8 0
3 years ago
Is a component that provides a button control in a gui application or applet?
harina [27]
<span>GUI is a graphical user interface. It is a graphical window that provides interaction with the user. 
</span>The button is a pushbutton, which can be pressed to trigger an action.<span>
A graphic control component or a control element is a component that provides a button control in a GUI application. It is also called a control element because it </span><span>is an element of interaction between the user controlling the application.</span>
7 0
4 years ago
Write a function named ilovepython that prints out I love Python three times. Then, call that function.
Brums [2.3K]

Answer:

The program to this question can be described as follows:

Program:

def ilovepython(): #defining a method

   for i in range(3): #defining a loop that print messasge three times

       print('I love Python')#print messasge

ilovepython() #calling the method

Output:

I love Python

I love Python

I love Python

Explanation:

Description of the python program can be described as follows:

  • In the above Python program, a method "ilovepython" is defined, inside the method a for loop is used, inside the loop print method is used, that print the message "I love Python".
  • In python for loop is used to iterate over series and we can execute a set of statements with the loop, tuple, series, once for each element in the list.
8 0
3 years ago
def multiplication_table(number): # Initialize the starting point of the multiplication table multiplier = 1 # Only want to loop
Sauron [17]

In this def multiplication_table(number): # Initialize the starting point of the multiplication table multiplier = 1 * number # the additional condition to exit out of the loop is by the increment the variable for the loop multiplier.

<h3>How do you are making a multiplication desk for a loop in Python?</h3>
  1. Code the usage of a for loop
  2. ourNum = int(input("Enter the quantity you need to generate a multiplication desk for, then hit the `enter` key: "))
  3. ourRange = range(1,6)
  4. for x in ourRange:
  5. result = ourNum * x.
  6. print(ourNum," * ",x," = ",result.

If the numbers multiplier increases then the starting point of the multiplication table multiplier will be greater than 25 and will increase.

Read more about the multiplication table:

brainly.com/question/12617401

#SPJ1

7 0
2 years ago
Other questions:
  • Which was the first media-sharing website that allowed users to submit their own work on the site?
    7·1 answer
  • What does a computer user need to know about programming in order to play a video game?
    6·2 answers
  • Which is the faster cpu and why?
    8·2 answers
  • Darian has a gourmet cupcake business and needs a website to compete with the other bakeries in his area. He has a Google My Bus
    15·1 answer
  • In 1-2 pages, identify a social networking technology and identify at least 10 security and/or privacy risks the technology has
    8·1 answer
  • Which device in a wireless local area network determines the next network to which a packet should be forwarded??
    5·1 answer
  • Which business application uses electronic tags and labels to identify objects wirelessly over short distances?
    8·1 answer
  • Write a program that asks the user to enter a number of seconds. There are 60 seconds in a minute. If the number of seconds ente
    9·1 answer
  • What are some industries of aerodynamics and hydrodynamics? explain each one in detail.
    5·2 answers
  • What is science worksheet answers name the three features that make science different from other human endeavors?
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!