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

Answer 1

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


Related Questions

your company runs mostly windows 10 clients on employee computers but you have been told that the engineering department will being using fedora linux soon. you want to become more familiar with fedora linux but you don't have any unallocated disk space on your office computer which runs windows 10. how can you become familiar with fedora linux without disturbing your current windows 10 installation?

Answers

The way that a person could become familiar with Fedora Linux without disturbing your current Windows 10 installation is Option b. Run a Live install.

What is Fedora Linux used for?

The purpose of Fedora Linux is that Software developers and community members can create custom solutions for their consumers thanks to Fedora's innovative, free, and open source platform for hardware, clouds, and containers.

When Windows 10 is booted on a PC running Linux, all of the data on the machine is wiped clean.

Backing up or restoring the current data on the Windows 10 computer is not possible when the setup.exe application is performed from the Linux DVD that runs Linux on Windows.

Therefore,  Use a computer of your choosing, boot from the DVD, and conduct the evaluation without setting up Linux on the hard drive and also Install Linux in a virtual machine that you create.

Learn more about Linux  from

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

See full question below

Your company runs mostly Windows 10 clients on employee computers but you have been told that the engineering department will being using Fedora Linux soon. You want to become more familiar with Fedora Linux but you don't have any unallocated disk space on your office computer which runs Windows 10. How can you become familiar with Fedora Linux without disturbing your current Windows 10 installation?

a. Install it in a container.

b. Run a Live install.

c. You can't do this.

d. Run it in Sandbox mode.

e. the program should then output the list of characters, including white spaces and punctuation marks, and the number of times each character appears in the input.

Answers

This program requires to count each character appear in the input including punctuation marks, and white spaces.

The program is written in Python as required given below:

your_input_string = input("Enter String: ") # take input from user

print("The input string is:", your_input_string) # print the input taken from user

my_string_set = set(your_input_string) # created a set of a input string

for string_element in my_string_set: # for loop to count character of string in the Set

   countOfChar = 0 # variable countOfChar declaration

   for character in your_input_string: # for loop

       if character == string_element: # if character is equal to the string

          countOfChar += 1 # count the occurrence of character

   print("Count of character '{}' is {}".format(string_element, countOfChar))  

# print the character.

The output of the program is also attached.

The complete program is given below:

"

Write a Python program that ask user to enter the input sentence. Then,  the program should then output the list of characters, including white spaces and punctuation marks, and the number of times each character appears in the input.

"

You can learn more about character counter in python at

https://brainly.com/question/24275769

#SPJ4

   

Identity some basic security threats and solutions for all network

Answers

Answer:install anti virus software ensure that software Is up to date ,filter all emails traffic nd users tk be careful of suspicious emails

don't run any unkhown user's origin development of information security policy report the unauthorized situation

Top security threats include unauthorized access, eavesdropping, IP address spoofing, man-in-the-middle attacks, brute force attacks, and browser attacks.

1. Unauthorized Access - Leakage of confidential information and other attacks can be exacerbated. Attackers unknowingly gain access to authorized areas to steal sensitive resources.

Implement strong authentication policies. Keep your username and password secret from untrusted sources. Don't give users or employees unnecessary access.

2. Eavesdropping - It is another significant cybersecurity risk. In eavesdropping, an intruder intercepts packets of data sent over HTTP (via monitoring software), modifies the data, and exploits it to damage the network.

Solution: An interesting encryption strategy protects against eavesdropping. Encryption methods such as electronic certificates (SSL certificates) reduce the risk of eavesdropping.

Enforce network segmentation to prevent eavesdropping and other network attacks.

Network Access Control improves network security by verifying the authenticity of each device before establishing a connection.

3. IP spoofing: IP address - Spoofing creates the illusion of a valid IP address by obtaining her IP address on a network and generating internet protocol packets with the intent to compromise the owner's actual IP address increase.

Solution: Filtering incoming packets on the network is one way to prevent spoofing. On the other hand, we also need to filter incoming and outgoing traffic.

Access control lists help prevent identity theft by discouraging people from entering bogus IP addresses.

Encrypted credentials should be provided so that only trusted servers can communicate.

To further reduce the risk of identity theft, you should use an SSL certificate.

