write a python program to play a simplified version of the game hangman. have user 1 input a secret word with a minimum length of 6. then, take as input from user 2 one letter at a time until they guess a letter not contained in the secret word. at the end of the program, print out the number of guesses and the secret word.

Answers

Answer 1

      Python is a popular computer programming language used to create software and websites, automate processes, and analyze data. Since Python is a general-purpose language, it may be used to develop a wide range of programs and isn't tailored for any particular issues.

How many hangman guesses are there?

      You make your guess by choosing a letter at a time. Seven errors are permitted.

      How Can Python Implement Snake Game?

putting in Pygame.Establish the screen.Build the Snake.Snake movementSnake crossing the bounds ends the game.I'll add the food.Increasing the Snake's Length.showing the result.

        What is the easiest way to create a Pong game in Python? These are the procedures used:

Step 1: On the left and right sides of the screen, make two paddles, A and B.

Step 2 : Construct a ball.

Step 3. Create an event that causes the paddle to travel vertically when a particular key is pressed.

step 4 :The code to update the score when each player misses a collision must be created.

       The game has modes for 2-3-4 players. You must attempt to guess the word if you know a letter. You must outperform your rivals by having the highest word knowledge. You can select from word pools that include things like colors, animals, and fruits, or you can select "ALL," which includes every word.

To Learn more About Python, Refer:

https://brainly.com/question/26497128

#SPJ4


Related Questions

Question 7 you have just finished analyzing data for a marketing project. before moving forward, you share your results with members of the marketing team to see if they might have additional insights into the business problem. what practice does this support?

Answers

After finishing data analysis for a marketing project and before moving forward, you share your findings with the marketing team for additional insights. This practice is referred to as data-driven decision-making.

Data-driven decision-making is a strategy that uses data, metrics, and facts to guide business decisions that align with business initiatives, goals, and objectives. Data-driven decision-making investigates information to generate strategic insights that drive actions.

A scenario like when you obtain insights into some problems from the members of the marketing team who are familiar with the business problem is an example of data-driven decision-making. Data-driven decision-making uses facts to guide powerful business decisions.

You can learn more about data-driven decision-making at

https://brainly.com/question/10238072

#SPJ4

the following pseudocode contains several nested if- then- else statements.unfortunately, it was written without proper alignment and indentation. rewrite the code and use the proper conventions of alignment and indentation.

Answers

In this exercise we have to use the knowledge of computational language in pseudocode to write a code that several nested if- then- else statements.unfortunately, it was written without proper alignment and indentation.

Writting the code:

If myScore < 60 Then

Display “Your grade is F. ”

Else

If myScore < 70 Then

Display “Your grade is D. ”

Else

If myScore < 80 Then

Display “Your grade is C. ”

Else

If myScore < 90 Then

Display “Your grade is B. ”

Else

Display “Your grade is A. ”

End If

End If

End If

End If

See more about pseudocode at brainly.com/question/13208346

#SPJ1

ethical hacking chapter 1 what penetration model should a company use if they only want to allow the penetration tester(s) partial or incomplete information regarding their network system?

Answers

A form of security test called penetration testing involves a business hiring a qualified specialist to evaluate the effectiveness of its defense against cyber threats.

These are often carried out by on-site audits of the concerned company. By quickly identifying security flaws in a program, white hat hackers primarily utilize this kind of security testing to defend against black hat hackers. Cyber attacks are now commonplace for businesses. While ethical hacking is a much broader role that employs a greater variety of approaches to avoid different forms of intrusions, penetration testers are mostly focused on doing penetration tests as specified by the customer (EC-Council, 2021b). Web application hacking is a potential area of ethical hacking. hacking a system.

Learn more about hacking here-

https://brainly.com/question/14835601

#SPJ4

what is the definition of an adapter? a device that uses voice recognition to provide a service a device that uses voice recognition to provide a service a device that converts one voltage to another a device that converts one voltage to another communication of the binary data via the voltage level for each time interval communication of the binary data via the voltage level for each time interval the push that makes electrons move in a wire; the greater the voltage, the stronger the push the push that makes electrons move in a wire; the greater the voltage, the stronger the push

Answers

The device used to convert one voltage to another is called an adapter. Hence, the statement given in option (b) i.e. ‘a device that converts one voltage to another ’ is the definition of the adapter.

