Follow me on Linkedin

Linux Programming | Semester Question Paper - Nov 2012

                                             
                         SASTRA UNIVERSITY

Year : Nov 2012                                                     Semester : Third Semester
Subject : Linux Programming                                   Time : 3 Hrs.


                      Part-A

Answer all the questions [20*2=40 Marks]

1. List the various types of variable used in Linux.
2. How to check, if number 1 is numerically greater than or equal to number 2 using [] operator?
3. What is the purpose of using \t,\s in regular expression syntax elements?
4. What is the use of C-x k key combinations in Emacs editor?
5. What is use of character class in regular expression? Give example.
6. What is file mode?
7. List the two ways of opening files that have associated with file names.
8. How to change a files access permission modifiers? Write its syntax.
9. What is pages and page aligned?
10.List two methods of locking files.
11.What is meant by signal mask?
12.Which method is suitable to find which signals are currently pending? Write its syntax.
13.Draw a clear sketch for establishing socket connections.
14.What is network byte order?
15.What is Domain Name system?
16.List the two databases that describe terminals in terms of capabilities.
17.What is the use of SLmg_init_smg()?
18.What is the use of file descriptor in database?
19.Why we syncing the database in Linux?
20.List the three types of databases provided by db.



                     Part-B

Answer all the questions [4*15=60 Marks]


21.Write a shell script to find all the prime numbers between 1 and 1000 using function.

(OR)

22.Discuss the following in detail:

(a)egrep with example [7]

(b)sed with example [8]


23.Discuss the following in detail

(a)File access permissions [5]

(b)Removing and renaming files [10]

(OR)

24.Write detailed notes on Non-blocking I/O with simple example.


25.Discuss the following:

(a)Finding the set of pending signals. [4]

(b)Waiting for signals [6]

(c)Sending signals. [5]

(OR)

26.Explain in detail about the basic socket operations.


27.Explain in detail the concepts of terminal input handling.

(OR)

28.Write detailed notes on basic operations of database.





Tags : Sastra University Linux question Papers , Sastra University Linux previous year question Papers , Sastra University Linux old question Papers , Sastra University Linux Programming question Papers , Sastra University Linux Programming previous year question Papers , Sastra University Linux Programming old question Papers , Sastra Linux question Papers , Sastra Linux previous year question Papers , Sastra Linux old question Papers , Sastra Linux Programming question Papers , Sastra Linux Programming previous year question Papers , Sastra Linux Programming old question Papers , Anna University Linux question Papers , Anna University Linux previous year question Papers , Anna University Linux old question Papers , Anna University Linux Programming question Papers , Anna University Linux Programming previous year question Papers , Anna University Linux Programming old question Papers

0 comments:

Post a Comment

a