What are the advantages of Algorithms?
Select one:
a. Algorithm follows a predefined path
b. It is independent of any programing language
c. All of the above
d. Easy to understand

Answers

Answer 1

The advantages of Algorithms is option c. All of the above

a. Algorithm follows a predefined path.b. It is independent of any programing languaged. Easy to understand.

What are the advantages of an algorithm?

The benefits that an algorithm offer is that It is simple to comprehend. A solution to a problem is represented step-by-step in an algorithm. Since the problem is divided into smaller components or steps when using an algorithm, it is simpler for the programmer to turn the algorithm into a working program.

Note that Algorithmic or computational thinking offers us a distinctive method for problem-solving, self-awareness, and the creation of novel and enhanced systems.

Learn more about Algorithms from

https://brainly.com/question/15802846
#SPJ1


Related Questions

WD9102 Apply a shape style.

Answers

If you want to apply a shape style, you must require to tap on the Format tab followed by clicking the More drop-down arrow in the Shape Styles group.

How to know the actual or real style of shape?

To know the actual or real style of shape, go to the Drawing Tools menu in the ribbon. Then, Click on the Format tab. Observe the Shape Styles grouping of commands. Here, you will see three icons on the right side, they are Shape Fill, Shape Outline, and Shape Effects.

After clicking the More drop-down arrow in the Shape Styles group, a complete menu of styles will appear in front of you on the screen. Choose the style you want to use. The shape will appear in the selected style.

Therefore, the process of applying shape style is well described above.

To learn more about Word Shape styles, refer to the link:

https://brainly.com/question/938171

#SPJ1

write a program that reads a file called 'test.txt' and prints out the contents on the screen after removing all spaces and newlines. punctuations will be preserved. for example, if 'test.txt' contains: this is a test file, for chapter 06. this a new line in the file! then, your program's output will show:

Answers

A program that reads a file called 'test.txt' and prints out the contents on the screen after removing all spaces and newlines. punctuations will be preserved.

A computer follows a collection of instructions called a program to carry out a certain task. The size of a computer program affects the likelihood that an error may occur.

# Read lines as a list

fh = open("transfer-out/" + file, "r")

lines = fh.readlines()

fh.close()

# Weed out blank lines with filter

lines = filter(lambda x: not x.isspace(), lines)

# Write "transfer-out/"+file+".txt", "w"

fh = open("transfer-out/"+file, "w")

#fh.write("".join(lines))

# should also work instead of joining the list:

fh.writelines(lines)

fh.close()

Learn more about Program here-

https://brainly.com/question/3224396

#SPJ4

Sharon works in the entertainment industry and is a game creator. Which of the following types of specialized software would she MOST LIKELY use?

A.
computer-aided manufacturing

B.
3D printing

C.
computer-aided design

D.
3D animation

Answers

The type of specialized software that she would probably use is 3D animation. The correct option is D.

What is 3D animation?

Computer animation is the process of creating animations digitally. Computer-generated imagery is a broader term that includes both static and dynamic images, whereas computer animation only refers to moving images.

As previously stated, animation is not something that can be learned overnight. It's one of the most difficult aspects of a 3D pipeline. It will take a lot of trial and error, as well as some frustration.

Though 3D animation has primarily been used in the production of video games, films, and television shows, its applications have expanded in tandem with its popularity.

Thus, the correct option is D.

For more details regarding 3D animation, visit:

https://brainly.com/question/12037761

#SPJ1

What is the function of WebGL

Answers

Answer:

WebGL enables web content to use an API based on OpenGL ES 2.0 to perform 2D and 3D rendering in an HTML canvas in browsers that support it without the use of plug-ins. 

___________________________

personal professionalism is only important when you have a full-time job.

true or false?

Answers

Answer: True

Explanation: just cuz

According to the internet is watching you video case, what approach could be used with big data to give teachers an early warning that a student needs help with their studies?.

Answers

According to big data teachers should utilize Data to Identify Students at Risk, close the learning gap by using data, utilize data to forecast student performance on year-end objectives, utilize data to encourage success in later grade levels.

Data analytics is the process of gathering and analyzing data in order to discover insights that can be put to use to improve organizational effectiveness and business results. In the field of education, this might include everything from streamlining the enrollment procedure to enhancing academic results and the entire student experience. Effective educators who work with at-risk pupils use quiet, calm management techniques, quietly urge students to behave appropriately, and model self-control in front of the class.