Adapters are physical devices that allow electrical voltage from the main power source to be converted to another voltage. The electrical voltage is converted as per the voltage requirements of electronic devices such as laptops, televisions, and music players, etc. The adapters are designed to provide the required power supply to these devices without the loss of their functioning.

The definitions given in other options

A device that uses voice recognition to provide a service is referred to as a voice assistant. Communicating binary data through the voltage levels of each time interval is called a digital signal.The push that enables electrons to move in a wire; such that the greater the voltage, the stronger the push; is called voltage.

The complete question is:

what is the definition of an adapter?

a)  a device that uses voice recognition to provide a service

b)  a device that converts one voltage to another

c)  communication of the binary data via the voltage level for each time interval

d)  the push that makes electrons move in a wire; the greater the voltage, the stronger the push”

You can learn more about adapter at

https://brainly.com/question/14171131

#SPJ4

A group worker is planning a group that will be conducted over the internet with web-conferencing software that allows people to meet together at a designated time. What type of specialty group is the group worker designing?.

Answers

A Webinar is a type of Web conferencing that resembles a conference but is conducted web - based.

A sort of web conferencing is a webinar. It is exactly like attending a seminar online. For seminars, lectures, workshops, or product and service demos, webinars are useful.

What varieties of web conferencing are there?

Five types of online conferencing

Webinars. This is the name for online seminars, also known as webcasts and web meetings. Web meetings are virtual gatherings that promote conversation among the attendees.Collaboration online.Electronic presentations

In that they occur in real-time, online, and contain a ton of content, video conferences and webinars have a lot in common. But unlike webinars, which are often one-to-many information encounters, video conferences do not.

To learn more about webinars refer to:

https://brainly.com/question/4139475

#SPJ4

A Webinar is a type of Web conferencing that resembles a conference but is conducted web - based. A sort of web conferencing is a webinar. It is exactly like attending a seminar online. For seminars, lectures, workshops, or product and service demos, webinars are useful.

What varieties of web conferencing are there?

Five types of online conferencing Webinars. This is the name for online seminars, also known as webcasts and web meetings.

Web meetings are virtual gatherings that promote conversation among the attendees.

Collaboration online.

Electronic presentations

In that they occur in real-time, online, and contain a ton of content, video conferences and webinars have a lot in common. But unlike webinars, which are often one-to-many information encounters, video conferences do not.

To learn more about webinars refer to:

brainly.com/question/4139475

#SPJ4

How did inventors like lee deforest and edwin howard armstrong fund their initial research and development ventures into radio technologies?.

Answers

Government financing was provided for Marconi (England = public mandate; taxes)

- The United States raised funds from investors in capital.

What is meant by radio technologies?

Radio technology, the transmission and reception of communication signals made of of electromagnetic waves that bounce off the ionosphere or a communications satellite or pass through the air in a straight line.

Radio broadcasts that are available 24 hours a day and provide real-time information allow listeners to acquire the most latest news. Radio has the ability to cross international borders and can be a valuable source of news in places where reputable news is difficult to come by.

Radio equipment requires electromagnetic waves to transmit and receive in order to function. The radio signal is an electrical current that moves very quickly. An antenna is used by a transmitter to broadcast this field; a receiver takes it up and transforms it into the audio heard on a radio.

The complete question is : How did inventors like Lee Deforest and Edwin Howard Armstrong fund their initial research and development ventures into radio technologies? How was this different from the funding used by inventors like Guglielmo Marconi in Europe?

To learn more about radio technology refer to:

https://brainly.com/question/4348815

#SPJ1

Someone help me please…

Answers

Answer:

<I> tag for italics <\I>

color for mark tag and

font sizes for css!

Explanation:

if you use vs code then use I tag for italics and color for mark tag, you need to use CSS for font sizes only. sorry that I don't have any explanation of font sizes because I am in phone rn

Which of the below would provide information using data-collection technology?

Buying a new shirt on an e-commerce site
Visiting a local art museum
Attending your friend's baseball game
Taking photos for the school's yearbook

Answers

The statement that would provide the information through the utilization of data-collection technology is as follows:

Buying a new shirt on an e-commerce site.

Thus, the correct option for this question is A.

What is meant by Data-collection technology?

Data-collection technology may be defined as a type of technology that significantly deals with the process of collecting data for use in business decision-making, strategic planning, research, and other purposes.

