You are on page 1of 1

Sub Code: 10CS62

USN 1 S J C S

S J C INSTITUTE OF TECHNOLOGY, CHICKBALLAPUR


DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING
Test I
UNIX system programming
Time: 90 mins Semester: VI A & B Max. Marks: 50
Faculty Names: Srinath G M & Vinutha Date: 20.03.2017
Answer the following questions:

Question Marks
no
1 a. Write a C++ program to check and display the POSIX version 10
constants of the system it runs?
OR
b. Explain the difference between ANSIC and K& RC with
example.

2 a. Describe the common characteristics of API and describe the 10


error status code?

3 a. Describe the UNIX Kernel support for files. 10

4 a. Explain the different file types available in UNIX or POSIX 6+4


system.
b. What are the restrictions specified to POSIX-1 by FIPS
standards?

5 a. define an inode? Why are the inodes unique only within a file 6+4
system? How does OS map the inode to its filename?
b. Distinguish between Hard Link and Soft Link.

You might also like