A firewall is either software or dedicated hardware that exists between the network and the resource being protected. this network security device monitors traffic to or from the network. It is based on set of rules about what data packets will be allowed to enter or leave a network.
Answer:
I'm not exactly sure on what the question is, but from reading it, I determined that you'll be creating 2 different designs using Inkscape/Photoshop. I'm leaving 2 of my designs in here for you to use on your project. Unknown on what to do about the design that wasn't created in an image-editing program.
c) Which type of graph will be suitable for representing only gold medals information? (2 marks)
d) In which column(s) might replication have been used?
(2 marks)
e) What Excel formula can be used to calculate the overall total medals awarded? (3 marks)
14) Write the Excel functions for the following: (5 Marks each)
a. Give the total number of medals for Germany and Great Britain.
b. Give the average number of silver medals for a European country,
c. Sum the Medals Total for Gold for those countries with less than 20 games involvement.
d. Search the database (the whole spreadsheet) to find ‘Italy’ and also the corresponding Medals Total.
Answer:
a) highlight row F by clicking on F, go to toolbar at top undar DATA click filter, you will see an arrow next to F now, click the dropdown on the arrow and sort
Explanation:
Answer:
The answer is "For the stop and wait the value of S and R is equal to 1".
Explanation:
B. -2
C. "Open"
D. +2
Answer:
D. +2
Explanation:
The given function is an IF function where the first argument is a logical test, the second argument is the result if the logical test is true and the third argument is the result if the logical test is false. Depending on whether the result of the logical test is true or false, the respective value will be returned.
IF(logical_test, value_if_true, value_if_false)
In this case, the logical test first compares the value of B3 and D5. As B3 is not greater than D5, the result is false and the value for false will be returned. The value for false result of the logical test is equated by D5-B3 which is equal to 2. Thus the result of the IF function is +2.
if (str.indexOf("pea") >= 0)
{
System.out.println("pea");
}
else if (str.indexOf("pear") >= 0)
{
System.out.println("pear");
}
else if (str.indexOf("pearl") >= 0)
{
System.out.println("pearl");
}
II.
if (str.indexOf("pearl") >= 0)
{
System.out.println("pearl");
}
else if (str.indexOf("pear") >= 0)
{
System.out.println("pear");
}
else if (str.indexOf("pea") >= 0)
{
System.out.println("pea");
}
Which of the following best describes the output produced by code segment I and code segment II?
Both code segment I and code segment II produce correct output for all values of str.
Neither code segment I nor code segment II produce correct output for all values of str.
Code segment II produces correct output for all values of str, but code segment I produces correct output only for values of str that contain "pear" but not "pearl".
Code segment II produces correct output for all values of str, but code segment I produces correct output only for values of str that contain "pearl".
Code segment II produces correct output for all values of str, but code segment I produces correct output only for values of str that contain "pea" but not "pear".
Answer:
Code segment II produces correct output for all values of str, but code segment I produces correct output only for values of str that contain "pea" but not "pear".
Explanation:
The main issue with the first code segment is the way how the if else if condition are arranged. The "pea" is checked at the earliest time in the first code segment and therefore so long as there is the "pea" exist in the string (regardless there is pear or pearl exist in the string as well), the if condition will become true and display "pea" to terminal. This is the reason why the code segment 1 only work for the values of str that contain "pea".
The program is a sequential program; as such, it does not require loops or conditional statements.
The program in Python, where comments are used to explain each line is as follows:
#This gets input for the cost of the meal
cost = float(input("Cost: "))
#This initializes the local rate tax to 7.25%
local_rate_tax = 0.0725
#This initializes the tip to 18%
tip = 0.18
#This calculates the tax amount
taxAmount = cost * local_rate_tax
#This calculates the tip amount
tipAmount = cost * tip
#This calculates the grand total
grand = cost + taxAmount + tipAmount
#This prints the tax amount
print("Tax amount: {:.2f}".format(taxAmount))
#This prints the tip amount
print("Tip: {:.2f}".format(tipAmount))
#This prints the grand total
print("Grand total: {:.2f}".format(grand))
All outputs are formatted to 2 decimal places.
See attachment for sample run
Read more about similar programs at:
Answer:
Explanation
If I were calculating a tip at a restaurant using the same syntax, it would have been. meal ... New value of meal is double meal times tax. you're saying: (meal + meal) * tax but meal + meal * tax is calculated in the following order meal + (meal * tax) ... eh? ;) The exercise implied it was just reading the equation from right to left.