According to the context of this question, visiting a local art museum represents the collection of information in real form, while buying a new shirt on an e-commerce site is the collection of data and information in virtual form.

Other options like attending your friend's baseball game and taking photos for the school's yearbook do not involve any sort of technology based on data collection.

Therefore, the correct option for this question is A.

To learn more about Data collection technology, refer to the link:

https://brainly.com/question/25633523

#SPJ1

an engineer learns a new security threat mitigation technique. the technique maps an ip address to a non-existent host, and is useful in stopping denial of service attacks. traffic heading to these ips can be captured for analysis or discarded. considering the available techniques, which might the engineer try to use? (select all that apply.)

Answers

A black hole in network architecture discards traffic without informing the source and before it reaches its final destination.

Using traffic routed to an IP address that an administrator mistakenly assigned to an invalid host as an example The two terms "sinkhole" and "black hole" are frequently used interchangeably. However, with sink holing, an admin typically still has some control over how to examine and forward the traffic that was collected. A software program known as a "packet sniffer" can be used to capture all network packets that are sent over a specific collision domain by using a network adapter card in promiscuous mode, which transmits all packets received on the physical network cable to an application for processing.

Learn more about network here-

https://brainly.com/question/15088389

#SPJ4

For function isreverse, write the two missing base case conditions. Given two strings, this function returns true if the two strings are identical, but are in reverse order. Otherwise it returns false. For example, if the inputs are tac and cat, then the function should return true.

Answers

Answer:

def isrreverse(str1, str2):

       return str1 == str2[::-1]

Explanation:

write a declaration for these variables: salesquarter1, salesquarter2, salesquarter3, and salesquarter4, all of type money (a structured type with two int fields, dollars and cents) and initialize these variables to $350,249.22, $381,100.00, $291,527.06, and $142,447.38 respectively.

Answers

class Example

{

 public static void main ( String[] args )

 {

 salesquarter1 = "$350,249.22";  

 salesquarter2 = "$381,100.00" ;

 salesquarter3 = "$291,527.06" ;

 salesquarter4 = "$142,447.38" ;

   System.out.println("salesquarter1 : " + salesquarter1);

   System.out.println("salesquarter1 : " + salesquarter2 );

   System.out.println("salesquarter1 : " + salesquarter3 );

   System.out.println("salesquarter1 : " + salesquarter4 );

 }

}

Declaration variable :

  In a computer programming language, a variable's declaration is a statement that identifies the variable's name and data type. Declarative code informs the compiler of the existence and location of an entity in the programme. You should initialise a variable as soon as you declare it. Although enumerations and type definitions can be be used as entities, declarations are most frequently used for functions, variables, constants, and classes. Data types or type signature types may also include dimensions, as in the case of arrays, and are normally specified in declarations. A declaration is used in forward declaration to inform the compiler of the existence of the entity; this is significant in strongly typed languages that demand that functions, variables, and constants, together with their types, be declared with a declaration before usage. Declarations are particularly prominent in languages in the ALGOL tradition, including the BCPL family, most prominently C and C++, and also Pascal. Java uses the term "declaration", though Java does not require separate declarations and definitions.

To learn more about declaration variables refer :

https://brainly.com/question/14325424

#SPJ4

Class Example

Public static void main ( String args )

salesquarter1 = "$350,249.22";  

salesquarter2 = "$381,100.00" ;

salesquarter3 = "$291,527.06" ;

salesquarter4 = "$142,447.38" ;

System.out.println("salesquarter1 : " + salesquarter1);

System.out.println("salesquarter1 : " + salesquarter2 );

System.out.println("salesquarter1 : " + salesquarter3 );

System.out.println("salesquarter1 : " + salesquarter4 );

Declaration variable :

In a computer programming language, a variable's declaration is a statement that identifies the variable's name and data type. Declarative code informs the compiler of the existence and location of an entity in the programme. You should initialise a variable as soon as you declare it. Although enumerations and type definitions can be be used as entities, declarations are most frequently used for functions, variables, constants, and classes. Data types or type signature types may also include dimensions, as in the case of arrays, and are normally specified in declarations. A declaration is used in forward declaration to inform the compiler of the existence of the entity; this is significant in strongly typed languages that demand that functions, variables, and constants, together with their types, be declared with a declaration before usage. Declarations are particularly prominent in languages in the ALGOL tradition, including the BCPL family, most prominently C and C++, and also Pascal. Java uses the term "declaration", though Java does not require separate declarations and definitions.

