Please solve this in JAVA

Please see the attachment

Please Solve This In JAVAPlease See The Attachment

Answers

Answer 1

Answer:

I'm going to do it but you should try these things for yourself or else you won't learn.

Explanation:

-First create a project (I'm using Netbeans 14 and the project is a Maven, but the code should work on any IDE)


-Name the project 'ShoppingCartPrinter' and leave the package name as it is. This is the main class so the main method is gonna be there already.

-Then you will create a second class named 'ItemToPurchase'. So I'll leave the code in the attachment (at the bottom of my answer it's written 'Download txt') or else brainly will think it's some sort of redirection to another websites because of the 'dots' and won't let me post it.







Related Questions

How is a collapsed cubit similar to a bit?

Answers

Answer:

It can stay in a state of superposition. It is still dependent on its counterparts. It has a single value of either 0 or 1.

Explanation:

hope it's helpful to you

A help desk technician determines that a user's issue is caused by a corrupt file on their computer. Which is the FASTEST way to transfer a good file to the computer?

Answers

The FASTEST way to transfer a good file to the computer is to  use the C$ administrative share to copy the file.

What is C$ administrative share?

The c$ share is known to be a kind of an administrative share that is often known to be the cluster or SVM administrator  that a person can be able to can use to be able to go through and manage the SVM root volume.

Note that The characteristics of the c$ share are the path for this kind of admin. share is known to be always the path to the SVM root volume and it is one that a person cannot modify.

Hence, based on the above, the The FASTEST way to transfer a good file to the computer is to  use the C$ administrative share to copy the file.

Learn more about file share from

https://brainly.com/question/15267859

#SPJ1

Assignment: In this project, you’ll create a security infrastructure design document for a fictional organization. The security services and tools you describe in the document must be able to meet the needs of the organization. Your work will be evaluated according to how well you met the organization’s requirements.

About the organization: This fictional organization has a small, but growing, employee base, with 50 employees in one small office. The company is an online retailer of the world's finest artisanal, hand-crafted widgets. They've hired you on as a security consultant to help bring their operations into better shape.

Organization requirements: As the security consultant, the company needs you to add security measures to the following systems:

An external website permitting users to browse and purchase widgets

An internal intranet website for employees to use

Secure remote access for engineering employees

Reasonable, basic firewall rules

Wireless coverage in the office

Reasonably secure configurations for laptops

Since this is a retail company that will be handling customer payment data, the organization would like to be extra cautious about privacy. They don't want customer information falling into the hands of an attacker due to malware infections or lost devices.

Engineers will require access to internal websites, along with remote, command line access to their workstations.

Grading: This is a required assignment for the module.

What you'll do: You’ll create a security infrastructure design document for a fictional organization. Your plan needs to meet the organization's requirements and the following elements should be incorporated into your plan:

Authentication system

External website security

Internal website security

Remote access solution

Firewall and basic rules recommendations

Wireless security

VLAN configuration recommendations

Laptop security configuration

Application policy recommendations

Security and privacy policy recommendations

Intrusion detection or prevention for systems containing customer data

Answers

The authentication can be done by using user id and password, social sign-in or by using the biometrics.  

How to explain the information?

Authentication works as follows:  

Prompting the user to enter the credentials.  Send credentials to the authentication server.  Match the credentials.  Authorize the user and grants the acces

External Website security:  

Use of firewall.  Implement the access control.  Use of MVC (Model View Controller) Use of encryption.  Use of SSL certificate.Use of security plugins.  Use of network monitoring team.  

Internal Website security:  

Use of authentication to identify the user identity.  Use of authorization to provide different user with the specific privileges and access.  Encrypt or hide sensitive web pages.  By implementing IT policies.  Educate the user about the website.  

Remote Access Solution:  

Remote access provides better security, cost efficiency, ease of management, and increased availability.  

Remote access can be deployed by using the RAS gateway.  

Firewall and Basic rules recommendations:  

