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

BCSL 056

The document provides instructions for a network programming and administration lab assignment. It includes 4 questions worth 40 marks about network programming in C, Linux commands, setting up network connections, and configuring a DHCP server. Students must submit their answers by October 31, 2020 for the July 2020 session or April 15, 2021 for the January 2021 session. They are advised to show illustrations/diagrams and assume details as needed.

Uploaded by

Mark Prest
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
102 views

BCSL 056

The document provides instructions for a network programming and administration lab assignment. It includes 4 questions worth 40 marks about network programming in C, Linux commands, setting up network connections, and configuring a DHCP server. Students must submit their answers by October 31, 2020 for the July 2020 session or April 15, 2021 for the January 2021 session. They are advised to show illustrations/diagrams and assume details as needed.

Uploaded by

Mark Prest
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Course Code : BCSL-056

Course Title : Network Programming and Administration


Lab
Assignment Number : BCA(5)/L-056/Assignment/20-21
Maximum Marks : 50
Weightage : 25%
Last date of Submission : 31st October, 2020 (For July,2020 Session)
15th April, 2021 (For January,2021 Session)

Note: Answer all the questions in the assignment having 40 marks in total. 10 marks are for
viva voce. You may use illustrations and diagrams to enhance the explanations. Please go
through the guidelines regarding assignments given in the Programme Guide for the
format of presentation. Make suitable assumption is necessary.

Q1. (a) Write and execute a UDP client and a server program in C-language to (8 Marks)
perform the following tasks and show the result
- The UDP client program sends a string ( in lower case letters) to the
UDP server program
- The UDP server program converts the string into upper case letters
and then sends it to the client.
(b) Write the answer to the following queries: (8 Marks)
What type of socket is created?
What are the arguments used for sending and receiving messages ?

Q2. (a) Run the following Linux commands on your machine and show the output: (5 Marks)
cat
sort
𝐩𝐢𝐧𝐠
kill
ps-ag

(b) Write and run commands in Linux for the following tasks: (4 Marks)
- To check if a particular process is running or not
- To see currently running processes and other informations like
memory and CPU usages
- List all file names that have a letter h as 4th character in the name
- List all the file names that have the number 2 or 5 in the name

Q3. Setup a network connection in Linux. Configure it for Wireless networking. (7 Marks)
Once the internet connection is established, use netstat and
tcptrackcommands and show the results.

Q4. Configure the DHCP server on the Linux operating system . Write all the (8 Marks)
steps. Sort each column of the table and show the result

17

You might also like