8 Pages

2003AImidterm

Course: CS 416, Fall 2008
School: UVA
Rating:
 
 
 
 
 

Word Count: 1159

Document Preview

416, CS Artificial Intelligence Midterm Examination Spring 2003 Name:__________________________ This is a closed book, closed note exam. The standard problem is worth 3 points and problems 7, 10, 13, 14, 23, and 27 are worth double points. Introductory Material 1) When did artificial intelligence begin as a pursuit of computer science? a) 1930s b) 1950s c) 1970s d) 1990s 2) What is a satisficing solution? 3)...

Register Now

Unformatted Document Excerpt

Coursehero >> Virginia >> UVA >> CS 416

Course Hero has millions of student submitted documents similar to the one
below including study guides, practice problems, reference materials, practice exams, textbook help and tutor support.

Course Hero has millions of student submitted documents similar to the one below including study guides, practice problems, reference materials, practice exams, textbook help and tutor support.
416, CS Artificial Intelligence Midterm Examination Spring 2003 Name:__________________________ This is a closed book, closed note exam. The standard problem is worth 3 points and problems 7, 10, 13, 14, 23, and 27 are worth double points. Introductory Material 1) When did artificial intelligence begin as a pursuit of computer science? a) 1930s b) 1950s c) 1970s d) 1990s 2) What is a satisficing solution? 3) Who was greatly involved with British efforts to build computers and crack codes during WWII? 4) We can view an agent as a function that maps one thing to another. What terms could be used to describe the inputs and the outputs of the agent function, f(x) = y x= y= 5) If the state at the next instant in time depends *only* on the state at the current time, the task environment is said to be ________________? a) episodic b) stochastic c) Markovian d) linear e) dynamic 6) Who won the most recent human vs. computer chess competition? a) the human b) the computer c) it finished in a draw Uniformed Search 7) Route planning: A network of roads connects n cities. You must find a path from a given start city to a given goal city along these roads. state: current location (city) goal test: are we at the goal city? operator: traveling from one city to another along a road in the network path cost: total distance traveled (a) Depth-limited search a. Can this search be used on this problem? __________ If not, why not? b. If so, what is an appropriate depth limit? c. Is this search complete for this problem? d. Is this search optimal for this problem? (b) Breadth-first search: a. Can this search be used on this problem? __________ __________ __________ __________ If not, why not? b. Is this search complete for this problem? c. Is this search optimal for this problem? __________ __________ 8) Given the following state tree: (0) / \ (1) (2) / \ / \ (3)(4) (5)(6) i.e., state (0) expands to (1) & (2), state (1) to (3) & (4), and state (2) to (5) & (6). And the BFS and DFS implementation are such that the fringe would look like {(1), (2)} after expanding (0). *Note the fringe is an ordered list* If a search problem starts at state (0), after expanding the first (and only) search node, the fringe looks like {(1), (2)}, implying that (1) will be the next search state expanded. (a) For BFS, what would the fringe look like after expanding state (1)? (b) For DFS, what would the fringe look like after expanding state (1)? 9) Why would iterative-deepening search be preferred over breadth-first search? Circle the one most appropriate: completeness, optimality, time complexity, space complexity. 10) For each of the problem descriptions below, state one search procedure that should be used and one that should be avoided: depth-first, breadth-first, depth-limited, and iterative deepening. Very briefly explain your answers: a) There are loops (cycles) in the state-space description Use: Avoid: b) The depth of the solution is unknown. Use: Avoid: c) Very limited memory is available Use: Avoid: Informed Search 11) What is an admissible heuristic? 12) What is a consistent heuristic? 13) Consider the 15-puzzle problem. Is the following heuristic admissible, yes or no: The MisplacedTiles heuristic using only the first 15 tiles (potentially including the blank). Stated another way, the MisplacedTiles heuristic ignores the state of the bottom, right tile. 14) Answer True or False and provide a one-sentence explanation: The "Manhattan Distance" is in fact an admissible heuristic for finding the shortest path through Manhattan. (Hint: Broadway crosses Manhattan on a diagonal.) 15) is Why local beam search not simply parallel hill-climbing search? 16) Simulated annealing relies on a temperature, T, to be correctly set in order to find a global optimum with a probability approaching 1.0. What effect does T have on the actions of simulated annealing? 17) What are the two primary operations in genetic algorithms that are used to create a new generation of samples? 18) Suppose we want to use the A* algorithm on the graph below to find the shortest path from node S to node G. Each node is labeled by a capital letter and the value of a heuristic function. Each edge is labeled by the cost to traverse that edge. For this problem: Perform the A* algorithm on this graph, filling in the table below. You should not need all the lines in the table. Indicate the f, g, and h values of each node on the queue as shown in the first two rows of the table. You need not write the contents of the (priority) queue in order in the table. Assume that if you find a path to a node already on the queue that you update its cost (using the lower f value) instead of adding another copy of that node to the queue. Show the path found by the A* algorithm on the graph above. node expanded S Priority queue at end of this iteration S = 0 + 6 = 6 (i.e. S = g(S) + h(S) = f(S)) A = 2 + 4 = 6; B = 3 + 4 = 7 iteration 0 1 2 3 4 5 6 7 8 9 10 19) Suppose we run the A* algorithm using a heuristic that is admissible but not consistent. a) Is A* still going to return the shortest path of all successful paths? _________ b) Why? c) If it is still going to return the shortest path of all successful paths, then why do we care about consistent heuristics? 20) Assume heuristic A dominates heuristic B. a) Why is it better to use A with A*? Include a definition of what domination means in this context. (extra credit) If A is admissible, is B admissible as well? Adversarial Search 21) How does your game playing change if you know you are playing against a suboptimal opponent? 22) The horizon effect is a challenge for game playing algorithms. What is it and how would you take advantage of this weakness in an opponent? 23) Perform alpha-beta minimax search on the tree b...

