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 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: 10363

.

+ 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

kindly send me screen shoot my name Arslan

mc170202090

program mcs

arslanghulamnabi@gmail.com

please koi Allah ka banda help kar day code both error da rha hy 

i have tried much phaly tu ubuntu install ni ho rha tha wo bohat mrhnat k bad hoa phir gcc files found ni ho rhi thi then b ho gia but ab code comile kia hy tu wo bohat error show kr rha hy ab tu time bohat kam rh kia hy please some body help me 

my id Mc110203904

tasmia iqbal

MIT

Mc110203904@vu.edu.pk

please

Bhai plz mjhe b screenshot send krdo bc170402772 id ha or email alihaider1412506@gmail.com ha

Plz koi correct coding hi de de

ma correct coding de deta hn plz mjhe b screenshot send kr dejiye yaha pr

Please all students related this subject Share your online Quizzes here to help each other.thanks

 

Please share the question and their answers of this quiz if anyone has done.
Thanks.

Please koi bna de screen shots

Ubuntu install nh ho rha , share me screenshot of output,  MC140401760,MIT,    koukab.haider@gmail.com

dev c++ pe code run kr ke output de sktay hain ?

aoa kisi ny assignment krli to help krdy time kam hy

Please koi help kar day

CS604 Assignment#01 Solution 

Attachments:

RSS

Latest Activity

Profile IconIJAZULHAQ and Rehana Awan BSSE(7th semester) joined + M.Tariq Malik's group
4 minutes ago
+【。_。】 ZAK 【。_。】+ updated their profile
5 minutes ago
+! ! ! "Asнтαℓғαн updated their profile
16 minutes ago
hussnain posted a discussion
21 minutes ago
◄ Zohaib ► replied to + M.Tariq Malik's discussion PHY301 Circuit Theory Assignment No 01 Fall 2019 Solution & Discussion in the group PHY301 Circuit Theory
26 minutes ago
◄ Zohaib ► joined + M.Tariq Malik's group
26 minutes ago
Profile IconUsmannaeem, hanzla chaudhary, Javaid and 7 more joined Virtual University of Pakistan
29 minutes ago
◄ Zohaib ► replied to + M.Tariq Malik's discussion CS402 Assignment No 01 Fall 2019 Solution & Discussion Due Date: 15-11-2019 in the group CS402 Theory of Automata
30 minutes ago
◄ Zohaib ► joined + M.Tariq Malik's group
30 minutes ago
◄ Zohaib ► replied to +¢αяєℓєѕѕ gιяℓ's discussion CS506 - Web Design and Development Assignment No.1 Due Date Nov 15, 2019 in the group CS506 Web Design and Development
33 minutes ago
◄ Zohaib ► joined + M.Tariq Malik's group
33 minutes ago
+***piya o ry piya***+ liked + M.Tariq Malik's discussion How to Get Full Marks In Quiz
47 minutes ago
Muhammad Binyamin replied to Mariam Faridoon's discussion Assignment Solution Required EDU 402
50 minutes ago
Fari Malik posted a status
"any student MGT301 I need some help"
56 minutes ago
A_Q replied to + M.Tariq Malik's discussion CS401 Assignment No 01 Fall 2019 Solution & Discussion in the group CS401 Computer Architecture and Assembly Language Programming
1 hour ago
Profile IconA_Q and Ali Khan joined + M.Tariq Malik's group
1 hour ago
Muhammad Azam posted a status
"any one Msc Mth"
1 hour ago
Aini MCS replied to + M.Tariq Malik's discussion CS301 Assignment No 01 Fall 2019 Solution & Discussion in the group CS301 Data Structures
2 hours ago
Aini MCS replied to + M.Tariq Malik's discussion CS301 Assignment No 01 Fall 2019 Solution & Discussion in the group CS301 Data Structures
2 hours ago
mahnoor asif liked + M.Tariq Malik's group MGT301 Principles of Marketing
2 hours ago

Today Top Members 

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

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