You are on page 1of 15

CXC INFORMATION TECHNOLOGY SAMPLE SCHOOL BASED ASSESSMENT FROM CXC IT SYLLABUS MAY 2010

SAMPLE SBA 1 Carnival has long been a traditional cultural festival in several Caribbean territories. Every year, thousands of costumed masqueraders parade through the streets, dancing to the pulsating sounds of steelband, calypso and soca. Most of these revelers register to participate in the band of their choice months before the festivities begin. Organizers of these bands must utilize management and organizational skills in order to stage a successful event. As a bandleader of one these carnival bands, you are required to utilize suitable ord !rocessing, spreadsheet, database management as "ell as a programming application to design and implement computer#based solutions to the tasks involved in the management of your carnival band. Spreads ee! $he financial records of the band are maintained using a spreadsheet application. $he names of masqueraders are listed by section. %oth men as "ell as "omen may register to play in each section. $here are five sections in the band. $he cost of costumes is quoted in &' dollars. $he cost by section is ()*+, (,,+, (,-+, (./+ and (0,/ respectively. Masqueraders are given the option of paying for the costume in three installments, or paying the full cost in one payment. Many people utilize the installment option. 'ingle full payment attracts a discount of )+1, "hile payment by installments attracts an interest of )/1. 2nstallments should be spread over three equal payments. Each masquerader pays an 32nclusive4 fee. A ()/+ 2nclusive fee entitles the masquerader to food, drinks, access to portable bathroom facilities and bottled "ater during the carnival parade through the streets. 5o"ever, a payment of (/+.++ entitles the masquerader to portable bathroom facilities and bottled "ater only. E6penditure is incurred in the provision of several amenities for masqueraders during the carnival. $he bandleader must supply food, drinks, portable bathroom facilities, transportation, music, security personnel, and artiste fees. 2n addition, the costs of material for the manufacture of costumes as "ell as labour costs are incurred. %ecause of the anticipated large number of masqueraders, the bandleader has decided to manage the income and e6penditure of each section separately. 7ou are required to8 ). 9esign a "orksheet:s; "hich accepts income and e6penditure costs for each section. 7our "orksheet must record all payments made by masqueraders, :a fe" persons have only made one or t"o of the required three installment payments on costumes;, the total amount paid by each person as "ell as the grand total collected must be calculated. Costume payments must be made in &' dollars. $he total payments made by each person ho"ever, must be converted to the equivalent amount in local currency. 2n an appropriate ro", count the number of masqueraders in the section< calculate the total payment on costume, 2nclusive fees and the total overall payment.

