Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask DBMS Expert


Home >> DBMS

Assignment 1- Data model and database implementation

At the time of writing, the State of South Australia is currently in the middle of an election. The data model and implementation that is required of you is based on a concept of electronic voting and the reporting requirements that may be considered necessary. You are required to develop the relational database structure for the scenario outlined below and to implement it. Your implementation will be demonstrated through the creation and output of SQL statements to your system. The scenario is pro- vided in terms of a broad description and a fictional dialogue between a systems analyst and the customer.

You can use any DBMS you wish but I suggest either SQlite or mySQL - it's up to you. Some particular notes -

1. It is deliberately a little vague, (this is the way it often occurs) and thus there is a requirement to
state your assumptions.

2. Any changes/clarifications to the specification will be posted on the FLO page for the topic and mentioned at the next lecture.

Scenario

The Electoral Commission for the newly created State of Central Australia needs to develop a system for entering and reporting elections. The system needs to handle aspects such as voter enrolment, candidate enrolment, polling day itself and the post-election analysis. The electoral system in Central Australia will have two houses, a lower House of Representatives and an upper house - The Senate. They have different voting procedures.

One of the important aspects of an election system is the privacy of people's votes - even from the Electoral Commission officers. Thus your implementation must contain an explanation of how security will be enforced - both in the data model construction and in the DBMS use.

Submission Components

The following is required to be provided

1. A full Entity-Relationship Diagram of your model.

2. A populated relational database schema of the system (as shown by appropriate SQL CREATE TABLE, INSERT and SELECT statements).

3. All assumptions clearly explained.