Firewall is important for managing the traffic and providing external website security.  Rules to prevent SQL injection and XSS.  Allow only the specific type of traffic.  Use access rules for IP security.  Implement certain IT policies.  

Wireless Security:  

Wifi is being used in every organization and it prevents the network from malicious access.  

Wireless security can be provided by usin encryption, decryption, and authorization.  

VLAN configuration:  

VLAN are important for traffic filtering and providing the logical division of the network.  

VLAN can be configured for web interface and can provide web filtering.  

VLAN can be configured between router and firewall that passes the network.  

Laptop Security Configuration:  

Use of password, VPN and the registering the laptop will provide laptop security. .  

Application policy recommendations:  

Application policy includes integration, use of cookies access control, and implanting other organization and IT rules.  

Security and privacy policy recommendations:  

It includes listin of security methods to be implemented for traffic filtering, user authentication and other specific policy for the website.  

Intrusion detection or prevention for systems containing customer data:  

IPS is implemented behind firewall and it matches the incoming traffic against the security policies.

Learn more about security infrastructure on:

https://brainly.com/question/5939963

#SPJ1

How the (i)?? Help me to slove this

Answers

Answer:

#include <fstream>

 ifstream inFile("bookBorrower.txt");

 ofstream outFiles ("overPayment.txt");

Explanation:

fstream has ifstream and ofstream for input and output, respectively.

Although they can display a wealth of data, why should chord diagrams be used with caution?
a-Chord diagrams are particularly susceptible to fisheye distortion as you focus on certain data points.
b-It is difficult to determine from the rectangles how much of the full data set a particular object accounts for.
c-All connections are shown by default, which can make seeing specific connections difficult.
d-It is difficult for readers to parse curving lines because of the way human perception works.

Answers

Although chord diagrams can display a wealth of data, a reason why chord diagrams should be used with caution is because: A. Chord diagrams are particularly susceptible to fisheye distortion as you focus on certain data points.

What is data?

Data can be defined as a representation of factual instructions (information) in a formalized manner, especially as a series of binary digits (bits) that are used on computer systems in a company.

In this scenario, the essential features of a data which every department manager should list include the following:

Strong securityCentralizationProgrammatic access.

What is a chord diagram?

A chord diagram can be defined as a type of chart that is typically designed and developed to graphically represent or display the inter-relationships (many-to-many relationship) between data in a matrix, especially as curved arcs within a circle.

Although chord diagrams can display a wealth of data, a reason why chord diagrams should be used with caution is because they are particularly susceptible, vulnerable, or prone to fisheye distortion as the end user focus on certain data points.

Read more on data here: brainly.com/question/13179611

#SPJ1

Project 12-2: Bird Counter
Help me make a Python program for birdwatchers that stores a list of birds along with a count of the
number of times each bird has been spotted.


Console
Bird Counter program

Enter 'x' to exit

Enter name of bird: red-tailed hawk
Enter name of bird: killdeer
Enter name of bird: snowy plover
Enter name of bird: western gull
Enter name of bird: killdeer
Enter name of bird: western gull
Enter name of bird: x

Name Count
=============== ===============
Killdeer 2
Red-Tailed Hawk 1
Snowy Plover 1
Western Gull 2


Specifications
 Use a dictionary to store the list of sighted birds and the count of the number of times
each bird was sighted.
 Use the pickle module to read the dictionary from a file when the program starts and
to write the dictionary to a file when the program ends. That way, the data that's
entered by the user isn't lost.

Answers

The program based on the information given is illustrated below.

How to illustrate the program?

It should be noted that a computer program is a set of instructions in a programming language for the computer to execute.

Based on the information, the program is illustrated thus:

Code:

import pickle

#function to read birds data

def readBirdsData():

try:

birdsFile = open("birdsData","rb")

birdWatcher = pickle.load(birdsFile)

birdsFile.close()

birdWatcher ={}

except EOFError:

birdWatcher ={}

return birdWatcher

#function to write the data into file using pickle

def writeBirdsData(birdWatcher):

