Operating System and Shell Programming Lab (B.Sc Computer Science)

Linux commands, shell scripts and simulation of scheduling and memory algorithms.

6 MonthsDuration 5Chapters19Topics

Syllabus · पाठ्यक्रम

Download PDF
01Linux Commands 5 topics
  1. File and directory commands
  2. Permissions with chmod and chown
  3. Filters: grep, sort, wc, head, tail
  4. Pipes and redirection
  5. Process commands: ps, top, kill
02Shell Scripting Basics 4 topics
  1. Variables and read
  2. Arithmetic with expr and $(( ))
  3. if-else and test conditions
  4. case statement
03Shell Loops and Functions 3 topics
  1. for, while and until loops
  2. Command-line arguments and special variables
  3. Functions in shell scripts
04CPU Scheduling Simulation 4 topics
  1. FCFS
  2. SJF (non-preemptive)
  3. Priority scheduling
  4. Round Robin
05Memory and Deadlock Simulation 3 topics
  1. FIFO and LRU page replacement
  2. Optimal page replacement
  3. Banker's algorithm

About

You will be able to

  • Use Linux commands for files, directories, permissions, filters, pipes and processes
  • Write shell scripts with variables, arithmetic, conditions and case statements
  • Write shell scripts with loops, functions and command-line arguments
  • Simulate CPU scheduling algorithms in C and compute waiting and turnaround times
  • Simulate page replacement and the Banker's algorithm in C

Who it is for

  • B.Sc Computer Science students of Semester 4 (UP State Universities NEP 2020 common minimum syllabus)
  • Students preparing for the university practical exam and viva

What you need

  • Studying the theory paper Operating System
  • Access to a Linux system or terminal (the centre's lab can be used)

Questions

Which syllabus does this course follow?

It follows the UP State Universities NEP 2020 common minimum syllabus for B.Sc Computer Science, Semester 4. Where your own university's syllabus differs, the centre follows your university's syllabus and question pattern.

Do I need Linux on my own computer?

Not necessary. The centre's lab has Linux; you may also use WSL or an online terminal for practice.

How are the practicals marked?

The trainer watches each experiment and marks it on a rubric; the viva questions here prepare you for the university practical exam.

Download the syllabus (PDF)

Tell us who you are — your copy is made with your name, and our counsellor can help you choose the right course and centre.

Want to join right away? Enquire now — our centre will call you.