Latest Activity In Study Groups

Join Your Study Groups

VU Past Papers, MCQs and More

We non-commercial site working hard since 2009 to facilitate learning Read More. We can't keep up without your support. Donate.

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

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!

Views: 6719

Replies to This Discussion

moaaz ki mcqs file to upload kr den plz



Thank u so much :) :) 

My Pleasure.....



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;




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


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


Looking For Something? Search Below

Top Trends 

VIP Member Badge & Others

How to Get This Badge at Your Profile DP


Management: Admins ::: Moderators

Other Awards Badges List Moderators Group

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

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