if birdWatcher == {} :

return

sorted(birdWatcher)

birdsFile = open("birdsData","ab")

pickle.dump(birdWatcher,birdsFile)

birdsFile.close()

#function to display birds data in sorted order

def displayBirdsData(birdWatcher):

print("Name\t\tCount")

print("========\t===========")

for key in sorted(birdWatcher.keys()):

print("{}\t\t{}".format(key,birdWatcher[key]))

#main function

def main():

birdWatcher = readBirdsData()

print("Bird Counter Program")

print ("\nEnter 'x' to exit\n")

name = input("Enter name of bird: ")

while True:

#break the loop if x is entered

if name == 'x':

#if the name exists in dictionary then increase the value

if the name in birdWatcher.keys():

birdWatcher[name] = birdWatcher[name] + 1

else:

#dd it otherwise

birdWatcher[name] = 1

name = input("Enter name of bird: ")

displayBirdsData(birdWatcher)

writeBirdsData(birdWatcher)

#driver code

if __nam__ == '__main__':

main()

Learn more about programs on:

https://brainly.com/question/26642771

#SPJ1

In cell N2, enter a formula using the IF function and structured references as follows to determine which work tier Kay Colbert is qualified for:
a. The IF function should determine if the student's Post-Secondary Years is greater than or equal to 4, and return the value 2 if true or the value 1 if false.

Answers

The IF Function based formula that can be entered into cell N2 that will return 2 if true, and 1 if false is =IF(M2 >=4, 2, 1).

How is the IF function used?

An IF function allows us to be able to sort through data by analyzing data to find out if it conforms to a certain characteristic that we are looking for.

If the data corresponds, the IF function will return a value that means True, but if it doesn't, the value returned would be false.

After typing in the IF function, the next thing to do is specify the cell where the data you want to analyze is. In this case that data is in cell M2. You immediately follow this up by the parameter being compared.

In this case, we want to know if the figure in cell M2 is greater or equal to 4 so the next entry is M2>=

The next entry is the return if the comparison is true. In this case, the number for true is 2 and the one for false is 1. The full formula becomes:

=IF(M2 >=4, 2, 1).

In conclusion, the function is =IF(M2 >=4, 2, 1).

Find out more on the spreadsheets at https://brainly.com/question/1429504.

#SPJ1

How artifical intelligence will have more effect on our day to day life ? ​

Answers

Answer:

Artificial intelligence can dramatically improve the efficiencies of our workplaces and can augment the work humans can do. When AI takes over repetitive or dangerous tasks, it frees up the human workforce to do work they are better equipped for—tasks that involve creativity and empathy among others.


Question 9
The boom in collaboration between U.S. companies and workforces in India created a
need for blank

Answers

Answer:

Outsourcing

Explanation:

The boom in collaboration between U.S. companies and workforces in India created a need for Outsourcing.

I believe this is correct, but I'm not 100% certain.

• Provide a rationale for each part of your design, explaining the problem, approach, and why you made the choices you made.

Answers

In the network constructed, we need to use 3 switches to  be able to connect a single client PC to the single server. Therefore:

Connect server to switch 1        (225 m)Connect switch 1 to switch 2     (225 m)Connect switch 2 to switch 3    (225 m)Connect switch 3 to client PC   (225 m)

What is the network about?

The maximum distance for ethernet connection is known to be about 100 meters and it is one that is often used in the transmission speeds.

Note that when one has added to the network switches, the distance need to be increased to about 200 meters and thus about 900 meters of distance need to exist between the client PC and the server.

The Ethernet network need to be designed as:

Connect server to switch 1        (225 m)

Connect switch 1 to switch 2     (225 m)

Connect switch 2 to switch 3    (225 m)

Connect switch 3 to client PC   (225 m)

Note that Total distance covered = 225 + 225 + 225 + 225

                                                       = 900 meters

Therefore, In the network constructed, we need to use 3 switches to  be able to connect a single client PC to the single server.

Learn more about Ethernet from

