Skip to content
VUBuddy

CS604P All Labs by VUBuddy

Operating Systems (Practical) PDF 3.8 MBUpdated 23 Oct 2026
Quiz CS604P All Labs by VUBuddy PDF 3.8 MB
vubuddy.com
Type
Quiz
Course
CS604P Operating Systems (Practical)
Size
PDF 3.8 MB
Updated
23 Oct 2026
Free download 0 of 3 used today
Download free · 3.8 MB

You get 3 free files a day on the website. Add the Chrome extension for 30 a day.

Unlimited downloads in the Android app Get it free on Google Play

Preview text

Text from pages 1, 2, 3 of 42. Download the file for all 42 pages.

Lab 1

Installation of Virtual Box and Ubuntu

In order to practice the C code in Linux environment, you are required to install Virtual Box and Ubuntu operating system on your systems using the guidelines given below.

Solution:

Following are the guidelines and helping material including required software and their installations:

Step No.1 To install the Linux first you have to install Virtual Box visualization software in your Computer system.

Follow the tutorial to download Virtual Box form the following link:

(You can use VMware as well.)

Step No.2 Download Ubuntu Linux from the following link:

Follow these tutorials to install Ubuntu Linux in Virtual Box:

Lab 2

2.1 Linux commands for managing directories and files

Practice the following Linux commands in Shell:

  1. Write a command to show your current working directory.
  2. Write a command to change your current directory to Desktop.
  3. Write a command to create a directory structure as: CS604/Files/CFiles
  4. Write a command to display the contents of Desktop.
  5. Write a command to remove a directory named CS604.

Solution:

  1. Write a command to show your current working directory.
  2. Write a command to change your current directory to Desktop.
  3. Write a command to create a directory structure as: CS604/Files/CFiles
  4. Write a command to display the contents of new created directories.
  5. Write a command to remove a directory named CS604.

2.2 Compiling and running C code in Linux

Write a program in C which will display your student id and name as output. Compile and execute your program in Command prompt to display the output as shown below.

All CS604P files →
CS604P Operating Systems (Practical) All CS604P handouts, past papers, quizzes and MCQs in one place. Open course page

Get more out of VUBuddy, for free

Android app Free on Google Play
  • Unlimited downloads
  • The explanation behind every MCQ answer
  • Study offline on slow data
Get the Android app
Chrome extension Free on the Chrome Web Store
  • 30 downloads a day instead of 3
  • Sign in and buy Pro Semester here
Add to Chrome

One Pro Semester membership works in both the extension and the app.