Learn more about Analytics here-

https://brainly.com/question/28191959

#SPJ4

Internet banking allows you to still go to a physical bank location to do transactions. true or false

Answers

Internet banking allows you to still go to a physical bank location to do transactions: False.

What is Internet banking?

Internet banking is also referred to as online banking and it can be defined as a type of technology that is used by financial institutions (banks) to offer their customers an opportunity to receive and send money through the Internet.

This ultimately implies that, Internet banking helps to prevent the need of a customer to physically go to bank location in order to perform various financial transactions.

Additionally, some examples of Internet banking (online banking) institutions include the following:

Western UnionPay-PalMoneygramPayment processor

Read more on online banking here: https://brainly.com/question/2772610

#SPJ1

The it network that allows for the movement of organizational information within that company is known as the organizational structure. True or false?.

Answers

The IT network that allows for the movement of organizational information within that company is known as the organizational structure: False.

What is an organizational structure?

An organizational structure simply refers to a strategic process that is typically used for the division of a business organization (company or firm) into multiple functional units, in order to successfully achieve its short-term and long-term goals.

The dimensions of an organizational structure.

Generally speaking, an organizational structure comprises three (3) main dimensions and these include the following;

The vertical dimensionThe horizontal dimensionIntegrating mechanisms

In Computer technology, an intranet simply refers to an information technology (IT) network that enables the effective and efficient movement of organizational information within a business organization (company or firm).

Read more on organizational structure here: brainly.com/question/7437866

#SPJ1

you are running macos mojave and you want to begin working with various other oss such as windows server and linux. you only have one computer and you need to keep using macos while working with the other oss. what can you install on macos that will help achieve this goal? a. esxi server b. vmware fusion c. vmware workstation d. hyper-v for macos

Answers

You wish to start collaborating with various other operating systems, such as linux and windows server, while using macOS Mojave. You only have one computer, thus you have to continue using Mac OS X while utilizing the other OS. VMware Fusion must be set up.

A macOS update installation issue could happen for a variety of different causes. Ideally, the error message was clear in describing the issue. You'll be able to focus your troubleshooting efforts accordingly.

You can get caught in a loop where the installer keeps opening every time you restart your computer if your macOS installation couldn't be finished. Before attempting to fix the issue, use these fast steps to get out of the loop and safeguard your data.

learn more about VMware Fusion

https://brainly.com/question/4682288

#SPJ4

arry wants to upgrade to windows 10. he will use his computer both at home and at work and will need to connect to his company's wi-fi peer-to-peer network to share files over the network. which version of windows 10 would you recommend to larry? a. windows 10 home b. windows 10 pro c. windows 10 education d. windows 10 enterprise

Answers

Since Larry wants to upgrade to windows 10. the version of windows 10 would you recommend to Larry is option  a. windows 10 home

Is Windows 10 Home good software?

The Home edition of Windows 10 will be adequate for the vast majority of consumers. There is no advantage to upgrading to Pro if you only use your PC for gaming. Even for power users, the Pro version's added features mainly emphasize business and security.

Note that Windows 10's Home edition is $120, while the Pro edition is $200. It will immediately activate your current Windows installation because this is a digital purchase. There is no requirement that you buy a physical license.

Therefore, the security of Windows 10 is the primary distinction between Windows 10 Home and Windows 10 Pro. When it comes to wi-fi peer-to-peer network and securing your information, Windows 10 home is a safer option.

Learn more about windows 10 from

https://brainly.com/question/27960518
#SPJ1

this mechanism encompasses the components and policies necessary to control and track user identities and access privileges for it resources, environments, and systems.

Answers

The identity and access management (IAM) mechanism includes all of the elements and rules required to manage and keep track of user identities and access rights for IT resources, environments, and systems.

The discipline of controlling access to corporate resources in order to safeguard systems and data is known as identity management and access control. It can assist in confirming your users' identities prior to allowing them the appropriate level of access to workplace systems and information as a crucial part of your security architecture. User identities and access rights are defined and managed by an identity and access management (IAM) system. Customers (customer identity management) and employees are IAM users (employee identity management).

Learn more about management here-

https://brainly.com/question/14523862

#SPJ4

