Unix Modelqp@Azdocuments - in
Unix Modelqp@Azdocuments - in
Note: 01. Answer any FIVE full questions, choosing at least ONE question from each MODULE.
02.
03.
Module – 1
(a) Explain with a figure ,the kernel and shell relationship in unix operating system 10
Q.1
(b) List and explain the salient features of Unix operating system 10
OR
Explain the following commands with syntax ,option and example
(a) 7
Echo ,ls,who,passwd,date
Q.2 With suitable example bring out the differences between absolute and relative
(b) 6
pathnames
(c) Explain the basic file categories in Unix operating system? 7
Module – 2
(a) Which command is for is used for listing file attributes ?explain the significance of 7
each field in the attributes?
(b) What are file permissions? Explain the use of chmod to change file permissions using 7
Q.3 both absolute and relative methods?
Explain grep command?List its options with its significance 6
(c)
OR
(a) Explain the concept of escaping and quoting with suitable example? 5
(b) Explain three standard files supported by unix? Explain about special files used for 10
Q.4 output redirection?
What are wild card characters? Explain shell wild card characters with example? 5
(c)
Module – 3
Q.5 (a) Describe how a c program is started and various ways it terminates. 10
18CS56
With neat sketch, explain memory layout of C program. 10
(b)
(c)
OR
(a) With related data structures explain UNIX kernel support for a process. 10
(b) What do you mean by fork and vfork functions. Explain both functions with example 10
Q.6 programs.
(c)
Module – 4
(a) What are Pipes? Explain different ways to view a half-duplex pipe. Write a program to 10
send data from parent process to child process using pipes.
(b) 10
Q.7 What is fifo? With a neat diagram explain the client server communication using fifo?
(c)
OR
(a) 10
Explain briefly with example a) Message queue b) Semaphores.
Q.8 Write a note on (i) Process accounting (ii) Process Times. 10
(b)
(c)
Module – 5
(a) 10
What are signals? Mention different source of signals? Write program to setup signal
handlers for SIGINIT and SIGALRM
Q.9 10
(b)
Explain daemon characteristics and basic coding rules.
(c)
OR
(a) 10
What is signal mask of a process? WAP to check whether the SIGINT signal present in
Q.10 signal mask.
(b) Explain The sigsetjmp and siglongjmp Functions with examples. 10
(c)
18CS56
Table showing the Bloom’s Taxonomy Level, Course Outcome and Programme
Outcome
Note: 01. Answer any FIVE full questions, choosing at least ONE question from each MODULE.
Module – 1 Marks
(a) Illustrate unix architecture with neat diagram. 08
(b) Discuss the silent features of UNIX operating system. 08
Q.1
What are internal and external commands in UNIX? Explain them with suitable
(c) example. 04
OR
Illustrate command structure usage and behavior with respect to absolute and relative
(a) pathnames of following commands with suitable examples. 10
i). mkdir ii). rmdir
Q.2
(b) Discuss different file types available in UNIX operating system with neat diagram. 8
Q.8 (b) What are Interpreter Files? Give the difference between Interpreter Files and 06
Interpreter.
(c) What are semaphores? Mention its two types. 04
Module – 5 Marks
(a) What are daemon processes? Enlist their characteristics. Also write a program to 10
transform a normal user process into a daemon process. Explain every step in the
Q.9 program.
Explain the kill() API and alarm() API? 10
(b)
OR
(a) What is error logging? With a neat block schematic discuss the error login facility in 10
Q.10 BSD.
(b) Explain the terms i)signal ii)signal mask 10
18CS56
Table showing the Bloom’s Taxonomy Level, Course Outcome and Programme
Outcome
Note: 01. Answer any FIVE full questions, choosing at least ONE question from each MODULE.
Module – 1
With a neat diagram, explain the kernel and shell relationship in UNIX operating
(a) 8
System.
Explain the following commands with example:
Q.1 (b) 6
i)cat ii)printf iii)who
Differentiate between Internal and External commands in UNIX operating system
(c) 6
with example.
OR
(a) Explain the salient features of Unix Operating System. 8
(b) Explain different types of files supported in UNIX. 6
Q.2
With the example, explain the following commands.
(c) 6
i)man ii)pwd iii)od
Module – 2
(a) Explain the use of chmod command to change file permission using both absolute and 8
relative methods
(b) Explain ls Command with all the options. 6
Q.3
Define Wild Cards? Explain various shell wild cards with suitable example. 6
(c)
OR
(a) Explain grep command with all its options. 8
Q.8 What is a FIFO? With a neat diagram explain client server communication using FIFO. 8
(b)
Module – 5
(a) Define Signal? Explain sigaction API with demonstrating program. 8
Explain Daemon characteristics and coding rules 8
(b)
Q.9
OR
(a) Explain Sigsetjmp and siglongjmp APIs with example. 8
(b) What are daemon processes? Explain with a neat diagram the error logging facility for 8
Q.10 a daemon process.
18CS56
Table showing the Bloom’s Taxonomy Level, Course Outcome and Programme
Outcome