Level 3 Examination for the degree(s) of MEng, BEng, BSc COMPUTER SCIENCE. Artificial Intelligence. Friday, 16th May :30 am - 12:30 pm

Similar documents
Knowledge-Based - Systems

The College Board Redesigned SAT Grade 12

AQUA: An Ontology-Driven Question Answering System

Objectives. Chapter 2: The Representation of Knowledge. Expert Systems: Principles and Programming, Fourth Edition

What the National Curriculum requires in reading at Y5 and Y6

OPTIMIZATINON OF TRAINING SETS FOR HEBBIAN-LEARNING- BASED CLASSIFIERS

Tour. English Discoveries Online

Biome I Can Statements

A Case Study: News Classification Based on Term Frequency

Reading Grammar Section and Lesson Writing Chapter and Lesson Identify a purpose for reading W1-LO; W2- LO; W3- LO; W4- LO; W5-

Python Machine Learning

Loughton School s curriculum evening. 28 th February 2017

Proof Theory for Syntacticians

Let's Learn English Lesson Plan

AGS THE GREAT REVIEW GAME FOR PRE-ALGEBRA (CD) CORRELATED TO CALIFORNIA CONTENT STANDARDS

Formulaic Language and Fluency: ESL Teaching Applications

An Interactive Intelligent Language Tutor Over The Internet

Module 12. Machine Learning. Version 2 CSE IIT, Kharagpur

Mathematics process categories

Heritage Korean Stage 6 Syllabus Preliminary and HSC Courses

Probabilistic Latent Semantic Analysis

Teachers: Use this checklist periodically to keep track of the progress indicators that your learners have displayed.

Answer Key For The California Mathematics Standards Grade 1

IN THIS UNIT YOU LEARN HOW TO: SPEAKING 1 Work in pairs. Discuss the questions. 2 Work with a new partner. Discuss the questions.

Subject: Opening the American West. What are you teaching? Explorations of Lewis and Clark

Compositional Semantics

Sight Word Assessment

UNIT ONE Tools of Algebra

How to Judge the Quality of an Objective Classroom Test

Candidates must achieve a grade of at least C2 level in each examination in order to achieve the overall qualification at C2 Level.

Individual Component Checklist L I S T E N I N G. for use with ONE task ENGLISH VERSION

Derivational: Inflectional: In a fit of rage the soldiers attacked them both that week, but lost the fight.

FOREWORD.. 5 THE PROPER RUSSIAN PRONUNCIATION. 8. УРОК (Unit) УРОК (Unit) УРОК (Unit) УРОК (Unit) 4 80.

GERM 3040 GERMAN GRAMMAR AND COMPOSITION SPRING 2017

CAAP. Content Analysis Report. Sample College. Institution Code: 9011 Institution Type: 4-Year Subgroup: none Test Date: Spring 2011

Language Acquisition Chart

Parsing of part-of-speech tagged Assamese Texts

Rule Learning With Negation: Issues Regarding Effectiveness

Learning Disability Functional Capacity Evaluation. Dear Doctor,

IMPROVING SPEAKING SKILL OF THE TENTH GRADE STUDENTS OF SMK 17 AGUSTUS 1945 MUNCAR THROUGH DIRECT PRACTICE WITH THE NATIVE SPEAKER

Maximizing Learning Through Course Alignment and Experience with Different Types of Knowledge

ELA/ELD Standards Correlation Matrix for ELD Materials Grade 1 Reading

Some Principles of Automated Natural Language Information Extraction

evans_pt01.qxd 7/30/2003 3:57 PM Page 1 Putting the Domain Model to Work

The Common European Framework of Reference for Languages p. 58 to p. 82

Speech Recognition at ICSI: Broadcast News and beyond

Measures of the Location of the Data

National Literacy and Numeracy Framework for years 3/4

MYCIN. The MYCIN Task

DEPARTMENT OF PHILOSOPHY: PER COURSE TEACHING POSITIONS Spring, 2017

Learning Methods for Fuzzy Systems