The CPU executes instructions in response to commands. true or false

Answers

Answer:

true

Explanation:

Answer:   True

Explanation:   I took the test and passed :)

write a driver program (lists.cpp) that defines an integer list and a string list. after creating the two lists, use the input from intdata.dat and strdata.dat files to insert data into the linked lists. these files have one data item per line. insert the data items to their respective list objects. display the lists.

Answers

linked_list.h

#include<stdlib.h>

using namespace std;

class IntNode

{

  public:

      int data;

      IntNode *next;

  public:

      IntNode(int d)

      {

          data=d;

          next=NULL;

      }

}

class StrNode

{

  public:

      string data;

      StrNode *next;

  public:

      StrNode(string str)

      {

          data=str;

          next=NULL;

      }

};

class IntLL

{

  public:

      IntNode *head;

  public:

      IntLL()

      {

          head=NULL;

      }

      void insert(int data)

      {

          IntNode *node=new IntNode(data);

          node->next=head;

          head=node;

      }

      int getTotal()

      {

          int count=0;

          for(IntNode *node=head;node;node=node->next)

          {

              count++;

          }

          return count;

      }

      void search(int data)

      {

          for(IntNode *node=head;node;node=node->next)

          {

              if(node->data==data)

              {

                  cout << data << " was found in the list" << endl;

                  return;

              }

          }

          cout << data << " was NOT found in the list" << endl;

      }

};

class StrLL

{

  public:

      StrNode *head;

  public:

      StrLL()

      {

          head=NULL;

      }

      void insert(string data)

      {

          StrNode *node=new StrNode(data);

          node->next=head;

          head=node;

      }

      int getTotal()

      {

          int count=0;

          for(StrNode *node=head;node;node=node->next)

          {

              count++;

          }

          return count;

      }

      void search(string data)

      {

          for(StrNode *node=head;node;node=node->next)

          {

              if(node->data==data)

              {

                  cout << data << " was found in the list" << endl;

                  return;

              }

          }

          cout << data << " was NOT found in the list" << endl;

      }

};

mainList.cpp

#include<iostream>

#include<fstream>

#include"linked_list.h"

using namespace std;

void add_int_items(IntLL &intLL)

{

   ifstream myfile("intData.dat");

   if(myfile.is_open())

   {

      string line;

      while(getline(myfile,line))

      {

          intLL.insert(stoi(line));

      }

   }

   else

   {

      cout << "Something went wrong" << endl;

   }

}

void add_str_items(StrLL &strLL)

{

   ifstream myfile("strData.dat");

   if(myfile.is_open())

   {

      string line;

      while(getline(myfile,line))

      {

          strLL.insert(line);

      }

   }

   else

   {

      cout << "Something went wrong" << endl;

   }

}

void intSearch(IntLL &intLL)

{

  ifstream myfile("intSearch.dat");

   if(myfile.is_open())

   {

      string line;

      while(getline(myfile,line))

      {

          intLL.search(stoi(line));

      }

   }

   else

   {

      cout << "Something went wrong" << endl;

   }

}

void strSearch(StrLL &strLL)

{

  ifstream myfile("strSearch.dat");

   if(myfile.is_open())

   {

      string line;

      while(getline(myfile,line))

      {

          strLL.search(line);

      }

   }

   else

   {

      cout << "Something went wrong" << endl;

   }

}

int main()

{

  IntLL intLL;

  add_int_items(intLL);

  cout << "Total integer items in list: " << intLL.getTotal() << endl;

  intSearch(intLL);

  cout << endl;

  StrLL strLL;

  add_str_items(strLL);

  cout << "Total string items in list: " << strLL.getTotal() << endl;

  strSearch(strLL);  

  return 0;

}

I written in c language

C is a procedural programming language with a static framework that supports lexical variable scoping, recursion, and structured programming. Constructs in the C programming language translate nicely to common hardware instructions. Programs that were formerly written in assembly language have long used it. C is a machine-independent programming language that is primarily used to build various applications and operating systems like Windows, as well as more complex programs like the Oracle database, Git, Python interpreter, and games. It is regarded as a programming foundation when learning any other programming language. Examples of such applications include operating systems and other application software for computer architectures, including supercomputers, PLCs, and embedded systems.

Learn more about c language here:

https://brainly.com/question/7344518

#SPJ4

