Syllabus - SBS1- Lab 4 : Linux Programming

SBS1- Lab 4 :  Linux Programming
(2 hours 2 Credits)
  1. Find the sum of the digits of a given number
  2. Find the reverse of a number
  3. Perform basic arithmetic operations using case
  4. Display multiplication table
  5. Check whether a number is prime or not using while
  6. Convert lowercase to uppercase using tr statement
  7. Check for an adam number
  8. Check pattern matching using grep
  9. Find the number of users who have logged in
10.  Check for palindrome
11.   Find age of a person using set date
12.   Write a menu driven program to display today’s date,   
        Processes of the system,  user’s of the system,  list files of
       the system
13.   Read 10 names from a file and sort in
                   a.   Ascending order 
b.   Descending order
14.   Write a menu driven program to check for file existence,  file  
         readable or not,  file writeable or not,  
15.   Get mark details of a student and display total and grade
16.   Prepare electricity bill
17.   To set the attributes of a given file
18.   To check the given file is a directory or not
19.   To create and append a file
20.   To compare two files
21.   To perform string manipulation

No comments

Powered by Blogger.