To learn more about declaration variables refer :

brainly.com/question/14325424

#SPJ4

computer-assisted questionnaire design refers to software that allows users to use computer technology to develop and disseminate questionnaires and to retrieve and analyze data gathered by the questionnaire. true false

Answers

The statement of computer technology is true.

What do you mean by technology?

Technology is the application of knowledge to achieve practical goals in a predictable and repeatable manner. The term technology can also refer to the outcome of such an undertaking. Technology is widely used in medical, science, industry, communication, transportation, and everyday life. Physical objects such as utensils or machinery are examples of technologies, as are intangible instruments such as software. Many technological advances have resulted in societal shifts. The earliest known technology is the stone tool, which was used in the prehistoric era, followed by fire use, which led to the development of the human brain and language throughout the Ice Age.

To learn more about technology
https://brainly.com/question/13044551

#SPJ4

write a function named safe input(prompt,type) that works like the python input function, except that it only accepts the specified type of input. the function takes two arguments:

Answers

Earlier in Python 2, this function was known by the name raw input. Later, in Python 3, it was given the name "input," which is far simpler. The raw input function is no longer supported in Python 3, thus you won't be able to use it if you're using the most recent Python release.

User input is taken using the input() method in Python. It typically returns user input as a string by default. Python utilizes the input() function to take input from the keyboard. An optional prompt parameter, also known as a string that will be printed on the screen whenever the function is called, is available for this function. A function is defined in Python by using the def keyword, followed by the function identifier (name), parentheses, and a colon.

Learn more about Python here-

https://brainly.com/question/13437928

#SPJ4

you require your users to log on using a username, password, and rolling 6-digit code sent to a key fob device. they are then allowed computer, network, and email access. what type of authentication have you implemented? select all that apply.

Answers

Single sign-on; Multi-factor authentication is the type of authentication have you implemented.

What is an authentication?

Authentication is the act of proving an assertion, such as a computer system user's identification. Authentication is the method of verifying a person's or thing's identity, as opposed to identification, which is the act of indicating that identity. It could entail validating personal identification documents, verifying the authenticity of a website with a digital certificate, carbon dating an artefact, or guaranteeing that a product or document is not counterfeit. Authentication is important in a variety of industries. A recurring difficulty in art, antiques, and anthropology is proving that a certain artefact was created by a specific individual or in a specific area or period of history. Verifying a user's identity is frequently required in computer science to give access to secret data or systems.

To learn more about authentication

https://brainly.com/question/14699348

#SPJ4

the first thing to do when your computer gives you an error message is A restart the computer B press the F2 key C write down the error message D click NO

Answers

Answer:

I think you should restart the computer

write a program that takes three integers as input: low, high, and x. the program then outputs the number of multiples of x between low and high inclusive. python

Answers

Using the knowledge of computational language in python it is possible to write a code that program that takes three integers as input: low, high, and x. the program then outputs the number of multiples of x between low and high inclusive.

Writting the code:

low = int(input())

high = int(input())

x = int(input())

count = 0

for i in range(low,high+1):

   if i%x==0:

       count += 1

print(count)

See more about python at brainly.com/question/18502436

#SPJ1

an access tool that walks you step by step through the creation of a report and that gives you more flexibility in the design, layout, and number of fields in a report.

Answers

We can use a program to help you create complex reports called the Report Wizard. When a report has been generated, whether using the Report Wizard or the Report command.

The name given to objects and controls that are built using data found in tables. bound management. A control that gets its information from a query or underlying table; a text box control is an illustration of a bound control.

Access automatically constructs a primary key for you, gives it the field name ID, and the AutoNumber data type when you create a new table in Datasheet view. The primary key can be modified, removed, or set for a table that doesn't currently have one in Design view.

Learn more about Control here-

https://brainly.com/question/14782348

#SPJ4

when planning an ifr flight using gps, the pilot should know that vfr waypoints a. are not recognized by the ifr system and will be rejected for ifr routing. b. can be used to aid in defining the route in the faa flight plan if the waypoint name has a 5-letter identifier. c. can be used to define direct routing under ifr if they are retrieved from a current database and identified by a four-point star.

Answers

