Answer:
A decryption key is a digital information used to recover the plain text from the corresponding ciphertext by decryption.
Answer:
ARPANET is the earliest version of the present-day Internet.
Explanation:
ARPANET is the type of network that is used before the Internet in the year 1967. It was advanced in the control of U.S ARPA(Advanced Research Projects Agency). After the year of 1980, it was given to the military network for the protection of the data network but after all, it is for the small area network and the Internet is the World Wide network.
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".
Answer:
you suck
Explanation:
Answer:
The single greatest physical threat to information systems is:
Sabotage
Explanation:
Sabotage describes the efforts of internal persons to ensure that a system does not operate as intended or is destroyed. Among the threats to information systems, this is the greatest. The problem with sabotage is that the operators are internal, they know the system very well. They understand the weak points and the strengths of the system. They are internal terrorists to any information system. These internal saboteurs are capable of using any means to achieve their purpose. Therefore, it is necessary to scrutinize employees from time to time to discover internal risks.
Answer:
// here is program in Java.
// import package
import java.util.*;
// class definition
class Main
{
// main method of the class
public static void main (String[] args) throws java.lang.Exception
{
try{
// variable
int gall;
double cost=0;
// object to read value from user
Scanner scr=new Scanner(System.in);
// ask user to enter type
System.out.print("Enter customer type (R for residential or B for business ):");
// read type of customer
char t=scr.next().charAt(0);
if(t=='r'||t=='R')
{
System.out.print("enter the number of gallons:");
//read number of gallons
gall=scr.nextInt();
// if number of gallons are less or equal to 6000
if(gall<=6000)
{
// calculate cost
cost=gall*0.007;
// print cost
System.out.println("total cost is: "+cost);
}
else
{
// calculate cost
cost=(6000*0.005)+((gall-6000)*0.007);
// print cost
System.out.println("total cost is: "+cost);
}
}
else if(t=='b'||t=='B')
{
System.out.print("enter the number of gallons:");
//read number of gallons
gall=scr.nextInt();
// if number of gallons are less or equal to 8000
if(gall<=8000)
{
// calculate cost
cost=gall*0.006;
// print cost
System.out.println("total cost is: "+cost);
}
else
{// calculate cost
cost=(8000*0.006)+((gall-8000)*0.008);
// print cost
System.out.println("total cost is: "+cost);
}
}
}catch(Exception ex){
return;}
}
}
Explanation:
Ask user to enter the type of customer and assign it to variable "t" with scanner object.If the customer type is business then read the number of gallons from user and assign it to variable "gall". Then calculate cost of gallons, if gallons are less or equal to 8000 then multiply it with 0.006.And if gallons are greater than 8000, cost for first 8000 will be multiply by 0.006 and for rest gallons multiply with 0.008.Similarly if customer type is residential then for first 6000 gallons cost will be multiply by 0.005 and for rest it will multiply by 0.007. Then print the cost.
Output:
Enter customer type (R for residential or B for business ):r
enter the number of gallons:8000
total cost is: 44.0
Answer:
T3.
Explanation:
A T3 is an acronym for Transmission system 3 and it is also known as Digital Signal Level 3 (DS3). T3 is a point-to-point physical circuit connection which is capable of transmitting up to 44.736Mbps.
This simply means that, when using a Transmission system 3 (T3), it is very much possible or easier to transmit data such as video and audio at the rate of 44.736Mbps.
Please note, Mbps represents megabit per seconds and it is a unit for the measurement of data transmission rate. The Transmission system 3 is an internet connection that has up to 672 circuit channels having 64Kbs.
Also, worthy of note is the fact that a T3 line is made up of twenty-eight (28) Transmission system 1 lines (T1) each having a data transfer rate of 1.544Mbps.
Additionally, Transmission 3 lines are symmetrical and duplex and thus, has equal upload and download speeds. Therefore, transmissions can be done on T3 lines simultaneously without the data lines being clogged or jammed.
If you need speeds of 16 Mbps between two corporate sites in the United States, you would need a T3 leased line.
Generally, the T3 lines are mostly used for multichannel applications and uninterrupted high bandwidth consumptions such as Telemedicine, internet telephony, video conferencing, e-commerce etc.