Karnataka State Open University (KSOU) 2011 B.C.A Computer Application- Unix Lab - Question Paper
Thursday, 16 May 2013 12:30Web
Page 1 of 2
IV Semester B.C.A. Examination, August 2011 UNIX LAB
Max. Marks: 75
Time: 3 Hours
I. Answer any five questions :
(5x15=75)
1) Write a shell program to count the number of characters in a given string.
2) Write a shell program to test the first character in a string and to count the number of vowels.
3) Write a shell program to find whether the given year is leap year or not.
4) Write a shell program to check whether given string is palindrome or not.
5) Write a shell program to display all the files in a current directory.
6) Write a shell program to find the factorial of a given number.
7) Write a shell program to print a string in a reverse order.
Attachment: |
Earning: Approval pending. |