BCSL 056
BCSL 056
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