Beruflich Dokumente
Kultur Dokumente
Description of Project
National general elections have been recurring feature among the democratic territories of the Caribbean.
Every year in one territory or another, citizens exercise their rights to elect government of their choice.
However, the exercise is not without challenges of data management. Thousands of votes are cast on the day
of election an anxious, waiting public demands speed, efficiency and accuracy in determination of results.
In preparation of the actual exercise, the Jamaican Election Commission (JEC) has hired you to simulate the
election exercise as a test run, prior the actual elections which are to take place shortly in your country. You
are required to utilize: Word Processing, Spreadsheet, database management as well as a programming
application (Pascal) to design and implement computer based solutions to the tasks involved in the simulation
of the election process.
1
2
SPOT VALLEY HIGH SCHOOL
School Based Assessment 2010-2011
Spreadsheet
The Electron Commission has mandated that you design a spreadsheet that will accept pertinent
data on constituencies and candidates’ votes and generate information that will enable the
outcome of the election to be divulged to the population in the shortest possible time.
The four parties are: DAP, WNA, UPM and PDR. Election is to be contested in eight
constituencies to determine the representation. The representative of a constituency is the
candidate who gets the most votes in his/her constituency. All the parties except PDR have a
representative in each constituency.
Task A
Example:
Rename the sheet e.g. sheet 1 (NOT file name) containing the data as “constituency”
Save the spreadsheet (file) as VOTES. (5 marks)
Task B
B. For each constituency, design another worksheet (in the same file) that contains column
headings:
Candidates name (Title, Surname and Christian), Party, Rating, % of votes estimate and
number of votes received.
You should enter data for each constituency; each of the eight constituency has four
Candidates (one from each party), except for PDR which has representative in 6
constituency. Separate each constituency with four blank rows and place the constituency
name two rows above each table, centered.
Note:
i. The rating is a value from 1 to 4 and is determined by the recent poll conducted in each
constituency by a noted pollster. No two parties have the same rating.
ii. Also, the pollster supplies the % votes, each candidate is likely to receive: based on
popularity rating (% of votes estimated). Number 1 rating is the party with the highest
% votes and number 4 rating receives the lowest % votes. Total % of estimated votes for
that constituency MUST be equal 100.
iii. The actual vote is calculated as: (% of votes estimated * General vote) for that
constituency.
II. Insert rows in appropriate parts of the spreadsheet that calculate each constituency total
for: Actual votes, special votes total number of votes received.
3
III. Add appropriate titles to each worksheet centered for constituency and candidate
IV. Insert a column called Refund that indicates if a refund is due to a candidate. The column
should states “Refund Due” or “No Refund”; a refund is due if the candidate total votes
received equals or less than 500.
III. Create a pie chart that compares the votes received by each party. Save the spreadsheet
4
SPREADSHEET
Candidate’s Name: __________________________________ Reg. #: __________________
School: _____________________________ Center #: ___________________
Teacher: _____________________________ Territory: Jamaica
2
(6)
The effectiveness with which Copying data 1
students manipulate the Using formatting features to allow clarity
spreadsheet. of display 1
(2)
The effectiveness with which Sort the spreadsheet sorted by:
the students use search and Party (primary key) 1
sorting facilities. then by Surname (secondary key)
(1)
The effectiveness with which Conceptualizing a solution using the
students use spreadsheet to spreadsheet:
solve specific problems Select appropriate columns and
rows 1
Layout spreadsheet permits easy
addition and deletion 1
Use constants in cells, instead of
placing the values directly in the 1
cells.
Organizing spreadsheet so that data can
easily be interpreted. 1
There are four parties contesting in the election. Democratic Action Party (DAP); Workers National
Alliance (WNA), United Progressive Movement (UPM) and the Peoples democratic
Revolution (PDR). Elections are contested to determine representatives in eight constituencies; each
candidate must complete and submit a nomination form to the Jamaica Elections Commission (JEC).
You are required to design a Nomination Application Form. It must allow for the relevant data on the
candidate including the constituency which he intends to contest.
Note: the applications form should be no more than two (2) pages, printed on one sheet, front and back.
The form must be designed on letter sized paper and must have 0.7” margin left and right sides and 1”
margin top and bottom.
The letter head of the Jamaican Elections Commission (JEC) must be placed on top (Header) with a 1”
logo.
SECTION B – Mail Merge
The results of the national elections must be delivered to each candidate. Using suitable word-processing
features and data from the spreadsheet section of your project create a letter which should be mailed to
candidates. The letter should come from the: Chairman of the Jamaican Election Commission (JEC).
1. The first paragraph should congratulate and thank the candidate (insert the name) for the manner
in which he/she conducted his/her campaign and invite him/her to view the complete listing of
results.
2. Insert the Candidates worksheet (spreadsheet) from the votes 2 file followed by the pie chart with
appropriate comments, into the documents after the first file..
3. The chairman should invite those who are qualified for a refund to visit the head office of the
Commission to collect their deposit payment.
4. The commission’s letterhead should be placed at the header of your letter, first page only, and an
appropriate footer centered.
You are required to: create a data source in spreadsheet with the following fields: <<Title>>,
<<Firstname>>, <<surname>>, <<address>> for EACH candidate.
Print letters addressed to the first three and last candidate only, from the spreadsheet listing
6
7
MARK SCHEME
Name:_______________________________ Date_______________
Create the following tables using data sourced from the spreadsheet. Use appropriate Data type
and description for each field; feel free to modify the field names below using abbreviated
words.
SECTION A - TABLES
Fields: Name of candidates, Date of Birth, sex, profession, constituency, party acronym, total
votes received.
Deposit: Table
Note: Deposit is $5000; a candidate gets refund if he/she received less than 500 votes (tick
‘yes’).
Constituency: Table
SECTION B – QUERIES
You are required to test your database by generating the following queries:
1. The candidate ID, name, sex, Age and Profession of all the Democratic Revolution
(PDR). Save as: PDR
2. The candidate name, party, number of electors, where the candidate receive more than
1500 of votes from constituency with more than 5000 general votes and. Save as:
Voters over 5000
3. Special votes expressed as a percentage of the number of Electors in each constituency;
format the percentage to two decimal.
Save as: Special Votes Percentage
4. The candidate who received less than 500 votes in their constituency. The query should
include: candidate name, Party, constituency, Number of Electors and General Votes.
save as LessThan500
5. All male candidates who are less than or equal to forty years and who received more than
1000 votes. Show name, Age, total votes received as well as number of electors.
Save as MaleUnder40
6. Calculate the sum of deposits that will not be refunded for each party. Show party
acronym, and sum refunded to each party. Save as: SumOfDeposits
SECTION C - REPORT
The Report list the constituency, Party Acronym, sex, number of votes received. The report
should be grouped by constituency, within each constituency it should be sorted by Party and
number of votes received. It should give the total and average votes received for each
constituency. The report should have the following two lines title:
Database Management
MARK SCHEME – 20 marks
9
PROBLEM-SOLVING (PROGRAMMING) – 30 MARKS
Problem Solving
2. Design and execute a trace table that test the pseudocode/algorithm in (a), using the variables
and test data from any of the constituencies in the database.
Program Implementation
3. Using the Pascal programming language, write a program code, using array, to implement the
algorithm in (a) above. After the program is compiled using the pascal compiler, conduct a test
of the program (using compiler) using the data from the trace table.
10
PROGRAMMING 2009/2010
MARK SCHEME
Name:____________________________________________ Date:____________________
Processes KEY SKILLS MARKS Student’s Mark
Problem statement that defines the Problem clearly defined 1 (1)
problem.
1
(5) /(5)
Program complied 1
Output : correct for all values 2 /
Correct for some, [1] (3)
Appropriate data type for ALL variables 2
Appropriate data type for some variables [1] (2)
Appropriate use of control structures:
Count of masqueraders initialized 1
Appropriate use of sequence 1
Efficient use of the IF-Then construct 2
Appropriate use of looping construct 3/
Inefficient use of loop construct [1]
(7)
Clarity of Program: (Program Internal
documentation)
Variable name, author of the program,
Date created, statement of problem 1
Readability: (correct Indentation, logical
flow, easy to follow) 1
User friendly
1
(3) ____/(15)
/30
11
12