$he e6penditure incurred for each section must also be calculated. =ood is (*+.++ per person< drink is (0+.++ per person< material is ()/+.++ and labour is (>/.++. Other services are provided at a flat rate for the entire band. $hese are as follo"s8 bathroom# (.+++.++< transport (,/++.++< music # (0+++.++< security # ()-++.++< artiste # (/+++.++. $he cost of each flat rate services for each section ? @ate ABo. of 'ections. =ood and drinks are increased by )/1 of the starting per person cost for each successive section, material is increased by ),1 of the starting cost for each successive section, "hile labour is increased by -1 of the starting cost for each successive section. $he total cost of each service for each section ? Cost of service C the number of masqueraders in the section. 'ave your spreadsheet as Mas"#eraders1$ ,. Modify your spreadsheet to effect the follo"ing changes8 :a; :b; :c; 2nsert a masquerader before the last person in each of the first three sections. 9elete the third masquerader from each of the last t"o sections. Create a table that sho"s the total income and total e6penditure by sections.

'ave your spreadsheet as Mas"#eraders2. .. :a; :b; :c; :d; :e; :f; :g; !erform the follo"ing modifications to your "orksheet. $he cost of ra" materials has decreased. ()/+.++ to )./.++. Change the initial cost of materials from

Dabour costs ho"ever, have increased. $he starting cost of se"ing costumes for the first section is no" (E/.++. 9ue to inflation, it has become necessary to increase the cost of food and drink from )/1 to ,+1. 5o"ever, the first section has been spared this price hike. 'ort the first t"o sections in descending order by $otal !ayment. 'ort the third and fourth sections in ascending order by Bame, then by cost. Create an appropriate chart "hich compares the income and e6penditure of each section. Five this chart a suitable name. Create an appropriate chart, "ith appropriate data labels, "hich sho"s the distribution of e6penditure for any one named section.

'ave your spreadsheet as Mas"#eraders%. Da!a&ase Ma'a(e)e'! 7ou should use a suitable application to manage data on persons "ho have registered to play in your band. !ersonal data on each applicant, such as name, se6, address, age, size and telephone contact. must

be stored. Masqueraders4 payment data must also be stored. $he cost of costumes varies by section. Costume prices range from &'()*+ to &'(0,/. 2n addition, the section of the band in "hich they choose to play must be recorded. $he band has five named sections. Each section has a specific four#digit section code. 7our database should contain three tables. &sing data from your spreadsheet, populate your database "ith data on at least t"elve but not more than fifteen persons in each section. 7ou should test your database by performing queries to sho"8 ). ,. .. $he name, age, size and address of all persons registered to play in a named section Bame this query Se*!+,'. $he 29 Bumber, name, se6, and age of all female masqueraders bet"een t"enty and thirty years old. Bame this query T-e'!+esLad+es. $he 29 Bumber, DastBame, section and total payment of all persons "ho have paid in full for their costume in a given section. $he data supplied should be sorted by Dast name. Bame this query Pa+d#p. $he bandleader has e6perienced difficulty in securing the advertised material for the costumes in the third section. 5e has therefore decided to give a )/1 rebate on the total payment made to all persons in this section. Calculate this rebate and sho" it along "ith the name, address and total payment of all persons in one named section. Bame this query Re&a!e. As an incentive to attract more female masqueraders to his band, the bandleader has decided to give a gift voucher to the value of ),1 of the total payment to all females registered in the band. 'ho" the name, se6, total payment and voucher value for all female revelers. Bame this query FiftGoucher. $"o revelers have asked to be refunded their payments, as they "ere forced to travel prior to the date of the carnival. 9elete all records that pertain to these t"o named persons. Fenerate a report that sho"s the names, 29 Bumber, section, age and total payments for all revelers "ho have paid in full for their costumes. $he report should be grouped by section and sorted in descending order by DastBame, then by =irstBame. $he report should calculate and sho" the total amount of funds paid by the revelers of each section. $he average payment of each section should also be generated as "ell as the grand total of payments made. $his report should be given a suitable title utilizing t"o lines.

0.

/.

*. >.

.,rd pr,*ess+'( ). ,. Create a full page an advertisement for a local ne"spaper that informs the public about your carnival band. $his must be designed on letter size paper. &sing a suitable feature of your ord !rocessing application, create a document "hich should be mailed to persons "ho have paid on full for their costumes. $he document should inform masqueraders of the parade route, the time of assembly and departure of the band onto the parade. $he report from the database section should be inserted into your document. $he final paragraph should e6press the bandleaders gratitude to masquerades for choosing to Hoin his band for the carnival celebrations.

..

9esign a suitable letterhead for your document "hich should be placed in a header. A suitable footer must be inserted, "ith the "ords center aligned.

0.

$he document should be Hustified. $he left margin must be )./I.

Pr,&/e)0S,/1+'( ). 9evelop an algorithm or "rite pseudocode that accepts as input the names of an unspecified number of masqueraders "ho each have paid the full cost of their costume and the amount each has paid. A masquerader may have paid for a costume in any of the five sections in the band. $he algorithm should determine the section in "hich a masquerader plays based on the amount heAshe has paid for the costume. $he algorithm should also determine the number of masqueraders "ho have paid for costumes in each section. $he names of persons and the section for "hich they have paid should be printed. A listing of section and the total number of persons registered to play in each section should also be printed, along "ith the total amount of money paid in each section. &sing data from your database, make a random listing of persons "ho have paid in full for their costumes. $he listing should contain the 29Bumber, and full amount paid by each masquerader for hisAher costume and should be chosen randomly from each of the five sections. Bo more than t"elve persons should be selected. &sing this listing, design a trace table that traces the number of masqueraders in each section, the amount paid, and traces the total amount collected in each section.

,.

Pr,(ra) I)p/e)e'!a!+,' .. &sing the programming language !ascal, "rite program code to implement the algorithm in :);.

