Saturday 28 January 2017



SVECW-III-IT-B UNIX PROGRAMMING

Assignment-3(UNIT-3)



 Submit on or before 1/2/2017

SET-1 (1261-1280)

1. Discuss in detail about various directory handling system calls.
2. Distinguish between stat and fstat system calls.
3. Explain getchar and putchar system calls.

SET-2 (1281-12A0)

1. Explain the following system calls.
a) symlink b)unlink c)chown d)octal
2. Give brief description about the low level file I/O.
3. Describe the formatted input and output functions.

SET-3 (12A1-12C0,47)

1. Explain the importance of dup command in UNIX and also explain the various forms of it with suitable example.
2. Explain the following system calls
a) fflush b)fgetc c)getc d)getchar
3. Write about system calls, library functions and low level file access functions with examples.

Monday 23 January 2017


IV-IT-A-SVECW

Distributed Systems 

Assignment -I 

submit this on or before 27.01.2017


Set-1

1.What is architecture model.Explain different varients in architecture model?
2.What is inter process communication.Explain characteristics of inter process communications?
3.Write a short notes on 
 a)Stream communication.      b)UDP coomunication.


Set-2

1.What is distributed system?Explain the goals and challenges of distributes system?
2.Explain briefly about external data representation and marshelling?
3.Explain about client server communication?

Tuesday 3 January 2017


 UNIX PROGRAMMING 



Assignment-1(UNIT-1)
SET-1
1. Explain about the features of UNIX.
2. Explain the following commands with suitable examples.
Umask, chmod, mkdir, rmdir, sort, cp
SET-2
1. Explain in detail about file permissions and process utilities.
2. Explain in detail about backup utilities.
SET-3
1. Explain in detail about disk utilities and text processing utilities.
2. Explain in detail about UNIX file system with neat diagram.


Assignment-2(UNIT-2)
SET-1
1. Write a shell program for file contains records. Each record containing name and city, name of state and name of country. How would you sort this file with country as the primary key and state the secondary sort key.
2. Write a shell script which counts the number of lines and words present in a given file.
3. Write a shell script that copies multiple files to a directory.
4. Implement a shell script to show that the given number is even or odd?
SET-2
1. Write a shell script which displays the list of all files in the given directory.
2. Write a shell script (small calculator) that adds, subtracts, multiplies and divides the given two integers. There are two division options: one returns the quotient and the other returns reminder. The script requires 3 arguments: The operation to be used and two integer numbers. The options are add
 (-a), subtract(-s), multiply(-m), quotient(-c) and reminder(-r).
3. Write a shell script to reverse the rows and columns of a matrix.
4. Write a shell script to show the given strings and numbers are equal or not?