Option a is correct. When planning an IFR flight using gps, the pilot should know that VFR waypoints are not recognized by the IFR system and will be rejected for IFR routing.

The data sought on FAA Form 7233-4 (or Form 7233-1 for stereo routes) or an electronic equivalent constitutes a civil IFR flight plan. The IFR flight plan proposal is communicated to the ARTCC with the exception of Item 19. The service that filed the flight plan keeps the information from Item 19 and makes it available to ATC upon request. FAA Form 7233-1 or its computerized counterpart can continue be used to file DOD/military IFR flight plans within U.S. controlled airspace as well as civilian stereo route flight plans.

The station receiving the flight plans sends distinct flight plans to the appropriate ARTCCs for each IFR component or segment when multiple (two or more) flight plans are received from the same aircraft, or for flight plans that propose alternating VFR and IFR, stopover, or terminal area delay.

To know more about IFR click on the link:

https://brainly.com/question/28089224

#SPJ4

Match each word to it's correct meaning.


1. catharsis

an emotional experience of letting go of something that's very troubling

2. catharsis effect

to understand something as a part of something else

3. contextualization

in media studies, this refers to the theory that violence in the media gives people an opportunity to "let go" of violent and negative feelings

4. scapegoat

a person, situation, or phenomenon that is blamed unfairly for an incident or social problem

Answers

1: catharsis, an emotional experience of letting go of something that's very troubling

2:catharsis effect, in media studies, this refers to the theory that violence in the media gives people an opportunity to "let go" of violent and negative feelings

3:scapegoat,a person, situation, or phenomenon that is blamed unfairly for an incident or social problem

4:contextualisation to understand something as a part of something else

31) use scanning software to look for known problems such as bad passwords, the removal of important files, security attacks in progress, and system administration errors. a) stateful inspections b) intrusion detection systems c) application proxy filtering technologies d) packet filtering technologies e) firewalls

Answers

    The logic circuitry that reacts to and processes the fundamental commands that power a computer is known as a processor (CPU). Given that it interprets the majority of computer commands, the CPU is regarded as the primary and most important integrated circuits (IC) chip in a computer.

Which of the following terms describes preventative policies, processes, and technology?

     Information systems are protected from illegal access, modification, theft, and physical damage through rules, procedures, and technology safeguards.

Disaster recovery strategies

        Disaster recovery plans are largely concerned with the technical aspects of maintaining systems, such as whether files should be backed up and how backup computer systems or disaster recovery services should be maintained.

      Identity theft occurs when cybercriminals access a database that contains your personal information.

      Keyloggers: A sort of spyware that keeps track of user activities is a keylogger. Keyloggers can be used in acceptable ways by businesses to keep an eye on employee behavior and by families to monitor their children's online activities.

         Resources are protected by a variety of techniques and technologies, including encryption, intrusion detection systems, passwords, firewalls, and antivirus software. To find intrusion, detection systems are positioned at a network's most vulnerable spots.

To Learn more About  logic circuitry, Refer:

https://brainly.com/question/24708297

#SPJ4

_________ analysis is a data mining application that discovers co-occurrence relationships among activities performed by specific individuals or groups, such as market basket analysis, which retailers seek to understand the purchase behavior of customers.

Answers

Answer:

affinity analysis is the answer it is also called market basket analysis

Affinity analysis is a data mining application that discovers co-occurrence relationships among activities performed by specific individuals or groups, such as market basket analysis.

What is affinity analysis?

Affinity Analysis is a type of predictive analysis method that uses data mining to uncover hidden, insightful correlations between various variables based on how frequently they occur between distinct persons or groups in the dataset.

The Product Affinities Analysis sheds light on the items that clients buy in tandem during a shopping trip, such as how they are filling out a broader weekly shopping trip or putting together specific meals.

Therefore, Affinity analysis is a data mining tool that identifies co-occurrence patterns between tasks carried out by particular people or groups, like market basket analysis.

To learn more about affinity analysis, refer to the link:

https://brainly.com/question/13077215

#SPJ5