https://brainly.com/question/16947988

#SPJ1

See full question below

• Ethernet network that connects a single client PC to a single server and label the locations of switches and transmission links.

Provide a rationale for each part of your design, explaining the problem, approach, and why you made the choices you made.

const x = 0;
while(x < 5) {
alert(x);
x = x + 1;
}

In the above while loop, which line is responsible for checking the condition for whether or not the code within the while loop should execute?

const x = 0;

while(x < 5) {

alert(x);

x = x + 1;

Answers

The line responsible for checking the condition for whether or not the code within the while loop should execute is while(x < 5) {

What is a repeat structure in python?

The repetition structure is a feature of programming languages ​​responsible for executing a block of code repeatedly while a certain condition is met.

In Python, there are two types of looping structures: for and while.

The while command causes a set of commands to be executed while a condition is met. When the result of this condition becomes false, the loop execution stops.

With that being said:

Given

const x = 0;

while(x < 5) {

   alert(x);

   x = x + 1;

}

See more about python at: brainly.com/question/13437928

#SPJ1

What can quantum computers do more efficiently than regular computers?

Answers

A traditional computer uses bits to do computations, where 0 represents off and 1 represents on. It processes data in the form of what is known as computer binary language—sequences of zeros and ones. More transistors increase the processing power.

The principles of quantum mechanics are used by a quantum computer. like a traditional computer that just employs ones and zeros. Particles can reach these states because of their intrinsic angular momentum, or spin. The particle's spin can be used to represent the two states 0 and 1. For instance, a counterclockwise spin indicates 0, whereas a clockwise spin represents 1. The ability of the particle to exist in several states at once is one benefit of employing a quantum computer. Superposition is the name for this phenomena. This phenomenon allows a quantum computer to reach both the 0 and 1 states simultaneously. As a result, information in a traditional computer is conveyed as a single number, either 0 or 1. Quits, which are characterized as a 0 and a 1 occurring simultaneously, are used in quantum computers to increase processing power. For instance:

A 2 bit vintage computer must expand through each step in order to analyze the numbers 00 01 10 11 and arrive at a conclusion. A two-qubit quantum computer is capable of simultaneously analyzing every possibility. the passing of time.


Thank you,

Eddie

Python Programming
Create a Dictionary for a bank customer that contains: First Name, Last Name, Account Number, Savings amount and Checking amount. Minimum 3 customer. (each must be different)

Create a Dictionary for a Bank ATM that is made up of the customers from above.

When your program runs it should prompt the user for an account number (must be one in your dictionary).

The user can then select the following options. (stay in a loop until the user ends the session)

Review account information. (Print all the information for that account)

Deposit money to Savings or Checking. (Add amount to account)

Withdraw from Savings or Checking. (Subtract amount from the account. Can’t go below $0).

End session with ATM. (Print a farewell message)

Answers

The python program that creates a Bankaccount class for a Bank ATM that is made up of the customers and has a deposit and withdrawal function is given below:

Python Code

# Python program to create Bankaccount class

# with both a deposit() and a withdraw() function

class Bank_Account:

def __init__(self):

 self.balance=0

 print("Hello!!! Welcome to the Deposit & Withdrawal Machine")

def deposit(self):

 amount=float(input("Enter amount to be Deposited: "))

 self.balance += amount

 print("\n Amount Deposited:",amount)

def withdraw(self):

 amount = float(input("Enter amount to be Withdrawn: "))

 if self.balance>=amount:

  self.balance-=amount

  print("\n You Withdrew:", amount)

 else:

  print("\n Insufficient balance ")

def display(self):

 print("\n Net Available Balance=",self.balance)

# Driver code

# creating an object of class

s = Bank_Account()

# Calling functions with that class object

deposit()

s.withdraw()

s.display()

Read more about python programming here:

https://brainly.com/question/26497128

#SPJ1

What (if any) are the same feature requirements that might be found in server software/OS environments

Answers

The same feature requirements that might be found in server software/OS environments

They include:

Server Hardware Requirements  such as  Quad-Core 2 Ghz or much more high,  8 GB RAM  or more  and also free disk space.

What are the software requirements for a server?

The Software requirements for any given database server includes;

Database server Operating system, etc.

Some of the key features of the key server operating system is made up of: the capability to access the server when using either GUI and command-level interface. the ability to execute all or a lot of processes from OS commands and others.

Learn more about software/OS environments from

https://brainly.com/question/26424062

#SPJ1

Rewrite the code below so that a transformation moves the div 100px to the right and 50px upward.

Relocate me!

Answers

Using the knowledge in computational language in HTML it is possible to write a code that  below so that a transformation moves the div 100px to the right and 50px upward.

Writting in HTML code:

<!DOCTYPE html>

<html>

<head>

<style>

div {

 width: 300px;

 height: 100px;

 background-color: yellow;

 border: 1px solid black;

 transform: translate(50px,100px);

}

</style>

</head>

<body>

<h1>The translate() Method</h1>

<p>The translate() method moves an element from its current position:</p>

<div>

This div element is moved 50 pixels to the right, and 100 pixels down from its current position.

</div>

</body>

</html>

See more about HTML at brainly.com/question/19705654

#SPJ1

Write a program to demonstrate circular linked list with operations using pointers – insert
(beginning, end, middle), delete (beginning, end, middle),view)

Answers

A program to demonstrate circular linked list with operations using pointers is:

struct Node *addToEmpty(struct Node *last, int data)

{

   // This function is only for empty list

   if (last != NULL)

     return last;

 

   // Creating a node dynamically.

   struct Node *temp =

         (struct Node*)malloc(sizeof(struct Node));

 

   // Assigning the data.

   temp -> data = data;

   last = temp;

   // Note : list was empty. We link single node

   // to itself.

   temp -> next = last;

 

   return last;

}

What is a Circular Linked List?

This refers to the type of linked list in which the first and the last nodes are also joined together other to form a circle

Read more about circular linked list here:

https://brainly.com/question/12974434

#SPJ1

need help how to type the code please

Answers

Answer:

#include <stdio.h>

#define MAXIMUM_LOAN_PERIOD 14

#define FINE_RATE 0.20

#define SEPARATOR "----------------"

int main() {

 double amountFined;

 int numberOfBooks, daysLoan, daysOverdue;

 printf(SEPARATOR "\nBOOK LOAN SYSTEM\n" SEPARATOR "\n");

 

 printf("Enter the number of books  : ");

 scanf("%d", &numberOfBooks);

 printf("Enter the days of the loan : ");

 scanf("%d", &daysLoan);

 

 printf(SEPARATOR SEPARATOR SEPARATOR "\n");

 

 daysOverdue = daysLoan - MAXIMUM_LOAN_PERIOD;

 amountFined = FINE_RATE * numberOfBooks * daysOverdue;

 printf("Days overdue               : %d\n", daysOverdue);

 printf("Fine                       : RM %.2f\n", amountFined);

 return 0;

}

Explanation:

Reading integers can be done using scanf. What is missing in this code is checking for bad input, but the happy flow works!

Which of the following is a key feature of a relational database?

A) It has high scalability and performance that can enable almost unlimited growth
B) It has flexible data models that make it easy to store and combine
data of any structure and allow dynamic changes to the schema.
C) It is designed for highly available systems that should provide a consistent, high-quality experience for all users globally
D) It uses primary keys and foreign keys as a means to provide
efficient access to data and is supported directly in the database
rather than maintained in the application code.