4. Man-in-the-middle attack - MITM is one of the most dangerous cyber threats. Here the intruder establishes an independent connection with the sender and receiver, intercepts the messages one by one, modifies these messages, and forwards them to the sender and receiver.

Solution: Use Public Key Infrastructure (PKI) based authentication. It not only protects your application from eavesdropping and other attacks, but it also verifies that your application is trusted.

Both ends are authenticated to prevent (MITM) man-in-the-middle attacks. Configure passwords and other top-level secrets for better mutual authentication.

Suppose the time it takes for a message to reach the end is 20 seconds. If the total execution time exceeds 60 seconds, the existence of an attacker is proven.

5. Brute force attack - A brute force attack is performed to guess the maximum combination of passwords. Use passwords with complicated symbols, numbers, and letters and keep them saved.

Learn more about the security threats at

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

Create a class named BloodData that includes fields that hold a blood type (the four blood types are O, A, B, and AB) and an Rh factor (the factors are + and –). Create a default constructor that sets the fields to O and +, and an overloaded constructor that requires values for both fields. Include get and set methods for each field. Save this file as BloodData.java. Create an application named TestBloodData that demonstrates each method works correctly

Answers

Answer:

Question: 1. Create A Class Named BloodData That Includes Fields That Hold A Blood Type (The Four Blood Types Are O, A, B, And AB) And An Rh Factor (The Factors Are + And –). Create A Default Constructor That Sets The Fields To Oand +, And An Overloaded Constructor That Requires Values For Both Fields. Include Get And Set Methods For Each Field. 2. Create A

This problem has been solved!

You'll get a detailed solution from a subject matter expert that helps you learn core concepts.

See Answer

1. Create a class named BloodData that includes fields that hold a blood type (the four blood types are O, A, B, and AB) and an Rh factor (the factors are + and –). Create a default constructor that sets the fields to Oand +, and an overloaded constructor that requires values for both fields. Include get and set methods for each field.

2. Create a class named Patient that includes an ID number, age, and BloodData. Provide a default constructor that sets the ID number to 0, the age to 0, and the BloodData values to O and +. Create an overloaded constructor that provides values for each field. Also provide get methods for each field.

public class BloodData {

private String bloodType;

private String rhFactor;

public BloodData() {

}

public BloodData(String bType, String rh) {

}

public void setBloodType(String bType) {

}

public String getBloodType() {

}

public void setRhFactor(String rh) {

}

public String getRhFactor() {

}

}

public class Patient {

private String id;

private int age;

private BloodData bloodData;

public Patient() {

}

public Patient(String id, int age, String bType, String rhFactor) {

}

public String getId() {

}

public void setId(String id) {

}

public int getAge() {

}

public void setAge(int age) {

}

public BloodData getBloodData() {

}

public void setBloodData(BloodData b) {

}

}

