+ Link For Assignments, GDBs & Online Quizzes Solution
+ Link For Past Papers, Solved MCQs, Short Notes & More
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
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!
+ 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)
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:
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.
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
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
“read (pfds, buf, -5);”
Do you think that the given statement will work properly? Give reasons to support your answer. (3 Marks)
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)
$ gcc server.c –o server
$ gcc client.c –o client
$ server &
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  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