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.

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.

Views: 6393

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

Looking For Something? Search Below

Latest Activity

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