RTMNU TY CSE (AI & ML) syllabus

RTMNU · Third Year B.Tech Computer Science & Engineering (AI & ML) · NEP 2020

POSIX Programming

BCSEAI&ML6T23.1 · Elective II · Semester VI · 3 credits · College 30 + university 70

One of the Elective II options.

  1. Unit 1: Introduction to Operating Systems and POSIX

    7 hours

    The UNIX/Linux environment; POSIX standards and compliance; the structure of a UNIX/Linux system; POSIX system calls and libraries; file-system basics and file operations, file descriptors and permissions; standard input/output; error handling in POSIX.

    Examined in the 70-mark end-semester paper

    • POSIX standards and the UNIX/Linux environment
    • POSIX system calls and libraries
    • File descriptors, permissions and file operations
    • Standard I/O and error handling in POSIX
  2. Unit 2: Process Management

    8 hours

    The process concept and states; creating processes with fork, running programs with the exec family, termination and the wait functions; zombie and orphan processes; scheduling concepts; environment variables and process control; daemon processes.

    Examined in the 70-mark end-semester paper

    • fork, exec and wait
    • Zombie and orphan processes
    • Environment variables and daemon processes
    • Schedulers and context switching
  3. Unit 3: Threads and Synchronization

    7 hours

    POSIX threads: creation and termination, attributes and management; synchronisation with mutexes and semaphores and condition variables; reader–writer problems; deadlocks and their prevention.

    Examined in the 70-mark end-semester paper

    • POSIX threads: creation, attributes and termination
    • Mutexes and condition variables
    • Semaphores
    • Reader-writer locks and dining philosophers
    • Deadlock prevention, avoidance and detection
  4. Unit 4: Inter-Process Communication (IPC)

    7 hours

    IPC mechanisms: pipes and named pipes (FIFOs), message queues, shared memory and memory mapping; signals and signal handling; socket programming and client–server communication with sockets.

    Examined in the 70-mark end-semester paper

    • Pipes and named pipes
    • Message queues and shared memory
    • Memory mapping with mmap
    • Signals and signal handling
    • Socket programming concepts
  5. Unit 5: Advanced POSIX Programming

    7 hours

    File locking; I/O multiplexing with select and poll; timers and POSIX clocks; the POSIX real-time extensions; multithreaded client–server applications and network programming; security and access control in POSIX systems; case studies.

    Examined in the 70-mark end-semester paper

    • File locking and I/O multiplexing with select and poll
    • POSIX timers, clocks and real-time extensions
    • Multithreaded client–server applications
    • Security and access control in POSIX systems

Unit contents are summarised from the official RTMNU syllabus . AiCanCode.org is not affiliated with Rashtrasant Tukadoji Maharaj Nagpur University (RTMNU).