Answer:
Pls check the site "examtopics"
U fill find ur questions there
Answer:
import java.util.Scanner;
public class LargestSmallest {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
System.out.print("Enter 10 integers: ");
int num = in.nextInt();
int i = 1;
int min = num, max = num;
while (i < 10) {
num = in.nextInt();
if (num > max) max = num;
if (num < min) min = num;
i++;
}
System.out.println("Largest number: " + max);
System.out.println("Smallest number: " + min);
}
}
Explanation:
A Java application that inputs a series of 10 integers and determines and prints the largest and smallest integer is written above.
Answer / Explanation:
195.200.0.0/16
Note: Class C address can not be assigned a subnet mask of /16 because class c address has 24 bits assigned for network part.
2ⁿ = number of subnets
where n is additional bits borrowed from the host portion.
2ˣ - 2 = number of hosts
where x represent bits for the host portion.
Assuming we have 195.200.0.0/25
In the last octet, we have one bit for the network
number of subnets = 2¹ =2 network addresses
number of host = 2⁷ - 2= 126 network addresses per subnets
Answer:
Please check the attachment.
Explanation:
The answers are self explanatory.