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
Marina86 [1]
3 years ago
9

A student wants an algorithm to find the hardest spelling word in a list of vocabulary. They define hardest by the longest word.

Computers and Technology
1 answer:
makkiz [27]3 years ago
5 0

Answer:

Initialize the “longest word” by an empty string and update it when a longer word is found

Explanation:

import java.util.stream.Stream;

public static String findLongest(String[] spellingList) {

   return Stream.of(spellingList).reduce("", (longestWord, word) -> (

       longestWord.length() < word.length() ? word : longestWord

   ));

}

You might be interested in
Activity
alexdok [17]

Answer:

If you want download operating system you need to go to You tube and look video for downloading.

Explanation:

Go to you. I think Now I don't any information.

4 0
3 years ago
Compare gigabytes GB, kilobytes and terabytes.​
ValentinkaMS [17]

Answer:

kb, mb, gb - A Kilobyte(kb)is 1,024 bytes. A megabyte (mb) is 1,024 Kilobyte. A gigabyte(gb) is 1,024 megabytes. A terabyte ( tb) is 1,024 gigabytes

6 0
3 years ago
Which type of protocol allows for a secure data transmission using encryption methods?
oksano4ka [1.4K]

Answer:

The Transport Layer Security (TLS) protocol adds a layer of security on top of the TCP/IP transport protocols. TLS uses both symmetric encryption and public key encryption for securely sending private data, and adds additional security features, such as authentication and message tampering detection

5 0
3 years ago
What is the name for software designed to find and open Web documents?
Liono4ka [1.6K]
It's C.spider software purpose is to find/view web documents.
7 0
3 years ago
Print("Weight on Earth?")
Lynna [10]

Answer:

weightEarth = float(input("Enter weight on earth: "))

weightMoon = weightEarth/6

print("Weight on moon:", weightMoon)

Explanation:

You have to convert the string input into a float in order to do calculations with it.

5 0
2 years ago
Other questions:
  • WILL UPVOTE ALL.
    7·1 answer
  • Why is television reactive, requiring no skills or thinking
    11·1 answer
  • A network administrator wants to logically separate web servers on the network. Which of the following network device will need
    10·2 answers
  • What is the most common way for an attacker outside of the system to gain unauthorized access to the target system?
    15·1 answer
  • The command-line interface tells a user that it's ready to receive commands by displaying a specific set of characters called a(
    12·1 answer
  • What is the forging of the return address on an email so that the email message appears to come from someone other than the actu
    11·1 answer
  • Adobe reader is a type of​
    14·2 answers
  • Technologies can offer safety and protection for people
    11·1 answer
  • Assume there are two variables, k and m, each already associated with a positive integer value and further assume that k's value
    13·1 answer
  • How have these advances in-home technology changed the role of technicians in our society?
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!