in this homework you are supposed to use the random number generater random.random sample from the numpy package to generate random numbers with three different distributions. recall from the lecture that if ????:ℝ→[0,1] is a distribution function with generalized inverse ????−1:[0,1]→ℝ and ???? is a uniform random variable, then ????−1(????) is a random variable with distribution function ???? . using the function random.random sample from numpy package write three functions: exponentialrv(seed, mean,n) that returns for given seed a bunch of n random variables from an exponential distribution with the provided mean. derive the generalized inverse distribution function analytically for your simulation. binomial(seed, p,m,n) that returns for given seed a bunch of n binomial distributed random numbers with the provided success probability p and the number of trial equal to m. you have to numerically calculate the inverse distribution function. funnydicerv(seed,n) that returns for given seed a bunch of n random number which describe a biased die with distribution ℙ({1})

Answers

eeeeeeeeeeee

eeeeeeeeeee

Due TODAY!!! Can someone please help me!!!

Please provide the 5 links for your devices.
a.
b.
c.
d.
e.

How will each of the 5 devices be utilized?
a.
b.
c.
d.
e.

What internet provider will you use for your PAN?
a.

Will your network be wired or wireless? Why?
a.

Answers

Answer:

a and d

Explanation:

Alchool is a

Please let me know thanks it should be a Depressant or both not sure thanks!.

Answers

The answer should be C. Both A and B

I’m gonna go with C

rmed on a web application where a string of characters is entered and input validation is bypassed to display some additional information. which attack is being performed in the given scenario?

Answers

Without input validation, a user might take advantage of applications like setuid executables or web applications like CGIs to make them act badly by feeding them different kinds of data.

Format string vulnerabilities may be caused by this kind of issue. Any harmful action against a computer system that involves manually putting odd data into a typical user input field is known as an input validation attack. The user may see client-side validation in action. It entails using JavaScript for input form validation. A JavaScript validator, for instance, would provide an error if anything was submitted that did not conform to a phone number or email if the input was submitted for a phone number or email.

Learn more about vulnerabilities here-

https://brainly.com/question/28578902

#SPJ4

you are working on research for a 3-5 page paper and want to search for books in the library and ebooks. which is the best tool to use for this type of search? group of answer choices films on demand database library catalog/ primo- searching everything ebook collection (ebsco) database you can't search for both books in the library and ebooks

Answers

The best tool to use for this type of search is: library catalog/Primo.

What is a research?

A research is also referred to a study and it can be defined as an investigation which typically involves the process of gathering (collecting) necessary information about a particular thing of interest through the use of various search tools, in order to reach a logical conclusion with results.

What is a library catalog?

A library catalog is also referred to as library catalogue and it can be defined as a register (database) which typically comprises a list of all bibliographic items and resources that are found in a library or group of libraries, usually situated at several locations such as a network of libraries.

In this context, we can reasonably infer and logically deduce that a library catalog or Primo is one of the best tools to use in searching for books in the library, including ebooks.

Read more on library catalog here: https://brainly.com/question/3460940

#SPJ1

This process improves system performance by acting as a temporary high-speed holding area between a secondary storage device and the cpu.

Answers

Disk caching improves system performance by acting as a temporary high-speed holding area between a secondary storage device and the CPU.

What is CPU?

A central processing unit (CPU), often known as a central processor, main processor, or simply processor, is the electrical circuitry that processes computer programme instructions. The CPU executes basic arithmetic, logic, controlling, and input/output (I/O) operations provided by programme instructions. This is in contrast to external components like main memory and I/O circuits, as well as specialised processors like graphics processing units (GPUs).

Disk caching boosts hard-disk speed by compressing files. External hard drives are typically used to supplement an internal hard disc. Blu-ray Discs are designed for high quality and have significantly higher storage than DVDs. The actual physical material that contains the data and programmes is referred to as media.

To learn more about CPU

https://brainly.com/question/474553

#SPJ4

money counting game create a change-counting game that gets the user to enter the number of coins required to make exactly $1. the program should prompt the user to enter the number of pennies, nickels, dimes, and quarters. if the total value of the coins entered is equal to $1, the program should congratulate the user for winning the game. otherwise, the program should display a message indicating whether the amount entered was more than or less than $1.

Answers

The general-purpose, interactive, object-oriented, and high-level programming language Python is particularly well-liked.

def main():

   pennies=int(input("Enter the Number of pennies : "))

   nickels = int(input("Enter the Number of nickels : "))

   dimes = int(input("Enter the Number of dimes : "))

   quarters =int(input("Enter the Number of quarters : "))

   pennies1=pennies*1

   nickels1=nickels*5

   dimes1=dimes*10

   quarters1=quarters*25

   total=pennies1 +nickels1+dimes1+quarters1

   cash=total//100

   change=total-cash*100

   computeValue(pennies1,nickels1,dimes1,quarters1)

