Second Menu

Sunday, June 3, 2012

[ vuZs.net ] let discus cs507 assignment no 3

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)

 

--
--
Please visit www.vuzs.net For Current & Old Papers, Quizzes, Assignments and study material.
 
To post a new message on this group, send email to vuZs@googlegroups.com
 
Message Posting Rules: http://vuzs.net/faq/4795-vuzs-google-groups-basic-rules-for-posting-messages.html
--
To unsubscribe from this group, send email to vuZs+unsubscribe@googlegroups.com
--
To join this group Send blank email to vuZs+subscribe@googlegroups.com
or visit
http://groups.google.com/group/vuZs/subscribe

No comments:

Post a Comment