Skip to content

BCS515C · 2022 · CSE · Semester 5

Unix System Programming

Back to subjects

Review status & sources

Similar question wording is grouped and ranked by the number of distinct exam sessions. Groups with the same count are ordered by their extracted text. Some subjects have only one session. Paper references show the PDF page and extracted question number when available.

Module 1

Explain any five file related commands with syntax and example of each.

OCR transcription · Wording, symbols, or figures may be incomplete.

View question scan & diagramsOriginal question scan, part 1
1 exam session
  • Dec-2024-Jan-2025 · PDF page 1

Explain the file types or categories.

OCR transcription · Wording, symbols, or figures may be incomplete.

View question scan & diagramsOriginal question scan, part 1
1 exam session
  • Dec-2024-Jan-2025 · PDF page 1

Explain the following UNIX commands with syntax and examples: 1) who iii) passwd iv) echo v) date

OCR transcription · Wording, symbols, or figures may be incomplete.

View question scan & diagramsOriginal question scan, part 1
1 exam session
  • Dec-2024-Jan-2025 · PDF page 1
Show 2 Backup Questions

Explain the Kernel and Shell relationship in UNIX operating system with a neat diagram.

OCR transcription · Wording, symbols, or figures may be incomplete.

View question scan & diagramsOriginal question scan, part 1
1 exam session
  • Dec-2024-Jan-2025 · PDF page 1

Explain the salient features ofUNIX operating system.

OCR transcription · Wording, symbols, or figures may be incomplete.

View question scan & diagramsOriginal question scan, part 1
1 exam session
  • Dec-2024-Jan-2025 · PDF page 1

Module 2

4 distinct question groups available in the collected papers. More exam sessions are being collected.

Explain grep commands with all its options.

OCR transcription · Wording, symbols, or figures may be incomplete.

View question scan & diagramsOriginal question scan, part 1
1 exam session
  • Dec-2024-Jan-2025 · PDF page 1

Explain the steps of shell interpretive cycle.

OCR transcription · Wording, symbols, or figures may be incomplete.

View question scan & diagramsOriginal question scan, part 1
1 exam session
  • Dec-2024-Jan-2025 · PDF page 1

Explain the use of chmod command to change file permission using both absolute and relative methods.

OCR transcription · Wording, symbols, or figures may be incomplete.

View question scan & diagramsOriginal question scan, part 1
1 exam session
  • Dec-2024-Jan-2025 · PDF page 1
Show 1 Backup Question

Explain three standard files in UNIX.

OCR transcription · Wording, symbols, or figures may be incomplete.

View question scan & diagramsOriginal question scan, part 1
1 exam session
  • Dec-2024-Jan-2025 · PDF page 1

Module 3

Develop a c program to demonstrate the chdir() and fchdir() functions in UNIX.

OCR transcription · Wording, symbols, or figures may be incomplete.

View question scan & diagramsOriginal question scan, part 1
1 exam session
  • Dec-2024-Jan-2025 · PDF page 1

Develop a C program to demonstrate the use of open() and read() system call in UNIX

OCR transcription · Wording, symbols, or figures may be incomplete.

View question scan & diagramsOriginal question scan, part 1
1 exam session
  • Dec-2024-Jan-2025 · PDF page 1

Differentiate between character special files and block special files.

OCR transcription · Wording, symbols, or figures may be incomplete.

View question scan & diagramsOriginal question scan, part 1
1 exam session
  • Dec-2024-Jan-2025 · PDF page 1
Show 2 Backup Questions

Explain POSIX and SUS (Single UNIX Specification) standards.

OCR transcription · Wording, symbols, or figures may be incomplete.

View question scan & diagramsOriginal question scan, part 1
1 exam session
  • Dec-2024-Jan-2025 · PDF page 1

Explain the memory layout of a C program in UNIX.

OCR transcription · Wording, symbols, or figures may be incomplete.

View question scan & diagramsOriginal question scan, part 1
1 exam session
  • Dec-2024-Jan-2025 · PDF page 1

Module 4

3 distinct question groups available in the collected papers. More exam sessions are being collected.

Develop both the fork and vfork function in a example program.

OCR transcription · Wording, symbols, or figures may be incomplete.

View question scan & diagramsOriginal question scan, part 1
1 exam session
  • Dec-2024-Jan-2025 · PDF page 1

Explain briefly with an example two system v IPC mechanism: i) Message Queues ii) Semaphores

OCR transcription · Wording, symbols, or figures may be incomplete.

View question scan & diagramsOriginal question scan, part 1
1 exam session
  • Dec-2024-Jan-2025 · PDF page 1

Explain pipes and its limitations upon developing a program to send data from parent to child over a pipe. Explain the client server communication using FIFO with a neat diagram.

OCR transcription · Wording, symbols, or figures may be incomplete.

View question scan & diagramsOriginal question scan, part 1
1 exam session
  • Dec-2024-Jan-2025 · PDF page 1

Module 5

3 distinct question groups available in the collected papers. More exam sessions are being collected.

Explain Daemon process by developing program to transform a normal user into a Daemon process.

OCR transcription · Wording, symbols, or figures may be incomplete.

View question scan & diagramsOriginal question scan, part 1
1 exam session
  • Dec-2024-Jan-2025 · PDF page 1

Explain implement SIGPROCMASK and SIGCONGJMP functions with examples.

OCR transcription · Wording, symbols, or figures may be incomplete.

View question scan & diagramsOriginal question scan, part 1
1 exam session
  • Dec-2024-Jan-2025 · PDF page 1

Illustrate signal in UNIX and develop program to setup signal handlers for sigsetsmp() and •abort().

OCR transcription · Wording, symbols, or figures may be incomplete.

View question scan & diagramsOriginal question scan, part 1
1 exam session
  • Dec-2024-Jan-2025 · PDF page 1