0% found this document useful (0 votes)
16 views

04 - BCSL056 Networking Programming

Uploaded by

Rahul Gupta
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
16 views

04 - BCSL056 Networking Programming

Uploaded by

Rahul Gupta
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

No.

of Printed Pages : 1 I BCSL-056(P)/S1


BACHELOR OF COMPUTER APPLICATIONS (Revised)
(BCA)

Term-End Practical Examination

June, 2017

BCSL-056(P)/S1 : NETWORK PROGRAMMING AND ADMINISTRATION LAB

Time : 1 Hour Maximum Marks : 50

Note : There are two compulsory questions carrying 20 marks each. Remaining 10 marks
are for viva-voce. Make suitable assumptions, if any.

1. Write and run a TCP client and a TCP server program using 'C' language in
Unix/Linux according to the following specifications : 20
• Client program will send a string of characters to the specific server.
• Server program will count the number of characters in the given string and
return back to the respective client.

2. Configure an FTP server on Linux/Unix platform. Test the FTP server by sending
files from different FTP clients available at different machines in a LAN. 20

BCSL-056(P)/S1 1 2,000
No. of Printed Pages : 1 BCSL-056(P)/S1

BACHELOR OF COMPUTER APPLICATIONS (Revised)


(BCA)

Term-End Practical Examination

December, 2017

BCSL-056(P)/S1 : NETWORK PROGRAMMING AND ADMINISTRATION LAB

Time : 1 Hour Maximum Marks : 50

Note : There are two compulsory questions carrying 20 marks each. Remaining 10 marks
are for viva-voce. Make suitable assumptions, if any.

1. Write and run a TCP client and a TCP server program using 'C' language in
Unix/Linux as per the following details : 20

• TCP client will establish a connection and send any two numbers to the
server.

• TCP server will return the multiplication of these numbers to the client.

2. Create a group named "BCA" using GUI tool in Linux. Also, create a group
administrator for this group "BCA". Write the rules and set the permissions for
this group and group admin. 20

BCSL-056(P)/S1 1 3,000
No. of Printed Pages : 1 I BCSL 056(P)/S1
-

BACHELOR OF COMPUTER APPLICATIONS (Revised)


(BCA)

Term-End Practical Examination


0 et €11 June, 2018

BCSL-056(P)/S1 : NETWORK PROGRAMMING AND ADMINISTRATION LAB

Time : 1 Hour Maximum Marks : 50

Note : There are two compulsory questions carrying 20 marks each. Remaining 10 marks
are for viva-voce. Make suitable assumptions, if any.

1. Write and run a TCP client and a TCP server program using 'C' language in
Unix/Linux as per the following details : 20
• Client program will send three numbers to the server.
• Server will return the smallest number to the client:

2. Write the command(s) to perform the following operations : 20


(a) To enable authentication for single user mode on Linux.
(b) Find the Round Trip Time (RTT) of a packet from the server.

BCSL-056(P)/S1 1 2,000
No. of Printed Pages : 2 BCSL-056/S1

Bachelor of Computer
Application (Revised) (BCA)
Term-End Examination
December, 2018

NETWORK PROGRAMMING AND


ADMINISTRATION LAB
Time : 1 Hour Maximum Marks : 50

Note : (i) There are two compulsory questions of 20 marks each.

(ii) Rest 10 marks are for viva-voce.

(iii) Make suitable assumptions if any.

(A-9) P. T. 0.
[2]

1. Write and run a TCP client and a server program using C-language in
Linux/Unix environment to perform the following tasks : 20

(a) Establish a TCP connection between a TCP client and a TCP server.
(b) The client program sends two strings to the server.
(c) The server program returns 'YES' if both the strings are equal and
`NO' if both are not equal.

2. Write the commands to perform the following tasks : 20

(a) To provide information about network interfaces and all assigned IP


addresses.

(b) To provide a list of all routers your connection cross when reaching
out to a remote system.

BCSL-0561S1 3,000

(A-9)

You might also like