Lovely Professional University 2009 B.Tech Information Technology Assignment 2- Linux Programming - Question Paper
Friday, 25 January 2013 05:20Web
Assignment -2
Course Code:CSE257 Course Title: Programming in Linux Environment
Part-A
1.Illustrate the steps to write , compile and execute a C program in Linux environment using a program to obtain largest of three numbers
2.Linux Scripts does not support comparison using symbols like (<,> etc. ) what is the option to do this ?
3. Write a shell script
a) To print Fibonacci series?
b) Print a table of any number?
c) Print the day name of the day number provided by user?
Part-B
4. Contrast the conditional control statement of Linux shell and C?
5. Illustrate the role of $(( )), grave ascent (~) with an example?
Earning: Approval pending. |