LANGUAGE IN INDIA Strength for Today and Bright Hope for Tomorrow Volume 11 : 3 March 2011 ISSN

The Short Essay: Week 6

SINGLE DOCUMENT AUTOMATIC TEXT SUMMARIZATION USING TERM FREQUENCY-INVERSE DOCUMENT FREQUENCY (TF-IDF)

SURVIVING ON MARS WITH GEOGEBRA

On Human Computer Interaction, HCI. Dr. Saif al Zahir Electrical and Computer Engineering Department UBC

Theory of Probability

The Internet as a Normative Corpus: Grammar Checking with a Search Engine

Lip reading: Japanese vowel recognition by tracking temporal changes of lip shape

University of Groningen. Systemen, planning, netwerken Bosman, Aart

CROSS COUNTRY CERTIFICATION STANDARDS

LEXICAL COHESION ANALYSIS OF THE ARTICLE WHAT IS A GOOD RESEARCH PROJECT? BY BRIAN PALTRIDGE A JOURNAL ARTICLE

Pre-AP Geometry Course Syllabus Page 1

Information for Candidates

Montana Content Standards for Mathematics Grade 3. Montana Content Standards for Mathematical Practices and Mathematics Content Adopted November 2011

MEDIA OCR LEVEL 3 CAMBRIDGE TECHNICAL. Cambridge TECHNICALS PRODUCTION ROLES IN MEDIA ORGANISATIONS CERTIFICATE/DIPLOMA IN H/504/0512 LEVEL 3 UNIT 22

Visit us at:

Primary English Curriculum Framework

Age Effects on Syntactic Control in. Second Language Learning

Classroom Assessment Techniques (CATs; Angelo & Cross, 1993)

EXPO MILANO CALL Best Sustainable Development Practices for Food Security

POLA: a student modeling framework for Probabilistic On-Line Assessment of problem solving performance

Create A City: An Urban Planning Exercise Students learn the process of planning a community, while reinforcing their writing and speaking skills.

Standards-Based Bulletin Boards. Tuesday, January 17, 2012 Principals Meeting

THE WEB 2.0 AS A PLATFORM FOR THE ACQUISITION OF SKILLS, IMPROVE ACADEMIC PERFORMANCE AND DESIGNER CAREER PROMOTION IN THE UNIVERSITY

ENGBG1 ENGBL1 Campus Linguistics. Meeting 2. Chapter 7 (Morphology) and chapter 9 (Syntax) Pia Sundqvist

While you are waiting... socrative.com, room number SIMLANG2016

A Comparison of Two Text Representations for Sentiment Analysis

ELD CELDT 5 EDGE Level C Curriculum Guide LANGUAGE DEVELOPMENT VOCABULARY COMMON WRITING PROJECT. ToolKit

Developing Grammar in Context

CS 598 Natural Language Processing

Cambridge NATIONALS. Creative imedia Level 1/2. UNIT R081 - Pre-Production Skills DELIVERY GUIDE

Part I. Figuring out how English works

A student diagnosing and evaluation system for laboratory-based academic exercises

Causal Link Semantics for Narrative Planning Using Numeric Fluents

Rule-based Expert Systems

L1 and L2 acquisition. Holger Diessel

MATH Study Skills Workshop

Discriminative Learning of Beam-Search Heuristics for Planning

WORK OF LEADERS GROUP REPORT

Positive turning points for girls in mathematics classrooms: Do they stand the test of time?

Success Factors for Creativity Workshops in RE

Paper Reference. Edexcel GCSE Mathematics (Linear) 1380 Paper 1 (Non-Calculator) Foundation Tier. Monday 6 June 2011 Afternoon Time: 1 hour 30 minutes

Firms and Markets Saturdays Summer I 2014

Content Language Objectives (CLOs) August 2012, H. Butts & G. De Anda

FUZZY EXPERT. Dr. Kasim M. Al-Aubidy. Philadelphia University. Computer Eng. Dept February 2002 University of Damascus-Syria