the internet is a network of interconnected computers. each computer interface on the internet is identified by an internet address. in ipv4 (internet protocol, version 4), the addresses are divided into five classes -- classes a through classes e. only classes a, b, and c are used to identify computers on the internet. a class a address is a bit string of length 32. a bit string consists of $0$'s and $1$'s. the first bit is 0 (to identify it as a class a address). the next 7 bits, called the \textit{netid}, identify the network. the remaining 24 bits, called the \textit{hostid}, identify the computer interface. the netid must not consist of all 1's. the hostid must not consist of all 0's or all 1's. how many class a internet addresses are there?

Answers

An IP address (internet protocol address) is a numerical identifier used to specifically identify a particular network interface.

In IPv4, addresses are 32 bits long. This permits up to 4,294,967,296 (232) different addresses. Since IPv6 addresses are 128 bits long, there can be 3.4 x 1038 (2128) different addresses. Both versions' entire pool of available addresses is decreased due to a number of reserved addresses as well as other factors. Although IP addresses are binary numbers, they are frequently written in decimal (IPv4) or hexadecimal (IPv6) form to make them easier for humans to understand and use. At the internet layer of the Internet Protocol Suite, the Internet Protocol is the protocol that specifies and permits internetworking. It essentially creates the Internet.

Learn more about Address here-

https://brainly.com/question/20012945

#SPJ4

what dose the space bare look like???

Answers

The space bar key is one that is seen on a computer keyboard or on a typewriter and it look like a long ruler. It is often called a horizontal bar seen on the lowermost row.

What does the spacebar look like?

The spacebar, also referred to as the space key or space, is a long, horizontal key on the bottom border of a keyboard. On the keyboard, it is often the biggest and longest key.

Note that it is seen as a blank, space, spacebar, or say it is a space key. The space bar key is one that is found at the lowest row, as well as on horizontal bar-shaped key on a typewriter or alphanumeric keyboard. It is substantially one that broader than all other keys.

Learn more about space bar key from

https://brainly.com/question/23126526

#SPJ1

3. in a class, a. in a class, why do you include the function that overloads the stream insertion operator, <<, as a friend function? b. in a class, why do you include the function that overloads the stream extraction operator, >>, as a friend function?

Answers

I neeed point 10 thanks

with top5 as (select top 5 vendorid, avg(invoicetotal) as avginvoice from invoices group by vendorid order by avginvoice desc) select invoices.vendorid, max(invoices.invoicetotal) as largestinvoice from invoices join top5 on invoices.vendorid

Answers

The EXISTS operation determines how many rows a subquery has returned. The result is true and a row is added to the result table if the subquery returns one or more rows; otherwise, the result is false and no rows are added to the result table.

Compare two or more columns if you want to. We must utilize logical operators to create a compound WHERE clause. We can merge duplicate WHERE conditions into a single WHERE clause by using multiple-column subqueries. To eliminate every record from a table and release the space it occupies, use the SQL TRUNCATE command. An invoice is a detailed list that shows exactly what goods or services we sent our clients.

Learn more about subquery here-

https://brainly.com/question/14079843

#SPJ4

What is the electronic defacing of an existing website? multiple choice byod cybervandalism cyberbulling cookie

Answers

The electronic defacing of an existing website page is referred to as cyber vandalism. Cyber Vandalism is the act of stealing data from another person's computer or corrupting all previously saved data on that person's machines via delivering viruses.

On your computer or mobile device, adware is software that shows unsolicited (and occasionally obtrusive) pop-up advertisements. A pharming attack seeks to divert traffic from a legitimate website to a false website that is controlled by the attacker, usually with the intention of gathering sensitive data from victims or placing malware on their computers. People can simply employ cyber vandalism tactics to damage your computer from afar and change or utilize a crucial database for their own purposes. This is an unethical tactic that mostly targets businesses and government institutions.

Learn more about Cyber vandalism here-

https://brainly.com/question/8969166

#SPJ4

given the schema item(itemid, name, category, price) itemsale(transid, itemid, qty) transaction(transid, custid, date) customer(custid, name, street-addr, city) where primary keys are underlined, write the following queries in sql: a. find the name and price of the most expensive item (if more than one item is the most expensive, print them all).

Answers