4. An explanation of how your design and implementation might enhance the security arrangements. (You don't have to implement the security - just describe how it might occur).

5. The SQL statements (and output) corresponding to the questions listed.

Dialogue

This fictional dialogue is between the Systems Analyst (SA) and the Administrative Officer (AO) of the Eastern Australian Electoral Commission.

SA Thank you for sparing the time this morning. We have a few questions we would like to ask regarding the proposed electoral system.

AO No problems.

SA How many candidates are there in an election?

AO Oh, any number. Some have party affiliation but we get a lot of independents so the ballot paper can get quite large, particularly in the upper house.

SA So you need the candidate's party, if they have one, to be recorded?

AO Yes. And remember that in the upper house, a party may have many candidates standing in an electorate while in the lower house a party only has one candidate in an electorate.

SA How many electorates are there? Are they the same for the two houses?

AO The number of electorates varies. We try and have the same number of voters - about 40,000 - in each electorate. And no, they are not the same for each house.

SA What do you record about voters, candidates and the like?

AO Basic details mainly - name and address. Party affiliation for candidates (if there is one). The number of votes each candidate gets. Whether the voter actually voted, etc. Who the voter voted for ...

SA Who they voted for?

AO Ah. Didn't we tell you. This is to be an online voting system. We want to do away with paper and have all voters use touch sensitive screens. We'll need to record their full preference list so we can calculate who has won. However, we want do not want any files that record voter id with their vote - can we use some sort of surrogate code ?

SA That should be simple enough. We'll think about how that be done. You want our system to work out who has won?

AO No. We have another system for doing that. We just want you to record the preferences and be able to store the results.

SA Preferences?

AO Yes. In the lower house, voters vote for all candidates in order of their preferences. In the upper house, everyone either votes for one party (only) or votes for all candidates in the order of their preferences. And one more thing. We have a list of common queries we use (supplied below). Please make sure that we store the data so they all work.

SA Okay, thank you again.

Queries

Once you have written your system, provide the SQL statements for the following queries:

1. List all candidates with more than 2000 first preference votes.
2. List all candidates standing in the electorate of "Bedford Park".
3. List all voters eligible to vote in the electorate of "Bedford Park".
4. List all candidates by electorate with their first preference counts.
5. List all voters who were eligible to vote in the electorate of "Bedford Park" but didn't.
6. List the name and address of all candidates who did not get more than 300 votes.
7. List all the candidates who received fewer votes than "Ellen".
8. List all electorates, in alphabetical order, who have four or more candidates standing.
9. List all candidates, in alphabetical order, who received no votes.
10. Change the name of the "Bedford Park" electorate to "Flinders University".
11. List all candidates that have stood for more than one election.
12. Display the party with the most seats.

Assignment 2- Presentation (Postgraduate)

You are required required to read some classic and up-to-date research papers (at least 6) on the one of the topics listed at the end of this document. Compose an annotated bibliography of research papers that relate to the issue so your annotated bibliography will help you (and others) to have a good resource to evaluate and think about the relevance and quality of material on the topic.

Make sure that the information meets the requirements of the topic and is from a reliable and academically respected source. Website references are not permitted unless the website is refereed e.g., an electronic journal such as IEEE Xplore digital library or ACM digital library both of which are available through the university library.

What is an annotated bibliography?

An annotated bibliography is a list of citations to books, articles, and documents. Each citation is followed by a brief (usually about 150 - 300 words) descriptive and evaluative paragraph, the annotation. The purpose of the annotation is to inform the reader of the relevance, accuracy, and quality of the sources cited.

Annotations are NOT abstracts. Abstracts are the purely descriptive summaries often found at the beginning of scholarly journal articles or in periodical indexes. Annotations are descriptive and critical; they expose the author's point of view, clarity and appropriateness of expression, and authority.

General Instructions

The annotated bibliography is to be produced using a word-processor and a reference database. The submitted document must be in PDF format.

The Process

Creating an annotated bibliography calls for the application of a variety of intellectual skills: concise exposition, succinct analysis, and informed library research. First, locate and record citations to books, periodicals, and documents that may contain useful information and ideas on your topic. Briefly examine and review the actual items. Then choose those works that provide a variety of perspectives on your topic. You may have to quickly review many works before you find good ones. Annotate at least six of these. The length of the annotation will depend on why it has been included and on the source itself. Cite the book, article, or document using a recognised reference style such as the Harvard style. Write a concise annotation that summarises the central theme and scope of the book or article. Include information that:

• evaluates the authority or background of the author,
• comments on the intended audience
• compares or contrasts this work with another you have cited, and
• explains how this work illuminates your bibliography topic.

Each student must ensure that the annotations are in their own words.

DBMS, Programming

  • Category:- DBMS
  • Reference No.:- M92784142

Have any Question?


Related Questions in DBMS

Question sql injection is in the top 10 owasp and common

Question : SQL Injection is in the top 10 OWASP and Common Weakness Enumeration. Using MySQL and PHP, show your own very short and simple application that is vulnerable to this attack. Provide another version that mitiga ...

Database design amp development assignment -assignment

Database Design & Development Assignment - Assignment title - Design and Implement a Relational Database for a local Print and Ink Refill Business. Learning Outcome - Use an appropriate design tool to design a relational ...

Sql assignmentin these exercises youll enter and run your

SQL Assignment In these exercises, you'll enter and run your own SELECT statements. You will use the MyGuitarShop database for these queries. If you do not already have the MyGuitarShop database, the SQL script and the i ...

Data model development and implementationpurpose of the

Data model development and implementation Purpose of the assessment (with ULO Mapping) The purpose of this assignment is to develop data models and map Database System into a standard development environment to gain unde ...

A taking an unnormalised list describe how you would

(a) Taking an unnormalised list, describe how you would normalise it using the normal forms technique and show how the result of this method is used. (b) You are currently in the process of developing a RDBMS for a natio ...

The system development team at the xyz company is working

The system development team at the XYZ Company is working on developing a new customer order entry system. In the process of designing the new system, the team has identified the following data entity attributes: Invento ...

Assignment task -write and run sql statements to complete

Assignment Task - Write and run SQL statements to complete the following tasks Part A - DML 1. Show the details of the products where the product code starts with '22'. 2. Display the vendor details from areacode 615. 3. ...

Questionsuppose a prolog database exists that gives

Question: Suppose a Prolog database exists that gives information about states and capital cities. Some cities are big, others small. Some states are eastern, others are western. a. Write a query to find all the small ca ...

Sqlwrite a select statement that returns three columns from

SQL Write a SELECT statement that returns three columns from the Vendors table: VendorContactFName, VendorContactLName, and VendorName. Sort the result set by last name, then by first name.

Sqlwrite a select statement that returns one column from

SQL Write a SELECT statement that returns one column from the Vendor table named Full Name. Create this column from the VendorContactFName and VendorContactLName columns. Format it as follows: last name, comma, first nam ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As