0% found this document useful (0 votes)
985 views6 pages

BCS515C

BCS515C

Uploaded by

Kvs061
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
985 views6 pages

BCS515C

BCS515C

Uploaded by

Kvs061
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

BCS515C

Model Question Paper-2 with effect from 2022(CBCS Scheme)


USN

Fifth Semester B. Tech Degree Examination


UNIX System Programming
TIME: 03 Hours Max.Marks:100

Note: Answer any FIVE full questions, choosing at least ONE question from each MODULE

*Bloom’s COs
Module-1 Taxonomy Marks
Level
Q.01 a L1 1 10
With the example, explain the following commands. i)man ii)pwd iii)od
iv) cal v)date
b L2 1 10
With a neat diagram, explain the kernel and shell relationship in UNIX
operating System.
OR
Q.02 a L2 1 10
Explain the salient features of Unix Operating System
b L2 1 10
Differentiate between Internal and External commands in UNIX
operating system with example.
Module-2
Q.03 a L2 2 10
Explain ls Command with all the options.
b L2 2 10
Define Wild Cards? Explain various shell wild cards with suitable
example.
OR
Q.04 a L2 2 10
Explain changing file permissions in relative and absolute manner.
b L1 2 10
Explain if and While control statements in shell scripts with suitable
program
Module-3
Q.05 a Explain the following functions with their prototypes and examples: L2 3 10
i) mkdir() ii) rmdir() iii)fcntl()
b L2 3 10
Discuss the various UNIX system implementation.
OR
Q.06 a L2 3 10
With a neat diagram explain how a C program is started and terminated.
b L2 3 10
Explain getrlimit () and setrlimit() API’s.
Module-4
Q.07 a L2 4 10
Explain the fork and vfork system calls. How does fork differ from vfork?

b Write short notes on the following with examples: L2 4 10


i) exec()
ii) Race conditions
OR
Q.08 a What are pipes? What are its limitations? Write a program to send data L2 4 10
from parent to child over a pipe.
b What is a FIFO? With a neat diagram explain client server communication L2 4 10

Page01of02
BCS515C
using FIFO.
Module -5
Q9 a Define Signal? Explain sigprocmask function with a program. L2 5 10
b Explain Daemon characteristics and coding rules. L2 5 10
OR
Q10 a What is a daemon process? Explain coding rules and error logging. L2 5 10
b Explain the following functions: L2 5 10
i)system() ii) sleep()

*Bloom’s Taxonomy Level: Indicate as L1, L2, L3, L4, etc. It is also desirable to indicate the Cos and Pos to be attained by
every bit of questions.

Page02of02
USN

Page01of02
07082024
BCB515 C
ModelQuestionPaper-1 with effect from 2022(CBCS Scheme)
USN

Fifth Semester B. Tech Degree Examination


UNIX System Programming
TIME: 03 Hours Max.Marks:100

Note: Answer any FIVE full questions, choosing at least ONE question from each MODULE

*Bloom’s COs
Module-1 Taxonomy Marks
Level
Q.01 a L1 1 10
With a neat diagram, explain the kernel and shell relationship in UNIX
operating System.
b L2 1 10
Explain the following commands with example: i)cat ii) printf iii)who
OR
Q.02 a L2 1 10
Explain the salient features of Unix Operating System
b L2 1 10
Explain different types of files supported in UNIX.

Module-2
Q.03 a L2 2 10
Explain ls Command with all the options.
b L2 2 10
Define Wild Cards? Explain various shell wild cards with suitable
example.
OR
Q.04 a L2 2 10
Explain grep command with all its options.
b L1 2 10
Explain the three standard files in UNIX.
Module-3
Q.05 a Explain the following functions with their prototypes: L2 3 10
i) open()
ii) create()
iii) read()
iv) write()
v) close()
b L2 3 10
Discuss the various UNIX system implementation.
OR
Q.06 a L2 3 10
With a neat diagram explain the memory layout of a C program.
b L2 3 10
Example setjmp and longjmp API’s with examples
Module-4
Q.07 a L2 4 10
Explain the following system calls with examples:
i) fork()
ii) wait()
b Write short notes on the following with examples: L2 4 10
i) Semaphores
ii) Message queues
OR

Page01of02
BCB515
Q.08 a Explain popen and pclose functions with examples. L2 C4 10

b What is a FIFO? With a neat diagram explain client server communication L2 4 10


using FIFO.
Module -5
Q9 a Define Signal? Explain sigaction API with demonstrating program. L2 5 10
b Explain Daemon characteristics and coding rules. L2 5 10
OR
Q10 a Explain Sigsetjmp and siglongjmp APIs with example. L2 5 10
b What are daemon processes? Explain with a neat diagram the error L2 5 10
logging facility for a daemon process.
*Bloom’s Taxonomy Level: Indicate as L1, L2, L3, L4, etc. It is also desirable to indicate the Cos and Pos to be attained by
every bit of questions.

Page02of02
USN

Page01of02
07082024

You might also like