MADERA SCIENCE FAIR 2013 Grades 4 th 6 th Project due date: Tuesday, April 9, 8:15 am Parent Night: Tuesday, April 16, 6:00 8:00 pm

PHO 1110 Basic Photography for Photographers. Instructor Information: Materials:

Grade 4. Common Core Adoption Process. (Unpacked Standards)

Activity 2 Multiplying Fractions Math 33. Is it important to have common denominators when we multiply fraction? Why or why not?

Transcription:

210CSC306 Exam Time Table Code CSC306 Use of a calculator is permitted Level 3 Examination for the degree(s) of MEng, BEng, BSc COMPUTER SCIENCE Artificial Intelligence Friday, 16th May 2008 9:30 am - 12:30 pm Examiners: Dr I O'Neill Professor E K Burke and the internal examiners All questions carry equal marks Write on both sides of the answer paper Answer FOUR Questions Examination Duration THREE Hours

1. ARTIFICIAL INTELLIGENCE (a) In the late1960s it seemed to some expert observers that computers with humanlike intelligence would be a reality in the twenty-first century. How did contemporary developments in AI research encourage this early optimism and was such optimism concerning AI misplaced? (b) Customer: System: Ehm. Hello. I d like two tickets for the James Bond film tomorrow evening. I m very sorry, evening performances of the latest James Bond movie, Casino Royale, are sold out tomorrow, Friday the thirtieth of May. Would you be interested in two tickets for the evening of Saturday the thirty-first instead? Explain some of the many difficulties that developers have to tackle when they create spoken dialogue systems capable of exchanges such as the one shown above. (c) Declarative programming languages like PROLOG were specifically developed to support logic-based AI application development. Discuss some of the main characteristics and advantages of declarative languages, and consider why other types of programming language are often used in AI application development despite the benefits of the declarative approach. Where appropriate, illustrate your arguments with short fragments of code or pseudocode. (d) A team of town planners has decided on a number of criteria for determining the location of a new housing estate. The basic requirement is that the new estate should be approximately within a fifteen-minute commute from an existing town centre. A potential site will be regarded as very attractive if, in addition to the basic requirement, it is within a range of about 2km of existing convenience stores. A potential site will be extremely attractive if, in addition to the basic requirement, it is less than 1km away from a local primary school. What branch of AI might help in the process of determining a location for the new housing estate? Explain why this approach would be appropriate and indicate the main steps that would be involved in developing an AI solution. Precise calculations are not required, but you should attempt to explain how the decisionmaking criteria outlined above might be incorporated into the solution. Page 2 of 7

2. FUZZY LOGIC (a) (b) (c) (d) A shutter speed selection system for an automatic camera includes the following two inference rules. - If the brightness of the scene is moderate and the subject s motion is slow, shutter speed is slow. - If brightness of the scene is high and the subject s motion is fast, shutter speed is fast. On the basis of these rules, use graphs and a written commentary to explain the processes of fuzzification and defuzzification that will be used to determine the shutter speed in given conditions. Include in your written commentary an explanation of how developers would decide the terminology of the problem domain and why particular membership function shapes would be used. (Detailed calculations are not required.) [8 marks] Fuzzy logic captures the naturally blurred transitions between one category and another. With particular reference to the concepts of short, medium and long distances for car travel, use graphs of fuzzy membership functions and written commentaries to describe how degrees of membership might be used to represent typical human perceptions of distance for car journeys. In what way does the fuzzy approach make for more realistic labelling than classical set theory? Defining the implication operator in fuzzy logic is problematic. Explore the difficulties of translating crisp rules for implication into a fuzzy rule, and outline the strengths (and any outstanding weaknesses) of a working definition of fuzzy implication. Develop your arguments using formulae and graphs as appropriate. [6 marks] The following graph represents an aggregate of clipped time graphs. Use the centroid method to determine a crisp time to be used by a system. Show the formula you use to calculate the centroid and show your working. 0.8 Membership 0.6 0.4 A 0.1 a b 0 10 20 30 40 50 60 70 80 90 100 time Page 3 of 7