SAMPLE SBA 2 Des*r+p!+,' ,2 ! e Pr,3e*! Bational general elections have been a recurring feature among the democratic territories of the Caribbean. Every year, in one territory or another, citizens e6ercise their right to elect a government of their choice. 5o"ever, the e6ercise is not "ithout its attendant challenges of data management. $housands of votes are cast on the day of the elections and an an6ious, "aiting public demands speed, efficiency and accuracy in the determination of results. 2n preparation for the actual e6ercise, the $rinbarHam Elections Commission has hired you to simulate the elections e6ercise as a test run, prior to the actual elections "hich are to take place shortly in your country. 7ou are required to utilize suitable ord !rocessing, spreadsheet, database management as "ell as a programming application to design and implement computer#based solutions to the tasks involved in the simulation of the election process. Spreads ee! $he Elections Commission has mandated that you design a spreadsheet that "ill accept pertinent data on constituencies and candidates4 votes and generate information that "ould enable the outcome of the elections to be divulged to the population in the shortest possible time. =our parties contest the elections8 the 9emocratic Action !arty :9A!;, the orkers Bational Alliance : BA;, the &nited !rogressive Movement :&!M;, and the !eoples 9emocratic @evolution :!9@;. Elections are contested to determine representatives in eleven constituencies. $he representative being the candidate "ho gets the most votes in hisAher constituency. $he parties field candidates in every constituency e6cept for the !9@, "hich fields candidates in Hust si6 of the eight constituencies. =or each constituency, you are required to8 ). Create a table in your spreadsheet that records the number of Electors, !ercentage voter turnout, Bumber of votes cast, the percentage of 'poilt ballots and the number of Feneral votes. $he number of electors registered in each constituency ranges from *,,/+ to )+,>E/. $he percentage voter turnout in each constituency is proHected to be from a lo" of 0/1 to a high of -,1. Bumber of votes cast is determined by the Bumber of Electors J 1 Goter $urnout. $he percentage of spoilt ballots varies from one constituency to another, but never e6ceeds ,./1 in any constituency. Feneral votes are calculated as the votes cast K spoilt votes. =or each constituency, design a spreadsheet that accepts the candidate4s name, party acronym, rating, 1 of votes, and number of votes received. $he rating is a value from ) to 0 and is determined by the results of a recent poll conducted in each constituency by a noted pollster. Apart from the candidate4s rating, the pollster also supplies the 1 of votes each candidate is likely to receive, based on the popularity rating. $he actual number of votes received is that percentage of the Feneral votes. 7ou must enter data for each candidate in each of the eight constituencies. 'ave your spreadsheet as E/e*!+,'s 01. ,. Modify your spreadsheet to reflect the follo"ing.

:i;

Gotes cast by 'pecial voters must be considered and counted. 2nsert a ro" in an appropriate part of your spreadsheet table to record the number of special votes cast in each constituency. 2nsert a column in an appropriate part of your spreadsheet to record the number of special votes received by each candidate. $he special votes for each constituency are divided equally among the candidates in that constituency. 2nsert another column "hich records the total votes received by each candidate in each constituency. $otal votes received are calculated as Feneral votes L 'pecial votes. 2nsert ro"s in appropriate part of your spreadsheet that calculate, for each constituency, the total number of special votes, and the total number of votes received by candidates. 2nsert a column that indicates "hether a refund is due to a candidate. $his column should state M@efund 9ueI or MBo @efundI. A refund is due if the candidate4s total votes received equals or e6ceeds ,+1 of Gotes Cast in the constituency. 'ave your spreadsheet as E/e*!+,'s 02.

:ii;

:iii; :iv;

..

!erform further modifications to your spreadsheet to reflect the follo"ing. :i; :ii; :iii; :iv; 2n an appropriate part of your spreadsheet, create a table that lists the constituencies, and the total number of votes received by each party in each constituency. 'ort the candidates4 data for each constituency. $his should be sorted in descending order on total votes received. Fenerate a column graph that compares the votes received by each party by constituency. Bame this graph 34,!es &5 C,'s!+!#e'*54. Fenerate a graph that compares the parties by name :acronym; and the total number of votes each received in the election. Each slice of the chart must be labeled to sho" the number of votes received and the 1 of votes received overall. Bame this chart 3 4,!e D+s!r+&#!+,' &5 Par!54.

