Answer:
its easy
Explanation:
there are are 5 main rules
in binary there are 2 number 0 and 1
0 + 0 = 0
0 + 1 = 1
1+0=1
1+1=0 carry 1
e . g
1 1 1
1 0 1 0 1 0
+ 1 1 0 0 1 0
-------------------------
1 1 1 1 1 0 0
*in bold are the ones that you need to carry.
in decimal there are 10 possible numbers 0- 9
when you do 1 + 9 it becomes 10, this can be done easily, however if you do 1 + 9 in a table like above, you will get 0 for the first column and you will carry 1 to the next column .
in binary is the same idea but using on 2 numbers 1 and 0
e.g
1
1
+ 9
----------
1 0
*in bold are the ones that you need to carry.
hope it helps and good luck in your exam.
Answer:
The answer is "For the stop and wait the value of S and R is equal to 1".
Explanation:
- As we know that, the SR protocol is also known as the automatic repeat request (ARQ), this process allows the sender to sends a series of frames with window size, without waiting for the particular ACK of the recipient including with Go-Back-N ARQ.
- This process is mainly used in the data link layer, which uses the sliding window method for the reliable provisioning of data frames, that's why for the SR protocol the value of S =R and S> 1.
Answer:
import java.lang.Object
import java.lang.Math
public class RegularPolygon extends java.lang.Object{
public void randomize(RegularPolygon c){
int min = 10, max1 = 20;
double min1 = 5, max1 = 12;
double range = (max - min) + 1;
double range1 = (max1 -min1) + 1
int side = (Math.random() * range) + min;
double len = (Math.random() * range1) + min1;
c.setNumSides(side);
c.setSideLength( len);
}
public static void main(String[] args) {
RegularPolygon r = new RegularPloygon();
randomize(r);
}
}
Explanation:
The randomize method accepts a regular polygon class as its only parameter and assigns a random number of sides and the length of these sides with the 'Math.random' function.
Explanation:
when a user changes his or her view to a Report only view when using QuickBooks online they only see a report list page, without having such features as; Navigation panel, Search box or Quick Create (+) icon.