SlideShare a Scribd company logo
Computer Science Unplugged

Variants on The Intelligent Piece of Paper
Introduction
The Intelligent Piece of Paper (http://csunplugged.org/intelligent-paper) is an exciting
unplugged activity that can be used as an introduction to the concept of an algorithm.
The activity is extremely engaging because it approaches algorithms in terms of the
“intelligence” they often appear to exhibit.
The Algorithm
The activity is centered around an algorithm that prescribes a player's moves during a
game of noughts and crosses (tic-tac-toe). Pupils act on behalf of the “intelligent paper”,
following the instructions on the paper as they play against their classmates.
The original algorithm is not a perfect player. Although it never loses, it sometimes
draws instead of winning (when the second player begins by writing an O in a side
square). This observation can lead to an interesting extension to the activity.
In addition, the algorithm can only play first. The search for an algorithm for the second
player could also lead to interesting variations on the activity.
Modifications and Extensions
In the three pages that follow, you can find:
1. A slightly reformulated version of the original Intelligent Piece of Paper.
2. An extension to the original algorithm that always wins, when given the opportunity.
3. An algorithm for the second player.
There are many ways that these algorithms can be used within the activity. We primarily
suggest that pupils are asked to formulate these extensions themselves, using the
versions provided here merely as answer sheets. This proves to be a very interesting
exercise involving search trees, symmetry pruning, logic and generalization.
References
The Intelligent Piece of Paper Activitiy was originally created by Paul Curzon for
Computer Science for Fun (CS4FN) and was subsequently included in CS Unplugged.
These extensions are provided by George Boukeas. The algorithm for the
second player was formulated with Dimitris Kreatsoulas. This material is a
translation from the corresponding Greek version.
It is made available under a Creative Commons Attribution 4.0 International License.
https://creativecommons.org/licenses/by/4.0/

last modified on 01/28/2014
I am a highly intelligent piece of paper.
Let's play Naughts and Crosses.
I am X and I go first...
Move 1
Write X in a corner.
Move 2
If the corner opposite to the first X is free,
then write X in that corner.
Otherwise, write X in a free corner.
Move 3
If there are two X's and a space along the same line,
then write X in that space. (Win)
Otherwise, if there are two O's and a space along the same line,
then write X in that space. (Block)
In every other case, write X in a free corner.
Move 4
If there are two X's and a space along the same line,
then write X in that space. (Win)
Otherwise, if there are two O's and a space along the same line,
then write X in that space. (Block)
In every other case, write X in a free corner.
Move 5
Write X in the last free space.
I am a highly intelligent piece of paper.
Let's play Naughts and Crosses.
I am X and I go first...
Move 1
Write X in a corner.
Move 2
If there is an O in a side square,
then write X in the center.
Otherwise, if the corner opposite to the first X is free,
then write X in that corner.
In every other case, write X in a free corner.
Move 3
If there are two X's and a space along the same line,
then write X in that space. (Win)
Otherwise, if there are two O's and a space along the same line,
then write X in that space. (Block)
In every other case, write X in a free corner not alongside an O.
Move 4
If there are two X's and a space along the same line,
then write X in that space. (Win)
Otherwise, if there are two O's and a space along the same line,
then write X in that space. (Block)
In every other case, write X in a free corner.
Move 5
Write X in the last free space.
I am a highly intelligent piece of paper.
Let's play Naughts and Crosses.
I am O and I will let you go first...
Move 1
If the center is free then,
write O in the center.
Otherwise, write O in any free corner.
Move 2
If there are two X's and a space along the same line,
then write O in that space. (Block)
Otherwise, if both X's are in corners,
then write O in a free side square.
In every other case, write O in a free corner, placing it alongside
an X, if possible.
Move 3
If there are two O's and a space along the same line,
then write O in that space. (Win)
Otherwise, if there are two X's and a space along the same line,
then write O in that space. (Block)
In every other case, write O in any free space.
Move 4
If there are two O's and a space along the same line,
then write O in that space. (Win)
Otherwise, if there are two X's and a space along the same line,
then write O in that space. (Block)
In every other case, write O in any free space.

More Related Content

More from George Boukeas

Παρουσίαση: Ένα Διδακτικό Σενάριο για το Ελεύθερο Λογισμικό
Παρουσίαση: Ένα Διδακτικό Σενάριο για το Ελεύθερο ΛογισμικόΠαρουσίαση: Ένα Διδακτικό Σενάριο για το Ελεύθερο Λογισμικό
Παρουσίαση: Ένα Διδακτικό Σενάριο για το Ελεύθερο Λογισμικό
George Boukeas
 
Ένα Διδακτικό Σενάριο για το Ελεύθερο Λογισμικό
Ένα Διδακτικό Σενάριο για το Ελεύθερο ΛογισμικόΈνα Διδακτικό Σενάριο για το Ελεύθερο Λογισμικό
Ένα Διδακτικό Σενάριο για το Ελεύθερο Λογισμικό
George Boukeas
 
FingerPainting -- Φύλλο Εργασίας για το AppInventor
FingerPainting -- Φύλλο Εργασίας για το AppInventorFingerPainting -- Φύλλο Εργασίας για το AppInventor
FingerPainting -- Φύλλο Εργασίας για το AppInventor
George Boukeas
 
Φώτα και Τύμπανα: μια δραστηριότητα σε στυλ Unplugged
Φώτα και Τύμπανα: μια δραστηριότητα σε στυλ UnpluggedΦώτα και Τύμπανα: μια δραστηριότητα σε στυλ Unplugged
Φώτα και Τύμπανα: μια δραστηριότητα σε στυλ Unplugged
George Boukeas
 
Lights and Drums: an Unplugged-style Activity
Lights and Drums: an Unplugged-style ActivityLights and Drums: an Unplugged-style Activity
Lights and Drums: an Unplugged-style Activity
George Boukeas
 
Η Πληροφορική στην Εκπαίδευση (για μη-μυημένους)
Η Πληροφορική στην Εκπαίδευση (για μη-μυημένους)Η Πληροφορική στην Εκπαίδευση (για μη-μυημένους)
Η Πληροφορική στην Εκπαίδευση (για μη-μυημένους)
George Boukeas
 
Βασικές Έννοιες Πληροφορικής για ένα Μάθημα Γενικής Παιδείας
Βασικές Έννοιες Πληροφορικής για ένα Μάθημα Γενικής ΠαιδείαςΒασικές Έννοιες Πληροφορικής για ένα Μάθημα Γενικής Παιδείας
Βασικές Έννοιες Πληροφορικής για ένα Μάθημα Γενικής Παιδείας
George Boukeas
 
Η Κληρονομιά της Τεχνολογίας Επικοινωνιών στα Μαθήματα Πληροφορικής
Η Κληρονομιά της Τεχνολογίας Επικοινωνιών στα Μαθήματα ΠληροφορικήςΗ Κληρονομιά της Τεχνολογίας Επικοινωνιών στα Μαθήματα Πληροφορικής
Η Κληρονομιά της Τεχνολογίας Επικοινωνιών στα Μαθήματα Πληροφορικής
George Boukeas
 
Η Κληρονομιά της Τεχνολογίας Επικοινωνιών στα Μαθήματα Πληροφορικής
Η Κληρονομιά της Τεχνολογίας Επικοινωνιών στα Μαθήματα ΠληροφορικήςΗ Κληρονομιά της Τεχνολογίας Επικοινωνιών στα Μαθήματα Πληροφορικής
Η Κληρονομιά της Τεχνολογίας Επικοινωνιών στα Μαθήματα ΠληροφορικήςGeorge Boukeas
 
Η Πληροφορική ως Μάθημα Γενικής Παιδείας
Η Πληροφορική ως Μάθημα Γενικής ΠαιδείαςΗ Πληροφορική ως Μάθημα Γενικής Παιδείας
Η Πληροφορική ως Μάθημα Γενικής Παιδείας
George Boukeas
 
Δραστηριότητα CS Unplugged: Το Έξυπνο Χαρτί
Δραστηριότητα CS Unplugged: Το Έξυπνο ΧαρτίΔραστηριότητα CS Unplugged: Το Έξυπνο Χαρτί
Δραστηριότητα CS Unplugged: Το Έξυπνο Χαρτί
George Boukeas
 
Δραστηριότητα CS Unplugged: Χρωματισμός Γράφων
Δραστηριότητα CS Unplugged: Χρωματισμός ΓράφωνΔραστηριότητα CS Unplugged: Χρωματισμός Γράφων
Δραστηριότητα CS Unplugged: Χρωματισμός Γράφων
George Boukeas
 
Δραστηριότητες του Unplugged στα Ελληνικά
Δραστηριότητες του Unplugged στα ΕλληνικάΔραστηριότητες του Unplugged στα Ελληνικά
Δραστηριότητες του Unplugged στα Ελληνικά
George Boukeas
 
Ημερίδα για το Ασφαλές Διαδίκτυο
Ημερίδα για το Ασφαλές ΔιαδίκτυοΗμερίδα για το Ασφαλές Διαδίκτυο
Ημερίδα για το Ασφαλές Διαδίκτυο
George Boukeas
 
Μια Επισκόπηση Ξένων Πηγών για τη Διδασκαλία της Πληροφορικής (CIE 2011)
Μια Επισκόπηση Ξένων Πηγών για τη Διδασκαλία της Πληροφορικής (CIE 2011)Μια Επισκόπηση Ξένων Πηγών για τη Διδασκαλία της Πληροφορικής (CIE 2011)
Μια Επισκόπηση Ξένων Πηγών για τη Διδασκαλία της Πληροφορικής (CIE 2011)
George Boukeas
 
Μια Επισκόπηση Ξένων Πηγών για τη Διδασκαλία της Πληροφορικής (CIE 2011)
Μια Επισκόπηση Ξένων Πηγών για τη Διδασκαλία της Πληροφορικής (CIE 2011)Μια Επισκόπηση Ξένων Πηγών για τη Διδασκαλία της Πληροφορικής (CIE 2011)
Μια Επισκόπηση Ξένων Πηγών για τη Διδασκαλία της Πληροφορικής (CIE 2011)George Boukeas
 
Linux. Everywhere.
Linux. Everywhere.Linux. Everywhere.
Linux. Everywhere.
George Boukeas
 
αφίσα για τα sch-scripts
αφίσα για τα sch-scriptsαφίσα για τα sch-scripts
αφίσα για τα sch-scriptsGeorge Boukeas
 
Καλύτερες αναζητήσεις
Καλύτερες αναζητήσειςΚαλύτερες αναζητήσεις
Καλύτερες αναζητήσεις
George Boukeas
 
Η πληροφορική στην εκπαίδευση: μια επισκόπηση διεθνών πηγών
Η πληροφορική στην εκπαίδευση: μια επισκόπηση διεθνών πηγώνΗ πληροφορική στην εκπαίδευση: μια επισκόπηση διεθνών πηγών
Η πληροφορική στην εκπαίδευση: μια επισκόπηση διεθνών πηγών
George Boukeas
 

More from George Boukeas (20)

Παρουσίαση: Ένα Διδακτικό Σενάριο για το Ελεύθερο Λογισμικό
Παρουσίαση: Ένα Διδακτικό Σενάριο για το Ελεύθερο ΛογισμικόΠαρουσίαση: Ένα Διδακτικό Σενάριο για το Ελεύθερο Λογισμικό
Παρουσίαση: Ένα Διδακτικό Σενάριο για το Ελεύθερο Λογισμικό
 
Ένα Διδακτικό Σενάριο για το Ελεύθερο Λογισμικό
Ένα Διδακτικό Σενάριο για το Ελεύθερο ΛογισμικόΈνα Διδακτικό Σενάριο για το Ελεύθερο Λογισμικό
Ένα Διδακτικό Σενάριο για το Ελεύθερο Λογισμικό
 
FingerPainting -- Φύλλο Εργασίας για το AppInventor
FingerPainting -- Φύλλο Εργασίας για το AppInventorFingerPainting -- Φύλλο Εργασίας για το AppInventor
FingerPainting -- Φύλλο Εργασίας για το AppInventor
 
Φώτα και Τύμπανα: μια δραστηριότητα σε στυλ Unplugged
Φώτα και Τύμπανα: μια δραστηριότητα σε στυλ UnpluggedΦώτα και Τύμπανα: μια δραστηριότητα σε στυλ Unplugged
Φώτα και Τύμπανα: μια δραστηριότητα σε στυλ Unplugged
 
Lights and Drums: an Unplugged-style Activity
Lights and Drums: an Unplugged-style ActivityLights and Drums: an Unplugged-style Activity
Lights and Drums: an Unplugged-style Activity
 
Η Πληροφορική στην Εκπαίδευση (για μη-μυημένους)
Η Πληροφορική στην Εκπαίδευση (για μη-μυημένους)Η Πληροφορική στην Εκπαίδευση (για μη-μυημένους)
Η Πληροφορική στην Εκπαίδευση (για μη-μυημένους)
 
Βασικές Έννοιες Πληροφορικής για ένα Μάθημα Γενικής Παιδείας
Βασικές Έννοιες Πληροφορικής για ένα Μάθημα Γενικής ΠαιδείαςΒασικές Έννοιες Πληροφορικής για ένα Μάθημα Γενικής Παιδείας
Βασικές Έννοιες Πληροφορικής για ένα Μάθημα Γενικής Παιδείας
 
Η Κληρονομιά της Τεχνολογίας Επικοινωνιών στα Μαθήματα Πληροφορικής
Η Κληρονομιά της Τεχνολογίας Επικοινωνιών στα Μαθήματα ΠληροφορικήςΗ Κληρονομιά της Τεχνολογίας Επικοινωνιών στα Μαθήματα Πληροφορικής
Η Κληρονομιά της Τεχνολογίας Επικοινωνιών στα Μαθήματα Πληροφορικής
 
Η Κληρονομιά της Τεχνολογίας Επικοινωνιών στα Μαθήματα Πληροφορικής
Η Κληρονομιά της Τεχνολογίας Επικοινωνιών στα Μαθήματα ΠληροφορικήςΗ Κληρονομιά της Τεχνολογίας Επικοινωνιών στα Μαθήματα Πληροφορικής
Η Κληρονομιά της Τεχνολογίας Επικοινωνιών στα Μαθήματα Πληροφορικής
 
Η Πληροφορική ως Μάθημα Γενικής Παιδείας
Η Πληροφορική ως Μάθημα Γενικής ΠαιδείαςΗ Πληροφορική ως Μάθημα Γενικής Παιδείας
Η Πληροφορική ως Μάθημα Γενικής Παιδείας
 
Δραστηριότητα CS Unplugged: Το Έξυπνο Χαρτί
Δραστηριότητα CS Unplugged: Το Έξυπνο ΧαρτίΔραστηριότητα CS Unplugged: Το Έξυπνο Χαρτί
Δραστηριότητα CS Unplugged: Το Έξυπνο Χαρτί
 
Δραστηριότητα CS Unplugged: Χρωματισμός Γράφων
Δραστηριότητα CS Unplugged: Χρωματισμός ΓράφωνΔραστηριότητα CS Unplugged: Χρωματισμός Γράφων
Δραστηριότητα CS Unplugged: Χρωματισμός Γράφων
 
Δραστηριότητες του Unplugged στα Ελληνικά
Δραστηριότητες του Unplugged στα ΕλληνικάΔραστηριότητες του Unplugged στα Ελληνικά
Δραστηριότητες του Unplugged στα Ελληνικά
 
Ημερίδα για το Ασφαλές Διαδίκτυο
Ημερίδα για το Ασφαλές ΔιαδίκτυοΗμερίδα για το Ασφαλές Διαδίκτυο
Ημερίδα για το Ασφαλές Διαδίκτυο
 
Μια Επισκόπηση Ξένων Πηγών για τη Διδασκαλία της Πληροφορικής (CIE 2011)
Μια Επισκόπηση Ξένων Πηγών για τη Διδασκαλία της Πληροφορικής (CIE 2011)Μια Επισκόπηση Ξένων Πηγών για τη Διδασκαλία της Πληροφορικής (CIE 2011)
Μια Επισκόπηση Ξένων Πηγών για τη Διδασκαλία της Πληροφορικής (CIE 2011)
 
Μια Επισκόπηση Ξένων Πηγών για τη Διδασκαλία της Πληροφορικής (CIE 2011)
Μια Επισκόπηση Ξένων Πηγών για τη Διδασκαλία της Πληροφορικής (CIE 2011)Μια Επισκόπηση Ξένων Πηγών για τη Διδασκαλία της Πληροφορικής (CIE 2011)
Μια Επισκόπηση Ξένων Πηγών για τη Διδασκαλία της Πληροφορικής (CIE 2011)
 
Linux. Everywhere.
Linux. Everywhere.Linux. Everywhere.
Linux. Everywhere.
 
αφίσα για τα sch-scripts
αφίσα για τα sch-scriptsαφίσα για τα sch-scripts
αφίσα για τα sch-scripts
 
Καλύτερες αναζητήσεις
Καλύτερες αναζητήσειςΚαλύτερες αναζητήσεις
Καλύτερες αναζητήσεις
 
Η πληροφορική στην εκπαίδευση: μια επισκόπηση διεθνών πηγών
Η πληροφορική στην εκπαίδευση: μια επισκόπηση διεθνών πηγώνΗ πληροφορική στην εκπαίδευση: μια επισκόπηση διεθνών πηγών
Η πληροφορική στην εκπαίδευση: μια επισκόπηση διεθνών πηγών
 

Recently uploaded

Embracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic ImperativeEmbracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic Imperative
Peter Windle
 
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdfAdversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Po-Chuan Chen
 
Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
Celine George
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
Pavel ( NSTU)
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
JosvitaDsouza2
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
Vivekanand Anglo Vedic Academy
 
"Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe..."Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe...
SACHIN R KONDAGURI
 
Acetabularia Information For Class 9 .docx
Acetabularia Information For Class 9  .docxAcetabularia Information For Class 9  .docx
Acetabularia Information For Class 9 .docx
vaibhavrinwa19
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
Sandy Millin
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
DeeptiGupta154
 
Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.
Ashokrao Mane college of Pharmacy Peth-Vadgaon
 
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
Levi Shapiro
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
TechSoup
 
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXPhrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
MIRIAMSALINAS13
 
Polish students' mobility in the Czech Republic
Polish students' mobility in the Czech RepublicPolish students' mobility in the Czech Republic
Polish students' mobility in the Czech Republic
Anna Sz.
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
siemaillard
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
Jisc
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
Jean Carlos Nunes Paixão
 
Operation Blue Star - Saka Neela Tara
Operation Blue Star   -  Saka Neela TaraOperation Blue Star   -  Saka Neela Tara
Operation Blue Star - Saka Neela Tara
Balvir Singh
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
EugeneSaldivar
 

Recently uploaded (20)

Embracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic ImperativeEmbracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic Imperative
 
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdfAdversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
Adversarial Attention Modeling for Multi-dimensional Emotion Regression.pdf
 
Model Attribute Check Company Auto Property
Model Attribute  Check Company Auto PropertyModel Attribute  Check Company Auto Property
Model Attribute Check Company Auto Property
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
 
"Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe..."Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe...
 
Acetabularia Information For Class 9 .docx
Acetabularia Information For Class 9  .docxAcetabularia Information For Class 9  .docx
Acetabularia Information For Class 9 .docx
 
2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...2024.06.01 Introducing a competency framework for languag learning materials ...
2024.06.01 Introducing a competency framework for languag learning materials ...
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
 
Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.Biological Screening of Herbal Drugs in detailed.
Biological Screening of Herbal Drugs in detailed.
 
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
 
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXXPhrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
Phrasal Verbs.XXXXXXXXXXXXXXXXXXXXXXXXXX
 
Polish students' mobility in the Czech Republic
Polish students' mobility in the Czech RepublicPolish students' mobility in the Czech Republic
Polish students' mobility in the Czech Republic
 
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
 
Lapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdfLapbook sobre os Regimes Totalitários.pdf
Lapbook sobre os Regimes Totalitários.pdf
 
Operation Blue Star - Saka Neela Tara
Operation Blue Star   -  Saka Neela TaraOperation Blue Star   -  Saka Neela Tara
Operation Blue Star - Saka Neela Tara
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
 

Extensions to the Intelligent Piece of Paper activity (CS Unplugged)

  • 1. Computer Science Unplugged Variants on The Intelligent Piece of Paper Introduction The Intelligent Piece of Paper (http://csunplugged.org/intelligent-paper) is an exciting unplugged activity that can be used as an introduction to the concept of an algorithm. The activity is extremely engaging because it approaches algorithms in terms of the “intelligence” they often appear to exhibit. The Algorithm The activity is centered around an algorithm that prescribes a player's moves during a game of noughts and crosses (tic-tac-toe). Pupils act on behalf of the “intelligent paper”, following the instructions on the paper as they play against their classmates. The original algorithm is not a perfect player. Although it never loses, it sometimes draws instead of winning (when the second player begins by writing an O in a side square). This observation can lead to an interesting extension to the activity. In addition, the algorithm can only play first. The search for an algorithm for the second player could also lead to interesting variations on the activity. Modifications and Extensions In the three pages that follow, you can find: 1. A slightly reformulated version of the original Intelligent Piece of Paper. 2. An extension to the original algorithm that always wins, when given the opportunity. 3. An algorithm for the second player. There are many ways that these algorithms can be used within the activity. We primarily suggest that pupils are asked to formulate these extensions themselves, using the versions provided here merely as answer sheets. This proves to be a very interesting exercise involving search trees, symmetry pruning, logic and generalization. References The Intelligent Piece of Paper Activitiy was originally created by Paul Curzon for Computer Science for Fun (CS4FN) and was subsequently included in CS Unplugged. These extensions are provided by George Boukeas. The algorithm for the second player was formulated with Dimitris Kreatsoulas. This material is a translation from the corresponding Greek version. It is made available under a Creative Commons Attribution 4.0 International License. https://creativecommons.org/licenses/by/4.0/ last modified on 01/28/2014
  • 2. I am a highly intelligent piece of paper. Let's play Naughts and Crosses. I am X and I go first... Move 1 Write X in a corner. Move 2 If the corner opposite to the first X is free, then write X in that corner. Otherwise, write X in a free corner. Move 3 If there are two X's and a space along the same line, then write X in that space. (Win) Otherwise, if there are two O's and a space along the same line, then write X in that space. (Block) In every other case, write X in a free corner. Move 4 If there are two X's and a space along the same line, then write X in that space. (Win) Otherwise, if there are two O's and a space along the same line, then write X in that space. (Block) In every other case, write X in a free corner. Move 5 Write X in the last free space.
  • 3. I am a highly intelligent piece of paper. Let's play Naughts and Crosses. I am X and I go first... Move 1 Write X in a corner. Move 2 If there is an O in a side square, then write X in the center. Otherwise, if the corner opposite to the first X is free, then write X in that corner. In every other case, write X in a free corner. Move 3 If there are two X's and a space along the same line, then write X in that space. (Win) Otherwise, if there are two O's and a space along the same line, then write X in that space. (Block) In every other case, write X in a free corner not alongside an O. Move 4 If there are two X's and a space along the same line, then write X in that space. (Win) Otherwise, if there are two O's and a space along the same line, then write X in that space. (Block) In every other case, write X in a free corner. Move 5 Write X in the last free space.
  • 4. I am a highly intelligent piece of paper. Let's play Naughts and Crosses. I am O and I will let you go first... Move 1 If the center is free then, write O in the center. Otherwise, write O in any free corner. Move 2 If there are two X's and a space along the same line, then write O in that space. (Block) Otherwise, if both X's are in corners, then write O in a free side square. In every other case, write O in a free corner, placing it alongside an X, if possible. Move 3 If there are two O's and a space along the same line, then write O in that space. (Win) Otherwise, if there are two X's and a space along the same line, then write O in that space. (Block) In every other case, write O in any free space. Move 4 If there are two O's and a space along the same line, then write O in that space. (Win) Otherwise, if there are two X's and a space along the same line, then write O in that space. (Block) In every other case, write O in any free space.