Beruflich Dokumente
Kultur Dokumente
com\
a. Write and execute the following UNIX commands
(i) Create a directory
(ii) Create a file
(iii) Rename the directory
(iv) Rename the file
(v) View the file
b. Write a Shell program to check the given integer is prime or not
c. Write a C program using dynamic memory allocation to perform multiplication o
f two
matrices
10. a. Write and execute the following UNIX commands
(i) Create a file
(ii) Update the file
(iii) Display the file content
(iv) Display the file with line number
(v) Count the number of words in the file
b. Write a Shell program to generate prime numbers between 1 and 50
c. Write a C program using dynamic memory allocation to find the sum of elements
of a
matrix
11. a. Write and execute the following UNIX commands
(i) Create a Directory called main
(ii) Create a sub-directory called sub in the main directory
(iii) Create a file in the main directory
(iv) Copy the file to the sub directory
(v) Delete the file in the main directory
b. Write a Shell program to find the sum of square of individual digits of a num
ber
c. Write a C program using dynamic memory allocation to develop a mark sheet of
5
students.
12. a. Write and execute the following UNIX commands
(i) Display the calendar
(ii) Display the date and time
(iii) Display the present working directory
(iv) Display your user name
(v) Create a file using cat command
b. Write a Shell program to find the sum of cube of individual digits of a numbe
r
c. Write a C program using dynamic memory allocation to develop salary details o
f 5
employees
http://www.scribd.com/doc/45095279/Set-I-GE2155-Anna-Univ