Download - MICE

maidtweetNetworking and Communications

Oct 29, 2013 (3 years and 11 months ago)

110 views

BSCIT 54

B.Sc. IT (Sem.


V) Examination, January, 2004

NETWORK PROGRAMMING

Time: 3 Hours Max. Marks: 75

PART


A

25

I. Answer
all
the questions :

1. ___________ uses reverse path forwarding to propogate subnet broadcast and multicast datagrams.

a)

TCP c) UDP

b) IP d) ICMP

2. ______________ is largest amount of data that can be transferred across a given physical network.

a) MTU c) MSS

b) MSL d) None

3. ______________ is a connectionless service.

a) TCP c) PPP

b) UDP d) None

4. _____________
_ call is used to create socket.

a) Bind ( ) c) Listen ( )

b) Write ( ) d) None

5. Which of the following is not a routing protocol ?

a) RIP c) BGP

b) OSPF d) ICMP

6. MAN stands for _________________________.

7. OSPF is based on ____________________
____.

a) Distance vector routing.

b) Adaptive routing.

c) Classles inter domain routing.

d) Link state routing.

8. RARP stands for _______________________

9. The maximum number of hops allowed in OSPF is ____________________.

a) 10 c) 100


b) 20 d)

No Limit

10. TCP uses ___________ flow control mechanism.

a) Stop and go c) Sliding window

b) Silly window d) Dynamic

11. _____________ system call returns a file descriptor of type int.

a) socket ( ) c) create ( )

b) Bind ( )

12. BGP is a based on

link state routing. (True/False).

13. ICMP is a routing protocol. (True/False)

14. An user process can use any port number for binding it to its socket. (True/False).

15. TCP/IP model has four layers. (True/False).

16. Data synchronization is provided

by session layer. (True/False).

17. IP datagram has 2 bytes of checksum field. (True/False).

18. PPP stands for ‘point to presentation protocol’. (True/False).

19. socket addresses are ‘unique within a system’. (True/False).

20. In a silly window synd
rome ‘Receiver reads one byte at a time’. (True/False).

21. TCP uses a two way handshake method of connection establishment. (True/False).

22. Two process can communicate with each other only if their sockets are of same type and in same
domain. (True/Fa
lse).

23. Whish of the following is not a property of TCP?

a) Full duplex.

b) Stream interface

c) Reliability

d) Connectionless transport.

24. CRC stands for _______________________. (True/False).

25. DNS stands for ‘Domain Naming Service’. (True/Fa
lse).

PART


B

Answer
any five
questions :
( 5
X
10 = 50)

1.

Explain the OSI model.

2.

Explain the concepts of Routers and Internet working.

3.

Why IP datagram fragmentation is necessary? Can it be avoided ? Explain.

4.

What is a socket? Explain t
he steps involved in establishing a socket on client side and server side.

5.

Explain in detail the concept of BGP and its working.

6.

What is the difference between connection oriented and connectionless protocol ? List the
advantages and disadvantage
s with example.

7.

Explain the Address Resolution Protocol.

8.

Write short notes on:

1.

Sliding window principle.

2.

Silly window syndrome.

BSIT 54

V Semester B.Sc. (I.T.) Examination,
July/August

200
4

NETWORK PROGRAMMING

Time: 3 Hours












Max. Marks: 75

Instruction :

Answer
all
questions

PART


A




(
10x2+5x1=25)

1.

Stream sockets and datagram sockets are the only type of sockets used



( True/False )

2.

Fragmentation is done in IP layer








( True/False )

3.

UDP/IP is a connec
tion oriented service






( True/False )

4.

In internet the TSAPs and sockets are same






( True/False )

5.

Bridges operate at physical network level






( True/False )

6.

CRC stands for cyclic routing checksum






( True/False )

7.

Given an IP ad
dress RARP protocol is used to determine its hardware address

( True/False )

8.

TCP/IP model has _____ layers


a)

4


b)

7


c) 5


d)

3

9.

Data synchronization is provided by ________ layer in OSI model

10.

IP Datagram has _____ bytes of checksum field
.


a)

2


b)

4


c) 6


d)

8

11.

PPP

Stands for ______________

12.

Socket address are

_______.


a)