def computeValue(pennies1,nickels1,dimes1,quarters1):

   print("You entered")

   if (pennies1 == 1):

       print ("You have exactely 1 dollar")

   elif (pennies1 < 1):

       print ("You have",pennies1,"which is less than 1 dollar")

   elif (pennies1 > 1):

       print ("pennies:",pennies1,"\nnickels:",nickels1,"\ndimes:",dimes1,

       "\nquarters:",quarters1,"\nYou have",pennies1,"dollars and",pennies1,"cents")

main()

Learn more about nickel here-

https://brainly.com/question/3542561

#SPJ4

You are working as a software developer for a large insurance company. Your company is planning to migrate the existing systems from Visual Basic to Java and this will require new calculations. You will be creating a program that calculates the insurance payment category based on the BMI score.



Your Java program should perform the following things:



Take the input from the user about the patient name, weight, birthdate, and height.
Calculate Body Mass Index.
Display person name and BMI Category.
If the BMI Score is less than 18.5, then underweight.
If the BMI Score is between 18.5-24.9, then Normal.
If the BMI score is between 25 to 29.9, then Overweight.
If the BMI score is greater than 29.9, then Obesity.
Calculate Insurance Payment Category based on BMI Category.
If underweight, then insurance payment category is low.
If Normal weight, then insurance payment category is low.
If Overweight, then insurance payment category is high.
If Obesity, then insurance payment category is highest.

Answers

A program that calculates the insurance payment category based on the BMI score is given below:

The Program

import java.io.FileWriter;

import java.io.IOException;

import java.io.PrintWriter;

import java.util.ArrayList;

import java.util.Scanner;

public class Patient {

   private String patientName;

   private String dob;

  private double weight;

   private double height;

   // constructor takes all the details - name, dob, height and weight

   public Patient(String patientName, String dob, double weight, double height) {

       this.patientName = patientName;

       this.dob = dob;

       if (weight < 0 || height < 0)

           throw new IllegalArgumentException("Invalid Weight/Height entered");

       this.weight = weight;

       this.height = height;

   }

   public String getPatientName() {

       return patientName;

   }

   public String getDob() {

       return dob;

   }

   public double getWeight() {

       return weight;

   }

   public double getHeight() {

       return height;

   }

   // calculate the BMI and returns the value

   public double calculateBMI() {

       return weight / (height * height);

   }

   public static void main(String[] args) {

       ArrayList<Patient> patients = new ArrayList<Patient>();

       Scanner scanner = new Scanner(System.in);

       // loop until user presses Q

       while (true) {

           System.out.print("Enter patient name: ");

           String patientName = scanner.nextLine();

           System.out.print("Enter birthdate(mm/dd/yyyy): ");

           String dob = scanner.nextLine();

           System.out.print("Enter weight (kg): ");

           double wt = scanner.nextDouble();

           System.out.print("Enter height (meters): ");

           double height = scanner.nextDouble();

           try {

               Patient aPatient = new Patient(patientName, dob, wt, height);

               patients.add(aPatient);

           } catch (IllegalArgumentException exception) {

               System.out.println(exception.getMessage());

           }

           scanner.nextLine();

           System.out.print("Do you want to quit(press q/Q):");

           String quit = scanner.nextLine();

           if (quit.equalsIgnoreCase("q")) break;

       }

       try {

           saveToFile(patients);

           System.out.println("Data saved in file successfully.");

       } catch (IOException e) {

           System.out.println("Unable to write datat to file.");

       }

   }

   // takes in the list of patient objects and write them to file

   private static void saveToFile(ArrayList<Patient> patients) throws IOException {

       PrintWriter writer = new PrintWriter(new FileWriter("F:\\patients.txt"));

       for (Patient patient : patients) {

           double bmi = patient.calculateBMI();

           StringBuilder builder = new StringBuilder();

           builder.append(patient.getPatientName()).append(",");

           builder.append(patient.getDob()).append(",");

           builder.append(patient.getHeight()).append(" meters,");

           builder.append(patient.getWeight()).append(" kg(s), ");

           if (bmi <= 18.5) builder.append("Insurance Category: Low");

           else if (bmi <= 24.9) builder.append("Insurance Category: Low");

           else if (bmi <= 29.9) builder.append("Insurance Category: High");

           else builder.append("Insurance Category: Highest");

           builder.append("\r\n");

           writer.write(builder.toString());

           writer.flush();

       }

       writer.close();

   }

}