Answers

It uses primary keys and foreign keys as a means to provide efficient access to data and is supported directly in the database rather than maintained in the application code.

Explanation: Relational databases use an expressive query language, make efficient use of indexes within the database, ensure strong consistency, and fit well within an enterprise management system. Non-relational databases have a flexible data model, have high scalability, and performance, and have always-on global deployments.

The statement which describes a key feature of a relational database is that it uses primary keys and foreign keys as a means to provide efficient access to data and is supported directly in the database rather than maintained in the application code. Thus, the correct option for this question is D.

What is a Relational database?

A relational database may be defined as a collection of information that organizes data in predefined relationships where data is stored in one or more tables or relations of columns and rows, making it easy to see and understand how different data structures relate to each other.

The key features of a relational database may include atomicity, consistency, isolation, durability, data consistency, flexibility, togetherness, data sharing, independence, etc. Each relation (table) must have a unique field that describes each record. This unique field is called a primary key.

Thus, the correct option for this question is D.

To learn more about Relational databases, refer to the link:

https://brainly.com/question/13262352

#SPJ2

As data travels further over a wavelength or frequency, what goes down?

Answers

As data travels further over a wavelength or frequency, the radiation type goes down.

What is an electromagnetic spectrum?

An electromagnetic spectrum can be defined as a range of frequencies and wavelengths into which an electromagnetic wave is distributed into.