Given the schema item(itemid, name, category, price) itemsale(transid, itemid, qty) transaction(tran_sid, custid, date) customer(custid, name, street-addr, city), to find the name and price of the most expensive item (if more than one item is the most expensive, print them all) is given below:

The SQL Code

SET  p 1 : = ( SELECT MAX ( price ) FROM items);

SELECT * FROM items WHERE price =  p 1 ;

Using variables, p1 stores the maximum price from the table items and then uses the variable p1 in the following query to return all records which have that maximum price without limiting the number of records as you desired.

Other ways of getting the same result are given below:

2. SELECT * FROM items

WHERE itemID IN (

  SELECT itemID FROM items

  WHERE price IN (

     SELECT MAX(price) FROM  items

  )

);  

3. SELECT * FROM items

WHERE price IN (

  SELECT MAX ( price ) FROM items

) ;

Read more about SQL here:

https://brainly.com/question/27851066

#SPJ1

Morgan’s computer is having trouble writing and retrieving programs from the hard drive. Because of the malfunction in disk operations, what type of software is MOST LIKELY NOT working correctly?

A.
utility program

B.
operating system

C.
application software

D.
communication program

Answers

The software that is most likely not working is operating system. The correct option is B.

What is operating system?

The most important software that runs on a computer is the operating system. It manages the memory and processes of the computer, as well as all of its software and hardware.

It also allows individuals to communicate with the computer as if they do not understand its language.

The operating system (OS) controls all of the computer's software and hardware. It manages files, memory, and processes, handles input and output, and controls peripheral devices such as disk drives and printers.

As Morgan is not able to write and retrieve programs from hard drive, it can be possible that operating system is not working.

Thus, the correct option is B.

For more details regarding operating system, visit:

https://brainly.com/question/6689423

#SPJ1

what security does a user id provide? a. none b. it determines the privileges accorded to the user. c. it authenticates the user in case the user forgets her password. d. it prevents an attacker from finding a user’s password entry by her name.

Answers

The security a user id provides is that it determine the privileges accorded to the user.

What are user privileges?

The set of actions a user can perform in a given system is known as user privileges. it determines the level of access they have to their own submission.

A user id which is a unique identity given to a user or a username by which a person can be identified on a system or network is used to assign privileges to a user. There are two common level of user namely:

AdminBasic user

Learn more on user privileges from:

https://brainly.com/question/7496800?referrer=searchResults

#SPJ4

just send a packet (any type) to the destination, with its time-to-live (ttl) field set to 1 first. this packet will be dropped by the first router, which will send us an icmp error message, telling us that the time-to-live has exceeded. that is how we get the ip address of the first router. we then increase our ttl field to 2, send out another packet, and get the ip address of the second router. we will repeat this procedure until our packet finally reach the destination.

Answers

The  sniff-and-then-spoof software will be implemented by combining the sniffing and spoofing techniques. On the same LAN, you require two VMs. You ping an IP X from VM A.

Packet Sniffing and Spoofing techniques  OverviewPacket Sniffing and Spoofing techniques Both packet sniffing and spoofing are crucial ideas in network security because they pose serious risks to network communication. It is crucial to comprehend these two risks in order to comprehend networking security measures. There are numerous packet sniffing and spoofing programs available, including Wireshark, Tcpdump, Netwox, and Scapy. Attackers and security professionals both frequently utilize some of these tools. While being able to utilize these tools is crucial for students in a network security course, understanding how they operate—specifically, how packet sniffing and spoofing are implemented in software—is even more crucial. The two goals of this lab are to become proficient with the tools and comprehend the technology that support them.

Learn more about spoofing techniques here:

https://brainly.com/question/15203764

#SPJ4

A​ ________ is software that enables an organization to centralize​ data, manage them​ efficiently, and provide access to the stored data by application programs.

Answers

Answer:

Database

Explanation:

-

Hope that helps

calories burned running on a particular treadmill, you burn 4 calories per minute. write a program that uses a loop to display the number of calories burned after 5, 10, 15, 20, 25, and 30 minutes.

Answers

def calorie_burned(time):

   cal_burn=time*4

   return cal_burn

run_time=[10, 15, 20, 25, 30]

for rt in run_time:

   print(calorie_burned(rt))

One execution of the initialization statement.

Evaluation of the test expression follows. The for loop is stopped if the test expression returns false.

