Thursday , 21 November 2024

CS507 Assignment 3 Spring 2012

Uploading instructions:

 

Please view the Assignment Submission Process document provided to you by the VirtualUniversity for uploading assignments.

 

  • Your assignment must be in .doc format.(Any other formats like scan images, PDF, Zip, rar, bmp, docx 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)

Draw a flow chart to illustrate the following functionality of Temperature analyzer in Air conditioner.

Functionality to illustrate in Flow Chart

  • Input the Temperature
  • If temperature is below 26 degrees then print the message “It is not very hot” and after displaying this message turn off the compressor.
  • If temperature is above 26 degrees then print the message “It is Hot” and after displaying this message turn on the compressor.

Question 2: (10 Marks)

Consider a super store having several branches and each branch having registered customers. Draw an Entity Relationship Diagram to show primary relationship between registered customers and branch of the super store.

Following are the attributes of customer and branch of super store.


Attributes of Registered Customer Attributes of Branch of super store
CustomerID (This is Primary Key attribute) BranchID (This is Primary Key attribute)
Name Location
Gender Number of Customers (This is derived attribute)
Join Date Start Date
Phone (This is multi valued attribute)

 

 

NOTE: Submit “.doc” file only. Every student should provide his/her own work, exact copying of the assignment (or some portion of the assignment) from the internet or other students will lead to copy case and zero marks will be awarded. Different softwares will be used to check plagiarism in assignments. Do not put any query on MDB about this assignment, if you have any query then  email at cs507@vu.edu.pk

 

 

Check Also

CS507 Assignment No 03 Fall 2013 Idea solution required

Assignment No. 03  (Graded) Semester Fall 2013 Information Systems CS507  Total Marks: 10   Due …

Leave a Reply

Your email address will not be published. Required fields are marked *

*