Locally unique


b)

Unique with in system



c)

Globally unique



d)

May or may not be unique

13.

IP uses reverse path forwarding to propagate subnet broadcast

subnet broadcast and multicast
datagram









(True/False)

14.

Bind() call is used to create a socket







(True/False)

15.

Which of the following is not a routing protocol





a)

RIP


b)

OSPF


c) BGP


d)

ICMP

16.

OSPF is based on link sate routing







(True/False)

17.

The
goal of internetworking is _________


a)

Connecting different network


b)

To form a virtual network


c)

Universal service



d)

All of the above

18.

The number of bits in the suffix of class C address is ______


a)

8


b)

6


c) 24


d)

32

19.

The broad cast on local network will have all ones in prefix and suffix


(True/False)

20.

ARP frames are identified from _____________.


a)

Type field in frame header


b)

Hardware Address



c)

Data





d)

Type of protocol in fra
me header

21.

The process of putting the IP Datagram in the data field of an Ethernet frame can be called _____
.

22.

DNS stands for _________

23.

In silly window syndrome ________


a)

Receiver reads one byte at a time


b)

Sender sends one byte at a time


c)

Both sender and receiver process 1 byte at a time


d)

Window is silly

24.

_________ and _______ are two functions used for communicating over stream sockets or
connected datagram sockets

PART


B

Answer any
five
:











(5x10=50)

1.

Explain the
OSI
model.

2.

What is the role of timers in TCP ? Explain how time out is determined in TCP
.

3.

Explain the working of ICMP
.

4.

What is socket ? Explain
the two types of internet sockets along with the concepts of encapsulation

5.

Bring out the differences

between RIP and OSPF and explain in detail any one of them
.

6.

Explain
simple stream server with example
.

7.

Explain the
format of IP header

8.

What is an IP address ? Explain IP protocol address along with decimal ranges of value for each
network class

_
__________________

BSIT 54

V Semester B.Sc. (I.T.) Examination,

Dec 2005
/
Jan
2006

NETWORK PROGRAMMING

Time: 3 Hours











Max. Marks: 75

Instruction :

Answer
all
questions from part
A,

and answer any f
ive

question From Part
B.

PART


A




(
10x
2+5x1=25)

1.

TCB stands for

______________________

2.

____________

is largest amount of data that can be transferred across a given Physical Network



a)

MTU


b)

MSL


c)

MSS


d)

None

3.

__________
call is used to create socket
.


a)

Bind


b)

Write()

c)

Lis
ten()


d)

None

4.

The TCp/ip model has ______ layers


a)

4


b)

6



c)

8


d)

5

5.

VPN stands for __________

6.

The process of putting the IP datagram in the data field of an Ethernet frame can be called ______


a)

Encapsulation


b)

Fragmentation

c)

Reasse
mbly

d)

None

7.

OSPF is based on _________
.


a)

Distance vector routing



b)

Adaptive routing


c)

Classless Inter domain routing


d)

None

8.

RARP

Stands for ___________

9.

Which of the following is routing protocol
.


a)

RIP


b)

OSPF


c)
BGP


d)

All the

above


10.

Which of the following is not a property of TCP
.


a)

Full duplex


b)

Stream Interface



c)

Reliability


d)

All the above

11.

CRC
Stands for ______________

12.

The maximum number of hops allowed in OSPF is _______
.


a)

10



b)

20


c)

100


d)

No
limit

13.

ICMP is a routing protocol








(True/False)

14.

An user process can use any port number for binding it to its socket


(True/False)

15.

In a silly window syndrome “Receiver reads one byte at a time ‘



(True/False)

16.

In the internet the TSAPs

and socket are same





(True/False)

17.

The MTU that all TCP/IP networks must support is 512 bytes



(True/False)

18.

The socket system call returns a file descriptor of type int




(True/False)

19.

Two process can communicate with each other only if the
ir sockets are of same type and in same
domain











(True/False)

20.

PPP stands for point to presentation protocol




.


(True/False)

21.

RIP is based on link sate routing

.






(True/False)

22.

Transport layer is responsible for ensuring that the da
ta sent by the sender reaches reliably to
receiver
.










(True/False)

23.

The goal of internetworking is universal service
.