public class TestBloodData {

public static void main(String[] args) {

BloodData b1 = new BloodData();

BloodData b2 = new BloodData("A", "-");

display(b1);

display(b2);

b1.setBloodType("AB");

b1.setRhFactor("-");

display(b1);

}

public static void display(BloodData b) {

System.out.println("The blood is type " + b.getBloodType() + b.ge

Explanation:

The class named BloodData that includes fields that hold a blood type (the four blood types are O, A, B, and AB) and an Rh factor (the factors are + and –) is in the explanation part.

What is programming?

Computer programming is the process of performing specific computations, typically through the design and development of executable computer programmes.

Here is the implementation of the BloodData class as described:

public class BloodData {

   private String bloodType;

   private char rhFactor;

   

   public BloodData() {

       this.bloodType = "O";

       this.rhFactor = '+';

   }

   

   public BloodData(String bloodType, char rhFactor) {

       this.bloodType = bloodType;

       this.rhFactor = rhFactor;

   }

   

   public String getBloodType() {

       return bloodType;

   }

   

   public char getRhFactor() {

       return rhFactor;

   }

   

   public void setBloodType(String bloodType) {

       this.bloodType = bloodType;

   }

   

   public void setRhFactor(char rhFactor) {

       this.rhFactor = rhFactor;

   }

}

Thus, this implementation demonstrates the creation of BloodData objects with default and custom values.

For more details regarding programming, visit:

https://brainly.com/question/11023419

#SPJ2

joanne is responsible for security at a power plant. the faculty is very sensitive and security is extremely important. she wants to incorporate two-factor authentication with physical security. what would be the best way to accomplish this?

Answers

The best way Joanne can accomplish a two factor authentication is to use a mantrap with a smart card at one door and a pin keypad at the other door

What is two-factor authentication?

Two-factor authentication is  a form of MFA, an electronic authentication method in which a user is granted access to a website or application only after successfully presenting two or more pieces of evidence to an authentication mechanism

Learn more on two-factor authentication from:

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

#SPJ4

three advantages associated with a software-defined network include . a. the risk of human error is reduced, overall network support and operations costs are reduced, and new applications can be made available sooner b. the ability to support more concurrent devices, minimal infrastructure changes, and lower latency c. the ability to support exciting new applications, greater bandwidth, and improved security d. lower latency, greater bandwidth, and the ability to support more devices

Answers

The three advantages associated with a software-defined network include the following: A. the risk of human error is reduced, overall network support and operations costs are reduced, and new applications can be made available sooner.

What is a software?

A software can be defined as a set of executable instructions that is typically designed and developed to instruct a computer system on how to perform a specific task and function, as well as proffering solutions to a network problem and other types of problem.

Generally speaking, there are three (3) main types of software and these include the following:

Application softwareUtility softwareSystem software

The advantages of a software-defined network.

In Computer technology, the advantages of a software-defined network include the following:

The risk of human error is mitigated or reduced.Overall network operations costs are lesser.Overall network support costs are lower.New software applications are developed and made available sooner.

Read more on network here: https://brainly.com/question/28342757

#SPJ1

the speed of a file transfer from a server on campus to a personal computer at a student's home on a weekday evening is normally distributed with a mean of 63 kilobits per second and a standard deviation of four kilobits per second. (a) what is the probability that the file will transfer at a speed of 74 kilobits per second or more? round your answer to three decimal places (e.g. 98.765).

Answers

The probability that the file will transfer at a speed of 74 kilobits per second or more is 0.226

In the given problem we have:

The file transfer Mean as 63 and variance as 4

a). To find the probability that the file will transfer at a speed of 63 kilobytes per second or more.

Thus,

P(X≥63) = 1 - P(X≥63)

P(X≥63) = 1 - P(Z< (x- u/o)

P(X≥63) = 1 - P(Z< (74- 63/4)

P(X≥63) = 1 - P(Z< (72.75)  

P(X≥63) = 1 - 0.7738

P(X≥63) = 0.2262

P(X≥63) = 0.226

                                       

Learn more about probability from:

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

#SPJ4

                                         

                                         

uses URLs and the hypertext protocol to make online files easily accessible to users
A. browser
B. packets
C. IP addresses
D. internet
E. World Wide Web

Answers

Answer:

browser

browser is a computer program that enables you to use hypertext links, motion, and other features.

uppose you are writing an anonymous javascript function that will run when your web page loads, and you want to include a statement that will cause a selection list in a web form to become active and ready for data entry. which method should you apply in this statement?

Answers

If you wish to include a statement that makes a selection list in a web form active and ready for data entry, you should use the element.select() method when developing an anonymous javascript function that runs when your web page starts.

A section of code called a JavaScript function is created to carry out a certain task.

When "something" invokes a JavaScript function, it begins to run (calls it).

A JavaScript function is created by using the function keyword, a name, and then parenthesis ().

Letters, numbers, underscores, and dollar signs can all be used in function names (same rules as variables).

Comma-separated parameter names may be included in parentheses: (parameter1, parameter2, ...)

Curly brackets are used to surround the code that the function will run: {}

In the function definition, the parameters are specified between parentheses ().

The values passed to the function as arguments are known as function arguments.

The parameters (the arguments) behave like local variables inside the function.

Learn more about javascript here

https://brainly.com/question/28448181

#SPJ4

All IT systems enable a network administrator to set access levels, or permissions, for
just one user. true or false? question

Answers

Answer:

Explanation:

Comment

That shouldn't be true at all.

Let us suppose that the network contains something like a Microsoft program and different people on the network are working on different things.

The administrator as in a school situation might not students to be looking at an answer that was derived a different way. The administrator would want to block that possibility.

you are creating a new vm in hyper-v and you want the vm to be able to perform a secure boot. what option do you need to choose when configuring the vm?

Answers

The guest can use BitLocker to encrypt the virtual machine disk by configuring the encryption support settings in Hyper-V Manager. By accessing the VM settings, we may enable this.

We can use the capability known as nested virtualization to run Hyper-V inside of a Hyper-V virtual machine (VM). This is useful for testing configurations that typically call for several hosts or running a Visual Studio phone emulator in a virtual machine. The use of nested virtualization is supported both on-premises and on Azure. Virtual switches in Hyper-V can be external, internal, or private. To share our computer's network with the virtual machines that are operating on it, create an external switch.

Learn more about Hyper V here-

https://brainly.com/question/14466010

#SPJ4

known for its software products, including microsoft windows operating systems, the microsoft office suite, and the internet explorer web browser, microsoft's big break was in 1980, when a partnership was formed with ibm which resulted in microsoft providing a crucial operating system, dos, for ibm pcs. this meant that for every ibm computer sold a royalty was paid to microsoft.

Answers

Microsoft is known for its software products, windows, office suite, and for internet explorer.

Microsoft is considered the pioneer in computer technology and software. The question is asked about who is known for the given scenario in this question. The best answer to this question is Microsoft. Because Microsoft in the world is known for its software products in the industry such as Microsoft Windows operating systems, Microsoft Office, office 365, internet explorer, and Microsoft Edge as a web browser.

However, the remaining text in the given question is not part of the question. This text is an history fact of Microsoft.

You can learn more about Microsoft products at

https://brainly.com/question/28167634

#SPJ4

a global communications system created by connecting many different computer networks
A. browser
B. packets
C. IP addresses
D. internet
E. World Wide Web

Answers

Answer:

internet

The Internet is a large IP network of networks.

Answer:

c

Explanation:

you are the network administrator for a small consulting firm. the firm has recently rolled out a new intranet site, and you are responsible for configuring the dns. you are able to connect to the intranet site by using the ip address, but you cannot connect when you use the hostname.

Answers

The option that you need to configure so that the site can be accessed with the hostname is  option A: Forward lookup zone

How do forward DNS lookups function?

When a user writes in a web page URL or email address in text form, Forward DNS operates. First, a DNS server receives this message. Following a record check, the DNS server returns the domain's IP address. The DNS server sends the request to a different server if it is unable to find the domain's IP address.

Reverse lookup zones translate IP addresses into names while forward lookup zones translate names into IP addresses. On your DNS server, forwarders can be used to forward requests for which your DNS server lacks an authoritative response.

Therefore, Note that Forward DNS lookup is said to often make use of an Internet domain name to be able to see an an IP address.

Learn more about network administrator from

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

See full question below

You are the network administrator for a small consulting firm. The firm has recently rolled out a new intranet site, and you are responsible for configuring the DNS.

You are able to connect to the intranet site by using the IP address, but you cannot connect when you use the hostname.

Which of the following do you need to configure so that the site can be accessed with the hostname?


Common security and privacy risks that occur on a network are

USB Drives

Insider Threats

Wireless Networking

Email Cams

Answers

Common security and privacy risks that occur on a network are option B: Insider Threats.

What are insider threats?

Insider threat is defined by the Cyber and Infrastructure Security Agency (CISA) as the risk that an insider will intentionally or unintentionally use his or her permitted access to harm the mission, resources, and others.

The common security threats are:

Viruses and wormsDrive-by download attacks. Phishing attacks. Ransomware, etc.

Note that an insider threat can make your network to be in a huge risk of being attacked.

Learn more about security threats from

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

Answer: C

Explanation:

timmy is a new employee at an organization and was given a laptop. upon connecting the laptop to the local wi-fi network, he receives an ip address of 192.168.58.127 but is not able to connect to the internet. what could be the problem? quizlet

Answers

Since Timmy upon connecting the laptop to the local wi-fi network, he receives an ip address of 192.168.58.127 but is not able to connect to the internet the problem could be It could be service provider or the wifi as well as the router itself. It can also be the fact that access has been restricted or passworded.

What is local network on Wi-Fi?

A local area network (LAN) is a network that is said to bve made up of a number of computers that are connected in a certain area. TCP/IP ethernet or Wi-Fi is used in a LAN to link the computers to one another.

For two or a lot of devices, a wireless local area network (WLAN) is seen as a form of  wireless distribution technique. WLANs employ high-frequency radio waves and frequently have an Internet access point built in. Users of a WLAN can move across the coverage area, which is frequently a house or small business, while still remaining connected to the network.

Therefore, Wi-Fi enables devices to connect to one another similarly to how network cables function, only without the need for physical cords. In essence, a Wi-Fi network is a wireless local network.

Learn more about wi-fi network from

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

smart detection can detect the gradual degradation of a web app’s response time caused by a memory leak. select yes if the statement is true. otherwise, select no.

Answers

Yes, smart detection can detect the gradual degradation of a web app's response time caused by a memory leak.

The given statement is very true . Smart Detection can detect a performance issue that affects the time. One instant can be seen where pages are loading more slowly on one type of browser than others.

Learn more about smart detection here:

https://brainly.com/question/26199042

#SPJ4

a network protocol may do the following (check all that apply): group of answer choices specify actions taken upon message transmission specify the order of messages sent and received specify actions taken upon m

Answers

A protocol for network communication enables basic data transfers between network devices. A network protocol is a set of rules that have been designed to control how data is moved between different devices connected to the same network.

A network protocol is a set of rules that have been designed to control how data is moved between different devices connected to the same network. Essentially, it makes it possible for connected devices to communicate with one another regardless of differences in their internal workings, organizational systems, or aesthetics. Due to their ability to enable global communication, network protocols are crucial to modern digital communications. Network protocols break down large-scale operations into smaller, more specialized jobs or functions, each component within Network protocol.

Learn more about Network protocol here-

https://brainly.com/question/15088389

#SPJ4

Write a function duplicate_link that takes in a linked list link and a value. Duplicate_link will mutate link such that if there is a linked list node that has a first equal to value, that node will be duplicated. Note that you should be mutating the original link list link; you will need to create new links, but you should not be returning a new linked list.

Answers

A function duplicate_link that takes in a linked list link and a value and mutates such that if there is a linked list node that has a first equal to value, that node will be duplicated is given below:

The Function

void Form2NoDupListsUsgGivenList(Node * head1, Node *& head2)

{

  head2 = 0;

 

  if(!head1)

     return;

 

  Node * pre  = 0,

       * cur1 = 0;

 

  pre = head1;

  cur1 = head1->link;

 

  /****************************************************************************

   * FIRST CASE: add the first node to the second list

   ***************************************************************************/

  while(cur1)

  {

     if(cur1->data == head1->data) //a duplicate was found

     {

        if(!head2)                 //it was the first duplicate

        {

           pre->link = cur1->link;            

           head2 = cur1;

           head2->link = 0;

           cur1 = pre->link;

        }

        else                       //it was not the first duplicate

        {

           pre->link = cur1->link;

           delete cur1;

           cur1 = pre->link;

        }

     }

     else                          //increment

     {

        pre = cur1;

        cur1 = cur1->link;

     }

  }

 

  if(!head2)        //there were no duplicates of the first item in list 1

  {

     Node * newNode = new Node;

     newNode->data = head1->data;

     newNode->link = 0;

     head2 = newNode;

  }

 

 

  /****************************************************************************

   * ALL OTHER CASES

   ***************************************************************************/

 

  Node * listAnchor = head1->link,    //points to node being checked

       * cur2       = head2;          //points to the end of list2

                                      //cur2 will contain 0 until it has

                                      //received a dup from list1 or a new

                                      //Node has been created and appended

                                     

 

  while(listAnchor)                            //while nodes in first list

  {

     pre = listAnchor;

     cur1 = listAnchor->link;

     

     while(cur1)                               //listAnchor not last element

     {

        if(cur1->data == listAnchor->data)     //duplicate found

        {

           if(cur2->data != listAnchor->data)  //it's the first duplicate

           {

              pre->link = cur1->link;

              cur2->link = cur1;

              cur2 = cur2->link;

              cur2->link = 0;

              cur1 = pre->link;

           }

           else                                //it's not the first duplicate

           {

              pre->link = cur1->link;

              delete cur1;

              cur1 = pre->link;

           }

        }

        else

        {

          pre = cur1;

           cur1 = cur1->link;

        }

     }

     if(cur2->data != listAnchor->data)      

     {

        Node * newNode = new Node;

        newNode->data = listAnchor->data;

        newNode->link = 0;

        cur2->link = newNode;

        cur2 = cur2->link;

     }

                       

     listAnchor = listAnchor->link;        

  }

}

Read more about programming functions here:

https://brainly.com/question/179886

#SPJ1

during analysis, you create a new column f. at the top of the column, you add the attribute average percentage of total sales - splashtastic. select the correct definition for an attribute.

Answers

Based on the above, the correct definition for an attribute is known to be called an attribute.

What is an attribute in Microsoft Excel?

Text characteristics describe the visual appearance of a specific font. For instance, you could use the bold property to draw attention to certain parts of your text or italics to highlight a term that is being defined (as in the first sentence of this paragraph).

These text properties are referred to as font styles in Excel. Since you need to add the attribute average percentage of total sales - splashtastic, it is said to be an attribute

Learn more about Microsoft Excel from

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

the talk-a-lot cell phone company provides phone services for its customers. create an abstract class named phonecall that includes a string field for a phone number and a double field for the price of the call. also include a constructor that requires a phone number parameter and that sets the price to 0.0. include a set method for the price. also include three abstract get methods—one that returns the phone number, another that returns the price of the call, and a third that displays information about the call.

Answers

abstract class PhoneCall

{

   String phoneNumber;

   double price;

    PhoneCall(String phoneNumber)

   {

       this.phoneNumber =  phoneNumber;

       this.price = 0.0;

   }

   public String getPhoneNumber() {

       return phoneNumber;

   }

   public double getPrice() {

       return price;

   }

   public abstract void setPrice();

}

public class DemoPhoneCalls {

public static void main(String [] args) {

   incomingPhoneCall.info();

   outgoingPhoneCall.info();

}

}

An abstract class is a class that has been explicitly designated as such; it may or may not contain abstract methods. Although abstract classes cannot be created, they can be subclassed. Whenever an abstract class is subclassed, the parent class's abstract methods are typically implemented by the subclass. If you want to give all component implementations a common, implemented feature, you use an abstract class. When compared to interfaces, abstract classes allow you to partially implement your class while interfaces would have no implementation at all for any of the members. An abstraction that makes it simple to add more vehicles is, for instance, a Vehicle parent class from which Truck and Motorbike inherit.

Learn more about abstract class here:

https://brainly.com/question/13072603

#SPJ4

What is the favorite Food?
(15 points)

Answers

my favorite food is soup because i like the flavors and its very soothing

Answer:French fries

Explanation:bc they are awesome

, modify that script so that if alice (or harry) run the script, it will make a copy of the accounting.txt file in a manner that allows bob to see the content.

Answers

Using the knowledge in computational language in JAVA it is possible to write a code that  enters the entire path to a test file e.g. /home/$USER/test when prompted, the script executes as expected and makes a copy of "test" in the /tmp directory.

Writting the code:

xieerqi:

$ ./copyScript.sh                                            

Enter path to file: ~/testFile.txt

File entered is  /home/xieerqi/testFile.txt

xieerqi:

$ ./copyScript.sh                                            

Enter path to file: ~/sumFile.txt

File entered is  /home/xieerqi/sumFile.txt

ERROR, file doesn't exist

xieerqi:

$ cat copyScript.sh                                          

#!/bin/bash

read -p "Enter path to file: " FILEPATH

DIRPATH="$(dirname "$FILEPATH")"

FILENAME="$(basename "$FILEPATH" )"

if [ "$DIRPATH" == "~"   ];then

 DIRPATH="$HOME"

fi

FILEPATH="$DIRPATH"/"$FILENAME"

echo "File entered is " "$FILEPATH"

[ -e "$FILEPATH"  ] || { echo "ERROR, file doesn't exist"; exit 1;}

See more about JAVA at brainly.com/question/12978370

#SPJ1

the most powerful computers, , can evaluate complex data very quickly. many of these computers in the united states are owned by the government or major research institutions and can cost $1 million dollars or more.

Answers

The most powerful computers, supercomputers, can evaluate complex data very quickly. Many of these computers in the United States are owned by the government or major research institutions and can cost $1 million dollars or more.

What is a computer?

A computer can be defined as an electronic device that is designed and developed to receive data in its raw form as an input and processes these data through the central processing unit (CPU) into an output (information) that could be seen and used by an end user.

What is a supercomputer?

A supercomputer simply refers to one of the most powerful computers that is designed and developed for handling, evaluating, and solving very complicated problems or tasks. Additionally, supercomputers have the ability to carry out trillions of calculations per second.

Read more on supercomputer here: https://brainly.com/question/14883920

#SPJ1

Complete Question:

The most powerful computers, _____, can evaluate complex data very quickly. Many of these computers in the United States are owned by the government or major research institutions and can cost $1 million dollars or more.

Marsha found her sister's diary that listed all of her passwords. However, it wasn't listed for which s the passwords were used. She tried each password listed until she was able to log into her sister's computer. What method of code-breaking did Marsha use?

Answers

Answer:

Brute Force

Explanation:

Brute Force - a method of hacking were the attacker submits many combination of attempts in hope of getting into the system eventually.

for this assignment, we'll be using this data to study bike usage in washington d.c. based on the granularity and the variables present in the data, what might some limitations of using this data be? what are two additional data categories/variables that you can collect to address some of these limitations?

Answers

For managing transportation infrastructure, particularly during disruptions or around new developments, short-term demand forecasting is crucial.

Due to "tidal flows" of travel and use, many bike-sharing programs struggle to manage service provision and bike fleet rebalancing. Although short-term traffic demand estimates and machine learning techniques like deep neural networks have recently advanced, relatively few studies have looked into this issue utilizing a feature engineering approach to guide model selection. From real-world bike usage records, this study extracts unique time-lagged variables, such as network node Out-strength, In-strength, Out-degree, In-degree, and PageRank, that describe graph topologies and flow interactions. According to the experiment's findings, graph-based features are more crucial for demand forecasting than more widely used meteorological data.

Learn more about demand here-

https://brainly.com/question/14456267

#SPJ4

write a recursive grammar for the language of strings of one or more letters. the fi rst letter of each string must be uppercase, and all other letters in the string must be lowercase.

Answers

<goodString> =<UpCh>|<UpCh> <ch>

<UpCh> = A|B|C...|Z

<ch> = a|b|c...|z

You don't currently have recursive grammar. A recursive grammar would or will have at least one production that (directly or indirectly) invokes itself on the right side. "An endless amount of lower case letters" would be the most appropriate phrase to employ in this situation. Because of this, I would define a lower case string (or whatever) as either nil or a lower case string that is followed by a lower case letter. Your word will then start with an uppercase letter and end with a string of lowercase letters.

The lower case string can be defined in this situation as either a character followed by a string or as a string followed by a character.

Learn more about recursive here:

https://brainly.com/question/15123524

#SPJ4

81.4% complete question an intruder monitors an admin's unsecure connection to a server and finds some required data, like a cookie file, that legitimately establishes a session with a web server. what type of attack can the intruder perform with the cookie file?

Answers

A type of computer attack known as a "header-based attack" makes use of the attacker's capacity to tamper with arbitrary header data to take advantage of a weakness in the program that processes the target's header.

Using a fake card reader to record card information, which the attacker then programs into a copy. an online horizontal brute-force attack. Software may cause system instability by failing to release allocated memory after it has finished utilizing it. Techniques used by adversaries to passively or actively gather data that can be utilized to help targeting are referred to as reconnaissance. In IP spoofing, a hacker manipulates the source address in the packet header using tools to trick the receiving computer system into accepting the packet by making it appear as though it came from a reliable source, such as another computer on a legitimate network.

Learn more about Header here-

https://brainly.com/question/15163026

#SPJ4

Which of the following is an example of machine learning?

a
Encrypting

b
Block-based code

c
Autocorrect

d
Programming

Answers

The option that is an example of machine learning is option A: Encrypting.

What is encryption in machine learning?

This is seen as a class of techniques known as privacy-preserving machine learning (PPML) enables machine learning models to compute directly on encrypted input and as well as provide conclusions that are also known to be encrypted. The result is one that can only be decrypted by the person who encrypted the input data.

Note that in data encryption, Sensitive information should always be encrypted to prevent hackers from been able to access it.

Learn more about machine learning from

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

Answer:  programming

Explanation:

the operation of verifying that the individual (or process) is who they claim to be is known as? complete mediation access control authentication verification

Answers

The operation of verifying that the process or individual is who they claim to be is known as authentication. Thus, the correct option to this question is an option (C) i.e. authentication.

Authentication is an operation that is commonly used in computer language or in software engineering to verify the person or process what they ought to be. Authentication operation verifies that the person, individual, or process accessing the system is the authenticated individual, person, or user.

While the other options are incorrect because:

The term complete mediation is used to check that access to the object is allowed. While access control is a measure to control access to the system by an unauthenticated process or user. Whereas, the verification verifies that the user or process is original.

The complete question is given below

"

The operation of verifying that the individual (or process) is who they claim to be is known as?

A. complete mediation

B. access control

C. authentication

D. verification "

You can learn more about authentication at

https://brainly.com/question/13615355

#SPJ4

Other Questions
The topic sentence below is...Many football players have received head injuries while playing the sport.Strong: Claim. OrWeak: Not a Claim The Ohio Constitution was rewritten in 1851. The new constitution took away formof the powers of the state legislature.Under Ohio's original constitution, state legislators had put Ohio into debt by lendingmoney to canal, railroad, and turnpike companies owned by their friends.How did Ohio's 1851 Constitution address this problem. For f(x) = (x 1)3 and g(x) = 1 6x, find the following.(a) (f g)(x)(b) (g f)(x)(c) f(f(x))(d) f 2(x) = (f f)(x) Which of the following is an example of a society? all of the people in the world who follow the Jewish religion, fans of the Grateful Dead, the inhabitants of Israel, university studentsits not A Armaans age is 8, more than 4 times the age of Raj. If Armaan is 24 years old. How old is Raj? (5,-4); y = 1/5 x - 4 1. Ask a well thought out questions regarding anything related to babies and families. This is a chance to learn from other students in the class. Make your questions "opened ended". For example, ask, "What have you done to strengthen your relationships with the parents in your classes?" or "If you have children, what advice do you have for other parents who are struggling with balancing work and home?" or "What advice would you give a newly hired caregiver about caring for babies?" Read evacuation What was the name of the plan to relocate children to the English countryside during the war Describe in detail the most horrendous night of Wiesels life, and why you believe he was never able to forget... Question in a nutshellWoman goes into store every 8 daysDude goes into store every 10 daysHow many days will until they shop at the same time this part of the computer fetches instructions, carries out the operations commanded by the instructions, and produces some outcome or resultant information. If N = 15 and P = .50, what is the probability of getting exactly 12 P events? Please go to 4 decimal places. Countries around the world would like to switch from usingoil and other fossil fuels. The main reason is ... You need to select a database to begin researching perceptions of the Impressionist painters in the late 1800s. Based on their descriptions, which database is the most appropriate resource to search for primary sources?A. Grove Art Online: a scholarly art encyclopedia.B. JSTOR: the journals archive. Sources include pre-1900 art journals like Modern Art, The Collector, and Brush and Pencil.C. The Design and Applied Arts Index: covers ceramics, glass, jewelry, wood, metalsmithing, graphic design, fashion and clothing, and textiles.D. Art Index Retrospective: the definitive source for historical art literature published between 1929 and 1984.sin responder How many integers lie between root 60 and root 145? Por qu Paris senta remordimiento respecto a la muerte de Hctor? Dentro de la iliada Find the value of the expression: -4.65 + 8.3 - (-2.35) the first flat-screen televisions were expensive and offered by few manufacturers. however, within a few years, most televisions incorporated that technology. Write the English phrase as an algebraic expression. Then simplify the expression. Let x represent the number.The difference between eight times a number and nine more than seven times the number.What is the algebraic expression?(Do not simplify.) What are some of the grotesque actions in the story hop frog