Answer:
Your computer now has the IP address of that website cached, and no longer has to lookup the IP address of that domain name. The TTL of the first query is bigger than the TTL of the second query as less time was taken to execute the request.
Explanation:
On the first request to the website, the computer needs to contact other machines to find the record of the IP address.
On the second request, the computer already has the IP address and can use that to connect.
Answer:
class Main {
public static void printPattern( int count, int... arr) {
for (int i : arr) {
for(int j=0; j<count; j++)
System.out.printf("%d ", i);
System.out.println();
}
System.out.println("------------------");
}
public static void main(String args[]) {
printPattern(4, 1,2,4);
printPattern(4, 2,3,4);
printPattern(5, 5,4,3);
}
}
Explanation:
Above is a compact implementation.
Answer: WebMD
WebMD, with the URL https://www.webmd.com, provides credible health and medical information on the web.
Answer:
INPUT "Enter your marks in computer"<u><em>;</em></u>CS
<u><em>IF</em></u> C>40 THEN
PRINT "You are passed.
<u><em>"</em></u>
ELSE
PRINT "You are failed."
END <u><em>IF</em></u>
Explanation:
see corrections above.
Answer:
answer is 8! / (4! * 4!). Which gives a value of 70.
Explanation:
we have 8 places, we’re going to pick 4 places to put the zeros, it is 8! / (4! x 4!)