Sa1e 5,#r spreads ee! as E/e*!+,'s 0%. Da!a&ase Ma'a(e)e'! 7ou are asked to use a suitable application to manage data on candidates nominated to contest seats in the general elections. $hree tablesAfiles must be used to store the data. @elevant personal data on each candidate should be stored, including name, address, date of birth, se6, profession, constituency, party acronym and total votes received. Each candidate pays a deposit of (/+++. :$his deposit is refunded should the candidate garner ,+1 or more of the votes cast in his constituency;. Constituency data must also be maintained, including the constituency name, number of electors, number of votes cast, and number of special votes. $he name and acronym of each party must also be stored. 9ata must be sourced from the spreadsheet section of your proHect. 7ou should test your database by generating queries to find the follo"ing.

). ,.

$he candidate 29, name, se6, age and profession of all candidates from the !eoples 9emocratic @evolution :!9@;. $he candidate name, party acronym, number of electors and number of votes received for candidates in constituencies "ith more than */++ voters and "here the candidates received less than /++ of the votes cast. 'pecial votes e6pressed as a percentage of the overall number of voters in each constituency. 7our query should also sho" the constituency name field. $he percentage should be e6pressed to t"o places of decimal. $he candidates "ho received less than ,+1 of votes in their constituencies. 7our query should sho" the candidate:s; name, party acronym, constituency, number of voters and votes received. All male candidates "ho are less than or equal to 0+ years old and "ho received more than 0+1 of the votes cast in their respective constituencies. 7ou must also sho" the dates of birth, name, number of votes received as "ell as the number of voters. Calculate the sum of the deposits to be refunded to each party :only candidates "ho received ,+ percent or more of votes are eligible for refund;. 'ho" the party name, acronym and sum refunded to each party.

..

0. /.

*.

Fenerate a report "hich lists the final results of the election. $he report should list the constituency, party acronym, number of votes received, se6 and name of candidates. $he report should be sorted by constituency. ithin each constituency the report should be sorted by number of votes received. 2t should also give the total and average number of votes cast in each constituency. $he report should have a t"o#line title as follo"s8 MOfficial @esults $rinbarHam Bational ElectionsI .,rd pr,*ess+'( ). Each candidate must complete and submit a nomination form to the $rinbarHam Elections Commission. 7ou are required to design the nomination form. 2t must allo" for the entry of relevant data on the candidate, including the constituency "hich he intends to contest. $he form must be designed on letter sized paper and must have a +.>I margin on the left and right sides. $he letterhead of the $rinbarHam Elections Commission must be placed at the top. ,. $he results of the national elections must be delivered to every candidate. &sing a suitable feature of your ord !rocessing application, and data from the database section of your proHect, create a document "hich should be mailed to candidates. $he letter should come from the Chairman of the $rinbarHam Elections Commission. $he first paragraph should congratulate and thank the candidate :insert candidate4s name in the letter; for the manner in "hich heAshe conducted hisAher campaign and invite himAher to vie" the complete listing of results.

2nsert the report MOfficial Elections @esultsI from your database into the document at this point. $he final paragraph should congratulate the "inners, and the "inning party. $he chairman should then invite "ho are qualify for a refund to visit the head office of the Commission to collect their deposit payment. 7ou are required to print letters addressed to the first three and last candidate only from your database listing. $he commission4s letterhead should be placed at the head of your document and anappropriate footer inserted. $he te6t in the footer must be center aligned. Pr,&/e)0S,/1+'( ). 9evelop an algorithm or "rite pseudocode to determine the "inning candidate for a constituency in the national elections. $he algorithm must accept as input the names of the four candidates and the number of votes each candidate receives. $he successful candidate is the one "ho received the most votes. !rint the name of the "inner and the number of votes heAshe received. ,. 9esign and e6ecute a trace table that accepts vote data at a polling station in a constituency. 9ata should include special votes, general :valid; votes and spoilt votes. Gotes should be cast for any one of four parties, 9A!, BA, &!M or !9@. $he table should trace the increment of each vote category and determine "hich party secured the maHority of votes. $he table should have at least ten iterations and should end "hen a specific value is entered.

