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
KIM [24]
2 years ago
14

A company organizes all of its client database in order of the amount of money that the account is worth. When a new account is

added, it is placed in the correct order in the database based on the worth of the account. Which classic algorithm would be best suited to perform this function
Computers and Technology
1 answer:
svet-max [94.6K]2 years ago
3 0

Answer:

The addition and count algorithm

Explanation:

You might be interested in
__________ has become a widely accepted evaluation standard for training and education related to the security of information sy
kirill115 [55]
NSTISSI NO 4011 has become a widely accepted evaluation standard for training and education related to the security of information system. The standard is directed at information security professionals who are experts in identifying system vulnerabilities, investigating system security, documenting, analyzing and evaluating system security technology policies.<span />
4 0
3 years ago
What are the 2 levels of formatting in a word document
goldfiish [28.3K]

Answer:

Paragraph Styles and character formatting (font, color, etc.)

7 0
3 years ago
#Write a function called 'string_type' which accepts one #string argument and determines what type of string it is. # # - If the
deff fn [24]

Answer:

I am writing a Python program:

def string_type(string):

   if string=="":  //if the string is empty

       return "empty"

   elif string.count(".")>1:  #if the period sign occurs more than once in string

       if string.count("\n"):  #checks if the new line occurs in the string

           return "page"  #if both the above cases are true then its a page

       return "paragraph"  # if the period sign condition is true then its a para

   elif string.count(" ")>=1:  #if no of spaces in string occur more than once

       return "sentence"  #returns sentence

   elif len(string)==1:  # if length of the string is 1 this

       return "character"  #returns character

   else:  #if none of the above conditions is true then its a word

       return "word" #returns word

Explanation:

def string_type(string):  this is the definition of method string_type which takes a string as argument and determines whether the type of string is a word, paragraph, page, sentence or empty.

if string=="" this if condition checks if the string is empty. If this condition is true then the method returns "empty"

elif string.count(".")>1  This condition checks if the string type is a paragragh

string.count(".")>1   and if string.count("\n") both statements check if the string type is a page.

Here the count() method is used which is used to return the number of times a specified string or character appears in the given string.

Suppose the string is "Paragraphs need to have multiple sentences. It's true.\n However, two is enough. Yes, two sentences can make a paragraph."

The if condition first checks if count(".")>1 which means it counts the occurrence of period i.e. "." in the string. If the period occurs more than once this means it could be a page. But it could also be a paragraph so in order to determine the correct string type another if statement if string.count("\n") inside elif statement determines if the string is a page or not. This statement checks the number of times a new line appears in the string. So this distinguishes the string type paragraph from string type page.

elif string.count(" ")>=1: statement determines if the string is a sentence. For example if the string is "i love to eat apples." count() method counts the number of times " " space appears in the string. If the space appears more than once this means this cannot be a single word or a character and it has more than one words. So this means its a sentence.

  elif len(string)==1:  this else if condition checks the length of the string. If the length of the string is 1 this means the string only has a single character. Suppose string is "!" Then the len (string) = 1 as it only contains exclamation mark character. So the method returns "character" . If none of the above if and elif conditions evaluates to true then this means the string type is a word.

8 0
3 years ago
. SQL is a(n) _____ language.
Blababa [14]

Answer: Fourth- generation language

Explanation:Structured Query Language (SQL) is the language that is in the form of database structure which helps in the manipulation of the data and management as well.

SQL is considered as the fourth generation language because it is used for the accessing of the data from the database.It is also known for the advancement in the third generation language and thus also improving the language interface with users.

7 0
3 years ago
Utilitarianism does not mean "the greatest good of the greatest number" because a) it is impossible to calculate "the greatest g
pantera1 [17]

Answer:

The correct option is B: It focuses solely on "the greatest good" and pays no attention to how "the good" is distributed.

Explanation:

The theory of Utilitarianism promotes actions that enhances pleasure and the greatest good and opposes actions that can result to harm or unhappiness. However, this theory does not imply the greatest good for the greatest number of people and has been criticized for it. Critics state that Utilitarianism only focuses on the greatest good, but it shows no concern for the distribution of the good.

8 0
4 years ago
Read 2 more answers
Other questions:
  • What is the name of the amount of space between the content of a document and the edge of the page?
    13·1 answer
  • What is the decimal equivalent of the largest binary integer that can be obtained with
    9·1 answer
  • List the memory units inside and outside of the CPU, along with short descriptions of their
    11·1 answer
  • Which windows 10 edition can a device with windows 8 or 8.1 pro upgrade to
    5·1 answer
  • Write a routine to interchange the mth and nth elements of a singly-linked list. You may assume that the ranks m and n are passe
    10·1 answer
  • The larger the Word Size of a computer
    6·1 answer
  • Suppose Alice and Bob are sending packets to each other over a computer network. SupposeTrudy positions herself in the network s
    11·1 answer
  • Select the correct answer from each drop down menu
    8·2 answers
  • 11. You tried to turn on your desktop computer, but your desktop computer would not even turn on. You pressed the power button,
    8·1 answer
  • Diferencias entre ciencia y tecnologia
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!