The update expression is updated, though, if the test expression is assessed as true. If so, the for loop's body statements are then carried out.

Iteratively evaluating the test statement

The test expression remains true throughout this process. The loop is broken when the test expression returns false.

Look up relational and logical operators to find out more about test expression (when the test expression is evaluated to true and false).

Learn more about  test expression here:

https://brainly.com/question/14390367

#SPJ4

. The lightness or brightness of a color is the _______.

Answers

Answer: Value

Explanation:

Value is your answer

a rule of thumb in printing says that the area of the typed page should be half the area of the paper page. if the paper page is in by ​in, what should the length of the typed page be if the width is ​in?

Answers

The typed page is 2.5 by 2.5 inches. For objects with two or more dimensions, area is calculated. The area of one-dimensional objects is not calculable.

Any non-negative real integer can represent an area. Integrals are frequently applied while assessing area. It is well known that the product of a rectangle's dimensions determines its area. Let the paper page's area and the typed page's area be AT and AP, respectively. If the typed page is x characters long, we get AT=x5 and AP=46.

The answer to the query is AT=1/2AP.

So, ascertain x's value.

AT=12AP\s

x⋅5=12⋅4⋅6 \s

x=12/5 \

s=2*2/5

The typed page is therefore 2*2/5 inches by 5 inches.

Learn more about Area here-

https://brainly.com/question/27683633

#SPJ4

What company owns the browser?

Answers

The question is clearly asking about a browser but does not specify which. Given that a fuller question is unavailable, here are a few ideas about the most popular internet browsers.

Which companies own what Internet Browsers?

The following are some of the most popular browsers and the companies that own them.

Opera - This is owned by Brick Capital Eqity Fund LLC Partnership

Chrome - Go. ogle

Edge - Microsoft Corporation

A web browser allows you to navigate the internet. It gathers data from various sections of the internet and presents it on your desktop or mobile device. The data is conveyed via the Hypertext Transfer Protocol, which specifies how text, pictures, and video are delivered over the internet.

Learn more about Internet Browsers:
https://brainly.com/question/22650550
#SPJ1

changes in processing requirements for future is systems have led to new categories of dbms. all of the following are new dbms categories except . answer unselected nosql dbms unselected in-memory dbms unselected newsql dbms unselected output-memory dbms

Answers

Output-memory DBMS is the new categories of dbms that leads to changes in processing requirements for future is systems.

Software programs called database management systems (DBMS) are used to store, retrieve, and query data. Users can add, read, edit, and delete data from databases using a database management system (DBMS), which acts as an interface between an end-user and the database. DBMSs control the data, the database engine, and the database structure, enabling users and other applications to extract or modify the data. It also contributes to concurrency, uniform data management practices, and data security. The normalization technique, used in database schema design, allows DBMS to optimize the arrangement of data by dividing large tables into smaller ones when any of their properties have redundant values. In comparison to conventional file systems, DBMS are more flexible and have a more sophisticated backup system.

Learn more about DBMS here:

https://brainly.com/question/14004953

#SPJ4

you work as the it administrator for a small startup company. lily's computer has two internal hard drives and runs windows 11. she is concerned that she may accidently delete a personal file or that her primary hard disk may fail at some future time, causing her to lose her personal files.

Answers

Answer: People makes mistakes, but there is a chance if she is deleting something she might delete a personal file on accident

part b: enhancing the chatbot in the part we want to make alterations to the getresponse method of the magpie class to be able to respond to some other words if they happen to appear in what the user inputs.

Answers

The Web Response instance is returned by the Get Response method, which sends a request to a web site.

Get Response completes the request and returns any responses if the request was already started by a call to Get Request Stream. The Web Response is accessible synchronously through the Get Response function.

import java.util.Random;

import java.util.Scanner;

public class ChatBot

