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

 

+ Click Here To Join also Our facebook study Group.

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


See Your Saved Posts Timeline

Views: 10342

.

+ 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?)

Attachments:

Replies to This Discussion

any one have idea?

Please Discuss here about this assignment.Thanks

Our main purpose here discussion not just Solution

We are here with you hands in hands to facilitate your learning and do not appreciate the idea of copying or replicating solutions. Read More>>

Discussed & be touched with this discussion. After discussion a perfect solution will come in a result at the end.

 

Note:-

For Important Helping Material related to this subject (Solved MCQs, Short Notes, Solved past Papers, E-Books, FAQ,Short Questions Answers & more). You must view all the featured Discussion in this subject group.

For how you can view all the Featured discussions click on the Back to Subject Name Discussions link below the title of this Discussion & then under featured Discussion corner click on the view all link.

Or visit this link 

Click Here For Detail.

&

.•°How to Download past papers from study groups°•.

 

Please Click on the below link to see…

.... How to Find Your Subject Study Group & Join .... 

 

P.S:    Please always try to add the discussion in proper format title like “CS101 Assignment / GDB No 01 Solution & Discussion Due Date: ___________”




CS604 Assignment No 1 Fall 2018 Part 1

AOA ap please mujy screenshot lyn dyn gy mere laptop me space ni hai ye softwre ni download kr skti

ap ne kr liya yah ni

next part bhi upload kar dain 

WAIT FELLOWS I WILL SHARE U HOW TO COMPILE PROGRAM IN UNUNTU..

thanx

welcome 

Adan Tara please ap mujy assignment bna k dy skty hn kia cs604 ki .mara aj project ka pre viva tha ab koi smjh ni a ri kasy bnaun na software ha please agr ap bna dain to will be v helpfull to u

adnan bhai plz help krdain

ubunts ko kasay download karna ha .os ka link he bata dayn plzzzzzzzzzzzzzzzz

RSS

Latest Activity

+++Mahoo+++ replied to +++Student+++++'s discussion MEN
19 minutes ago
loser updated their profile
36 minutes ago
+++Student+++++ liked +++Mahoo+++'s discussion Shukrya Pakistan
46 minutes ago
+++Student+++++ liked +++Mahoo+++'s discussion ALLAH is greatest.
46 minutes ago
+++Student+++++ liked +++Mahoo+++'s discussion Namazi kr dy
46 minutes ago
loser liked +++Student+++++'s discussion MEN
54 minutes ago
loser replied to +++Student+++++'s discussion MEN
54 minutes ago
loser liked +++Student+++++'s discussion MEN
57 minutes ago

Today Top Members 

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

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