Read more about java programming here:

https://brainly.com/question/18554491

#SPJ1

john is responsible for security devices at his company. he is concerned about detecting intrusions. he wants a solution that would work across entire network segments. however, he wants to ensure that false positives do not interrupt work flow. what would be the best solution for john to consider?

Answers

Devices for network security are often real or virtualized hardware appliances with installed software from a particular vendor. On rare occasions, companies build their own network security device using bespoke software and commodity server hardware.

There are three primary categories of security system packages on the market today: home automation, security hardware, and environmental monitoring. Because it recognizes when someone is inside your home when they shouldn't be, a motion sensor (also known as a motion detector) is the key component of your security system. Motion is detected in a space using one or more technologies using a motion sensor. Any method or technology used in a security and protection system to protect people and property from a variety of dangers, such as theft, fire, accidents, espionage, sabotage, subversion, and attack.

Learn more about security here-

https://brainly.com/question/28070333

#SPJ4

Other Questions
Select all value of c for which f(x) = g(x)Please look grficos. Here are the recorded temperatures at the different times on a winter evening when audiences are allowed to preview actual movies such as pretty woman and national treasure: book of secrets before they are released to the general public, it is a part of the stage of the new-product process. you go out stargazing one night, and someone asks you how far away the brightest star we see in the sky without a telescope are. what would be a good, general response? Who became involved in the civil war in Lebanon because the PLO was based there? A manufacturer of kitchen utensils and gadgets is considering changing the design of their salt and pepper shakers. Their current design is a standard cylinder, while the new design they are considering is an oblique cylinder. The figure shows both designs.Which set of additional details are the minimum required to ensure the new design will have the same volume as the original design?A. The heights of both designs must be the same, and at least one cross-section taken at the same height on both designs must have the same area.B. The heights of both designs must be the same, the base areas of both designs must be the same, and each cross-section taken at the same height on both designs must have the same area.C. The heights of both designs must be the same, and the base areas of both designs must be the same.D. The heights of both designs must be proportional, the base areas of both designs must be proportional, and each cross-section taken at the same height on both designs must have the same radius. 51 pointComplete the following question to a classmate and his respoDe dndede Costa Rica. A and B are vertical angles. If A = (x-29) and mB = (6x-11), then find the value of x. What happened after the Parliament passed the stamp act of 1765 WHY IS THE BOOK THAT GATSBYS FATHER SHOWS NICK IMPORTANT TO THE NOVEL? On May 8, 2010, a team of kayakers sets a record time for 5h 19 min 17 sec to kayak across the length of Loch Ness, Scotland, UK, a distance of 20.5 mi. When the kayakers were four times as far from the starting point as from the finish, how many miles were traveled? After running a marathon, Ted experiences palpitations. This means he has a(n):viral infectionslow beating heartabnormal heartbeatpounding or racing heartSubmit 26. If 25% of a number p is 19, what is 15% of p? Graph each function f(x)=1/4 x Determine whether the following questions areYes/No Questions or require more than ayes/no answer:1) Vienes t a la fiesta?2) Cundo es tu cumpleaos?3) Qu necesitas comprar?4) Tienen ustedes la tarea hoy?5) Estudia Miguel el arte? I need help with putting 64/128 fully simplified and to a decimal Which best describes how the point of view of this passage relates to its theme?ResponsesA The narrator condemns herself for being so disrespectful in her behavior to these two godly women.B The narrator believes that her own foolishness is the cause of her richly-deserved punishment.C The narrator believes that the treatment she is receiving at the hands of these two women is entirely justified.D The narrator feels greatly wronged by her abuse at the hands of these two cruel and judgmental women. What is the meaning of this excerpt? puritans plant a rosebush near the prison to comfort criminals. The rosebush is more beautiful and fragile than anything else near the prison. The rosebush is natures offering to those who must enter or leave the prison. Puritans believe that criminals deserve a view of beauty from their cells. Who drives the two-party system?Group of answer choicesthe vice presidentthe presidentthe American voterthe UN Multiply.40.6311.07Responses4.34751743.47517434.75174347.517