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


+ Link For Assignments, GDBs & Online Quizzes Solution


+ 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


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


+ 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


my paper today


What are named pipe or FIFO?         


FIFOs (also known as named pipes) are used for communication between related or unrelated processes on a UNIX/Linux system.


How you would display status of background and suspended jobs processes?

We can use the jobs command to display the status of suspended and background



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


If we use the exit() system call, it will terminate the whole process instead of thread. The fact is that the purpose of the exit() system call is to terminate a process and not a thread.


Why Pipes are useful give at least two reasons?      

Two common uses of FIFOs are:

  1. In client-server applications, FIFOs are used to pass data between a server process and client processes
  2. Used by shell commands to pass data from one shell pipeline to another, without creating temporary files



There are five processes given below with their run time units. Assume that all processes arrived in order at time P1= 0 p2 =4 , P3 =2 , P4 =5 , P5 = 0. Then answer the question given below.


P1. 6

P2. 4

P3. 9

P4. 1

P5. 10


Show the scheduling order for the processes for FCFS, and Round -Robin (Quentum 4)



The scheduling process order for FCFS will be P1P5P3P2P4

The scheduling process order for RR will be




Why fork() system call? Discuss kenal view and user view sort of that ?

Q identify three reasons why mknod() system call fails

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

Threads ka question aya tha 5 num ka that how threads create..... and koi failure reasons likhni thi.....
q: ak table tha jis ma p1,p2,p3,p4 n inka data given tha wiating time find krna tha ye b 5 num ak tha...

and mostly mcqs from moaz file and given recent screen shots

30.06.16 12:00


All McQs from moaz file 100% 

subjective was conceptual ...

some Question from threads 

table dia hua tha turnaround time nikalna tha

itna yad h 

lucky ho innoxent :)



Total questions: 26

20 objectives 90% from past files


  • Write the name of threads where OS is fully aware of its creation and mapping methods and also give an example of OS that support these threads. (2Marks)
  • Differentiate between Turnaround time and Response time. (2 Marks)
  • Consider the following statement,

“read (pfds[1],  buf,  -5);”

Do you think that the given statement will work properly? Give reasons to support your answer. (3 Marks)

  • Selection of scheduling algorithm under specified workload is evaluated using a technique; do you know any technique which specifies this evaluation using some formula? State the technique name and also the name of its categories. (3 Marks)


  • Calculate the performance of FCFS algorithm for three computer-bound processes. By calculating

Waiting Time per process.

Average waiting time of processes

When three process p1, p2, p3 ready in queue at time 0 and there burst times are

Process P1: takes 20 seconds, Process P2 takes 5 seconds, Process P3 takes 4 seconds.

In first turn when processes arrive in order P1, P2, P3.

1n 2nd turn processes arrive in order p3, p2, p1. (5 Marks)


  • Let us consider the following code.

$ gcc server.c –o server

$ gcc client.c –o client

$ server &

[1] 432056

$ client

Hello, world!

Hello, class!



Out of server and client processes in the given code, which process will run in the foreground and which process will run in the background? Also tell that what does [1] and 432056 represent in the given code? (5 Marks)


Best of Luck 


             Prepare Moaaz MCQs file for Objective


        Attached file contains Current Solved 2016 MidTerm Exam Questions


SalMan HaidEr




Latest Activity

+ ! ! ! ! !Marshmallow updated their profile
2 hours ago
Muhammad Bilal liked Mani Siddiqui BS VIII's discussion Heavy Raining in Karachi
2 hours ago
Farhan Malik is now a member of Virtual University of Pakistan
4 hours ago
Meϻøøήส liked + ! ! ! ! ! ! CS619's discussion CS619 Project
4 hours ago
Meϻøøήส liked Shanzay's discussion Hua To Kuch B Nahi...
4 hours ago
Meϻøøήส liked Shanzay's discussion Zikar Tera Meri Kahani Main..
4 hours ago
Meϻøøήส liked + Ḱẚảḿḯ's discussion Mohabbat
4 hours ago
Meϻøøήส liked + Ḱẚảḿḯ's discussion Dil
4 hours ago
Meϻøøήส liked + Ḱẚảḿḯ's discussion Mohabbat Ki Jhari
4 hours ago
Meϻøøήส liked Shanzay's discussion Nahii Karta...
4 hours ago
maheen mahan commented on +M.Tariq Malik's group MTH603 Numerical Analysis
6 hours ago
SARIM KHANI added a discussion to the group STA621 Time Series Analysis
6 hours ago

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

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