Answer:
def countup():
pass
def countdown():
pass
x = int(input("Choose a number: "))
if x >= 0:
countup()
if x < 0:
countdown()
Explanation:
I start by getting a user input which is saved to variable called "x." I then make if statements to see whether is greater than, equal to, or less than 0. After that, I call the functions.
ICMP
(a) is required to solve the NAT traversal problem
(b) is used in Traceroute
(c) has a new version for IPv6
(d) is used by Ping
Answer:
(b) is used in Traceroute
(d) is used by Ping
Explanation:
ICMP is the short form of Internet Control Message Protocol. It is a protocol used by networking devices such as routers to perform network diagnostics and management. Since it is a messaging protocol, it is used for sending network error messages and operations information. A typical message could be;
i. Requested service is not available
ii. Host could not be reached
ICMP does not use ports. Rather it uses types and codes. Some of the most common types are echo request and echo reply.
Traceroute - which is a diagnostic tool - uses some messages available in ICMP (such as Time Exceeded) to trace a network route.
Ping - which is an administrative tool for identifying whether a host is reachable or not - also uses ICMP. The ping sends ICMP echo request packets to the host and then waits for an ICMP echo reply from the host.
ICMP is not required to solve NAT traversal problem neither does it have a new version in IPV6.
The famous Fibonacci sequence, 1, 1, 2, 3, 5, 8, 13, . . . , begins with two 1s. After that, each number is the sum of the preceding two numbers. Write a program using a recursive function that requests an integer n as input and then displays the nth number of the Fibonacci sequence.
Answer:
int recursiveFunction(int n) {
if (n == 0 || n == 1) {
return n;
}
else {
return recursiveFunction(n - 2) + recursiveFunction(n - 1);
}
Explanation:
A TCP ________ segment is a request to the other transport process to close a connection. ACK FIN SYN CLS
Answer:
FIN
Explanation:
A TCP is an acronym for Transmission Control Protocol and it is one of the essential and important protocol of the internet protocol network. This simply means that, it is an essential part of the TCP/IP network.
The TCP has a wide range of applications in the following areas, file transfers, world wide web, remote administration, e-mail, etc.
The TCP connection are mainly established in the network using the three-way handshake.
A TCP FIN segment is a request to the other transport process to close a connection. The FIN in transmission control protocol (TCP) is an acronym for finish and it involves the packets associated with termination or closing of a network connection.
Generally, the TCP in networking is made up of all of the following flag bits, namely;
1. SYN: used for synchronizing packets associated with a connection.
2. ACK: this is mainly where an acknowledgement of packets in a network takes place.
3. FIN: it is used for closing connections.
4. PSH: used for pushing packets that are to meant to be delivered at the far end.
5. RST: used as a reset in times of errors in the connection.
6. URG: used to denote urgent and high priority packets in the network.
7
QUESTION 22 Select the correct statement(s) regarding Carrier Ethernet (CE). a. the Metro Ethernet Forum (MEF) created a CE framework to ensure the interoperability of service provider CE offerings b. MEF certified CE network providers, manufacturers and network professionals to ensure interoperability and service competencies c. MEF certified services include E-Line, E-LAN, E-Tree, E-Access, and E-Transit d. all are correct statements
Answer:
d. all are correct statements
Explanation:
CARRIER ETHERNET can be defined as the Ethernet which is a telecommunications network providers that provides and enables all Ethernet services to their customers and as well to help them utilize the Ethernet technology in their networks which is why the word “Carrier” in Carrier Ethernet networks is tend to refers to a large communications services providers that has a very wide reach through all their global networks. Example of the carriers are:
They help to provide audio, video, as well as data services to residential and to all business as well as enterprise customers.
CARRIER ETHERNET also make use of high-bandwidth Ethernet technology for easy Internet access and as well as for communication among the end users.
Therefore all the statement about CARRIER ETHERNET NETWORK are correct
a. Metro Ethernet Forum (MEF) is a type of ethernet which created a Carrier Ethernet framework in order to ensure the interoperability of service provider that the Carrier Ethernet is offerings.
b. The MEF also help to certifies CE network providers, as well as the manufacturers and network professionals in order to ensure interoperability as well as a great service competencies.
c. MEF certified services also include E-Line, E-LAN, E-Tree, E-Access, and E-Transit
Hence, MEF is an important part of Carrier Ethernet because they act as the defining body for them, reason been that they are as well telecommunications service providers, cable MSOs, as well as network equipment and software manufacturers among others.
Enter key is also known as Return key. (True or false)
Answer:
I think false
hope it helps
Answer:
False
Explanation:
The return key is the backspace or escape key.
Hope it helps.
Write, compile and test (show your test runs!) program that calculates and returns the fourth root of the number 81, which is 3. Your program should make use of the sqrt() method. Math.sqrt(number).
Answer:
I am writing a JAVA program. Let me know if you want the program in some other programming language.
public class FourthRoot{ //class to calculate fourth root of 81
public static void main(String[] args) { //start of main() function body
double square_root; //declares to hold the fourth root of 81
double number=81; // number is assigned the value 81
/* calculates the fourth root of number using sqrt() method twice which means sqrt() of sqrt(). This is equivalent to pow(number,(0.25)) where pow is power function that computes the fourth root by raising the number 81 to the power of 0.25 which is 1/4 */
square_root=Math.sqrt(Math.sqrt(number));
//displays the fourth root of 81 i.e. 3
System.out.println("Fourth Root of 81 is "+ square_root); } }
Explanation:
The program is well explained in the comments given along with each statement of the program . Since it was the requirement of the program to user Math.sqrt() method so the fourth root of number= 81 is computed by taking the sqrt() of 81 twice which results in the fourth root of 81 which is 3.
So the first sqrt(81) is 9 and then the sqrt() of the result is taken again to get the fourth root of 81. So sqrt(9) gives 3. So the result of these two computations is stored in square_root variable and the last print statement displays this value of square_root i.e. the fourth root of number=81 which is 3.
Another way to implement the program is to first take sqrt(81) and store the result in a variable i.e. square_root. After this, again take the sqrt() of the result previously computed and display the final result.
public class FourthRoot{
public static void main(String[] args) {
double square_root;
double number=81;
square_root=Math.sqrt(number);
System.out.println("Fourth Root of 81 is: "+ Math.sqrt(square_root)); } }
The program along with its output is attached in a screenshot.
(Convert letter grade to number) Write a program that prompts the user to enter a letter grade A/a, B/b, C/c, D/d, or F/f and displays its corresponding numeric value 4, 3, 2, 1, or 0.
Sample Run 1 Enter a letter grade: B The numeric value for grade B is 3
Sample Run 2 Enter a letter grade: b The numeric value for grade b is 3
Sample Run 3 Enter a letter grade: T T is an invalid grade
Answer:
This program is written in Python Programming Language
Program doesn't make use of comments (See Explanation Section for detailed explanation)
letterg = ['A','B','C','D','F']
inp = input("Enter a Letter Grade: ")
for i in range(len(letterg)):
if inp.upper() == letterg[i]:
print('The numeric value for grade ', inp, ' is ',4 - i)
break;
else:
print(inp, "is an invalid grade")
Explanation:
This line initializes all letter grade from A to F
letterg = ['A','B','C','D','F']
This line prompts user for letter grade
inp = input("Enter a Letter Grade: ")
This line iterates through the initialized letter grades
for i in range(len(letterg)):
This line checks if the user input is present in the initialized letter grades (it also takes care of lowercase letters)
if inp.upper() == letterg[i]:
This line is executed if tge about condition is true; the line calculates the number grade and prints it
print('The numeric value for grade ', inp, ' is ',4 - i)
This line terminates the iteration
break;
If the condition above is not true
else:
This line is executed
print(inp, "is an invalid grade")
A customer contacts the help disk stating a laptop does not remain charged for more than 30 minutes and will not charge more than 15%. Which of the following components are the MOST likely causes the issue? (Select three.)
A. LCD power inverter
B. AC adapter
C. Battery
D. Processor
E. VGA card
F. Motherboard
G. Backlit keyboard
H. Wireless antenna
Answer:
A, B and C
Explanation:
When talking about a computer or laptop charging, there are ONLY 3 things that matter.
The Battery - This is where the electricity or "wall juice" is stored.
AC Adapter - This is how the Battery gets its juice, it plugs into the computer itself.
LCD Power Adapter - This plugs into the wall to pull the electricity from the grid into your computer passing through AC Adapter.
On a side note... the most logical reason the computer could not be going over 15% nor charge anymore than 30mins is because the battery has been shortened by either a storm or a power surge.
The goal of what technology research is to provide solutions to physical and health related problems
Answer:Crisis-mapping
Explanation:
Answer:
Crisis Mapping
Explanation:
Write a program that displays the values in the list numbers in ascendingorder sorted by the sum of their digits.
Answer:
Here is the Python program.
def DigitList(number):
return sum(map(int, str(number)))
list = [18, 23, 35, 43, 51]
ascendList = sorted(list, key = DigitList)
print(ascendList)
Explanation:
The method DigitList() takes value of numbers of the list as parameter. So this parameter is basically the element of the list. return sum(map(int, str(number))) statement in the DigitList() method consists of three methods i.e. str(), map() and sum(). First the str() method converts each element of the list to string. Then the map() function is used which converts every element of list to another list. That list will now contain digits as its elements. In short each number is converted to the string by str() and then the digit characters of each string number is mapped to integers. Now these digits are passed to sum() function which returns the sum. For example we have two numbers 12 and 31 in the list so each digit is 1 2 and 3 1 are added to get the sum 3 and 4. So now the list would have 3 4 as elements.
Now list = [18, 23, 35, 43, 51] is a list of 5 numbers. ascendList = sorted(list, key = DigitList) statement has a sorted() method which takes two arguments i.e. the above list and a key which is equal to the DigitList which means that the list is sorted out using key=DigitList. DigitList simply converts each number of list to a another list with its digits as elements and then returns the sum of the digits. Now using DigitList method as key the element of the list = [18, 23, 35, 43, 51] are sorted using sorted() method. print(ascendList) statement prints the resultant list with values in the list in ascending order sorted by the sum of their digits.
So for the above list [18, 23, 35, 43, 51] the sum of each number is 9 ,5, 8, 7, 6 and then list is sorted according to the sum values in ascending order. So 5 is the smallest, then comes 6, 7, 8 and 9. So 5 is the sum of the number 23, 6 is the sum of 51, 7 is the sum of 43, 8 is the sum of 35 and 9 is the sum of 18. So now after sorting these numbers according to their sum the output list is:
[23, 51, 43, 35, 18]
You are in a library to gather information from secondary sources, and you want to find a current print resource that can supplement information from a book. What source should you use
Answer:
Periodical Literature
Explanation:
In this specific scenario, the best source for you to use would be the periodicals. Periodical Literature is a category of serial publications that get released as a new edition on a regular schedule, such as a magazine, newsletters, academic journals, and yearbooks. Some real-life examples include Sports Illustrated, Discovery, or even Time Magazine. These periodical literary sources all provide up to date data on any topic that is needed.
When you are creating a certificate, which process does the certificate authority use to guarantee the authenticity of the certificate
Answer:
Verifying digital signature
Explanation:
In order to guarantee authenticity of digital messages an documents, the certificate authority will perform the verification of the digital signature. A valid digital signature indicates that data is coming from the proper server and it has not been altered in its course.
How many times will the while loop that follows be executed? var months = 5; var i = 1; while (i < months) { futureValue = futureValue * (1 + monthlyInterestRate); i = i+1; }
a. 5
b. 4
c. 6
d. 0
Answer:
I believe it is A
Explanation:
A simple operating system supports only a single directory but allows it to have arbitrarily many files with arbitrarily long file names. Can something approximating a hierarchical file system be simulated? How?
Answer:
Yes
Explanation:
Yes, something approximating a hierarchical file system be simulated. This is done by assigning to each file name the name of the directory it is located in.
For example if the directory is UserStudentsLindaPublic, the name of the file can be UserStudentsLindaPublicFileY.
Also the file name can be assigned to look like the file path in the hierarchical file system. Example is /user/document/filename
It is acceptable to create two TCP connections on the same server/port doublet from the same client with different port numbers.
A. True
B. False
in java how do i Write a method named isEven that accepts an int argument. The method should return true if the argument is even, or false otherwise. Also write a program to test your method.
//Class header definition
public class TestEven {
//Method main to test the method isEven
public static void main(String args[ ] ) {
//Test the method isEven using numbers 5 and 6 as arguments
System.out.println(isEven(5));
System.out.println(isEven(6));
}
//Method isEven
//Method has a return type of boolean since it returns true or false.
//Method has an int parameter
public static boolean isEven(int number){
//A number is even if its modulus with 2 gives zero
if (number % 2 == 0){
return true;
}
//Otherwise, the number is odd
return false;
}
}
====================================================
Sample Output:
=========================================================
false
true
==========================================================
Explanation:
The above code has been written in Java. It contains comments explaining every part of the code. Please go through the comments in the code.
A sample output has also been provided. You can save the code as TestEven.java and run it on your machine.
Methods are collections of named program statements that are executed when called or evoked
The program in Java, where comments are used to explain each line is as follows:
import java.util.*;
public class Main {
public static void main(String args[ ] ) {
//This creates a Scanner Object
Scanner input = new Scanner(System.in);
//This gets input for the number
int num = input.nextInt();
//This calls the function
System.out.println(isEven(num));
}
public static boolean isEven(int num){
//This returns true, if num is even
if (num % 2 == 0){
return true;
}
//This returns false, if otherwise
return false;
}
}
Read more about methods at:
https://brainly.com/question/20442770
What physical security measure is used to ensure that portable devices will be more difficult to steal?
O Cable lock
O Password
O PIN
O VPN
A portable gadget is any equipment that may be transported conveniently. The correct option is A.
What is a portable device?A portable gadget is any equipment that may be transported conveniently. It is a computer device with a compact form factor that is meant to be handled and utilized in the hands.
The physical security measure that is used to ensure that portable devices will be more difficult to steal is a Cable lock.
Hence, the correct option is A.
Learn more about Portable Device:
https://brainly.com/question/11213213
#SPJ2
Suppose that you have a class called Student that is defined in student.h file. The class is in a namespace called fhsuzeng. Fill in the following blanks for the structure of the header file student.h.
#ifndefine STUDENT_H
______________
namespace _______
{
___________Student
{
};
}
_____________________
Answer:
u r
Explanation:
dumb
Write a program that read two numbers from user input. Then, print the sum of those numbers.
Answer:
#This is in Python
number1 = raw_input("Enter a number: ")
number2 = raw_input("Enter another number: ")
sum = float(number1) + float(number2)
print(sum)
Explanation:
The protections from the security software must continue when the device is taken off the network, such as when it is off-grid, or in airplane mode and similar. Still, much of the time, software writers can expect the device to be online and connected, not only to a local network but to the World Wide Web, as well. Web traffic, as we have seen, has its own peculiar set of security challenges. What are the challenges for an always connected, but highly personalized device?
Answer:
third ighjojdudjz
ghddduewjj
wkckdjjj
Explanation:
cchmddkhwmx
ndhdnahdd
jruditndjed
The user can set their own computer hostname and username. Which stage of the hardware lifecycle does this scenario belong to?
Answer:
Deployment
Explanation:
Hardware lifecycle management is geared at making optimum use of the computer hardware so as to maximize all the possible benefits. During the deployment stage of the hardware lifecycle, the user is prompted by the computer to input their own computer hostname and username. In doing this, it is important that the user takes note of possible flaws in security. Passwords are set at this stage too. The four stages in the hardware lifecycle are procurement, deployment, maintenance, and retirement. At the deployment stage, the hardware is set up and allocated to employees so that they can discharge their duties effectively.
So, for organizations, it is important that strong passwords are used to prevent security breaches in the event that an employee leaves the organization.
Answer:
Deployment
Explanation:
based on the condition.
The starting value of looping statement is calle
This is the final (last) value of loop statement a
This is a non-executable statement which is al
of QBASIC.
This statement is used to make variable global
It is declared in the main program and changes
This statement is used to close the one or more
Answer:
A subroutine is a block of statements that carries out one or more tasks. ... they share all variables with the rest of the main program. ... Once you have defined a function in your program, you may use it in any appropriate expression, such as: ... Thus, functions can- not change the values of the arguments passed to them.
Explanation:
12. Kelly would like to know the average bonus multiplier for the employees. In cell C11, create a formula using the AVERAGE function to find the average bonus multiplier (C7:C10).
Answer:
1. Divide each bonus by regular bonus apply this to all the data
2. In cell C11 write, "Average" press tab key on the keyboard and then select the range of the cells either by typing "C7:C10" or by selecting it through the mouse.
Explanation:
The average bonus multiplier can be found by dividing each bonus with the regular bonus applying this to all the data and then putting the average formula and applying it to the cells C7:C10.
After dividing the bonus with regular bonus, in cell C11 write, "Average" press tab key on the keyboard and then select the range of the cells either by typing "C7:C10" or by selecting it through the mouse.
SONET is the standard describing optical signals over SMF, while SDH is the standard that describes optical signals over MMF fiber.
A. True
B. False
Answer:
False.
Explanation:
SONET is an acronym for synchronous optical networking while SDH is an acronym for synchronous digital hierarchy. They are both standard protocols used for the transmission of multiple digital bit streams (multiplex) synchronously through an optical fiber by using lasers.
Hence, both SONET and SDH are interoperable and typically the same standard protocols in telecommunication networks. Also, the SONET is a standardized protocol that is being used in the United States of America and Canada while SDH is an international standard protocols used in countries such as Japan, UK, Germany, Belgium etc.
The synchronous optical networking was developed in 1985 by Bellcore and it was standardized by the American National Standards Institute (ANSI). SDH was developed as a replacement for the plesiochronous digital hierarchy (PDH).
Generally, SONET comprises of four functional layers and these are;
1. Path layer
2. Line layer.
3. Section layer.
4. Physical or Photonic layer.
The SDH comprises of four synchronous transport modules and these are;
1. STM-1: having a basic data rate of 155.52Mbps.
2. STM-4: having a basic data rate of 622.08Mbps.
3. STM-16: having a basic data rate of 2488.32Mbps.
4. STM-64: it has a basic data rate of 9953.28Mbps.
These two standard telecommunications protocols are used to transmit large amounts of network data over a wide range through the use of an optical fiber.
How would you represent a single cyan-colored pixel in Base64 encoding? (Hint: first think about how to represent cyan as a three-byte binary number, and then do the Base64 encoding from the lecture.)
Answer:
The answer is "AP//"
Explanation:
In the given question choices were missing so, the correct choice can be defined as follows:
The 3-bit color description of 'CYAN' is 011 if we convert it into 3- byte binary representation, we get, the 3- byte binary representation that is equal to 011 = 00000000 11111111 11111111 and to split the 3-byte description into 6-bit subset to transform into Base64. so, we get: 000000 001111 111111 111111
if we have the Base64 alphabet table to convert the 6-bit representation towards its comparable letter or character by the 6-bit subgroup, that can be defined as follows:
In 000000 the decimal value is = 0, which is equal to Base64 character is ='A' . In 001111 the decimal value is = 15, which is equal to Base64 character is= 'P' The 111111, its decimal value is = 63, in the Base64 its character is = '/' The 111111, its decimal value is = 63, in the Base64 its character is = '/'Convert +41.50 in a IEEE 754 single precision format.
Convert - 72.125 in a IEEE 754 double precision format.
+41.50 = 0 10000100 01001100000000000000000 [single precision]
-72.125 = 1 10000000101 0010000010000000000000000000000000000000000000000000 [double precision]
Explanation:(I) +41.50 using single precision
Follow the following steps:
(a) Single precision has 32 bits in total and is divided into three groups: sign (has 1 bit), an exponent (has 8 bits) and a mantissa (also called fraction, has 23 bits)
(b) Divide the number (41.50) into its whole and decimal parts:
Whole = 41
Decimal = 0.50
(c) Convert the whole part to binary:
2 | 41
2 | 20 r 1
2 | 10 r 0
2 | 5 r 0
2 | 2 r 1
2 | 1 r 0
| 0 r 1
Reading upwards gives 41 = 101001₂
(d) Convert the decimal part to binary:
0.50 x 2 = 1.0 = 1 [number in front of decimal]
0.0 x 2 = 0.0 = 0 [number in front of decimal]
Reading downwards gives 0.5 = 10₂
(e) Put the two parts together as follows;
101001.10₂
(f) Convert the result in (e) to its base 2 scientific notation:
Move the decimal to just before the leftmost bit as follows;
1.0100110
In doing so, we have moved over 5 numbers to the left. Therefore, the exponent is 5. Moving to the left gives a positive exponent while moving to the right gives a negative exponent.
Altogether we have;
1.0100110 x 2⁵
(g) Determine the sign bit of the number and display in binary: Since the number +41.50 is positive, the sign bit is 0.
(h) Determine the exponent bits.
Since this is a single precision conversion, the exponent bias is 127.
To get the exponent we add the exponent value from (e) to the exponent bias and get;
5 + 127 = 132
(i) Convert the exponent to binary:
2 | 132
2 | 66 r 0
2 | 33 r 0
2 | 16 r 1
2 | 8 r 0
2 | 4 r 0
2 | 2 r 0
2 | 1 r 0
| 0 r 1
Reading upwards gives 132 = 10000100₂
(j) Determine the mantissa bits:
The mantissa is the rest of the number after the decimal of the base 2 scientific notation found in (f) above.
0100110 from 1.0100110 x 2⁵ [Just remove the leftmost 1 and the decimal point]
(k) Combine the three parts: sign bit (1 bit), exponent bits (8 bits) and mantissa bits (23 bits)
sign bit = 0 [1 bit]
exponent bits = 10000100 [8 bits]
mantissa bits = 0100110 [7 out of 23 bits]
Then fill out the remaining part of the mantissa with zeros to make it 23 bits.
mantissa bits = 01001100000000000000000
Putting all together we have
0 10000100 01001100000000000000000 as +41.50 in a IEEE 754 single precision format.
(II) -72.125 using double precision
Follow the following steps:
(a) Double precision has 32 bits in total and is divided into three groups: sign (has 1 bit), an exponent (has 11 bits) and a mantissa (also called fraction, has 52 bits)
(b) Divide the number (72.125) into its whole and decimal parts:
Whole = 72
Decimal = 0.125
(c) Convert the whole part to binary:
2 | 72
2 | 36 r 0
2 | 18 r 0
2 | 9 r 0
2 | 4 r 1
2 | 2 r 0
2 | 1 r 0
| 0 r 1
Reading upwards gives 72 = 1001000₂
(d) Convert the decimal part to binary:
0.125 x 2 = 0.25 = 0 [number in front of decimal]
0.25 x 2 = 0.50 = 0 [number in front of decimal]
0.50 x 2 = 1.00 = 1 [number in front of decimal]
0.00 x 2 = 0.00 = 0 [number in front of decimal]
Reading downwards gives 0.125 = 0010₂
(e) Put the two parts together as follows;
1001000.0010₂
(f) Convert the result in (e) to its base 2 scientific notation:
Move the decimal to just before the leftmost bit as follows;
1.0010000010
In doing so, we have moved over 6 numbers to the left. Therefore, the exponent is 6. Moving to the left gives a positive exponent while moving to the right gives a negative exponent.
Altogether we have;
1.0010000010 x 2⁶
(g) Determine the sign bit of the number and display in binary: Since the number -72.125 is negative, the sign bit is 1.
(h) Determine the exponent bits.
Since this is a double precision conversion, the exponent bias is 1023.
To get the exponent we add the exponent value from (e) to the exponent bias and get;
6 + 1023 = 1029
(i) Convert the exponent to binary:
2 | 1029
2 | 514 r 1
2 | 257 r 0
2 | 128 r 1
2 | 64 r 0
2 | 32 r 0
2 | 16 r 0
2 | 8 r 0
2 | 4 r 0
2 | 2 r 0
2 | 1 r 0
| 0 r 1
Reading upwards gives 1029 = 10000000101₂
(j) Determine the mantissa bits:
The mantissa is the rest of the number after the decimal of the base 2 scientific notation found in (f) above.
0010000010 from 1.0010000010 x 2⁶ [Just remove the leftmost 1 and the decimal point]
(k) Combine the three parts: sign bit (1 bit), exponent bits (11 bits) and mantissa bits (52 bits)
sign bit = 1 [1 bit]
exponent bits = 10000000101 [11 bits]
mantissa bits = 0010000010 [10 out of 52 bits]
Then fill out the remaining part of the mantissa with zeros to make it 52 bits.
mantissa bits = 0010000010000000000000000000000000000000000000000000
Putting all together we have
1 10000000101 0010000010000000000000000000000000000000000000000000 as -72.125 in a IEEE 754 double precision format.
Distinguish among packet filtering firewalls, stateful inspection firewalls, and proxy firewalls. A thorough answer will require at least a paragraph for each type of firewall.
Acme Corporation wants to be sure employees surfing the web aren't victimized through drive-by downloads. Which type of firewall should Acme use? Explain why your answer is correct.
Answer:
packet filtering
Explanation:
We can use a packet filtering firewall, for something like this, reasons because when visiting a site these types of firewalls should block all incoming traffic and analyze each packet, before sending it to the user. So if the packet is coming from a malicious origin, we can then drop that packet and be on our day ;D
Define a function ComputeGasVolume that returns the volume of a gas given parameters pressure, temperature, and moles. Use the gas equation PV = nRT, where P is pressure in Pascals, V is volume in cubic meters, n is number of moles, R is the gas constant 8.3144621 ( J / (mol*K)), and T is temperature in Kelvin.Sample program:#include const double GAS_CONST = 8.3144621;int main(void) { double gasPressure = 0.0; double gasMoles = 0.0; double gasTemperature = 0.0; double gasVolume = 0.0; gasPressure = 100; gasMoles = 1 ; gasTemperature = 273; gasVolume = ComputeGasVolume(gasPressure, gasTemperature, gasMoles); printf("Gas volume: %lf m^3\n", gasVolume); return 0;}
Answer:
double ComputeGasVolume(double pressure, double temperature, double moles){
double volume = moles*GAS_CONST*temperature/pressure;
return volume;
}
Explanation:
You may insert this function just before your main function.
Create a function called ComputeGasVolume that takes three parameters, pressure, temperature, and moles
Using the given formula, PV = nRT, calculate the volume (V = nRT/P), and return it.
24. Which of the following statements about Emergency Support Functions (ESFs) is correct?
O A. ESFs are not exclusively federal coordinating mechanism
O B. ESFs are only a state or local coordinating mechanism
O C. ESFs are exclusively a federal coordinating mechanism
O D. ESFs are exclusively a state coordinating mechanism
(ESFs) is correct: ESFs are not exclusively federal coordinating mechanism.
List the names of 3 computer scientists
Hi there! Hopefully this helps!
------------------------------------------------------------------------------------------------------
1. Barbara Liskov.
2. Carl Sassenrath.
3. Larry Page.
Answer:
1. Ellon Musk
2. Larry Page
3. John Hopcroft
Hope that helps!