





Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Information about an exam held at national university of ireland, galway in 2009/2010. The exam covered topics related to database technologies, including data integrity constraints, relationships, and database security. Exam codes, modules, and instructions for answering specific questions. It is intended for university students preparing for the exam.
Typology: Exams
1 / 9
This page cannot be seen from the preview
Don't miss anything!






Ollscoil na hÉireann, Gaillimh GX_____ National University of Ireland, Galway Semester 1 Examinations, 2009/ Exam Code(s) 2BF 3BC 4BC2, 4BC3, 4BC4, 4BC Exam(s) Bachelor of Science in Business Information Systems Bachelor of Commerce Bachelor of Commerce (International) Module(s) MS218 Database Technologies MS210 Database Systems (repeat candidates only) External Examiner(s) Professor Hans van der Heijden Internal Examiner(s) Dr. Tom Acton Dr. Michael Lang (Internal telephone contact: extension 3515) Instructions Answer Question 5 and any other 2 questions. Duration 2½ hours FOR INFORMATION OF EXAMINATIONS OFFICE ONLY Paper No. 1 of 1 Repeat Paper N/A^ Special Paper N/A No. of Answer Books
Requirements Handout None MCQ None Statistical Tables None Graph Paper None Log Graph Paper None Other Material None No. of Pages 9 Department(s) Accountancy & Finance
g) The great-great-granddaughter of Michael Quinn, who was born in 1832 ( YearOfBirth ) and who lived at 15 Main Street, Drumshanbo, County Leitrim ( HouseNum, Street, TownlandName, County ) at the time of the 1861 census ( CensusYear ) has requested that you produce a list of all the full addresses that he was known to reside at throughout his life. The output should list the census year, house number, street, townland, barony name, and county. You should sort this list in descending order of year. (4 marks) h) Produce a list showing the barony name and total area of all the baronies in County Sligo, excluding the barony of Tireragh ( BaronyName ). [Hint: To calculate the area of a barony, add up the Hectares of all townlands located within that barony. Use a grouped query.] (4 marks) i) What is the name ( BaronyName) and size in hectares of the largest barony in County Westmeath? [Hint: See query (h) ]. (4 marks) j) List the names of all townlands and the baronies and counties within which they are located, where the Gaelic name of the townland ( GaelicName ) contains the word “Muileann” or “Mhuilinn” (meaning a mill) anywhere in the name, and there was at least one person resident in that townland at the time of the 1881 census ( CensusYear ) whose listed occupation was a “Miller” or “Flour Merchant” ( Occupation ). The query results should be sorted in ascending order of county followed by ascending order of barony and townland name. No row should be listed more than once in the output i.e. eliminate duplicate rows. [Hint: Use pattern matching on the GaelicName field] (5 marks)
k) For all of the counties of Ireland at the time of the 1911 census ( CensusYear ), list the name of the county and the number of persons resident in that county who could speak Irish. In your output, the second column should be titled NumIrishSpeakers. Exclude counties where the number of Irish speakers is less than 250. The output of the query should be sorted firstly by descending order of the NumIrishSpeakers column, then by ascending order of County name. [Hint: Use a query which counts the applicable records based on the CanSpeakIrishYN field in the PersonalCensusData table, grouping the output by the County field] (5 marks) l) For all of the baronies in County Tipperary, list the name and total population of that barony in 1841 and 1851, as well as the change in population. The column headings should be labelled County , Pop1841 , Pop1851 , PopChange. [Hint: Create two separate views, one for 1841 and one for 1851 ( CensusYear ), which count the applicable records in the PersonalCensusData table, grouping the output by the BaronyName field. You can then link the two views together by joining them on the BaronyName field, and subtract the value of Pop from Pop1851 to compute the PopChange .] (5 marks) m) John O’Gara, whose father of the same name was born in Roscommon ( PlaceOfBirth ) in 1898 ( YearOfBirth ), wants to find out the places of birth, years of birth, and names at birth ( FirstName , LastNameAtBirth ), of his paternal grandparents i.e. his father’s mother and father. [Hint: One way of doing this is to firstly create a view showing PersonID and all that person’s mother’s details, and to create a separate view which shows PersonID and that person’s father’s details. Both views would need to be based on queries which implement the appropriate recursive relationship. The two views could then be linked together in the final output query] (6 marks) (Total marks for Question 5: 50 marks) Suggested time: 80 minutes