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

Assignment No. 02 Semester: Fall 2014 CS604 –Operating System Total Marks: 15 Due Date: 10/12/2014

Uploading instructions:

 

  • Your assignment must be in .doc format. (Any other formats like scan images, PDF, Zip, rar, bmp,etc will not be accepted).
  • Save your assignment with your ID (e.g. bc020200786.doc).
  • No assignment will be accepted through email.

 

Rules for Marking:

 

It should be clear that your assignment will not get any credit if:

  • The assignment is submitted after due date.
  • The submitted assignment does not open or file is corrupted.
  • Your assignment is copied from internet, handouts or from any other student

      (Strict disciplinary action will be taken in this case).

 

Assignment

 

Question 1:   (10 Marks)

 

Write a Unix/Linux base code for creating the pipe for showing the inter process communication,i.e. the child process send message “Hello world” to parent process, which reads it and displays it on the screen.

 

 

Question 2: (5 Marks)

 

Categorize the following examples into Interrupt, signal and traps:                         

 

  1. If you write the Code in c language, like a=b/0.
  2. Compile a C program and error occurs Invalid memory access or buffer overflow.
  3. While running a program, you press <Ctrl-C>.
  4. Fatima is doing chatting with her friend, by hitting keystrokes.
  5. Opening a folder by double clicking mouse.

 

 

NOTE:Do not put any query on MDB about this assignment, if you have any query then emailatcs604@vu.edu.pk.

 

Deadline: Your assignment must be uploaded/submitted on or before 10th Dec 2014.

+ Click Here To Join also Our facebook study Group.

..How to Join Subject Study Groups & Get Helping Material?..


See Your Saved Posts Timeline

Views: 6229

.

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

Attachments:

Replies to This Discussion

Program Successful Complied.

Bhai code hi de do agar theek hai ap ka

Compile kiss ma karna ha ?? koi batay

code paste kr k 

Top menu bar ma " Execute" pe click krain

Udar compile pe click karin

 

dev c++

mery pas tu nahi ho raha compile

kindly koi 1st qus ka solution bata day na aj xtnded day h plzzzzzzzzzzzzzzzzzzzz

Can u plz upload the code im having 8 errors

5.50 

A correction in code:

int main();{

"Hello, world!\n"

Remove  #include <sys/wait.h> in code.

now there will be 2 errors left

 

RSS

Today Top Members 

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

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