In Science, the electromagnetic spectrum consist of the following types of energy from highest to lowest frequency and shortest to longest wavelength:

Gamma raysX-raysUltraviolet radiationVisible lightInfrared radiationMicrowavesRadio waves

In this context, we can infer and logically deduce that as data travels further over a wavelength or frequency within the electromagnetic spectrum, the radiation type goes down.

Read more on electromagnetic spectrum here: brainly.com/question/23423065

#SPJ1

A user may enter some text and the number of times (up to a maximum of 10) to repeat it. Display the text repeated that many times with no space in between. For example, if the user types in Hey and 3, the display would be HeyHeyHey. If the user provides no text or provides a number greater than 10, display only an error message.

Answers

The command that would be given to execute a code that asks for input and runs it repeatedly until it has satisfied the condition is a do-while loop.

What is a Do While Statement?

This is a conditional statement that is used in programming to run a set of code and check the conditions set and commands to execute and finally terminates when the conditions are satisfied.

Therefore, based on the fact that a loop would be used, and the displayed text would be repeated many times, the do-while loop would be used for this program.

Read more about do-while statements here:

https://brainly.com/question/13089591

#SPJ1

TensorFlow and Pytorch are examples of which type of machine learning platform?

Answers

TensorFlow and Pytorch are examples of Supervised Machine Learning (ML), in addition, both support Artificial Neural Network (ANN) models.

What is a Supervised Machine Learning?

Machine learning (ML) is a subcategory of artificial intelligence that refers to the process by which computers develop pattern recognition or the ability to continually learn or make predictions based on data, and then make adjustments without being specifically programmed to do so.

In the supervised machine learning, the computer is given a labeled dataset that allows it to learn how a human does a task. This is the least complex model as it attempts to replicate human learning.

see more about computing at: brainly.com/question/2175764

#SPJ1

ethics related to all
artificial intelligence?

Answers

Answer: autonomous systems (transportation, weapons), machine bias in law, privacy and surveillance,  AI governance, confirming the moral and legal status of intelligent machines (artificial moral agents), human-machine interaction, mass automation; (3) long-term (starting with the 2100s): technological singularity, mass unemployment, space colonization. etc

Security hardware and software that control access to a company’s intranet and other internal networks is called a(n):_________

Answers

Answer:Firewall

Explanation:

the implications your organization of providing email facilities to individuals in the workplace in terms of security and virus protection​

Answers

Make use of multifactor authentication and a password manager: One of the most important aspects of protecting your email information is using passwords.

What is email facilities in security and virus protection​?

The first line of defense against a security compromise is a strong password. We constantly advise against using any universal passwords.

Email security is a term that describes a variety of procedures and tactics for protecting email accounts, data, and communications from unauthorized access, theft, or compromise.

Email is regularly used to spread threats like spam, phishing, and others. Relying solely on your built-in protection could leave your business vulnerable to fraudsters who routinely use the top attack vector.

Therefore, it means for your business in terms of security and virus prevention when you allow people to use email at work. ​

Learn more about email facilities here:

https://brainly.com/question/6946185

#SPJ2

Use a password manager and multifactor authentication: Using passwords is one of the most crucial components of protecting your email data.

Thus, A strong password is the first line of defence against a security breach.

A range of practices and strategies are referred to as "email security" in order to safeguard email accounts, data, and conversations from unwanted access, theft, or compromise.

Spam, phishing, and other risks are frequently disseminated over email. Relying exclusively on your built-in defences could expose your company to fraudsters that frequently exploit the most popular attack vector.

Thus, Use a password manager and multifactor authentication: Using passwords is one of the most crucial components of protecting your email data.

Learn more about Email, refer to the link:

https://brainly.com/question/16557676

#SPJ7

At north wind headquarters, where were penguins first reported missing on the giant TV screen? And what did the penguins react?

Answers

Answer:

Berlin zoo

The penguins reacted that they must respond with action ASAP

Answer:

Berlin zoo, the penguins reacted that "It's time to go".

This means that the penguins care about each other and must rescue each other.

can
Vehicles equipped with Anti-Lock Brakes (ABS)
stop in shorter distances than vehicles without ABS

Answers

No. Vehicles equipped with Anti-Lock Brakes cannot stop at shorter distances than vehicles without ABS.

When you try to move the desktop icon using the click and drag method and it doesn't move, what is the reason?​

Answers

You aren’t clicking hard enough. Go to settings and push help

Enterprise software is designed for organizations to __________.

Answers

Answer:

The goal of enterprise software is to enable the activities of large organizations, supporting a wide range of different user roles.

During the reverse engineering process, a is
performed which identifies the design elements and principles incorporated into
the product design.

Structural Analysis
O Functional Analysis
O Visual Analysis
O Design Analysis

Answers

During the reverse engineering process, the performed which identifies the design elements and principles incorporated into the product design is Visual Analysis.

What is reverse engineering process?

Reverse engineering process involves putting or separating into parts an already made equipment or machines.

It can be done in aircraft, structural designs and many other products. It  is done to generate information on materials and design that is used in fabricating a design.

It make use of visual observation and analysis for it judgement and data collection.

Therefore,

During the reverse engineering process, the performed which identifies the design elements and principles incorporated into the product design is Visual Analysis.

Learn more on engineering below

https://brainly.com/question/17169621

#SPJ1

In python please:

Assume the variable definitions references a dictionary. Write an ig statement that determined whether the key ‘marsupial’ exist in the dictionary. If so, delete ‘marsupial’ and it’s associated value. If the key is not the dictionary, display a message indicating so.

Answers

Answer:

"

if 'marsupial' in dictionary:

   del dictionary['marsupial']

else:

   print("The key marsupial is not in the dictionary")

"

Explanation:

So you can use the keyword "in" to check if a certain key exists.

So the following code:

"

if key in object:

   # some code

"

will only run if the value of "key" is a key in the object dictionary.

So using this, we can check if the string "marsupial' exists in the dictionary.

"

if 'marsupial' in dictionary:

   # code

"

Since you never gave the variable name for the variable that references a dictionary, I'm just going to use the variable name "dictionary"

Anyways, to delete a key, there are two methods.

"

del dictionary[key]

dictionary.pop(key)

"

Both will raise the error "KeyError" if the key doesn't exist in the dictionary, although there is method with pop that causes an error to not be raised, but that isn[t necessary in this case, since you're using the if statement to check if it's in the dictionary first.

So I'll just use del dictionary[key] method here

"

if 'marsupial' in dictionary:

   del dictionary['marsupial']

else:

   print("The key marsupial is not in the dictionary")

"

The last part which I just added in the code is just an else statement which will only run if the key 'marsupial' is not in the dictionary.

