GATE 2015 CSE Computer Networking Questions


Question-1. Identify the correct order in which a server process must invoke the function calls accept, bind, listen and recv according to UNIX socket API.
(A).listen,accept,bind,recv (B)bind,listen,accept,recv
(C)bind,accept,listen,recv (D)accept,listen,bind,recv
Solution-1. bind(), listen(), accept(), recv()

Question-2. Which one of the following statement is NOT correct about HTTP cookies?
(A).A cookie is a piece of code that has the potential to compromise the security of an Internet user
(B).A cookie gains entry to the user's work area through an HTTP header
(C).A cookie has an expiry date and time
(D).Cookies can be used to track the browsing pattern of a user at a particular site
Answer-2. (B)

No comments:

Post a Comment