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
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
PDF Files downloading Solution from ning..
Thanks and Regards!
moaaz ki mcqs file to upload kr den plz
Thank u so much :) :)
subjec questions kia thy wo bataeennn wohi tou important hy???
Ans to Qno21
/* Prototype for a function to be passed to our thread */
void* MyThreadFunc(void *arg);
/* Create a thread and have it run the MyThreadFunction */
pthread_create(&newThread, NULL, MyThreadFunc, NULL);
void* MyThreadFunc(void* arg)
printf ("The thread.\n");
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.
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
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?
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.
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
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......