Other Questions
Vincent is attempting to remotely log into the system using openssh without success. he asks you what he can do to troubleshoot this problem. what should you recommend first? How are the 13th and 14th amendment enforced One of rubys few flaws is that she does not consider possibilities beyond what she is told, accepting her supervisors ideas without thinking. she can best be described as what type of thinker? How did the theater signify whatkind of play was going to takeplace that night?A. To signify what play would take place, flierswere posted around the nearby towns.B. To signify what play would take place, flags ofa certain color were flown above the theater.C. To signify what play would take place, amegaphone was used throughout the day tobroadcast it.D. To signify what play would take place, amarque was posted outside to broadcast it. Archaeorhodopsin, initially called bacteriorhodopsin, is responsible for ______. what is Rational Number Purcell's Dido and Aeneas is important because it is one of the greatest operas to treat the ______ in an unparalleled way. Which is most responsible for the synchronized contraction of cardiac muscle tissue? What is the affordable monthly mortgage payment if your yearly gross income is $48,000 and monthly payments on an auto loan are $320? There are three types of ______________: health plans, health care clearinghouses, and health care providers who transmit health information by electronic means What are the names of the individual mesenteries associated with specific gi organs? How many lines can you draw using 3 non-collinear points A, B and C on a plane? The eiffel tower in france is an example of what kind of architectural relationship? If john has schizophrenia, how likely is it that his monozygotic twin brother will also have schizophrenia? Which statements are true for the functions g(x) = x2 and h(x) = x2 ? Check all that apply.For any value of x, g(x) will always be greater than h(x).For any value of x, h(x) will always be greater than g(x).g(x) > h(x) for x = -1. g(x) < h(x) for x = 3. For positive values of x, g(x) > h(x). For negative values of x, g(x) > h(x). Which of the following is the most likely way to catch the norovirus? A. Eating foods after not washing your hands B. Eating lunchmeat that has been left out too long C. Eating shellfish that has not been cooked D. Eating vegetables that have been in contact with manure The model of a pot of water being heated on a stove shows thermal energy transfer. Which of the following BEST describes how thermal energy is transferred to the water in the pot?A Water in the pot is heated by conduction. Thermal energy from the pot is directly transferred to the water at the top of the pot through conduction.B Water in the pot is heated by conduction. Thermal energy from the burner is transferred directly to the water at the bottom of the pot through conduction.C Water in the pot is heated by convection. Water molecules at the top of the pot warm up and sink while cooler water molecules rise to the top of the pot, creating convection currents.D Water in the pot is heated by convection. Water molecules at the bottom of the pot warm up and rise while cooler water molecules sink to the bottom of the pot, creating convection currents. Residents in a city are charged for water usage every three months. The water bill is computed from a common fee, along with the amount of water the customers use. The last water bills for 40 residents from two different neighborhoods are displayed in the histograms. 2 histograms. A histogram titled Pine Road Neighbors has monthly water bill (dollars) on the x-axis and frequency on the y-axis. 100 to 125, 1; 125 to 150, 2; 150 to 175, 5; 175 to 200, 10; 200 to 225, 13; 225 to 250, 8. A histogram titled Front Street Neighbors has monthly water bill (dollars) on the x-axis and frequency on the y-axis. 100 to 125, 5; 125 to 150, 7; 150 to 175, 8; 175 to 200, 5; 200 to 225, 8; 225 to 250, 7. Which statement correctly compares the water bills for the two neighborhoods? Overall, water bills on Pine Road are less than those on Front Street. Overall, water bills on Pine Road are higher than those on Front Street. The range of water bills on Pine Road is lower than the range of water bills on Front Street. The range of water bills on Pine Road is higher than the range of water bills on Front Street. How many moles of NaOH are in a 356 mL solution that has a concentration of 7.2 M? Circle P is centered at the origin. Which of the following statements can be used toconstruct an algebraic proof the point A lies on circle P?-6The distance from the origin to point A is equal to the radius of circle P. Therefore, point A lieson circle P.O The distance from the origin to point A is less than the radius of circle P. Therefore, point A lieson circle P.O The distance from the origin to point A is greater than the radius of circle P. Therefore, point Alies on circle P.Based on visual inspection, point A lies on circle P. Therefore, point A lies on circle P.