(True/False)

24.

A socket can have many connections







(True/False)

25.

RPC stands for “Remote Procedure Call”




.


(Tru
e/False)


BSIT 54

PART


B

Answer any
five
:











(5x10=50)

1.

Explain the
TCP/IP

model.

2.

Explain
the concepts of routing and internet working
.

3.

Compare and contrast RIP and OSPF
.

4.

What is socket ? Explain the steps
involved

in esta
blishing a S
ocket on Client side and server side

5.

What is the difference between connection oriented and connection less protocol? List the
advantages and disadvantages with example
.

6.

Explain
“address Resolution protocol”
.

7.

Explain
the concepts of Basic IP routi
ng and Autonomous systems

8.

Explain any five system calls

___________________

BSIT 54

V Semester B.Sc. (I.T.) Examination,
J
uly 2005

NETWORK PROGRAMMING

Time: 3 Hours









Max. Marks: 75

Instructions:
1)
Answer all questions in Part.
-

A.

2) Answer any

five
full questions from Part
-

B.

PART
-
A










(lOx2+5xl=25)

1.

What are IP datagram’s
.

2.

What are routers

3.

What is an operating system

4.

What is meant by socket address ?

5.

What are system calls ?

6.

Explain the types of internet sockets
?

7.

What is meant by a client ?

8.

Explain error detection
?

9.

Explain a TCP segment format
?

10.

What id meant by PPP
.

11.

Expand the following:

a)
MTU

b)
ICMP

c)
MAN

d)
DNS

e)
IIS

PART
-

B

Answer any five:









(5xl0=50)

1.

Give a detailed acco
unt on the transport protocols
.

Add a note on the client server
communications

2.

Give an account on the Internet layer protocols
.

3.

Explain
in detail the
goals and applications of internetworking
.

4.

Explain the OSI model with illustrations
?

5.

Giv
e s detailed account on IP address and the concepts of protocols using IP address
.

6.

Explain the
differences between RIP and OSPF. Add a note on the functioning of one
of them
.

7.

Give a detailed account on the types of Internet sockets

8.

Explain the
principal functions of the Physical layer in networking
.

------------------------------------------------------------

BSIT 54

V Semester B.Sc. (I.T.) Examination, July/August 2006

NETWORK PROGRAMMING

Time: 3 Hours











Max. Marks: 75

Instructi
on :

Answer
all
questions from part
A,

and answer any f
ive

question From Part
B.

PART


A




(
10x2+5x1=25)

1.

Routers can be used to connect ______________________


a)

two LANs




c)

Two WANs


b)

a LAN and a WAN



d)

All the above

2.

____________uses rev
erse path forwarding to propagate subnet broadcast and multicast datagrams.


a)

TCP


b)

IP


c)

UDP


d)

ICMP

3.

__________layer is responsible for ensuring that the data sent by the sender reaches reliably to the
receiver.


a)

Transport


b)

Physical


c)

Network

d)

Session

4.

ARP stands for _____________

5.

Which of the following is not a routing protocol ?


a)

RIP


b)

OSPE



c)

BGP


d)

ICMP

6.

RPC Stands for ______________

7.

UDP uses ___________ bytes checksum.


a)

1

b)

2

c)

8


d)

16

8.

TFTP Stands fo
r ___________

9.

_____________ is a connectionless service.


a)

TCP


b)

UDP


c) PPP



d)

None

10.

The design goal of a ___________is to minimize the number of interconnecting links.


a)

MAN


b)

WAN


c)

LAN


d)

None

11.

NFS Stands for ______________

1
2.

Data synchronization is provided by ____________ layer.


a)

Presentation


b)

Session

c)

Transport

d)

Network

13.

The ARP frames are identified from type field in the frame header.



(True/False)

14.

Full duplex is a property of TCP.







(True/False
)

15.

TCP/IP model has four layers.







(True/False)

16.

BGP is based on link state routing.







(True/False)

17.

Socket addresses are ‘unique within a system’.





(True/False)

18.

DNS stands for ‘Domain Naming Service’.






(True/False)

19.

BGP is a

routing protocol.








(True/False)

20.

The user process can use any port number for binding it to its socket.


(True/False)

21.

A socket can have many connections.






