We are here with you hands in hands to facilitate your learning & don't appreciate the idea of copying or replicating solutions. Read More>>

Looking For Something at vustudents.ning.com? Click Here to Search

www.bit.ly/vucodes

+ Link For Assignments, GDBs & Online Quizzes Solution

www.bit.ly/papersvu

+ Link For Past Papers, Solved MCQs, Short Notes & More

Assignment No. 01

Semester: Fall 2018

Operating Systems (CS604)

 

Total Marks: 20

 

Due Date: 4th December, 2018

 

Instructions:                          

Please read the following instructions carefully before submitting assignment:

§  You should submit your assignment before or on due date on VULMS.

§  Your assignment should be your own work in your own words. It should not be copied from Internet, handouts or books.

§  Assignment sent via Email will not be replied and accepted.

§  If the submitted assignment does not open or file (or ZIP) is corrupt, it will not be marked and hence awarded zero marks.

Objectives:

 

·         To know about how to create and terminate multiple threads in Linux Operating System.

·         To learn how to write, compile and execute C program in Linux O/S.

 

 

For any query about the assignment, contact at CS604@vu.edu.pk

 

Problem Statement

You are required to write a C program that will create three threads named as; Thread 1, Thread 2 and Thread 3. You are required to run these threads in parallel fashion and show output as shown in sample screenshots. Each thread will display its Process and Thread ID as well.

 

The threads will have the additional functionalities:

 

Thread 1 will display the personal information of student such as student name and id.

Thread 2 will display the course related information such as Course Code and Course Name.

Thread 3 will display the degree name and university name.

 

All such information should be passed as parameters to thread function and then display such information in each thread. Make sure that parent thread or main thread should wait until all other threads have finished their execution. Finally, all threads will be terminated.

 

You are required to Compile & run C program on Linux Operating system. You will compile your C program file with your Student ID.

 

Note:  File name other than your Student ID will not get marks.

You will write code and paste following two screenshots in Microsoft Word file.

1)      You will take screenshot of compiling command that you will issue at Linux Terminal.

2)      Then you will run your executable and take its screenshot.

 

Sample Output for Program

 

1. Compilation Phase

 

 

2. Program Output

 

 

Note: You are required to upload only Microsoft Word file which contains C code and required screenshots for login and program output. File other than Microsoft Word will not be accepted.

 

 

 

BEST OF LUCK

 

+ How to Join Subject Study Groups & Get Helping Material?

+ How to become Top Reputation, Angels, Intellectual, Featured Members & Moderators?

+ VU Students Reserves The Right to Delete Your Profile, If?


See Your Saved Posts Timeline

Views: 10356

.

+ http://bit.ly/vucodes (Link for Assignments, GDBs & Online Quizzes Solution)

+ http://bit.ly/papersvu (Link for Past Papers, Solved MCQs, Short Notes & More)

+ Click Here to Search (Looking For something at vustudents.ning.com?)

+ Click Here To Join (Our facebook study Group)

Attachments:

Replies to This Discussion

plz provide me screen shot in my ID . actually I have no enough storage space in my PC so I can not download required software
my name Noureen
I'd is Mc170200129
degree MCS
gmail: mb826384@gmail.com

My Name Ghulam Mustafa

ID: Bs120201159

Degree: BSCS

gmail: thismustafa1@gmail.com

plz send me screen shot and coding file

Aslamualikum

 

ID: BC110201616

Degree: BSCS

gmail: azizrana786@gmail.com

plz send me screen shot and coding file

CS604 Assignment#01 Solution 

Attachments:

CS604 Assignment@01 

Attachments:

koi mostly screen shots share kar do made bande ko sidha fail ho jaonga

aoa..pls meri assgnment kar day..mere pas unbutu install nahe hai..pichli baar bhe is subject mein pass nahe hoi thi..ap ka ahsaan ho ga...pls koi kar day

MC140402098

mcs

iffat.aisha1@gmail.com

I am unable to isntall Ubuntu for CS604 assignment, anyone can share output file against below detail in code MC140401760. koukab.haider@gmail.com

please mari bhi assignment kr dain mary pass Ubuntu install ni ho rha or kuchh smjh bhi ni aa rha please
Name haider faiz
id Bc170200083
mail : haiderali907jav@gmail.com

yar main ubentu install kar lia hai or theek chal raha hai koi sahai code file send kar dain please.

omarsstcs@gmail.com

mc100207767

RSS

Latest Activity

+ Iuuoɔǝut+ replied to + Iuuoɔǝut+'s discussion Islam in the Middle of Christianity
8 minutes ago
彡JK彡 ❤️ replied to + Iuuoɔǝut+'s discussion What is the importance of Virtual University degree in Pakistan?
11 minutes ago
彡JK彡 ❤️ replied to + !! SARAH's discussion Beauty Of Fear !!
12 minutes ago
彡JK彡 ❤️ replied to + Iuuoɔǝut+'s discussion Islam in the Middle of Christianity
14 minutes ago
彡JK彡 ❤️ liked + Iuuoɔǝut+'s discussion Islam in the Middle of Christianity
15 minutes ago
彡JK彡 ❤️ liked + ! ✨ ░S░I░N░G░E░R's discussion Pride for Pakistan (Gold Medal in World Beach Games' 90kg Category)
15 minutes ago
彡JK彡 ❤️ liked + Iuuoɔǝut+'s blog post Things about Arabic Language in an info graphic
15 minutes ago
彡JK彡 ❤️ liked + "αяsαℓ " Ќąƶµяɨ •"'s blog post نظر لگنا کیا ہے اور بُری نظر انسان کے جسم پر کیسے اثر انداز ہوتی ہے
15 minutes ago
彡JK彡 ❤️ posted a discussion
18 minutes ago
+ ! ✨ ░S░I░N░G░E░R liked + Iuuoɔǝut+'s discussion Qatta Taluq....
1 hour ago
+ Iuuoɔǝut+ replied to + Iuuoɔǝut+'s discussion Qatta Taluq....
1 hour ago
+ Iuuoɔǝut+ liked + Iuuoɔǝut+'s discussion mard ka dil...
1 hour ago
+ ! ✨ ░S░I░N░G░E░R replied to ϝ ι ყ α's discussion When You Block $omeone.......XD XD !!
3 hours ago
+ ! ✨ ░S░I░N░G░E░R liked ϝ ι ყ α's discussion When You Block $omeone.......XD XD !!
3 hours ago
+ ! ✨ ░S░I░N░G░E░R replied to + "Jɨyą's discussion Tou ho jay shairiiii XD XD
3 hours ago
+ ! ✨ ░S░I░N░G░E░R liked +++STUDENT+++'s discussion Mja kun sy kr tu
3 hours ago
+ ! ✨ ░S░I░N░G░E░R replied to +++STUDENT+++'s discussion YA Allah
3 hours ago
+ ! ✨ ░S░I░N░G░E░R liked +++STUDENT+++'s discussion YA Allah
3 hours ago
+ ! ✨ ░S░I░N░G░E░R liked + !! SARAH's discussion Beauty Of Fear !!
3 hours ago
+ ! ✨ ░S░I░N░G░E░R liked ϝ ι ყ α's discussion *1st $em VS Last Sem,................*
3 hours ago

© 2019   Created by + M.Tariq Malik.   Powered by

Promote Us  |  Report an Issue  |  Privacy Policy  |  Terms of Service