Find millions of documents on Course Hero - Study Guides, Lecture Notes, Reference Materials, Practice Exams and more. Course Hero has millions of course specific materials providing students with the best way to expand their education.

Below is a small sample set of documents:

UVA - CS - 416
Convergent Learning in Neural Networks Assignment due: December 10th at 11:59:59 p.m.There are some neural network topologies (connections between neurons) that fail to produce correct output for a given problem no matter what settings are made to t
UVA - CS - 416
HMM Example Point to stress about HMMsCS 416 Artificial IntelligenceLecture 26 Review / Movies There need not be a correlation between real states and the HMM states Example: modeling a coin tossThree-state HMM Modeling a coin tossFinal E
UVA - BIOCHEM - 503
Protein modications 1Protein acetylationJeffrey S. SmithTypes of protein modications Phosphorylation Acetylation Methylation Ubiquitylation ADP-ribosylation Sumoylation Neddylation Glycosylation Nitrosylation1AcetylationO CH3Acetyl group
UVA - BIO - 201
Lecture #16 10/10 Dr. WormingtonRecombination Freq. 206+185/2300 =0.17 (17%) How Far Apart Are B & Vg? T.H. Morgan 1st to Construct a Genetic Map Using Recombination Frequencies 1 Map Unit = Recombination Frequency of 0.01 (1%) = 1 centiMorgan (c
UVA - MUSI - 162
MUSI 162 - SyllabusContact InformationWilliam E. Pease pease@virginia.edu Cavalier Bands Office Onesty Hall - 3rd Floor 434.982.5347 OH: M/W 3-5 pm Andrew Koch akoch@virginia.edu Cavalier Bands Office Onesty Hall - 3rd Floor 434.982.5347 OH: M/W 9:
UVA - MSE - 524
PHYSICAL REVIEW BVOLUME 61, NUMBER 21 JANUARY 2000-IILocally activated Monte Carlo method for long-time-scale simulations M. Kaukonen, J. Perajoki, and R. M. NieminenLaboratory of Physics, Helsinki University of Technology, P.O. Box 1100, FIN
UVA - CS - 662
Chapter1Introduction to Object-Relational Database DevelopmentOverviewThis book describes the Object-Relational Database Management Systems (ORDBMS) technology implemented in the INFORMIX Dynamic Server (IDS) product, and explains how to use it.
UVA - CS - 453
Client-side Verification of Credit Card Payment Information CS453 Electronic Commerce Fall 2007 Homework #2 JavaScriptAssigned: Thursday, September 13, 2007 Due: by 2pm Thursday, September 27, 2007 via Collab Instructions: Work individually or in a
UVA - CS - 494
CS 494 Object-Oriented Analysis & Design Interaction Diagrams Examples of Collaboration and Sequence Diagrams 2001 T. Horton10/17/01H-1Dynamic Views in UML Class diagrams are models of data types What non-fundamental types are you using? H
UVA - CS - 453
CS 453 Electronic Commerce Technologies Fall 2007 Homework # 4 PHP-based E-StoreAssigned: Sunday, October 28, 2007 Due: Tuesday, November 20, by midnight that evening via electronic submission Credit: 100 points Instructions: You may work in teams
UVA - CS - 494
CS 494 Object-Oriented Analysis & Design On to DesignReminder: Analysis models Earlier we modeled requirements using. Class Diagrams: Known as the Conceptual Model Sometimes known as the logical model. Classes represent domain-level entities. (
UVA - CS - 390
CS290/390: Ethics Case Studies (Feb. 9, 2006)Adopted from Michael Quinns Ethics for the Information Age, 2/e. (Addison-Wesley, 2006) Class activity: The instructor will explain about reading one or more of the cases below and discussing with fellow
UVA - CS - 494
Java Foundation Classes Java Swing, EventsReadings: Just Java 2: Chap 19 & 21, or Eckel's Thinking in Java: Chap 14Slide credits to CMPUT 301, Department of Computing Science University of AlbertaSwing Portable API: The appearance and behavior
UVA - CS - 494
Using Rational Rose to Create Object-Oriented DiagramsThis is a brief overview to get students started in using Rational Rose to quickly create object-oriented models and diagrams. It is not by any means a complete introduction to Rational Rose, but
UVA - CS - 305
CS305, HCI in Software Engineering (formerly Usability Engineering) Beginning of Course Memo for Fall 2008 (version 1.0)Instructor: Dr. Tom Horton. horton(at)cs.virginia.edu 982-2217 Office Hours: MW 3-4:30pm, TTh 1-2pm Class Web site: http:/www.cs.
UVA - CS - 494
CS494 Interfaces and Collection in JavaJava Interfaces Note that the word interface Is a specific term for a language contstruct Is not the general word for communication boundary Is also a term used in UML (but not in C+)1/20/03A2-11/20/
UVA - CS - 305
The Challenge of Designing Interfaces for the Tablet PCPage 1 of 4http:/www.devx.comPrinted from http:/www.devx.com/TabletPC/Article/21302The Challenge of Designing Interfaces for the Tablet PCDesigning a usable interface for a Tablet PC pro
UVA - CS - 494
CS 494 Object-Oriented Analysis & Design UML Class ModelsOverview How class models are used? Perspectives Classes: attributes and operations Associations Multiplicity Generalization and Inheritance Aggregation and composition Later: How to
UVA - CS - 494
CS 494 Adv. SW Design and DevelopmentA Tasting. Course 1: Design patterns: Intro, example Course 2: Inheritance, Interfaces, OO DesignReading Assignment Read for understanding (code if it helps) Basic Java program structure Classes and files;
UVA - CS - 494
CS 494 Object-Oriented Analysis & Design Evaluating Class Diagrams Topics include: Cohesion, Coupling Law of Demeter (handout) Generalization and specialization Generalization vs. aggregation Other aggregation issuesCohesion How diverse are
UVA - CS - 494
CS 494 Object-Oriented Analysis & Design Using PARTS to Illustrate Requirements ConceptsExamples based on PARTS Proposed software system: Project Artifact Report Tracking System (PARTS) PARTS' concept is very similar to commercial defecttracking
UVA - CS - 494
CS 494 Object-Oriented Analysis & Design Software Architecture and DesignReadings: Ambler, Chap. 7(Sections 7.1-7.3 to start - some of this is on detailed design.)What is Design? Specification Is about What, and Design is the start of the How I
UVA - CS - 494
CS 494 Object-Oriented Analysis & Design Design PatternsReadings Chapter 1 of GoF book Especially pp. 1-10, 24-26 I'll get this to you (toolkit, reserve, Web?) Eckel's Thinking in Patterns, on Web Chap. 1, "The pattern concept" Chap. 5, "Fac
UVA - CS - 494
CS 494 Object-Oriented Analysis & Design Course IntroductionDr. Tom Horton Email: horton@virginia.edu Phone: 982-2217 Office Hours: Mon. & Wed., 3:30-5 p.m. and Thur. 2-3:30 (or by appointment) Office: Olsson 228B 2001 T. HortonCourse Overview O
UVA - CS - 494
CS 494 Object-Oriented Analysis & Design Requirements and Use CasesBTW. Specification Documents Steven McConnell (IEEE Software, Oct. 2000) says any of the following are called "requirements document": Half-page summary of software product vision
UVA - CS - 494
Chuck Allison Featurehttp:/www.cuj.com/sub/special.htmlWhat's New in Standard C+ by Chuck AllisonStandard C+ is finally real, after nine years in the making. Chuck supplies a quick guided tour of the end result. Its official! On July 20, 1998, a
UVA - CS - 390
Computer Architecture in an Era of Multi-Core ChipsKevin Skadron Univ. of Virginia Dept. of Computer Science LAVA LabA New Era of Multi-Core Architectures 2006, Kevin Skadronvs. 2006, Kevin SkadronSource: Chrostopher Reeve Homepage, http:/
UVA - CS - 305
CS305: Introducing Evaluation Readings: from IDbook: Sections 12.1, 12.2, 12.3, 12.5 Section 12.4: definitely 12.4.3 and 12.4.4 Assignment: HW1: Evaluation Homework (more info here in these slides)Where We Are. We've covered: Usability goal
UVA - EVSC - 466
Map Projections Posterhttp:/mac.usgs.gov/mac/isb/pubs/MapProjections/projections.html| The Globe | Mercator | Transverse Mercator | Oblique Mercator | Space Oblique Mercator | | Miller Cylindrical | Robinson | Sinusoidal Equal Area | Orthographic
UVA - LAW - 0708
MORTGAGE MARKET SENSITIVITY TO BANKRUPTCY MODIFICATION ADAM J. LEVITIN JOSHUA GOODMAN ABSTRACTBankruptcy has traditionally been one of the primary mechanisms used for sorting out consumer financial distress. The bankruptcy system, however, has been
UVA - LAW - 0607
State Court Debt Collection in the Old Dominion: Too Broke for Bankruptcy? Richard M. Hynes January 25, 2007 DRAFT- PLEASE DONT QUOTE OR CITE Virginia, with a population of approximately seven million, has averaged more than a million civil filings a
UVA - ASSIGN - 312
Assignment 8Problem 11. Fundamental constants from LED data. In class, we measured the threshold voltage to get appreciable light from various LEDs (red, yellow, green, blue). Use these data to obtain a rough estimate of h=e, assuming that all the
UVA - PHYS - 524
Gravitation and CosmologyLecture 8: Variational methods in mechanics and E&MVariational methods in mechanics and E&MElectrodynamics in Minkowski space Recall we found the equation of motion of a particle in a Lorentz vector field dp = QU F d wher
UVA - PHYS - 252
The Uncertainty PrincipleMichael Fowler University of Virginia Waves are Fuzzy As we have shown for wavepackets, the wave nature of particles implies that we cannot know both position and momentum of a particle to an arbitrary degree of accuracyif
UVA - PHYS - 252
The Lorentz TransformationsMichael Fowler, UVa Physics. 2/26/08 Problems with the Galilean Transformations We have already seen that Newtonian mechanics is invariant under the Galilean transformations relating two inertial frames moving with relativ
UVA - ASSIGN - 312
1. Explain why a transient current flows when you touch a piece of n-type semiconductor to a piece of p-type semiconductor. What is the direction of current flow? What stops the current after a while? Similar questions are in Bloomf ield, p. 439. Som
UVA - ASSIGN - 11
Assignment 11 - Problem 1Detection of plastic explosives. Plastic explosives are a favorite of terrorists due to the difficulty of detecting them. These explosives tend to contain large quantities of nitrogen. In order to detect the explosive, suppo
UVA - ASSIGN - 312
Assignment 11 - Problem 1Detection of plastic explosives. Plastic explosives are a favorite of terrorists due to the difficulty of detecting them. These explosives tend to contain large quantities of nitrogen. In order to detect the explosive, suppo
UVA - ASSIGN - 312
Assignment 10Problem 2The plasma frequency and the ionosphere. (a) Note that eq. (4.34) in Melissinos becomes equivalent to eq. (4.42) or (4.44) in the appropriate limit. What is this limit and what does it mean physically? (b) The plasma frequenc
UVA - ASSIGN - 312
Assignment 8Problem 4Fourier series. (a) Derive the Fourier series for the square wave of period 2, defined by the periodic repetition of +1 if 0 < x ; f (x) = 1 if < x < 0: Note that f (x) is discontinuous at x = 0 and at x = . In this case,
UVA - ASSIGN - 312
Assignment 11 - Problem 2Solar temperatures. Here we will try to estimate some relevant temperatures in the sun. Assume you start with an initially diffuse cloud of hydrogen and helium atoms (initially at rest), which subsequently collapse under its
UVA - ASSIGN - 312
Assignment 10Problem 44. Lifetime of the sun. The flux of radiant energy from the sun at the surface of the earth is approximately 1:4 kW=m2 . (a) From this estimate the total power produced by nuclear reactions in the sun; from your knowledge of
UVA - ASSIGN - 312
Assignment 9Problem 5Applied diffraction. (10 points) One important physical limitation on the resolving power of an antenna is diffraction. Under ideal conditions: (a) From how high can an eagle see a mouse on the ground? (b) A diffraction-limite
UVA - ASSIGN - 312
Assignment 9Problem 3Phased antenna arrays and diffraction. (10 points) Obtain the radiation pattern shown in a `polar plot' by Melissinos in Fig. 4.4(b) and the corresponding `straight' plot of the time-averaged dP=d- versus angle , as shown in t
UVA - ASSIGN - 11
Assignment 11 - Problem 3List three radioactive nuclides that naturally occur (in easily detectable amounts) on Earth today. What are the half-lives of these nuclides? How did they originate? At least one of them should have a half-life of less than
UVA - ASSIGN - 312
Assignment 11 - Problem 3List three radioactive nuclides that naturally occur (in easily detectable amounts) on Earth today. What are the half-lives of these nuclides? How did they originate? At least one of them should have a half-life of less than
UVA - ASSIGN - 312
Assignment 9Problem 1Fourier integrals. (8 points) Suppose that an EM pulse is described by the Gaussian function 2 2 1 f(t) = p et =2 : 2 2 (a) Calculate the Fourier transform F (!) of the function f(t). If you use MAPLE, remember to say assume(s
UVA - ASSIGN - 312
Assignment 8Problem 55. Power spectrum. Here we combine the results of problems 3 and 4. (a) What is the normalized power spectrum of the square wave Vin f (!t)? (b) If the square wave is passed through the filter of problem 3a, what is the output
UVA - ASSIGN - 312
" Lq d ghvnwrs hohfwurvwdwlf dlu fohdqhu/ dlu lv gulyhq wkurxjk wkh fhoo e| d idq wkdw gudzv , ` +zkhq vhw dw kljk,1 Wkh furvv vhfwlrqdo glphqvlrqv ri wkh fhoo duh 2D U4 e| D U41 Qhjohfwlqj orvvhv/ |rx fdq frpsxwh wkh vshhg ri dlu iorz/ / iurp wkhvh
UVA - ASSIGN - 312
Assignment 8Problem 22. Circuit parameters. A general circuit is characterized by the three quantities R, C, L. (a) What are the dimensions of these quantities in the SI? Optional: what are their dimensions in the gaussian system (they are a lot s
UVA - CS - 588
The Eternity ServiceRoss J. AndersonCambridge University Computer Laboratory Pembroke Street, Cambridge CB2 3QG Email: ross.anderson@cl.cam.ac.ukAbstract. The Internet was designed to provide a communications channel that is as resistant to denia
UVA - PHYS - 106
How Things Work II(Lecture #15)Instructor: Gordon D. Cates Office: Physics 106a, Phone: (434) 924-4792 email: cates@virginia.eduCourse web site available through COD and Toolkit or at http:/people.virginia.edu/~gdc4k/phys106/spring07February 19
UVA - PHYS - 106
Physics 106 - How Things Work II Course Information - Spring 2007Instructor: Text: Lectures: Oce hours: Gordon D. Cates - Professor of Physics and Radiology Oce: Physics 106A, Phone: (434) 924-4792, email: cates@virginia.edu Bloomeld, How Things Wor
UVA - PHYS - 111
Energy on this World and Elsewhere26 August 2008Preliminaries and course infoEnergy is a word that we encounter in many diverse contexts. It is a term that we encounter in newspapers, a subject that is addressed by politicians, and even an attrib
UVA - PHYS - 106
Physics 106 - How Things Work II - Tentative Syllabus for Spring 2007Lecture DATE Laws of Motion I 1 W 1/17 2 F 1/19 3 M 1/22 Laws of Motion II 4 W 1/24 5 F 1/26 6 M 1/29 7 W 1/31 8 F 2/2 Electricity 9 M 2/5 10 W 2/7 11 F 2/9 12 M 2/12 Magnetism and
UVA - PHYS - 106
Physics 106 - How Things Work II - Spring 2007 Tips for Submitting Homework via E-Class1. You must be registered for Physics 106 to enter the E-Class Site. 2. If you have recently "added-in", it may take a day or so for us to add you to the E-class
UVA - PHYS - 106
Physics 106 - How Things Work II - Spring 2007 Quiz #1 February 12, 2007 Cover PagePLEASE DO NOT LOOK AT THE CONTENTS OF THIS QUIZ, OTHER THAN THIS COVER PAGE, UNTIL TOLD TO DO SO. This quiz is closed book, closed notes, and silent. You ma
UVA - PHYS - 111
Physics 111 - Energy On This World and Elsewhere - Fall 2008 Problem Set #3 with solutionsAssigned: 23 November 2008, Due: 23:59pm, 30 November 2008 Please nd below homework assignment #3. Where appropriate, you should try to show your work if you
UVA - PHYS - 111
Physics 111 - Energy On This World and Elsewhere - Fall 2008 Problem Set #2Assigned: 22 October 2008, Due: 23:59pm, 29 October 2008 Please nd below homework assignment #2. In general, you should try to show your work. Otherwise, it will not be possi
UVA - PHYS - 111
Physics 111 - Energy On This World and Elsewhere - Fall 2008 Problem Set #1Assigned: 15 September 2008, Due: 23:59pm, 23 September 2008 Please find below the first homework assignment. While you may begin work on the assignment right away, you will