Pr,(ra) I)p/e)e'!a!+,' .. &sing the programming language !ascal, "rite program code to implement the algorithm in :); above.

SAMPLE SBA % Des*r+p!+,' ,2 ! e Pr,3e*! $he citizens of $rinbarHam, a country in the English#speaking Caribbean, are unable to purchase housing for their families, mainly due to the e6tremely high cost of real estate and building materials. Middle and lo" income earners are severely affected. $he government, through its agency, the 5ousing Construction Corporation, has intervened ho"ever, and has embarked on an e6tensive house building e6ercise in three selected parts of the country. Citizens "ere invited to apply for the chance to o"n one of these homes. 7ou are asked to use "ord# processing, spreadsheet and database management applications to design and implement computer#based solutions to ensure that the public is "ell informed of the government4s ne" housing initiative< that an efficient record of applicants4 information is maintained< applicants4 financial income and e6pense commitments are accurately calculated and assessed and that suitably qualified and approved applicants are duly informed. Spreads ee! 5ousing Construction Corporation is a state agency mandated to provide affordable housing for middle and lo" income earners. $he 5ousing Construction Corporation invites applications from nationals "ho are employed and "ho can demonstrate that they "ould be able to meet their mortgage payments each month. Each application must be supported by documents giving details of the applicant4s financial status. $hese include the applicant4s salary and monthly salary deductions. $he amount o"ed to banks and other financial institutions must also be disclosed "ith supporting verifying documents. 2n addition, details of applicants4 monthly e6penses on groceries, utilities, transportation, etc. must be submitted. 5omes are being built to accommodate approved applicants in three communities8 Clarendon Court, 'angre Frande Gillas and !rovidence Fardens. Applicants, "ho are middle and lo" income earners, must meet a net monthly income in order to qualify for consideration in each of these communities8 (),,/++, (E,/++ and (>,/++ respectively. $his net income may be met by the applicant himselfAherself or in conHunction "ith hisAher spouse. 7ou are required to8 ). 9esign a spreadsheet that accepts income data from applicants for each housing community. 7ou may accept at least ten but no more than fifteen applications for each community8
I'*,)e App/+*a'! Michael Names App/+*a'! Sa/ar5 -,/*+.++ Sa/ar5 Ded#*!+,'s ,,,E/.++ Sp,#se Sa/ar5 *,0E+.++ Sa/ar5 Ded#*!+,'s ),>>>./+ Gr,ss I'*,)e )/,+/+.++ Ne! I'*,)e )+,E>>./ + S!a!#s Oualifie d

Monthly deductions from salary include !A7E ta6, health surcharge, union dues and payments to pension plan. Bo ta6 is deducted should the applicant4s salary be (/,+++ or less. A flat rate of -1 is deducted on the amount in e6cess of /,+++. 5ealth surcharge is fi6ed at ()//.++ per month "hile &nion dues are ,1 of salary. !ension deduction is )/1 of salary. 2n a small number of instances, applicants4 spouses are unemployed. 2f the net income meets the qualifying income for the housing community applied for as specified by the 5ousing Construction Corporation, the applicant4s status "ould be MOualifiedI, else MBot qualifiedI should be recorded. All deduction rates are subHect to change. :a; 7ou must enter income data and use appropriate formulae to calculate deductions, gross income, and net income and determine "hether the application qualifies for consideration.

2n another section of your spreadsheet, information on applicants4 loan indebtedness should be recorded and calculated. $otal amounts o"ed "ith respect to bank loans, credit card loans and credit union loans must be revealed.
L,a's T,!a/ L,a' A),#'!s App/+*a'! Michael Names Ba'6 ()/,>-+.+ + Cred+! Card (),)++.++ Cred+! U'+,' ()0,-E+.++ Ba'6 Pa5)e'! ( 0.E.*/ M,'! /5 Pa5)e'!s Cred+! Card Pa5)e'! ()+/.0, Cred+! U'+,' Pa5)e'! ( 0)0.)) T,!a/ L,a' Pa5)e'!s ( E/E.)>

:i; :ii; :iii;

@epayment on bank loans is calculated as equal monthly payments over three years at a simple interest of -1 of the starting loan amount. @epayment on credit card loans is calculated as equal monthly payments over )- months at a simple interest of )+1 of the starting loan amount. @epayment on Credit union loans is calculated as equal monthly payments over three years at a simple interest of /1. An additional (.++.++ is added to the loan repayment amount each month for the purchase of shares in the credit union.

'ome applicants do not have credit cards, and Hust a fe" do not have loans "ith the credit union. A// +'!eres! ra!es are s#&3e*! !, * a'(e$

10

:b;

7ou must enter loan information for each applicant and use appropriate formulae to calculate monthly repayments. 2nsert a column to calculate each applicant4s total monthly payments on loans. 2n an appropriate section of your spreadsheet, information on each applicant4s monthly e6penses must be calculated. Each applicant must provide realistic estimates of monthly e6penses on groceries, utilities :"ater, telephone and electricity;, transportation, and miscellaneous e6penses. A column stating the applicant4s number of dependants must be included. Miscellaneous e6pense is calculated as number of dependants 6 (>/.++

:c;

7ou must enter e6pense information for each applicant. 2nsert a column to calculate each applicant4s total monthly e6penses.

=or each housing community, insert at table "hich lists each applicant4s Bet 2ncome, $otal Monthly Doan @epayments, and $otal Monthly E6penses and %alance. %alance is calculated as Bet 2ncome K sum of @epayments and E6penses. Add a column that states "hether the applicant has been approved or not approved for housing allocation. An application is approved if the %alance is equal to or e6ceeds one half of Bet 2ncome. Create a suitable chart that compares each applicant4s net income, total loan payment, and total monthly e6penses :from the named housing community;. Five an appropriate name to this chart. !rint this chart. 'ave your spreadsheet as L,a'App/+*a!+,' 01. !rint this spreadsheet. ,. $he economy has been further severely affected by international fiscal initiatives. $o adHust to these realities and to offset any losses, banks have increased their interest on loans to )+1 and credit cards companies no" apply an interest of )/1. $he qualifying income on homes ho"ever, has been reduced to ()+,+++, (>,/++ and (/,/++ respectively. Make the necessary changes such that your spreadsheet4s values adHust to these changes. 'ave this spreadsheet as L,a'App/+*a!+,' 02. !rint the spreadsheet "ith adHusted information on applicants for any ONE housing community. .. :a; =or each housing community, sort the applicants4 2ncome information in descending order on net income< Doans information in descending order on total loan payments, and E6penses first in descending order by total e6penses, then by number of dependants. 2n an appropriate part of your spreadsheet, create a table that lists the Bet 2ncome, $otal Monthly Doan !ayments and $otal Monthly E6penses for appr,1ed applicants from ALL ! ree housing communities. Create a suitable chart that compares the financial records of these approved applicants. Bame this chart Appr,1ed App/+*a'!s.

:b;

:c;

'ave your spreadsheet as L,a'App/+*a!+,' 0%.

11

!rint the spreadsheet "ith data from any ONE housing community.

12

Da!a&ase Ma'a(e)e'! ). 2nformation must be maintained on all applicants for housing units. &sing information from your spreadsheet, you are required to design and populate a database "ith applicant data. 7ou may accept at least thirty but no more than forty five applicants. @equired personal information on applicants should include Applicant 29, title, name, se6, address, date of birth, marital status, number of dependants, and telephone number and housing community. Applicant 29 is a five digit number in the format CCC+> "here CCC is any number bet"een )++ and EEE. Applicants must be at least t"enty years old but not older than forty#five. =inancial data on each applicant is also required. $hese include net income, total monthly e6penses, total monthly repayment, and "hether application is approved or not. 9ependant data is a third area of information required in respect of each applicant. $he name of each applicant4s dependant:s; must be submitted. Y,# are re"#+red !,8 :i; :ii; :iii; 9esign and create database tables :files; to meet the required criteria. Appropriate data types Afield "idths are to be used "hen designing the structure of each table. !rint all tables :files; populated "ith appropriate records.