3. EXPERT SYSTEMS (a) i) In a population of 200, 17 people have a symptom s, 11 people have a disease d and 9 people with disease d have symptom s. If a person has the symptom s, what is the probability that they have the disease d? Use Bayes theorem for one event and one piece of evidence to calculate your answer. Show your working. ii) Using the generalized form of Bayes theorem and the following information, work out whether an escallonia plant that has yellowing leaves is suffering from a lack of water, or has been attacked by a parasitic fungus flavicillium, or has been damaged by frost. Show your working, giving the probabilities for each scenario. The overall probability of lack of water: 0.2 The overall probability of an attack by flavicillium: 0.05 The overall probability of frost damage: 0.3 The probability of yellow leaves given a lack of water: 0.96 The probability of yellow leaves given an attack by flavicllium: 0.98 The probability of yellow leaves given frost damage: 0.88 (b) (c) (d) A magic square typically comprises nine numbers taken from a continuous sequence and arranged in three rows and three columns. To solve the magic square, it is necessary to arrange the numbers so that the rows, columns and diagonals add up to the same value. With particular reference to the magic square problem, indicate why, in attempting to find a computerbased solution, it is important to adopt an appropriate search strategy. Use diagrams as appropriate to illustrate your arguments. To build a knowledge-based system, developers have to interact with domain experts to work out how specialized decisions are made. Describe this information-gathering process and some of the techniques that are typically used. In implementational terms there is very little difference between depth-first and breadth-first search, yet the choice of strategy can have a significant impact on search efficiency. Using pseudocode and an accompanying commentary, explain how depth-first and breadth-first search are typically implemented, describe the strengths and weaknesses of each strategy, and indicate ways in which the weaknesses can be managed. Page 4 of 7

4. PROPOSITIONAL CALCULUS, PREDICATE CALCULUS AND PROLOG (a) Normalise and where appropriate simplify the following expressions: (i) X Y Z [1 mark] (ii) B A (C A) (b) How might the following statements in predicate calculus most naturally be translated into English: (i) Person born_equal(person) [1 mark] (ii) Right_way to_do_things(right_way) [1 mark] (c) The following Prolog database represents media production teams. % The structure of a media production team takes the form % team(producer, Core_team, Production_assistant). % Core_team is an arbitrarily long list of staff structures, % but excludes the staff structures for Producer and % and Production_assistant. % staff structures represent employees and take the form % staff(surname,initial,file(speciality,grade,cv)). % CV is an arbitrarily long list of titles of media productions. team(staff(lyttleton,h,file(music,3,[my_music,best_tunes,showtime])), [staff(garden,g,file(musical_comedy,2,[on_the_town,my_music])), staff(crier,b,file(musical_comedy,2,[on_the_town,best_tunes]))], staff(brooke-taylor,t,file(music,2,[my_music,best_tunes]))). team(staff(wise,e,file(science,3,[horizon,frontiers,insight])), [staff(morcambe,e,file(science,3,[horizon,leading_edge]))], staff(o_connor,d,file(documentary,2,[horizon,insight]))). team(staff(merton,p,file(variety,2,[showtime,dance,circus])), [staff(smith,p,file(variety,1,[showtime,dance,circus,my_music])), staff(hamilton,a,file(variety,1,[dance,best_tunes]))], staff(steaffel,s,file(comedy,2,[comedians,my_music]))). team(staff(chaplin,c,file(economics,3,[business_review,stock_show])), [staff(keaton,b,file(documentary,3,[business_review,insight])), staff(hardy,o,file(news,3,[news-report,stock_show,target,now])), staff(laurel,s,file(economics,3,[news_report,stock_show,now]))], staff(senate,m,file(news,3,[business_review]))). Given this information, write rules (and any additional predicates required) that can be used to return the following: (i) the initial and surname of any employee whose grade is 1. (ii) the initial and surname of any producer whose team includes 2 employees whose CVs include a production entitled Now. [3 marks] (iii) the initial and surname of the production assistant in a team whose employees grades total 15 or more. (iv) the surnames of employee A and employee B, where employee A and employee B are in different teams, each have Insight in their CV, and each have documentary as their specialism. (d) Using a truth table prove that (A B) = A B. Page 5 of 7

