Code No: RR320505
RR
Set No. 2
in
III B.Tech II Semester Examinations,APRIL 2011 ADVANCED UNIX PROGRAMMING Common to Information Technology, Computer Science And Engineering, Computer Science And Systems Engineering Time: 3 hours Max Marks: 80 Answer any FIVE Questions All Questions carry equal marks ?????
ld .
1. What is meant by a command? Explain different types commands with syntax. [3+13] 2. Write short notes on the following: (a) Formatted I/O (b) Reading and writing a stream
[8+8]
[3+5]
(b) With an example, Explain about clearing a lock.
[3+5]
or
3. (a) With an example, Explain about the setting a lock.
4. (a) Explain, How to move data between client and server using shared memory.
uW
(b) Explain about the “shmflag values for shmget system call”. 5. (a) Write about the slow system calls.
(b) Write about abort and system functions.
[8+8] [8] [4+4]
6. (a) Explain, “about the events occurred, when you call the popen( ) and pclose( ) functions”? (b) Explain about the semget( ), semctl( ) and semop( ) functions.
[7+9]
nt
7. Explain the following commands with syntax (a) cp
(b) mkdir (c) finger
[4x4=16]
Aj
(d) who
8. Propose new system call that combines the functions of fork and exec. Define its interface and semantics. How would if support features such as I/O redirection, foreground and background process? [8+8] ?????
1
Code No: RR320505
RR
Set No. 4
in
III B.Tech II Semester Examinations,APRIL 2011 ADVANCED UNIX PROGRAMMING Common to Information Technology, Computer Science And Engineering, Computer Science And Systems Engineering Time: 3 hours Max Marks: 80 Answer any FIVE Questions All Questions carry equal marks ?????
ld .
1. Propose new system call that combines the functions of fork and exec. Define its interface and semantics. How would if support features such as I/O redirection, foreground and background process? [8+8]
2. What is meant by a command? Explain different types commands with syntax. [3+13] 3. (a) Write about the slow system calls.
or
(b) Write about abort and system functions.
[8]
[4+4]
4. (a) Explain, How to move data between client and server using shared memory. (b) Explain about the “shmflag values for shmget system call”.
[8+8]
uW
5. (a) Explain, “about the events occurred, when you call the popen( ) and pclose( ) functions”? (b) Explain about the semget( ), semctl( ) and semop( ) functions.
[7+9]
6. (a) With an example, Explain about the setting a lock.
[3+5]
(b) With an example, Explain about clearing a lock.
[3+5]
7. Write short notes on the following:
nt
(a) Formatted I/O
(b) Reading and writing a stream
[8+8]
8. Explain the following commands with syntax
Aj
(a) cp
(b) mkdir (c) finger
(d) who
[4x4=16] ?????
2
Code No: RR320505
RR
Set No. 1
in
III B.Tech II Semester Examinations,APRIL 2011 ADVANCED UNIX PROGRAMMING Common to Information Technology, Computer Science And Engineering, Computer Science And Systems Engineering Time: 3 hours Max Marks: 80 Answer any FIVE Questions All Questions carry equal marks ????? 1. Explain the following commands with syntax
ld .
(a) cp (b) mkdir (c) finger
[4x4=16]
2. Write short notes on the following: (a) Formatted I/O (b) Reading and writing a stream
or
(d) who
uW
3. (a) Write about the slow system calls.
(b) Write about abort and system functions.
[8+8] [8] [4+4]
4. (a) Explain, “about the events occurred, when you call the popen( ) and pclose( ) functions”? (b) Explain about the semget( ), semctl( ) and semop( ) functions.
[7+9] [3+5]
(b) With an example, Explain about clearing a lock.
[3+5]
nt
5. (a) With an example, Explain about the setting a lock.
6. (a) Explain, How to move data between client and server using shared memory. (b) Explain about the “shmflag values for shmget system call”.
[8+8]
Aj
7. Propose new system call that combines the functions of fork and exec. Define its interface and semantics. How would if support features such as I/O redirection, foreground and background process? [8+8] 8. What is meant by a command? Explain different types commands with syntax. [3+13] ?????
3
Code No: RR320505
RR
Set No. 3
in
III B.Tech II Semester Examinations,APRIL 2011 ADVANCED UNIX PROGRAMMING Common to Information Technology, Computer Science And Engineering, Computer Science And Systems Engineering Time: 3 hours Max Marks: 80 Answer any FIVE Questions All Questions carry equal marks ?????
ld .
1. Propose new system call that combines the functions of fork and exec. Define its interface and semantics. How would if support features such as I/O redirection, foreground and background process? [8+8] 2. (a) With an example, Explain about the setting a lock.
[3+5]
(b) With an example, Explain about clearing a lock.
[3+5]
or
3. What is meant by a command? Explain different types commands with syntax. [3+13] 4. (a) Explain, “about the events occurred, when you call the popen( ) and pclose( ) functions”?
uW
(b) Explain about the semget( ), semctl( ) and semop( ) functions.
[7+9]
5. Write short notes on the following: (a) Formatted I/O
(b) Reading and writing a stream
6. (a) Write about the slow system calls.
(b) Write about abort and system functions.
[8+8] [8] [4+4]
nt
7. Explain the following commands with syntax (a) cp
(b) mkdir
Aj
(c) finger
(d) who
[4x4=16]
8. (a) Explain, How to move data between client and server using shared memory. (b) Explain about the “shmflag values for shmget system call”. ?????
4
[8+8]