(True/False)


22.

Routing protocols are used for finding optimum routing paths.



(
True/False)

23.

MTU stands for Maximum Transmission Unit.





(True/False)

24.

IP datagram has two bytes of checksum field.





(True/False)

25.

TCP uses a two way handshake method of connection establishment.


(True/False)


BSIT 54

PART


B

Answer any
fiv
e
:











(5x10=50)

1.

Explain the OSI model.

2.

Explain different classes of IP addresses.

3.

What is encapsulation ? Explain encapsulation across multiple hops.

4.

Why IP datagram fragmentation is necessary ? Can it be avoided ? Explain.

5.

Explain
the flow control mechanism of TCP.

6.

Explain in detail the concept of BGP and its working.

7.

Explain different TCP times.

8.

Write short notes on :


a)

Sliding window principal.


b)

Silly window syndrome.

___________________

BSIT 54

V Semester B.Sc. (I.T
.) Examination, December 2006/January 2007

NETWORK PROGRAMMING

Time: 3 Hours










Max. Marks: 75

Instructions:
1)
Answer all questions in Part.
-

A.

2) Answer any
five
full questions from Part
-

B.

PART
-
A










(lOx2+5xl=25)

1.

Write the layers of
TCP/IP.

2.

Explain the IP datagram.

3.

What are the features of TCP/IP ?

4.

What are TCP timers? Give different types of TCP timers:

5.

What is TCB ? Mention any two send variable.

6.

What is meant by fragmentation?

7.

What are protocols?

8.

What is

meant by encapsulation?

9.

What do you mean by data gram sockets?

10.

Write down the sliding window principle.

11.

Expand the following:

a)

ICMP

b) UDP

c) SNMP

d) MTU

e) DNS.

PART
-

B

Answer any five:










(5xl0=50)

1.

Explain the TCP/IP model
with all its layers.

2.

Explain the working of ICMP.

3.

Explain the working of OSPF.

4.

What is the role of timers in TCP ? How is the timeout determined?

5.

Explain the error control mechanism in TCP.

6.

Explain the TCP segment format.

7.

Explain th
e Socket based communication concept.

8.

Explain different classes of IP addresses.

------------------------------------------------------------

BSIT 54

V Semester B.Sc. (I.T.) Examination,
July/ August 2007

NETWORK PROGRAMMING

Time: 3 Hours









Max.

Marks: 75

Instructions:
1)
Answer all questions in Part.
-

A.

2) Answer any
five
full questions from Part
-

B.

PART
-
A










(lOx2+5xl=25)

1.

Routers can be used to connect _____
.

2.

ARP stands for _______
.

3.

_______ is a connection less service

4.

TFTP stands for _______

5.

NFS stands for ________
.

6.

Data synchronization is provided by ______
?

7.

______ system call is used create a socket

8.

TCB means ________

9.

CRC stands for _________

10.

TCP/IP is a connection oriented protocol

T/F

11.


TCP/IP model has 4 layers T/F

12.

PPP stands for point to prevention protocol T/F

13.

TCP uses sliding window flow control mechanism

T/F

14.

DNS means “DOMAIN NAMING SERVICE”

T/F


15.

TCMP is a routing protocol.

T/F

16.

Data synchronization is provid
ed by session layer

T/F

17.

TCP uses a two way handshake method for connection establishment

T/F

18.

IP datagram has two bytes of checksum field’s T/F

19.

Full duplex is a property of TCP

T/F

20.

A socket can have many connections T/F

21.

The goal of int
ernetworking is universal service

T/F

22.

Fragmentation is done in IP layer

T/F

23.

There are two types of sockets

T/F

24.

OSPF is based on link sate routing

T/F

25.

TCP/IP model has 7 layers

T/F
PART
-

B

Answer any five:









(5xl0=50)

1.

Explain O
SI model
.

2.

Explain
in detail concept of BGP and its working
.

3.

Explain
different classes of IP address
.

4.

Explain flow control mechanism of TCP
?

5.

Explain in detail
the goals and application of internetworking
.

6.

Compare and contrast Rip and OSP
F
.

7.

Explain
principle and function’s of physical layer in networking
.

8.

What is the role of timers TCP ? Explain different TCP timers