{

private int responseCount = 0;

public String getResponse(String value)

{

   String X = longestWord(value);

   this.responseCount++;

   if (responseCount == 10)

   {

       return "Sorry, but our time is up. I can't talk with you any longer.";

   }

   if (value.contains("you"))

   {

       return "I'm not important. Let's talk about you instead.";

   }

else if (X.length() <= 3)

   {

       return "Maybe we should move on. Is there anything else you would like to talk about?";

   }

   else if (X.length() == 4)

   {

       return "Tell me more about " + X;

   }

else if (X.length() == 5)

   {

       return "Why do you think " + X + " is important?";

   }

   else if (X.length() <=9)

   {

   return "Now we are getting somewhere. How does " + X + " affect you the most?";

   }

   return getRandomResponse();

}

public String longestWord(String value){

   Scanner input = new Scanner (value);

   String longest = new String();

   longest = "";

   while (input.hasNext())

   {

       String temp = input.next();

       if(temp.length() > longest.length())

       {

           longest = temp;

       }

   }

   return longest;

}

private String get Random Response()

{

String [] responses = {"OMG", "LOL", "You don't say", "Really?", "I See"};

return responses [(int)(Math.random() * responses.length)];

}

Learn more about response here-

https://brainly.com/question/14967011

#SPJ4

Other Questions
Purple hibiscusChapter 6What is Papas sisters name? Our narrator says that she walks as if what? the shapes of some proteins are dependent on the electrical potential in the surrounding area. predict what might happen to a such a protein if it was near one of the gated protein channels as it opened. i need the answer to this question so i can pass my class with a 70 give this answer please a cd players operating speed is 1600 rad/s. if it starts from rest and has an acceleration of 400 rad/s, how long does it take to reach full speed In AJKL, JL is extended through point L to point M,m/JKL = (3x 16), m/LJK = (2x + 15), andm/KLM = (8x 19). Find m/LJK. (a) Analyze Reread lines 208-212 of Beowulf. Identify the syntactic device used. (b) Interpret What qualities does the syntax add to the text? For example, consider whether it builds drama, adds clarity, or contributes another effect. (c) Evaluate Do you think this syntax is effective ? Explain. If Katie Pittman earns a $60,840 annual salary, what is her weekly gross salary?$2,340$2,530$1170$1,216.80 helpnoveoivopinojnwnvwpnvwo Complete the calculation5 5 55 + 5 + 5 = x 5 = 5 x 30 POINTS!A 240.0 gram piece of copper is dropped into 400.0 grams of water at 24.0 C. If the final temperature of water is 42.0 C, what was the initial temperature of the copper piece? (5 points)Specific heat of copper = 0.39 J/g CGroup of answer choices322 C345 C356 C364 C In the excerpt, Frodo and Gandalf have different responses to the Ring. What do their reactions illuminate about their respective heroism? In a response of 250 words, use explicit and implicit evidence from the text to analyze what their response to the Ring demonstrates about their leadership PLS HELPPPP IVE ASKED THIS 3 TIMES (3y + 11) (7x - 30) (5x + 14)Write the equation of the line that passes through the points (0,3) and (2,-1). Put your answer in point-slope form, using fractional form for m and b. In English history, the Magna Carta (1215) and the English Bill of Rights (1689) both reinforced the concept ofResponsesAreligious toleration.religious toleration.Ba laissez-faire economy.a laissez-faire economy.Ca limited monarchy. a limited monarchy.Duniversal suffrage. According to legend, why did the Aztec settle near Lake Texcoco? Select all of the major cities that African-American's moved to during the greatmigration. (6A)SenPACIFICOCEANWashingtonOrgonLos AngelesCalifomiaTHE GREAT MIGRATIONAbout six million African Americane moved from theSouth to the North and West between 1916 and 1970,particularly during World Wars I and II. Most of themigrants moved from rural communities to large citiesSouthern statesMajor routesDestination citiesColoradoDenverUNITED STATESKansas CityKancasTemWisconsinMissouriChicageSt. LouisArkansIndiansIndianapoliLouisianaCANADAOnoChelseKentuckyMAlabameClevelandNew YorkBochesterBuffaloPennsylvaniaFidurysGeorgiaWesVirginia VirginisMaaSouthCarolinaCarolinaFloridaMassYork CityD.C.ATLANTICOCEAN Its helpful to know the background of how much you owe in federal taxes by calculating by hand. What is another way that people can look up how much they owe? which of the following options result in a graph that shows expoential decay if the potential responses of competing firms are likely to be very detrimental to the costs advantages of cost leaders, firms pursuing a cost-leadership competitive strategy should 2. What did GhulamAli instruct Ahmediand her mother to doin paragraph 9? Whatcan you infer aboutthe next day's journeyfrom his advice?Explain Ghulam Ali'sinstructions.Long Ans