To secure better mark in the exam, you should practice as many question papers as possible. It will give you information about the important chapters and concepts to be covered in all chapters.
Here we are providing you the complete guide on VTU CSE 3rd Semester UNIX and Shell Programming June 2010.
VTU CSE 3rd Semester UNIX and Shell Programming June 2010
You must have Object Oriented Programming with C++ Question Paper along with the latest Computer Science 3rd sem Syllabus to enhance your semester exam preparation.
Here you can check the VTU CSE 3rd Semester UNIX and Shell Programming June 2010
1 a. What are the major differences between ANSI ‘C’ and K and R ‘C? Explain with examples.
b. Write a C/C ++ POSIX compliant program that prints the POSIX defined configuration options supported on any given system using feature test macros.
c. What is POSIX API? Why is calling an API more time consuming than calling a user function?
2 a. Explain the different file types available in UNIX or POSIX systems.
b. Discuss with a neat diagram the different data structures supported by UNIX Kernel for file manipulation.
c. Bring out the differences between hard link and symbolic link.
3 a. Explain the following APIs along with their prototype definitions :
i) Open ; ii) Write ; iii) Fcntl ; iv) Fstat.
b. What are symbolic link file APIs? Write a C/C++ program to emulate the UNIX Ln command. (08 Marks)
c. Give the hierarchy structure of the file classes.
4 a. Write a C/C++ program to demonstrate the use of at exit function.
b. Explain briefly the memory layout of C program.
FART – B
5 a. What is fork and vfork? Explain with a program for each.
b. What is a controlling terminal? Explain its characteristics and relation to session and process groups.
6 a. What is a signal? Explain with a program how to set up a signal handler.
b. What is a daemon process? Explain daemon characteristics and basic coding rules.
7 a. Explain how FIFO is used in JPC. Discuss with an example the client – server
communication using FJFO.
b. Explain popen and pclose functions with prototypes and write a program to demonstrate popen and pclose functions.
8 a. Explain socket addressing, socket creation, connection establishment and data transfer with appropriate APIs.
b. What are send and recv socket calls? Explain various flags used with send and recv calls.
We have covered VTU CSE 3rd Semester UNIX and Shell Programming June 2010. Feel free to ask us any questions in the comment section below.