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.

CS604_Share your Current Mid Term Papers Spring 2016 at One Place from 27 May 2016 to 8 June 2016

CS604_Share your Current Mid Term Papers

Spring 2016 at One Place

from 27 May 2016 to 8 June 2016  

 

For Important Helping Material related to this subject (Solved MCQs, Short Notes, Solved past Papers, E-Books, FAQ,Short Questions Answers & more). View this link

https://vustudents.ning.com/group/cs604operatingsystems/forum/topic...

For 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.

 

Solutions for not opening files..
 

PDF Files downloading Solution from ning..

 
Problem in downloading PDF files..

    

Thanks and Regards!

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

.

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

Replies to This Discussion

moaaz ki mcqs file to upload kr den plz

 mcq's

Attachments:

Thank u so much :) :) 

My Pleasure.....

subjective

Attachments:

subjec questions kia thy wo bataeennn wohi tou important hy???

Ans to Qno21

 

#include <stdio.h>

#include <stdlib.h>

#include <pthread.h>

/* Prototype for a function to be passed to our thread */

void* MyThreadFunc(void *arg);

int main()

{

pthread_t newThread;

/* Create a thread and have it run the MyThreadFunction */

pthread_create(&newThread, NULL, MyThreadFunc, NULL);

return 0;

}

void* MyThreadFunc(void* arg)

{

printf ("The thread.\n");

return NULL;

}

 

Q22

A CPU scheduler has different evaluation matrices and average waiting time is one of them. State how waiting time relates to the evaluation of matrices with respect to CPU scheduling.

Answer

The time spent on the ready queue is the “waiting time” which is one of the evaluation criteria for the CPU scheduler matrices/algorithms. CPU schedulers aim at minimizing average waiting time of processes. However, average waiting time is different in case of different scheduling algorithms

 

Q23 identify three reasons why mknod() system call fails

 Answer

Some of the reasons for this call to fail are:

File with the given name exists

Pathname too long

A component in the pathname not searchable, non-existent, or non-directory

Destination directory is read-only

Not enough memory space available

Signal caught during the execution of mknod()

 

Q24.    What will happen if exit() is called instead of pthread_exit() in multithreaded system?

Answer

When a thread terminates with the exit() system call, it terminates the whole process because the purpose of the exit() system call is to terminate a process and not a thread.

 

Q25

 

 

Q26

Ans

Here are the waiting times for the three processes and the average waiting time per process.

 Waiting times P1 = 0; P2 = 24; P3 = 27                            turnaround time per process

 Average waiting time: (0+24+27)/3 = 17                  average turn around time per process

Independent 

which question?

ho gya paper ?

aoa.mcqs aur subjective ki bari me btai moaz file si ai he ya nahe .
subjective bhi moaz file si aia ha k nahe .ya conceptual ha .

midterm me ktni lecture he.

1-18 lecture and i dont mera paper kal hai......

RSS

Latest Activity

+ ! ! ! ❣ Dua Pathani ❣ !+ liked +!!!StRaNGeR!!! +'s discussion عشق
37 minutes ago
Rana Asad updated their profile
41 minutes ago
Rana Asad liked Rana Asad's profile
42 minutes ago
Rana Asad liked Rana Asad's profile
42 minutes ago
Shanzay liked +!!!StRaNGeR!!! +'s discussion عشق
1 hour ago
Profile IconAhsan Bhatti, Sobia Abbasi, Ahmed Kamal and 2 more joined Virtual University of Pakistan
1 hour ago
Hasnain Masood liked Hasnain Masood's photo
1 hour ago
Rana Asad replied to +!!!StRaNGeR!!! +'s discussion عشق
1 hour ago
Rana Asad liked +!!!StRaNGeR!!! +'s discussion عشق
1 hour ago
soldier_soldier liked Bscs.4sem's profile
1 hour ago
khaaniii replied to zohaib iftikhar's discussion ...* KITNY LAFZON MAIN SIMTY HO ...*
1 hour ago
khaaniii liked zohaib iftikhar's discussion ...* KITNY LAFZON MAIN SIMTY HO ...*
1 hour ago

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

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

.