Answer:
5 seconds
Explanation:
Given that :
Message size = 16kb
Packet size = 2kb
Speed = 4kbps
Number of links = 3
The time taken is calculated using the formula :
[Number of packets + (Number of links - 1)] * (packet size / speed)
Number of packets = message size / packet size
Number of packets = 16kb / 2 kb = 8
Hence,
[Number of packets + (Number of links - 1)] * (packet size / speed)
(8 + (3 - 1)) * (2 / 4)
(8 + 2) * (1 /2)
10 * 1/2
= 5 seconds
Answer:
Following are the code in the java language
numBers = scnr.nextInt ( ) ;
Here scnr is an instance of scanner class .
Explanation:
In this code, we take the input by using the object of Scanner class i.e "scnr". The scanner class in the java programming language is used for taking the input by the user. The scnr.nextInt ( ) is taking the input which is stored in the "numbers" variable.
So the whole program is looking like that
import java.util.*; // import package
public class Main
{
public static void main(String[] args) // main function
{
int numBers; // variable declaration
Scanner scnr=new Scanner(System.in); // create the instance of scanner class
numBers=scnr.nextInt( ) ; // taking input
System.out.println(numBers); // display the value of numBers
}
}
Output:
78
78
Answer:
No, you can´t.
Explanation:
An SVM uses a binary system. In this case the data consists of nominal attributes which can´t be used directly into the SVM.
However, in order to transform this normal attribute into the binary system is necessary to order the information in two sequences, in which the colors are based into two information facts that will give the system the representation that needs.