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


Dear Students! Share your Assignments / GDBs / Quizzes files as you receive in your LMS, So it can be discussed/solved timely. Add Discussion

How to Add New Discussion in Study Group ? Step By Step Guide Click Here.

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 Follow the New Added Discussions at Your Mail Address?

+ 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: 10366

.

+ 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

Bhai koi S shots bna k behj skta hai please>>>>> im facing problem to compllie virtual box with ubuntu link error dy rha hy time b short reh gya hy?

Mera student ID BC170400524 aur name Mobeen Abdullah h. Please help me out here. mujhy kuch be nh ata . ye mera email address h shahidalvi4555@gmail.com

meri student ID ka screen shot layt k paste kar do bhai word file mai please 

JazakAllah

plzz mje koi ye assinmnt bna dey mjh se b nh bni
bs thora time rh gya h abi plzzz koi hlp ker dy
plzz mje koi ye assinmnt bna dey mjh se b nh bni
bs thora time rh gya h abi plzzz koi hlp ker dy
plzz mje koi ye assinmnt bna dey mjh se b nh bni
bs thora time rh gya h abi plzzz koi hlp ker dy
plzz mje koi ye assinmnt bna dey mjh se b nh bni
bs thora time rh gya h abi plzzz koi hlp ker dy
plzz mje koi ye assinmnt bna dey mjh se b nh bni
bs thora time rh gya h abi plzzz koi hlp ker dy

bhai mujhay bi chaye ik

bc160401190 mubeen anwar bsse

fffaizan9@gmail.com

Bhai Please mujhe bi bna den

Please koi bna kr de de

koi bhai bna kr send krde

mc150402462

emaIL RAAJ0332@GMAIL.COM

RSS

Latest Activity

+ M.Tariq Malik replied to + M.Tariq Malik's discussion MGT610 Business Ethics GDB Fall 2019 Solution & Discussion in the group MGT610 Business Ethics
2 minutes ago
+ M.Tariq Malik replied to + M.Tariq Malik's discussion MKT530 Consumer Behaviour Assignment / GDB Solution Fall 2019 in the group MKT530 Consumer Behaviour
3 minutes ago
+ M.Tariq Malik replied to + M.Tariq Malik's discussion PSY404 Assignment No 01 Fall 2019 Solution & Discussion Due Date: 20-11-2019 in the group PSY404 Abnormal Psychology
5 minutes ago
+ M.Tariq Malik replied to + M.Tariq Malik's discussion CS601 Data Communication Assignment No 02 Fall 2019 Solution & Discussion Due Date: 28-11-2019 in the group CS601 Data Communication
8 minutes ago
+ M.Tariq Malik added a discussion to the group CS601 Data Communication
9 minutes ago
Shahid imran shan replied to + M.Tariq Malik's discussion MGT610 Business Ethics GDB Fall 2019 Solution & Discussion in the group MGT610 Business Ethics
9 minutes ago
+ M.Tariq Malik replied to + M.Tariq Malik's discussion MGT501 Human Resource Management Assignment No 01 Fall 2019 Solution & Discussion in the group MGT501 Human Resource Management
11 minutes ago
+ M.Tariq Malik liked 彡JK彡 ❤️'s discussion If you have sOmething stupid to saY............
15 minutes ago
Profile IconIrfan khan, shmaiam arif, Shamshad Akhtar and 16 more joined Virtual University of Pakistan
15 minutes ago
Sidra Mustafa replied to + M.Tariq Malik's discussion MGT610 Business Ethics GDB Fall 2019 Solution & Discussion in the group MGT610 Business Ethics
16 minutes ago
roofia hayat joined + M.Tariq Malik's group
23 minutes ago
Mr khan replied to + M.Tariq Malik's discussion ECO601 Business Econometrics Assignment No 01 Fall 2019 Solution & Discussion Due Date: 21-11-2019 in the group ECO601 Business Econometrics
41 minutes ago
saliha joined + M.Tariq Malik's group
48 minutes ago
Aniya Khan updated their profile
53 minutes ago
Shahid imran shan replied to + M.Tariq Malik's discussion MGT610 Business Ethics GDB Fall 2019 Solution & Discussion in the group MGT610 Business Ethics
54 minutes ago
Shahid imran shan replied to + M.Tariq Malik's discussion MGT610 Business Ethics GDB Fall 2019 Solution & Discussion in the group MGT610 Business Ethics
56 minutes ago
Shahid imran shan replied to + M.Tariq Malik's discussion MGT610 Business Ethics GDB Fall 2019 Solution & Discussion in the group MGT610 Business Ethics
57 minutes ago
Shahzad Rizwan replied to + M.Tariq Malik's discussion HRM624 Conflict Management Assignment No 01 Fall 2019 Solution & Discussion Due Date: 21-11-2019 in the group HRM624 Conflict Management
57 minutes ago
Shahzad Rizwan joined + M.Tariq Malik's group
57 minutes ago
Asad updated their profile
1 hour ago

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

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