Assignment No. 01
Total Marks: 20
Due Date: 26/04/2013
Please read the following instructions carefully before solving & submitting assignment:
It should be clear that your assignment will not get any credit (zero marks) if:
The objective of this assignment is:
For any query about the assignment, contact at CS304@vu.edu.pk
Consider the present voting situation of Pakistan in which lots of people get deprived off their right to cast the vote. Reasons may include:
Now, Suppose you are working in a software company as a manager, and you are given a task from Election Commission of Pakistan to develop an “E-Voting” system both for national citizens and overseas citizens to cast their vote so that it could remove the distance barriers, facilitate the old people, disable people, and patients etc. This will increase the voting ratio of the country.
Overview of E-Voting System:
E-Voting system will handle two types of voters- National voters and Overseas voters. Each voter will cast vote against two voting categories- one for Provisional Assembly and one for National Assembly.
To get registered with Election Commission, the system will provide a registration form to the citizen to fill in. The citizen will enter his/her particulars (CNIC#, Name, finger print etc…) and will submit this filled form to the system. The form will be evaluated by the Validation component of the system. This component will contain an electronic database of all citizens (National, and Overseas) of Pakistan with their Name, CNIC#, finger prints etc. It will check for duplication or invalidity of the citizen’s information. If information is valid, the component will display a message to the citizen that he/she has become a registered voter with Election Commission of Pakistan. The system will assign voter ID and password to the voter. The system will store voter’s information in its database “Voter’s Record”.
On the day of Election, voter will be provided a login form to enter voter ID, password, and fingerprint. Voter’s information will be checked by the system. The system will ensure that this is a registered voter and this person has not cast the vote yet. The system will show a virtual ballot paper (form) to the voter. The virtual ballot paper will consist of signs of different candidates contesting in the election in voter’s particular constituency. The virtual paper will also consist of two types of voting categories-one for Provisional Assembly and one for National Assembly. The system will prompt the voter to choose the signs from the virtual ballot paper by touch screen against each category. The voter will choose any sign and the system will ask for confirmation of the selected choice (sign). The system will show a message to the voter that your vote has been cast successfully. The system will update voter’s information so that this person could not vote again. At the end of Polling, the system will count the votes and announce the result to the Election Commission.
The tasks you have to do are:
Important things to consider:
Lectures Covered: This assignment covers Lecture # 1-6
Deadline: Your assignment must be uploaded/submitted at or before. April 26, 2013
welcum + M.Tariq Malik +
meri bhen yeh to wrong bnaya hova hai u ne
ᵺḛ__Ṧḣḁṋї___ mai nae banaya nae hai....example show ki hai choti se ke ase bnti hai class diagram ...
just idea dia hai
Our main purpose here discussion not just Solution
We are here with you hands in hands to facilitate your learning and do not appreciate the idea of copying or replicating solutions.
i am confused in writing object for the program.
what are the main objects for the system ? is it like ? can we write in assignment like this ? in fact it may be called procedure for the program.
1- create online voting registration form and make this available for 24 hours.
2- link with Database server where all records of people ' NIC , FINGER PRINTS, ADDRESS ETC IS LOCATED.
3- Create virtual ballot paper form with all signs.
4, 5 , 6 so on.
so in this way we can explain all objects. ? ? ? ? ?
is me sub se phly main objects nikalo gaye main object mein sub se phly vote catagory aie ge us k bad indivual ka object aie ge us k bad us k bad voter validation ka object aie ga
sara kam aik squence se lo ap mean k us ne uper mention kr dia hai k ap ne un logun k liye work krna hai jo vote caste ne kr skty . apny ap ko aik database admisitrtor k tor p sochu.
it is like thaT K AP aik compny ka database bna rahy ho.
us me sub se phly ap daikho gaye k kitni catagory k vote hain ap ne two vote dainy hain aik National assembly ka aik Provisional Assembly ka yahan se aik main object niklay ga catagory of vote.
us k bad vote daina hai aik person ne to us person ka object bnay ga. us ka bad ap ne daikhna hai k wo person is waqt kahan p hai why he/she using this e technique wahan se ap aik object aur nikal lo k wo person kahan ka hai aur us ka domicile kahan ka bna hova hai
yahan p aik object bny ga indivdual_voter ka . us k bad ap ne aik verification ka object bnana hai jo show kry ga k wo person vote caste kr skta hai k ni mean k us ka vote b indraj hai k ni.
main attribute is k houn gaye cnic domicile vote number etc next time baqi abhi me thak gaya houn
thanks shani, main samj gya....main thora confuse is leye ho raha tha k is cheez ko assignment mein kese likh ahai. all ideal to mind mein hoty hn but in proper way likha thora muskil lag raha tha.
to solv a problm statment 1st of all we have to "Identify classes"
to identify classes
1) ''Extract nouns in Problem statment"
2) Eliminate irrelevent classes
3) Add classes by analyzing requirments
next step is Finding Assosiation
find relation ship between objects
1) Extract verbs connecting objects
2) verify acces path
then Identify Atributes f the Identified objects
then identify Operations
1) extract verbs connected with an object
2) eleminate irrelevant operations
then Identify Inheritence
1) search lines like "a kind of " by looking at key words like "Such as" "For example" etc.
At the end refine the Object model
for more details see Handouts page no 57-64
yaar is Assignmnet k Attributes aur Methods kya hia plz anyone help me
assignment 1 solution plzzz add more concepts in it