1
GATE CSE 2008
MCQ (Single Correct Answer)
+2
-0.6
A client process P needs to make a TCP connection to a server process S. Consider the following situation: the server process S executes a socket( ), a bind( ) and a listen( ) system call in that order, following which it is preempted. Subsequently, the client process P executes a socket( ) system call followed by connect( ) system call to connect to the server process S. The server process has not executed any accept( ) system call. Which one of the following events could take place?
A
connect( ) system call returns successfully
B
connect( ) system call blocks
C
connect( ) system call returns an error
D
connect( ) system call results in a core dump
2
GATE CSE 2008
MCQ (Single Correct Answer)
+1
-0.3
Which of the following system calls results in the sending of SYN packets?
A
socket
B
bind
C
listen
D
connect
3
GATE CSE 2008
MCQ (Single Correct Answer)
+1
-0.3
What is the maximum size of data that the application layer can pass on to the TCP layer below?
A
Any size
B
216 bytes-size of TCP header
C
216 bytes
D
1500 bytes
4
GATE CSE 2008
MCQ (Single Correct Answer)
+2
-0.6
If a class B network on the Internet has a subnet mask of 255.255.248.0, what is the maximum number of hosts per subnet?
A
1022
B
1023
C
2046
D
2047
EXAM MAP
Medical
NEETAIIMS
Graduate Aptitude Test in Engineering
GATE CSEGATE ECEGATE EEGATE MEGATE CEGATE PIGATE IN
Civil Services
UPSC Civil Service
Defence
NDA
Staff Selection Commission
SSC CGL Tier I
CBSE
Class 12