,.

.. 0. /.

Y,#r da!a&ase s ,#/d resp,'d !, ! e 2,//,-+'( "#er+es$ :a; Dist the last name, address :street and to"n;, phone number, net income and number of dependants of all applicants "ho listed Clarendon Court as their choice for housing allocation. Bame this query C/are'd,' App/+*a'!s$ Dist the name, applicant9 and total monthly e6penses of all applicants "hose total monthly loan repayment e6ceed one thousand five hundred dollars. Bame this query L,a'Pa5)e'!. Count the number of persons "ho applied for homes in 'angre Frande Gillas. Bame this query Sa'(reGra'deC,#'!. $he age of the applicant may be a factor in determining housing allocation priority. Dist the name and date of birth of all applicants "ho are bet"een the ages of t"enty and thirty, inclusive. Bame this query T-e'!5!,T +r!5$ !erform a query to add a further ten percent to the salary of !rovidence Fardens4 applicants. Bame this query Pr,1+de'*eGra*e. !rint the table sho"ing !rovidence Fardens applicant4s updated net income.

:b;

:c; :d;

:e;

13

:f;

$he 5CC "ants to kno" the disposable income of Clarendon Court4s applicants. !erform a query "hich subtracts the sum of their total loan payments and total e6penses from their net income. !rint the names loan payment, e6penses and disposable income of each Clarendon Court applicant. Bame this query Ba/a'*e$ !repare a report "hich lists the names of all applicants "hose application have been approved for housing unit allocation. $he report must sho" each applicant4s title, name, applicant29, address, and housing community. $he report should be sorted by community then by last name. =or each grouping level the report must indicate the applicants4 average net income. A grand total of income and load payments and e6penses should be indicated at the end of the report. $he first line of the report title should be Appr,1ed App/+*a'!s.

