Lisp: Case Study ref: Lisp (3 rd Ed) Winston & Horn (Chapter 6) Donald F. Ross

Size: px
Start display at page:

Download "Lisp: Case Study ref: Lisp (3 rd Ed) Winston & Horn (Chapter 6) Donald F. Ross"

Transcription

1 Lisp: Case Study ref: Lisp (3 rd Ed) Winston & Horn (Chapter 6) Donald F. Ross

2 Lisp: Case Study Exercise build a library system object: book collection:library title / author / class (attributes) data abstraction constructor (make) (sound familiar?) reader (get) writer (set) Program clichés (patterns) 2

3 Lisp: Case Study: the answer! (defun make book (title author class) (defun baw (book author) (list (list 'title title) (if (eql 'author (first (first book))) (list 'author author) (cons (list 'author author) (rest book)) (list 'class class) )) (cons (first book) (baw (rest book) author))))) (defun book title (book) (second (assoc 'title book)) ) (defun book author (book) (second (assoc 'author book)) ) (defun book class (book) (second (assoc 'class book)) ) (defun fictionp (book) (member 'fiction (book class book)) ) (mapcar # <function> books) ; apply <function> to each element (remove if # <predicate> books) ; filter (find if # <predicate> books) ; find first (count if # <predicate> books) ; count 3

4 Lisp: Case Study: Comments Database A B C D E a b c d e x x Selection & projection Goals introduce Constructors Readers Writers Filters Find Count Functional thinking mapcar 4

5 Lisp: Case Study Design Aspects Association list Contains sub lists: symbol (key) + value (setf sarah ((height 1.65) (weight 65))) ((height 1.65) (weight 65)) Retrieval is performed by (assoc <key> <association list>) (assoc weight sarah) (weight 65) (second (assoc weight sarah)) 65 Advantages of a reader The data structure can be changed Only the (internal) code for the reader need be changed The functionality remains the same book author: book author You all knew that! 5

6 Lisp: Case Study (setf book ex2 ( (title (Artificial Intelligence )) ; Title (author (Patrick Henry Winston)) ; Author (class (Technical AI )) ) ; Class ) Find the title (second (assoc title book ex2)) Find the author (second (assoc author book ex2)) Find the class (second (assoc class book ex2)) Which can be generalised (defun find (key object) (second (assoc key object))) (find title book ex2) (Artificial Intelligence) ; definition ; call 6

7 Lisp: Case Study reader readers define a reader for each key (attribute) (setf book ex2 ( (title (Artificial Intelligence )) ; Title (author (Patrick Henry Winston )) ; Author (class (Technical AI )) ) ; Class ) (defun book author (book) (second (assoc author book)) (defun book title (book) (second (assoc title book)) (defun book class (book) (second (assoc class book)) function name parameter function body Application (function call): (book author book ex2) Value (application result): (Patrick Henry Winston) 7

8 Lisp: Case Study constructor Constructor (note: literal symbols & parameter VALUES) (defun make book (title author class) (list (list title title ) (list author author ) (list class class ))) >(setf book ex4 ; NB this is a writer (setter) (make book (Common Lisp) (Guy Steele) (Technical Lisp))) result: ((title (Common Lisp)) (author (Guy Steele)) (class (Technical Lisp))) 8

9 Lisp: Case Study constructor the constructor may be used in a writer or to create a DB of books (setf book ex make book( )) ; writer (list (make book ( ) (make book ( ) ) ; create DB This list can in turn be Transformed list of author names Filtered according to some predicate All fiction books ; selection (row) All authors ; projection (col) 9

10 Lisp: Case Study writer Writers >(setf book ex4 (make book '(Common Lisp) '(Guy Steele) '(Technical Lisp)) ) ((TITLE (COMMON LISP)) (AUTHOR (GUY STEELE)) (CLASS (TECHNICAL LISP))) >(defun book author writer (book author) (if (eql 'author (first (first book))) (cons (list 'author author) (rest book)) (cons (first book) (book author writer (rest book) author))) ) >(setf book ex4 (book author writer book ex4 '(Guy L Steele))) ((TITLE (COMMON LISP)) (AUTHOR (GUY L STEELE)) (CLASS (TECHNICAL LISP))) 10

11 Lisp: Case Study: Book Collection The Library Artificial Intelligence Patrick Henry Winston Technical AI Common Lisp Guy L Steele Technical Lisp Moby Dick Herman Melville Fiction Tom Sawyer Mark Twain Fiction The Black Orchid Rex Stout Fiction Mystery 11

12 Lisp: Case Study projection >(defun list authors (books) (if (endp books) nil ; empty list (cons (book author (first books)) ) ) >(list authors books) ; head / tail (list authors (rest books)) ) ; (cons A B) ((PATRICK HENRY WINSTON) (GUY L STEELE) (HERMAN MELVILLE) (MARK TWAIN) (REX STOUT)) 12

13 Lisp: Case Study selection Find all the books in class fiction >(defun book class (book) (second (assoc 'class book))) >(book class (third books)) (fiction) >(defun fictionp (book) (member 'fiction (book class book)) ) >(fictionp (third books)) (fiction) Now use a programming cliché 13

14 Lisp: Case Study selection >(defun list fiction books (books) (cond ((endp books) nil) ; empty list? ((fictionp (first books)) ; is fiction? (cons (first books) ; yes include (list fiction books (rest books)))) (t (list fiction books (rest books))) )) ; otherwise ; no omit ; (1) empty list (2) first book is fiction (3) default (t = true) cond is if (A) expra elsif (B) exprb else expr_default (logical switch!) (cond (predicate1 expr1) (predicate2 expr2) (t expr_default)) 14

15 Lisp: Case Study selection >(list fiction books books) (((TITLE (MOBY DICK)) (AUTHOR (HERMAN MELVILLE)) (CLASS (FICTION))) ((TITLE (TOM SAWYER)) (AUTHOR (MARK TWAIN)) (CLASS (FICTION))) ((TITLE (THE BLACK ORCHID)) (AUTHOR (REX STOUT)) (CLASS (FICTION MYSTERY)))) >(length (list fiction books books)) ;how many? 3 15

16 Lisp: Case Study apply all Lisp provides primitives to perform these actions (remove (filter), count & find (first)) mapcar apply a function to each list element (mapcar # oddp (1 2 3)) (T NIL T) List authors now becomes >(mapcar # book author books) ((PATRICK HENRY WINSTON) (GUY L STEELE) (HERMAN MELVILLE) (MARK TWAIN) (REX STOUT)) 16

17 Lisp: Case Study count Counters: count if / count if not >(count if # fictionp books) 3 >(count if not # fictionp books) 2 17

18 Lisp: Case Study find/remove Finders: find if / find if not finds the first occurrence Filters: remove if / remove if not >(find if # fictionp books) ((TITLE (MOBY DICK)) (AUTHOR (HERMAN MELVILLE)) (CLASS (FICTION))) >(find if not # fictionp books) ((TITLE (ARTIFICIAL INTELLIGENCE)) (AUTHOR (PATRICK HENRY WINSTON)) (CLASS (TECHNICAL AI))) >(remove if # fictionp books) (((TITLE (ARTIFICIAL INTELLIGENCE)) (AUTHOR (PATRICK HENRY WINSTON)) (CLASS (TECHNICAL AI))) ((TITLE (COMMON LISP)) (AUTHOR (GUY L STEELE)) (CLASS (TECHNICAL LISP)))) >(remove if not # fictionp books) (((TITLE (MOBY DICK)) (AUTHOR (HERMAN MELVILLE)) (CLASS (FICTION))) ((TITLE (TOM SAWYER)) (AUTHOR (MARK TWAIN)) (CLASS (FICTION))) ((TITLE (THE BLACK ORCHID)) (AUTHOR (REX STOUT)) (CLASS (FICTION MYSTERY)))) 18

19 Lisp: Case Study: final version (defun make book (title author class) (defun baw (book author) (list (list 'title title) (if (eql 'author (first (first book))) (list 'author author) (cons (list 'author author) (rest book)) (list 'class class) )) (cons (first book) (baw (rest book) author))))) (defun book title (book) (second (assoc 'title book)) ) (defun book author (book) (second (assoc 'author book)) ) (defun book class (book) (second (assoc 'class book)) ) (defun fictionp (book) (member 'fiction (book class book)) ) (mapcar # <function> books) ; apply <function> to each element (remove if # <predicate> books) ; filter (find if # <predicate> books) ; find first (count if # <predicate> books) ; count 19

20 Lisp: Case Study Lisp constructs primitive functions first, rest association list (assoc) setf mapcar remove if remove if not find if find if not count if count if not Clichés (patterns) Constructor Reader Writer Filter Find Count Apply function to each list element (mapcar) 20

AllegroCache Tutorial. Franz Inc

AllegroCache Tutorial. Franz Inc AllegroCache Tutorial Franz Inc 1 Introduction AllegroCache is an object database built on top of the Common Lisp Object System. In this tutorial we will demonstrate how to use AllegroCache to build, retrieve

More information

Exploring Strategies to Generate and Solve Sudoku Grids. SUNY Oswego CSC 466 Spring '09 Theodore Trotz

Exploring Strategies to Generate and Solve Sudoku Grids. SUNY Oswego CSC 466 Spring '09 Theodore Trotz Exploring Strategies to Generate and Solve Sudoku Grids SUNY Oswego CSC 466 Spring '09 Theodore Trotz Terminology A Sudoku grid contains 81 cells Each cell is a member of a particular region, row, and

More information

Heuristic Search with Pre-Computed Databases

Heuristic Search with Pre-Computed Databases Heuristic Search with Pre-Computed Databases Tsan-sheng Hsu tshsu@iis.sinica.edu.tw http://www.iis.sinica.edu.tw/~tshsu 1 Abstract Use pre-computed partial results to improve the efficiency of heuristic

More information

Exercise 2-2. Four-Wire Transmitter (Optional) EXERCISE OBJECTIVE DISCUSSION OUTLINE. Ultrasonic level transmitter DISCUSSION

Exercise 2-2. Four-Wire Transmitter (Optional) EXERCISE OBJECTIVE DISCUSSION OUTLINE. Ultrasonic level transmitter DISCUSSION Exercise 2-2 Four-Wire Transmitter (Optional) EXERCISE OBJECTIVE Become familiar with HART point-to-point connection of a four-wire transmitter. DISCUSSION OUTLINE The Discussion of this exercise covers

More information

Annotated Bibliography: Artificial Intelligence (AI) in Organizing Information By Sara Shupe, Emporia State University, LI 804

Annotated Bibliography: Artificial Intelligence (AI) in Organizing Information By Sara Shupe, Emporia State University, LI 804 Annotated Bibliography: Artificial Intelligence (AI) in Organizing Information By Sara Shupe, Emporia State University, LI 804 Introducing Artificial Intelligence Boden, M.A. (Ed.). (1996). Artificial

More information

Game Playing in Prolog

Game Playing in Prolog 1 Introduction CIS335: Logic Programming, Assignment 5 (Assessed) Game Playing in Prolog Geraint A. Wiggins November 11, 2004 This assignment is the last formally assessed course work exercise for students

More information

Part I At the top level, you will work with partial solutions (referred to as states) and state sets (referred to as State-Sets), where a partial solu

Part I At the top level, you will work with partial solutions (referred to as states) and state sets (referred to as State-Sets), where a partial solu Project: Part-2 Revised Edition Due 9:30am (sections 10, 11) 11:001m (sections 12, 13) Monday, May 16, 2005 150 points Part-2 of the project consists of both a high-level heuristic game-playing program

More information

A Tic Tac Toe Learning Machine Involving the Automatic Generation and Application of Heuristics

A Tic Tac Toe Learning Machine Involving the Automatic Generation and Application of Heuristics A Tic Tac Toe Learning Machine Involving the Automatic Generation and Application of Heuristics Thomas Abtey SUNY Oswego Abstract Heuristics programs have been used to solve problems since the beginning

More information

For slightly more detailed instructions on how to play, visit:

For slightly more detailed instructions on how to play, visit: Introduction to Artificial Intelligence CS 151 Programming Assignment 2 Mancala!! The purpose of this assignment is to program some of the search algorithms and game playing strategies that we have learned

More information

Artificial Intelligence

Artificial Intelligence Artificial Intelligence Dr Ahmed Rafat Abas Computer Science Dept, Faculty of Computers and Informatics, Zagazig University arabas@zu.edu.eg http://www.arsaliem.faculty.zu.edu.eg/ Programming in Prolog

More information

Name. Part 2. Part 2 Swimming 55 minutes

Name. Part 2. Part 2 Swimming 55 minutes Name Swimming 55 minutes 1. Moby Dick...................... 15. Islands (Nurikabe).................. 0. Hashiwokakero (Bridges).............. 15 4. Coral Finder..................... 5 5. Sea Serpent......................

More information

NATHANIEL HAWTHORNE THE SCARLET LETTER

NATHANIEL HAWTHORNE THE SCARLET LETTER NATHANIEL HAWTHORNE THE SCARLET LETTER 1804-1864 Background Information Notebook: Notes Info in red And Pause/Reflect, Quick Writes MUST be recorded in notebook His Life... Born in Salem, Massachusetts

More information

Spring 2007 final review in lecture page 1

Spring 2007 final review in lecture page 1 Spring 2007 final review in lecture page 1 Problem 1. Remove-letter Consider a procedure remove-letter that takes two inputs, a letter and a sentence, and returns the sentence with all occurrences of the

More information

Can Computers Think? an introduction to computer science, programming and artificial intelligence

Can Computers Think? an introduction to computer science, programming and artificial intelligence Can Computers Think? an introduction to computer science, programming and artificial intelligence Kristina Striegnitz and Valerie Barr striegnk@union.edu, vbarr@union.edu Union College, Schenectady, NY

More information

Elements of a theory of creativity

Elements of a theory of creativity Elements of a theory of creativity The focus of this course is on: Machines endowed with creative behavior We will focuss on software (formally Turing Machines). No hardware/physical machines, no biological

More information

CSC242 Intro to AI Spring 2012 Project 2: Knowledge and Reasoning Handed out: Thu Mar 1 Due: Wed Mar 21 11:59pm

CSC242 Intro to AI Spring 2012 Project 2: Knowledge and Reasoning Handed out: Thu Mar 1 Due: Wed Mar 21 11:59pm CSC242 Intro to AI Spring 2012 Project 2: Knowledge and Reasoning Handed out: Thu Mar 1 Due: Wed Mar 21 11:59pm In this project we will... Hunt the Wumpus! The objective is to build an agent that can explore

More information

Huckleberry Finn (Classics Illustrated) By Andrew Jay Hoffman, Mark Twain

Huckleberry Finn (Classics Illustrated) By Andrew Jay Hoffman, Mark Twain Huckleberry Finn (Classics Illustrated) By Andrew Jay Hoffman, Mark Twain Robert Louis Stevenson Reconsidered: New Critical Perspectives - Howells, William Dean 159 Huckleberry Finn (Classics Illustrated)

More information

CS 380: ARTIFICIAL INTELLIGENCE

CS 380: ARTIFICIAL INTELLIGENCE CS 380: ARTIFICIAL INTELLIGENCE INTRODUCTION 9/23/2013 Santiago Ontañón santi@cs.drexel.edu https://www.cs.drexel.edu/~santi/teaching/2013/cs380/intro.html CS 380 Focus: Introduction to AI: basic concepts

More information

Utopia (Penguin Classics) By Paul Turner, Thomas More READ ONLINE

Utopia (Penguin Classics) By Paul Turner, Thomas More READ ONLINE Utopia (Penguin Classics) By Paul Turner, Thomas More READ ONLINE If looking for the book Utopia (Penguin Classics) by Paul Turner, Thomas More in pdf format, in that case you come on to the faithful site.

More information

The Intelligent Computer. Winston, Chapter 1

The Intelligent Computer. Winston, Chapter 1 The Intelligent Computer Winston, Chapter 1 Michael Eisenberg and Gerhard Fischer TA: Ann Eisenberg AI Course, Fall 1997 Eisenberg/Fischer 1 AI Course, Fall97 Artificial Intelligence engineering goal:

More information

CS 4700: Foundations of Artificial Intelligence

CS 4700: Foundations of Artificial Intelligence CS 4700: Foundations of Artificial Intelligence Bart Selman Reinforcement Learning R&N Chapter 21 Note: in the next two parts of RL, some of the figure/section numbers refer to an earlier edition of R&N

More information

The Complete Tales And Poems Of Edgar Allan Poe (Coterie Classics With Free Audiobook) By Edgar Allan Poe

The Complete Tales And Poems Of Edgar Allan Poe (Coterie Classics With Free Audiobook) By Edgar Allan Poe The Complete Tales And Poems Of Edgar Allan Poe (Coterie Classics With Free By Edgar Allan Poe 62 Edgar Allan Poe Poems Audio Book - Full text of Edgar Allan Poe's works. This free Edgar Allan Poe audiobook

More information

CS10 : The Beauty and Joy of Computing

CS10 : The Beauty and Joy of Computing CS10 : The Beauty and Joy of Computing Lecture #16 : Computational Game Theory UC Berkeley EECS Lecturer SOE Dan Garcia Form a learning community! 2012-03-12 Summer courses (CS61A, CS70) avail A 19-year

More information

Intelligent Agents p.1/25. Intelligent Agents. Chapter 2

Intelligent Agents p.1/25. Intelligent Agents. Chapter 2 Intelligent Agents p.1/25 Intelligent Agents Chapter 2 Intelligent Agents p.2/25 Outline Agents and environments Rationality PEAS (Performance measure, Environment, Actuators, Sensors) Environment types

More information

Spring 06 Assignment 2: Constraint Satisfaction Problems

Spring 06 Assignment 2: Constraint Satisfaction Problems 15-381 Spring 06 Assignment 2: Constraint Satisfaction Problems Questions to Vaibhav Mehta(vaibhav@cs.cmu.edu) Out: 2/07/06 Due: 2/21/06 Name: Andrew ID: Please turn in your answers on this assignment

More information

Intelligent Modelling of Virtual Worlds Using Domain Ontologies

Intelligent Modelling of Virtual Worlds Using Domain Ontologies Intelligent Modelling of Virtual Worlds Using Domain Ontologies Wesley Bille, Bram Pellens, Frederic Kleinermann, and Olga De Troyer Research Group WISE, Department of Computer Science, Vrije Universiteit

More information

Computer Systems Research: Past and Future

Computer Systems Research: Past and Future Computer Systems Research: Past and Future Butler Lampson People have been inventing new ideas in computer systems for nearly four decades, usually driven by Moore s law. Many of them have been spectacularly

More information

The Discussion of this exercise covers the following points: Differential-pressure transmitter. Differential-pressure transmitter

The Discussion of this exercise covers the following points: Differential-pressure transmitter. Differential-pressure transmitter Exercise 2-1 Two-Wire Transmitter EXERCISE OBJECTIVE Become familiar with HART point-to-point connection of a two-wire transmitter. DISCUSSION OUTLINE The Discussion of this exercise covers the following

More information

Girls Programming Network. Scissors Paper Rock!

Girls Programming Network. Scissors Paper Rock! Girls Programming Network Scissors Paper Rock! This project was created by GPN Australia for GPN sites all around Australia! This workbook and related materials were created by tutors at: Sydney, Canberra

More information

MAS336 Computational Problem Solving. Problem 3: Eight Queens

MAS336 Computational Problem Solving. Problem 3: Eight Queens MAS336 Computational Problem Solving Problem 3: Eight Queens Introduction Francis J. Wright, 2007 Topics: arrays, recursion, plotting, symmetry The problem is to find all the distinct ways of choosing

More information

VALLIAMMAI ENGNIEERING COLLEGE SRM Nagar, Kattankulathur 603203. DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING Sub Code : CS6659 Sub Name : Artificial Intelligence Branch / Year : CSE VI Sem / III Year

More information

Running head: SIR ARTHUR CONAN DOYLE S INFLUENCE ON DETECTIVE FICTION 1

Running head: SIR ARTHUR CONAN DOYLE S INFLUENCE ON DETECTIVE FICTION 1 Running head: SIR ARTHUR CONAN DOYLE S INFLUENCE ON DETECTIVE FICTION 1 Sir Arthur Conan Doyle s Influence on Detective Fiction Name: Institution: SIR ARTHUR CONAN DOYLE S INFLUENCE ON DETECTIVE FICTION

More information

Introduction to Artificial Intelligence CS 151 Programming Assignment 2 Mancala!! Due (in dropbox) Tuesday, September 23, 9:34am

Introduction to Artificial Intelligence CS 151 Programming Assignment 2 Mancala!! Due (in dropbox) Tuesday, September 23, 9:34am Introduction to Artificial Intelligence CS 151 Programming Assignment 2 Mancala!! Due (in dropbox) Tuesday, September 23, 9:34am The purpose of this assignment is to program some of the search algorithms

More information

Patterson D W Artificial Intelligence

Patterson D W Artificial Intelligence Patterson D W Artificial Intelligence [LINK] Download of Patterson D W Artificial Intelligence - Read Now. Free Download Ebook PDF PATTERSON D W ARTIFICIAL INTELLIGENCE with premium access PATTERSON, INTRODUCTION

More information

Educational Technology Lab

Educational Technology Lab Educational Technology Lab National and Kapodistrian University of Athens School of Philosophy Faculty of Philosophy, Pedagogy and Philosophy (P.P.P.), Department of Pedagogy Director: Prof. C. Kynigos

More information

Level Lesson Plan Session 1

Level Lesson Plan Session 1 Session 1 Dictation Warm-up Slowly dictate the three sentences twice. The students write down the sentences as you dictate them. a. The animals at the zoo make a lot of noise. b. She goes swimming every

More information

This game can be played in a 3x3 grid (shown in the figure 2.1).The game can be played by two players. There are two options for players:

This game can be played in a 3x3 grid (shown in the figure 2.1).The game can be played by two players. There are two options for players: 1. bjectives: ur project name is Tic-Tac-Toe game. This game is very popular and is fairly simple by itself. It is actually a two player game. In this game, there is a board with n x n squares. In our

More information

o finally o another o second o after that o as a result o third o later o last o because o next o during o also o for example

o finally o another o second o after that o as a result o third o later o last o because o next o during o also o for example For your Summer Reading Book of Choice, you will write a novel review essay based on the following instructions and template. This will be your first major essay for the year. Your essay will consist of

More information

Homework 5 Due April 28, 2017

Homework 5 Due April 28, 2017 Homework 5 Due April 28, 2017 Submissions are due by 11:59PM on the specified due date. Submissions may be made on the Blackboard course site under the Assignments tab. Late submissions will not be accepted.

More information

Anchor Block Draft Tutorial

Anchor Block Draft Tutorial Anchor Block Draft Tutorial In the following tutorial you will create a drawing of the anchor block shown. The tutorial covers such topics as creating: Orthographic views Section views Auxiliary views

More information

The power behind an intelligent system is knowledge.

The power behind an intelligent system is knowledge. Induction systems 1 The power behind an intelligent system is knowledge. We can trace the system success or failure to the quality of its knowledge. Difficult task: 1. Extracting the knowledge. 2. Encoding

More information

Elements of a Story. Student Notes

Elements of a Story. Student Notes Elements of a Story Student Notes What every story needs: Plot Theme Characters Setting Conflict What is plot? Plot concerns the organization of the main events of a work of fiction. Most plots will trace

More information

CENTRO MARISTA DE LÍNGUAS

CENTRO MARISTA DE LÍNGUAS CENTRO MARISTA DE LÍNGUAS Caros Pais e/ou Responsáveis, Bem-vindos ao Colégio Marista Pio X! Apresentamos a seguir a lista de materiais do Centro Marista de Línguas 2018. Todo material deverá estar devidamente

More information

Statistical Hypothesis Testing

Statistical Hypothesis Testing Statistical Hypothesis Testing Statistical Hypothesis Testing is a kind of inference Given a sample, say something about the population Examples: Given a sample of classifications by a decision tree, test

More information

Spring 06 Assignment 2: Constraint Satisfaction Problems

Spring 06 Assignment 2: Constraint Satisfaction Problems 15-381 Spring 06 Assignment 2: Constraint Satisfaction Problems Questions to Vaibhav Mehta(vaibhav@cs.cmu.edu) Out: 2/07/06 Due: 2/21/06 Name: Andrew ID: Please turn in your answers on this assignment

More information

TETRIS approach. Computing and Technology. On Campus - Full time May 2005

TETRIS approach. Computing and Technology. On Campus - Full time May 2005 and Technology On Campus - Full time May 005 Programme Title: BSc Artificial Intelligence CIF00 C00 C0 Adv. CIS05 Natural Language Engineering CIS0 Intelligent Systems Dev. Methodologies CIS04 Intelligent

More information

Name Score. 1. In Moby Dick, Ahab is an obsessed sea captain. In the Bible, Ahab is a.

Name Score. 1. In Moby Dick, Ahab is an obsessed sea captain. In the Bible, Ahab is a. English 11B Quiz 10 Points Unit 5: Great Books: Moby Dick Directions: View the video Great Books: Moby Dick, and then write the correct answer in the space provided. There is only one correct answer for

More information

CHAPTER I INTRODUCTION. of the key terms. Each point is presented as follows.

CHAPTER I INTRODUCTION. of the key terms. Each point is presented as follows. CHAPTER I INTRODUCTION This chapter presents background of the study, statement of the problems, purposes of the study, significance of the study, scope and limitation, and definition of the key terms.

More information

Computational Thinking

Computational Thinking Artificial Intelligence Learning goals CT Application: Students will be able to describe the difference between Strong and Weak AI CT Impact: Students will be able to describe the gulf that exists between

More information

From Nothing to Something using AutoCAD Electrical

From Nothing to Something using AutoCAD Electrical From Nothing to Something using AutoCAD Electrical Todd Schmoock Synergis Technologies MA2085-L: You purchased AutoCAD Electrical, or are thinking about purchasing it, but you do not know how to use it.

More information

G51PGP: Software Paradigms. Object Oriented Coursework 4

G51PGP: Software Paradigms. Object Oriented Coursework 4 G51PGP: Software Paradigms Object Oriented Coursework 4 You must complete this coursework on your own, rather than working with anybody else. To complete the coursework you must create a working two-player

More information

CS 540: Introduction to Artificial Intelligence

CS 540: Introduction to Artificial Intelligence CS 540: Introduction to Artificial Intelligence Mid Exam: 7:15-9:15 pm, October 25, 2000 Room 1240 CS & Stats CLOSED BOOK (one sheet of notes and a calculator allowed) Write your answers on these pages

More information

Bibliography of Popov v Hayashi in AI and Law

Bibliography of Popov v Hayashi in AI and Law Bibliography of Popov v Hayashi in AI and Law Trevor Bench-Capon Department of Computer Sciences University of Liverpool, Liverpool, UK tbc@csc.liv.ac.uk November 6, 2014 Abstract Bibliography for Popov

More information

Symbolic Computing With LISP And PROLOG By Robert A. Mueller

Symbolic Computing With LISP And PROLOG By Robert A. Mueller Symbolic Computing With LISP And PROLOG By Robert A. Mueller Barnes & Noble Classics: Buy 2, Get the 3rd FREE; Pre-Order Harper Lee's Go Set a Watchman; Summer Tote Offer: $12.95 with Purchase; Available

More information

Lesson 53: Art/Museum Exhibitions (20-25 minutes)

Lesson 53: Art/Museum Exhibitions (20-25 minutes) Main Topic 8: Entertainment Lesson 53: Art/Museum Exhibitions (20-25 minutes) Today, you will: 1. Learn useful vocabulary related to ART/MUSEUM EXHIBITIONS. 2. Review Verb Tenses Part 2 (Basic Present).

More information

Students will create a typed two-page or more sequel to Huckleberry Finn using Freytag s Plot Pyramid.

Students will create a typed two-page or more sequel to Huckleberry Finn using Freytag s Plot Pyramid. The Story Beyond the Story: What Happened to Huck? Concept: Creating a Sequel to Huckleberry Finn Using Freytag s Plot Pyramid Developed by Dr. DeLisa Ging, Language Arts Instructor, Northern Oklahoma

More information

EARIN Jarosław Arabas Room #223, Electronics Bldg.

EARIN   Jarosław Arabas Room #223, Electronics Bldg. EARIN http://elektron.elka.pw.edu.pl/~jarabas/earin.html Jarosław Arabas jarabas@elka.pw.edu.pl Room #223, Electronics Bldg. Paweł Cichosz pcichosz@elka.pw.edu.pl Room #215, Electronics Bldg. EARIN Jarosław

More information

Step It Up a Rung from AutoCAD Designs to AutoCAD Electrical

Step It Up a Rung from AutoCAD Designs to AutoCAD Electrical Step It Up a Rung from AutoCAD Designs to AutoCAD Electrical Todd Schmoock Synergis Technologies MA4762-L: AutoCAD Electrical has proven to be easy for creating electrical controls system designs. It has

More information

Artificial Intelligence

Artificial Intelligence What is AI? Artificial Intelligence How does the human brain work? How do we emulate the human brain? Rob Kremer Department of Computer Science University of Calgary 1 What is How do we create Who cares?

More information

DSP First. Laboratory Exercise #11. Extracting Frequencies of Musical Tones

DSP First. Laboratory Exercise #11. Extracting Frequencies of Musical Tones DSP First Laboratory Exercise #11 Extracting Frequencies of Musical Tones This lab is built around a single project that involves the implementation of a system for automatically writing a musical score

More information

Metodologías de Programación II Inteligencia Colectiva: Recomendaciones

Metodologías de Programación II Inteligencia Colectiva: Recomendaciones Metodologías de Programación II Inteligencia Colectiva: Recomendaciones Dr. Alejandro Guerra-Hernández Departamento de Inteligencia Artificial Facultad de Física e Inteligencia Artificial aguerra@uv.mx

More information

BBC LEARNING ENGLISH 6 Minute English Will robots take our jobs?

BBC LEARNING ENGLISH 6 Minute English Will robots take our jobs? BBC LEARNING ENGLISH 6 Minute English Will robots take our jobs? NB: This is not a word-for-word transcript Hello and welcome to 6 Minute English. I'm and I'm. Hello. Hello there,. Now, what do you know

More information

CS39N The Beauty and Joy of Computing Lecture #4 : Computational Game Theory UC Berkeley Computer Science Lecturer SOE Dan Garcia 2009-09-14 A 19-year project led by Prof Jonathan Schaeffer, he used dozens

More information

Sheet Metal OverviewChapter1:

Sheet Metal OverviewChapter1: Sheet Metal OverviewChapter1: Chapter 1 This chapter describes the terminology, design methods, and fundamental tools used in the design of sheet metal parts. Building upon these foundational elements

More information

Signal Processing First Lab 20: Extracting Frequencies of Musical Tones

Signal Processing First Lab 20: Extracting Frequencies of Musical Tones Signal Processing First Lab 20: Extracting Frequencies of Musical Tones Pre-Lab and Warm-Up: You should read at least the Pre-Lab and Warm-up sections of this lab assignment and go over all exercises in

More information

CS 152 Computer Programming Fundamentals Lab 8: Klondike Solitaire

CS 152 Computer Programming Fundamentals Lab 8: Klondike Solitaire CS 152 Computer Programming Fundamentals Lab 8: Klondike Solitaire Brooke Chenoweth Fall 2018 1 Game Rules You are likely familiar with this solitaire card game. An implementation has been included with

More information

Annex IV - Stencyl Tutorial

Annex IV - Stencyl Tutorial Annex IV - Stencyl Tutorial This short, hands-on tutorial will walk you through the steps needed to create a simple platformer using premade content, so that you can become familiar with the main parts

More information

Short Fiction: From Stories to Sitcoms ENGL Summer 2017 / Session II / Mondays and Wednesdays

Short Fiction: From Stories to Sitcoms ENGL Summer 2017 / Session II / Mondays and Wednesdays ** Please Note: This Syllabus is Tentative and May Be Subject to Change ** Instructor: Clare Mullaney Office: TBA claremul@sas.upenn.edu Office Hours: Mondays, 1-3 p.m. Office Phone: TBA Short Fiction:

More information

Start at 1 and connect all the odd numbers in order from least to greatest. Then start at 2 and connect all the even numbers the same way.

Start at 1 and connect all the odd numbers in order from least to greatest. Then start at 2 and connect all the even numbers the same way. Lesson 1.1 Connect the Dots Start at 1 and connect all the odd numbers in order from least to greatest. Then start at 2 and connect all the even numbers the same way. 7 5 9 11 13 19 3 17 1 15 18 16 20

More information

Computer Science Faculty Publications

Computer Science Faculty Publications Computer Science Faculty Publications Computer Science 2-4-2017 Playful AI Education Todd W. Neller Gettysburg College Follow this and additional works at: https://cupola.gettysburg.edu/csfac Part of the

More information

UNIVERSITI MALAYSIA PERLIS

UNIVERSITI MALAYSIA PERLIS UNIVERSITI MALAYSIA PERLIS SCHOOL OF COMPUTER & COMMUNICATIONS ENGINEERING EKT303/4 PRINCIPLES OF COMPUTER ARCHITECTURE LAB 5 : STATE MACHINE DESIGNS IN VHDL LAB 5: Finite State Machine Design OUTCOME:

More information

For many hundreds of years, literature has been one of the most important. human art forms. It allows us to give voice to our emotions, create

For many hundreds of years, literature has been one of the most important. human art forms. It allows us to give voice to our emotions, create Creative Writing COURSE DESCRIPTION: For many hundreds of years, literature has been one of the most important human art forms. It allows us to give voice to our emotions, create imaginary worlds, express

More information

STARTING THE ENGINE: HOW TO MAKE THAT FIRST CHAPTER SPARKLE! Here s what I see with my writing students: Just about all first-timers, giddy with

STARTING THE ENGINE: HOW TO MAKE THAT FIRST CHAPTER SPARKLE! Here s what I see with my writing students: Just about all first-timers, giddy with STARTING THE ENGINE: HOW TO MAKE THAT FIRST CHAPTER SPARKLE! Here s what I see with my writing students: Just about all first-timers, giddy with the chance to actually tell stories, try to tell them all

More information

CS10 : The Beauty and Joy of Computing

CS10 : The Beauty and Joy of Computing CS10 : The Beauty and Joy of Computing Lecture #16 : Computational Game Theory UC Berkeley EECS Summer Instructor Ben Chun 2012-07-12 CHECKERS SOLVED! A 19-year project led by Prof Jonathan Schaeffer,

More information

INFORMATION TECHNOLOGY AND LAWYERS

INFORMATION TECHNOLOGY AND LAWYERS INFORMATION TECHNOLOGY AND LAWYERS Information Technology and Lawyers Advanced Technology in the Legal Domain, from Challenges to Daily Routine Edited by ARNO R. LODDER Centre for Electronic Dispute Resolution

More information

Programming Manual Washer Extractors Compass Control

Programming Manual Washer Extractors Compass Control Programming Manual Washer Extractors Compass Control 438 9216-01/EN 07.12 Contents Contents Safety precautions...5 General...7 Engaging servicemode...7 Programming...9 Parameter programming...9 Statistics...14

More information

Intro to Java Programming Project

Intro to Java Programming Project Intro to Java Programming Project In this project, your task is to create an agent (a game player) that can play Connect 4. Connect 4 is a popular board game, similar to an extended version of Tic-Tac-Toe.

More information

101 Science Fiction Stories By Martin H. Greenberg READ ONLINE

101 Science Fiction Stories By Martin H. Greenberg READ ONLINE 101 Science Fiction Stories By Martin H. Greenberg READ ONLINE If you are searched for the ebook by Martin H. Greenberg 101 Science Fiction Stories in pdf format, then you've come to loyal site. We present

More information

SSR 10 MINUTES READ: LUCK BY MARK TWAIN Pg. 213

SSR 10 MINUTES READ: LUCK BY MARK TWAIN Pg. 213 SSR 10 MINUTES READ: LUCK BY MARK TWAIN Pg. 213 DAILY PROMPT: If you were the author of your novel, what would you change? What would you keep the same? Don t be a writer. Be Writing. - William Faulkner

More information

Artificial Intelligence : A New Synthesis By Nils.Nilsson

Artificial Intelligence : A New Synthesis By Nils.Nilsson Artificial Intelligence : A New Synthesis By Nils.Nilsson If searched for the book Artificial Intelligence : A New Synthesis by Nils.Nilsson in pdf format, then you have come on to right site. We furnish

More information

Digital Logic Design Nelson Manual Solutions

Digital Logic Design Nelson Manual Solutions We have made it easy for you to find a PDF Ebooks without any digging. And by having access to our ebooks online or by storing it on your computer, you have convenient answers with digital logic design

More information

U.S. Cultural Movements of Early 1800s

U.S. Cultural Movements of Early 1800s U.S. Cultural Movements of Early 1800s Neoclassical architecture Revival of Greek and Roman styles US modeled itself after the Roman Republic and the democratic ideals of ancient Greece Sometimes called

More information

The Impact of Artificial Intelligence. By: Steven Williamson

The Impact of Artificial Intelligence. By: Steven Williamson The Impact of Artificial Intelligence By: Steven Williamson WHAT IS ARTIFICIAL INTELLIGENCE? It is an area of computer science that deals with advanced and complex technologies that have the ability perform

More information

Frankenstein Or The Modern Prometheus - Large Print Edition By Mary Shelley, Sam Sloan

Frankenstein Or The Modern Prometheus - Large Print Edition By Mary Shelley, Sam Sloan Frankenstein Or The Modern Prometheus - Large Print Edition By Mary Shelley, Sam Sloan Editions of Mary Shelley's Frankenstein the Modern Prometheus (Oxford: Isis Large Print 1983 Pennyroyal edition. Frankenstein,

More information

Sea Sonnets. David Hirzel. Click here if your download doesn"t start automatically

Sea Sonnets. David Hirzel. Click here if your download doesnt start automatically Sea Sonnets David Hirzel Click here if your download doesn"t start automatically Sea Sonnets David Hirzel Sea Sonnets David Hirzel Sea Sonnets: Twenty of these 14-line gems, all looking deeply into the

More information

You Own It. Now Grow It!: 25 powerful relationship skills effective entrepreneurs use to grow successful businesses

You Own It. Now Grow It!: 25 powerful relationship skills effective entrepreneurs use to grow successful businesses You Own It. Now Grow It!: 25 powerful relationship skills effective entrepreneurs use to grow successful businesses Kim Leatherdale Click here if your download doesn"t start automatically You Own It. Now

More information

More Recursion: NQueens

More Recursion: NQueens More Recursion: NQueens continuation of the recursion topic notes on the NQueens problem an extended example of a recursive solution CISC 121 Summer 2006 Recursion & Backtracking 1 backtracking Recursion

More information

David Linthicum, Managing Director, Chief Cloud Strategy Officer, Deloitte Consulting LLP

David Linthicum, Managing Director, Chief Cloud Strategy Officer, Deloitte Consulting LLP For Cloud Professionals January 2019 For Cloud Professionals, part of the On Cloud Podcast David Linthicum, Managing Director, Chief Cloud Strategy Officer, Deloitte Consulting LLP How is the cloud accelerating

More information

Prince & The Pauper (Wordsworth Collection) By Mark Twain READ ONLINE

Prince & The Pauper (Wordsworth Collection) By Mark Twain READ ONLINE Prince & The Pauper (Wordsworth Collection) By Mark Twain READ ONLINE Partisan review and the decline of literary radicalism. GILBERT, JAMES. DOEHRING, DONALD G. Patterns of innocence in Wordsworth's poetry.

More information

Background. Game Theory and Nim. The Game of Nim. Game is Finite 1/27/2011

Background. Game Theory and Nim. The Game of Nim. Game is Finite 1/27/2011 Background Game Theory and Nim Dr. Michael Canjar Department of Mathematics, Computer Science and Software Engineering University of Detroit Mercy 26 January 2010 Nimis a simple game, easy to play. It

More information

DOWNLOAD OR READ : SUDOKU LARGE PRINT PUZZLE BOOK FOR ADULTS 200 MEDIUM PUZZLES PUZZLE BOOKS PLUS PDF EBOOK EPUB MOBI

DOWNLOAD OR READ : SUDOKU LARGE PRINT PUZZLE BOOK FOR ADULTS 200 MEDIUM PUZZLES PUZZLE BOOKS PLUS PDF EBOOK EPUB MOBI DOWNLOAD OR READ : SUDOKU LARGE PRINT PUZZLE BOOK FOR ADULTS 200 MEDIUM PUZZLES PUZZLE BOOKS PLUS PDF EBOOK EPUB MOBI Page 1 Page 2 sudoku large print puzzle book for adults 200 medium puzzles puzzle books

More information

AI in Business Enterprises

AI in Business Enterprises AI in Business Enterprises Are Humans Rational? Rini Palitmittam 10 th October 2017 Image Courtesy: Google Images Founders of Modern Artificial Intelligence Image Courtesy: Google Images Founders of Modern

More information

How AI & Deep Learning can help in Supply Chain Decision Making. By Krishna Khandelwal Chief Business Officer

How AI & Deep Learning can help in Supply Chain Decision Making. By Krishna Khandelwal Chief Business Officer How AI & Deep Learning can help in Supply Chain Decision Making By Krishna Khandelwal Chief Business Officer 2 2 WHAT IS ARTIFICIAL INTELLIGENCE Set of algorithms and techniques which can help machines

More information

Image Finder Mobile Application Based on Neural Networks

Image Finder Mobile Application Based on Neural Networks Image Finder Mobile Application Based on Neural Networks Nabil M. Hewahi Department of Computer Science, College of Information Technology, University of Bahrain, Sakheer P.O. Box 32038, Kingdom of Bahrain

More information

Manners with Technology (Monstrous Manners)

Manners with Technology (Monstrous Manners) Manners with Technology (Monstrous Manners) Bridget Heos Click here if your download doesn"t start automatically Manners with Technology (Monstrous Manners) Bridget Heos Manners with Technology (Monstrous

More information

COMPLETE KOBOLD GUIDE

COMPLETE KOBOLD GUIDE COMPLETE KOBOLD GUIDE TO GAME DESIGN Essays by Wolfgang Baur and a Team of Design All-Stars Edited by Janna Silverstein Cover by Jonathan Hodgson Complete KOBOLD Guide to Game Design 2012 Open Design LLC

More information

Read & Download (PDF Kindle) Common Lisp Recipes: A Problem-Solution Approach

Read & Download (PDF Kindle) Common Lisp Recipes: A Problem-Solution Approach Read & Download (PDF Kindle) Common Lisp Recipes: A Problem-Solution Approach Find solutions to problems and answers to questions you are likely to encounter when writing real-world applications in Common

More information

Sex, Stories and Power Exchange: Adventures - And Lessons - Of A Naughty Power Exchange Couple

Sex, Stories and Power Exchange: Adventures - And Lessons - Of A Naughty Power Exchange Couple Sex, Stories and Power Exchange: Adventures - And Lessons - Of A Naughty Power Exchange Couple Click here if your download doesn"t start automatically Sex, Stories and Power Exchange: Adventures - And

More information

OOo Switch: 501 Things You Wanted to Know About Switching to OpenOffice.org from Microsoft Office

OOo Switch: 501 Things You Wanted to Know About Switching to OpenOffice.org from Microsoft Office OOo Switch: 501 Things You Wanted to Know About Switching to OpenOffice.org from Microsoft Office Tamar E. Granor Hentzenwerke Publishing ii Table of Contents Our Contract with You, The Reader Acknowledgements

More information

Would You Travel in Space? name. Graphic Organizer (before and during reading) Record the pros and cons of space travel as you read the text.

Would You Travel in Space? name. Graphic Organizer (before and during reading) Record the pros and cons of space travel as you read the text. Graphic Organizer (before and during reading) Record the pros and cons of space travel as you read the text. Pros Cons Multiple Intelligences Intrapersonal, Logical-mathematical What do you think you would

More information