25 March, 2015

MCQ REVIEW (MST-II)

                                                                    SET-I
Questions (8M)
Ans
1Q. SPP stands for
a) Sequence Packet protocol   b)  Sequenced Packet Protocol  c) Sequened Packet Protocol d) Seqence Packet Protol
B
2Q. SNA stands for
a) System Network Architectre    b) System Network Architecture        c) System Network Architeture
d) System Network Architeture
B
3Q. How many layers in XNS and SNA protocol respectively?
     a) 6&5                                b) 5&6                     c) 5&5                     d)6&6
B
4Q. Which protocols need services from other protocols
    a) XNS                                b)SNA                  c)NetBIOS              d)XNS & SNA         e) all  of the above
D
5Q. At least how many arguments are required for Memset() functions?
     a) 2                     b) 3                          c) 4                          d) 5
B
6Q. How many bit of  IP or port  address will be converted by using htons functions?
     a)  16bit                             b)32bit                    c) both a & b           d) None of the above
A
7. Which functions are used for both connectionless and conncetion mode.
    a) Sendto()          b) recvfrom()          c) Sendto & rcvfrom()             d) sendto()&recvfrom().
D
8. Socklen_t is
a) Unsigned integral length of atleast of 32 bit    b) Unsigned integral length of atleast of 16 bit
c) Signed integral length of atleast of 32 bit.        d) Signed integral length of atleast of 16 bit
A
9. After how many hours the KEEPALIVE option is trigger
       a)     1               b)2                           c)3            d)4 
B
10. How many ways to get and set the socket option that affect a socket.
      a) 3                   b)2                             c)4          d)1
A
11. How many arguments are required for setsocket() and getsocket() function respectively.
      a)3&3                                b)5&5                      c)3&5                      d) 5&3
B
12.  IP level is used to indicate
    a) Generic option                        b) IPv4             c) IPv6     d) Both IPV4 and IPV6
B
13. What is difference between TYPE ad TOS.
a) TYPE is used with IPv6  and TOS used with IPV4    b) TYPE is used with generic option and TOS used with IPV4
c) TYPE is used with IPV4 and TOS used with generic option.       d) All of the above
B
14Q. In which function the EOF is by default available ?
     a) printf()                 b) putc ()             c) Snprintf()            d) all of the above
C
15Q. Ctime is a
        a) Function           b) Data type            c) both a & b        d) None
A
16Q. VTAM stands for
   a) Virtual Telecommunication Access Method                b) Virtual Telecomunication Acess Method
   c) Virtual Telecomunication Access Method                   d) Virtual Telecommunication Acces Method
A
                                                                    SET-II
Questions (8M)
Ans
1Q. Which protocols need services from other protocols
       a) XNS                             b)SNA                        c)XNS & SNA            d)NetBIOS                           e) all of above
C
2Q. which one is a connectionless?
     a) TCP and UDP                     b) TCP & IP           c )UDP & IP             d) UDP only
C
3Q. SDLC stands for
       a) Synchrnous Data Link Control                      b) Synchronous Data Link Control
       c) Synchronous data lnk Control                        d) Synchronous Data Lnk Control
B
4Q. VTAM stands for
      a) Virtual Telecomunication Access Method                b) Virtual Telecomunication Acess Method
      c) Virtual Telecommunication Access Method                             d) Virtual Telecommunication Acces Method
C
Q5. Which function is used to convert IPv4 and IPv6 addresses from text to binary form
      a) Inet_pton()                       b) htons()                              c)htonl()                                d) Inet_Addr()
A
Q6. In which function the EOF is by default available ?
       a) getc ()                              b) putc()                               c ) Snprintf()          d) all of the above
C
Q7. Ctime is a
        a) Function                           b) Datatype                             c) both a & b              d) None
A
Q8. SO level is used with
       a) Generic socket option   b) TCP                                      c )IPv4                     d) IPv6
A
Q9.  IP level is used to indicate
      a) Generic option                                    b) IPv6                           c) IPv4                         d) Both IPV4 and IPV6
C
Q10. What is difference between TYPE ad TOS.
a) TYPE is used with IPv6  and TOS used with IPV4         b) TYPE is used with generic option and TOS used with IPV4
c) TYPE is used with IPV4 and TOS used with generic option.              d) All of the above
B
Q11. How many layers in XNS and SNA protocol respectively?
         a) 6&5                                  b)6&6                             c) 5&5                     d) 5&6
D
Q12.  How many arguments are required for setsocket() and getsocket() function respectively.
          a)3&3                               b) 5&3                     c)3&5                 d)5&5
D
Q13. Socklen_t is
        a) Signed integral length of atleast of 32 bit.              b) Unsigned integral length of atleast of 16 bit
        c) Unsigned integral length of atleast of 32 bit           d) Signed integral length of atleast of 16 bit
C
Q14. SNA stands for
       a) System Network Architecture                                 b) System Network Architectre         
       c) System Network Architeture                                   d) System Network Architeture
A
Q15.   Accept system calls used in
a)        Server side                       b) Client side                     c) Both a & b                d) intermediate side
A
Q16. How many bit of  IP or port  address will be converted by using htonl functions?
               a)32bit                              b)  16bit                        c) both a & b                d) None of the above
A