5. DISAMBIGUATION & INFORMATION RETRIEVAL, PATTERN RECOGNITION & NEURAL NETWORKS (a) (b) When ambiguous words are used in combination, selectional restrictions, synsets and hyponomy chains can assist the process of disambiguation. Discuss. [7 marks] The following term-by-document matrix indicates the occurrence of three keywords in three sections of a TV and Radio listings magazine: television radio digital Editor s Foreword 5 3 3 Highlights 16 11 12 Radio Section 1 6 7 How similar is each section to the other two? In each case calculate the degree of similarity and interpret the result. Show your working. [3 marks] (c) (d) Briefly describe the key features of a multilayer perceptron, highlighting in particular how it differs from a simple perceptron in terms of implementation, training and discriminative ability. [7 marks] Plot the data given below in an appropriate feature space. Would the weights w 0 = - 4, w 1 = 1, w 2 = 1 enable a single artificial neuron to classify the data correctly? To support your answer, plot the artificial neuron s decision boundary in your feature space, explaining the significance of the boundary and how its position is determined. Index Class Label x 1 x 2 1 A 0.0 1.0 2 A 1.0 0.0 3 A 1.0 1.0 4 A 1.0 2.0 5 A 2.0 1.0 6 B 3.0 2.0 7 B 4.0 1.0 8 B 4.0 2.0 9 B 4.0 3.0 10 B 5.0 2.0 [3 marks] Page 6 of 7

6. COMPUTATIONAL LINGUISTICS (a) Below is a Prolog implementation of a definite clause grammar. determiner --> [a] ; [some] ; [the]. noun --> [corner] ; [car] ; [rectangle]; [turnip]. noun --> [corners] ; [cars] ; [rectangles] ; [turnips]. adjective --> [fast] ; [tight] ; [new] ; [big] ; [quiet] ; [silent] ; [fresh]. verb --> [rounds] ; [buys] ; [sings]. verb --> [round] ; [buy] ; [sing]. adverb --> [very] ; [quickly] ; [loudly] ; [only]. adjective_phrase --> adjective. adjective_phrase --> adverb,adjective. noun_phrase --> determiner,noun ; determiner,adjective_phrase,noun. verb_phrase --> verb ; verb,noun_phrase. verb_phrase --> adverb,verb ; adverb,verb,noun_phrase. sentence --> noun_phrase,verb_phrase. State how Prolog will respond to the following queries. In each case, analyse the structure of the phrase, explain why the query succeeds or fails, and comment on the adequacy of the grammar and how it might be improved. In your comments, also consider the effect of using very simple syntactic rules when dealing with phrases that also have semantic content. (i)?- phrase(sentence,[the,fast,car,quickly,rounds,the,very,tight,corner]). (ii)?- phrase(sentence,[new,car,big,success,at,show]). (iii)?- phrase(sentence,[a,quiet,rectangle,loudly,sings,the,silent,turnips],rest). (iv)?- phrase(sentence,[buy,only,fresh,local,turnips]). [8 marks] (b) The word need can be pronounced as [n iy d] or, in certain circumstances, as [n iy]. There is a.89 probability that the [iy] sound is followed by [d], and a.11 probability that it ends the word. Assume that other transitions have a probability of 1. Using appropriate labelling for states and transitions, represent this information as a simple weighted automaton. (c) John gave a book to Mary ; John gave Mary a book ; A book was given by John to Mary ; Mary was given a book by John. Explain how grammatical transformations might produce such phrases from a common source. Mary received a book from John is also related to these phrases, but in a different way explain how. (d) Consider the following data (each letter represents a word). SRRRQRSRQQQRRSQSPPSPRRSQPRRQPSQRRQ Use unigram, bigram and trigram models to compute the most probable value for X in the sequence RRX, and, combining models, suggest a most probable value overall. Show and explain your working. Page 7 of 7