Answer:
Explanation:
a. In this specific scenario, the best option would most likely be a site-to-site VPN. This would allow each office to be independently connected to the internet and at the same time be connected to each other securely and efficiently. There should be unnoticeable or no delay at all between the two offices and sensitive files will be completely secure. Therefore, the two offices can easily transfer data securely between one another without fear of the data being intercepted.
b. The same VPN network would work on the head office, but instead we can implement firewall restrictions to the head office network itself. These restrictions would prevent any or all incoming connections that are trying to request data from the local head office network. This would allow the head office to continue working without worry of unwanted intruders in their network.
(ignore the words in parenthesis, I just have to have 20 letters in an answer) 2-in-1 PC
Answer:
Numeric Addition
Explanation:
Literally, the + sign is an arithmetic operator used to perform addition operation between numeric datatypes (integer, float, decimal, double, long integer, etc...)
Its default built in function of the plus is sign is to add variables, constants and/or expressions.
The plus sign is used as follows;
a = 5;
b = 3;
c = a + b
-------------
a + b = 5 + 3 = 8
8 will be saved in variable c. This is only possible using the plus sign.
The plus sign also has other function such as string concatenation but this function is language dependent (i.e. some programming languages do not use + for string concatenation).
Conclusively, the built in function of the plus sign is for numeric addition
Answer:
Option D The negative number entered to signal no more input is included in the product
Explanation:
Given the code as follows:
- int k = 0;
- int prod = 1;
- while (k>=0)
- {
- System.out.println("Enter a number: ");
- k= readInt( );
- prod = prod*k;
- }
- System.out.println("product: "+prod);
The line 7 is a logical error. Based on the while condition in Line 3, the loop shall be terminated if k smaller than zero (negative value). So negative value is a sentinel value of this while loop. However, if user enter the negative number to k, the sentinel value itself will be multiplied with prod in next line (Line 7) which result inaccurate prod value.
The correct code should be
- int k = 0;
- int prod = 1;
- while (k>=0)
- {
- prod = prod*k;
- System.out.println("Enter a number: ");
- k= readInt( );
- }
- System.out.println("product: "+prod);