:g;

.,rd Pr,*ess+'( ). 7ou are to design an application form on "hich nationals may apply to the 5ousing Construction Corporation for housing allocation. $he application form must be designed on letter size paper :PI 6 ))I; using suitable features of a ord !rocessing application. @elevant personal information as "ell as the applicant4s financial information must be solicited. $here should be a space for the applicant4s signature. $he left and right margins of the form must be +.-I $he top and bottom margins must be set to ).+I On the reverse side of the application form you are to design a flyer intended to inform the public about the homes being constructed and the qualifying requirements for each housing community. ,. 2ndividuals "hose applications have been approved must be duly informed by the 5ousing Construction Corporation. rite a letter "hich congratulates successful applicants and informs that their applications have been approved. $he paragraph should contain the statement M!lease find a listing of all applicants "hose applications have been approved. !lease check to ensure that your name is listed8I 2nsert the report named 3Appr,1ed App/+*a'!s4 from the database. A final paragraph should give information about the proposed dates for the formal opening of the housing communities. &sing the mail merge feature of your ord !rocessing program, and data from your database, this letter must be sent from the office of the Chief E6ecutive Officer of the 5CC and addressed to the first four and to the last mentioned approved applicant.

Pr,&/e)0S,/1+'( ). 9evelop an algorithm or "rite pseudocode to determine "hether an applicant is approved for allocation of a home in a named housing community. $he algorithmA pseudocode should accept the name of the applicant and hisAher gross salary as "ell as salary deductions. $he net

14

salary should be calculated. An applicant qualifies if the net salary is above the qualifying salary for that housing community. $he algorithm should then determine "hether the applicant is approved. Approval is granted should the sum of applicant4s e6penses and repayments not e6ceed half of the balance. ,. 9esign and e6ecute a trace table that accepts data for applicants of one housing community. $he table should accept the net salary, total e6pense, and total repayment amount for each applicant. $he balance should be determined. $he approval status should be determined :applicant is approved if balance Q? one half of net income;. $he number of applicants as "ell as the number of approved applicants should be counted. 2n addition the average net income and average balance of approved applicants should be determined.

Pr,(ra) I)p/e)e'!a!+,' .. &sing the programming language !ascal, "rite program code to implement the algorithm in :); above.

15

You might also like