Mon: CS + programming Tue: Data Wed: Algorithms

Slides:



Advertisements
Similar presentations
Topic Brainstorming. Objective: Leave class with 25 viable senior project ideas that you are genuinely enthusiastic about This is what enthusiasm looks.
Advertisements

FCIM January - Nonfiction Article Reading Week 1 Day 1
Reading to Learn in all content areas
Reflection Questions You will answer these questions BELOW the journal entry in today’s Google Doc: Write down 3 specific phrases that show exaggeration.
Exams and Revision Some hints and tips.
The Writing Process Communication Arts.
Reviewing your Program CS 5010 Program Design Paradigms “Bootcamp” Lesson 2.4 © Mitchell Wand, This work is licensed under a Creative Commons.
EECS 110: Recitation #1: Ionut Trestian Northwestern University
Thinking Skills. Children should be led to make their own investigations, and to draw upon their own inferences. They should be told as little as possible.
Researching Your Presentation
Setting SMART Targets Making your Action Plans work!
Works Cited Page. Overview: Your Works Cited page is where you will list all the sources you used in your paper. Warning: if you don’t follow all these.
Building Mental Math and Reasoning
Biology Current Event Magazine – Print or Database Topic – Environment Due 10/27/14 Bonus 10/24/14.
Strategies and Skills.   40 questions in 35 minutes.  Divided into 4 main sections: reading level college entrance level  Each passage has a heading.
Prime Numbers and Prime Factorization
AGENDA Let’s see what we are doing today! -Review 1 Rule/Expectations (that fall under our 1 rule). -Scoreboard -CELEBRATE BEING AWESOME! (Exceeding.
Welcome (back) to IST 338 ! Homework 0 Problem 0: Already complete!
Welcome to CS 5 ! Introduction to CS an advocate of concrete computing When the course was over, I knew it was a good thing. We don't have strong enough.
EECS 110: Lec 2: What is Programming?
Study Guide for Final Exam What Smart Students Know.
Main Ideas. What is a stated main idea? "A stated main idea is the sentence in a paragraph that contains both the topic and the author’s single most important.
How to do Quality Research for Your Research Paper
Welcome to my conference! February th grade Guadalupe.
Finding a Book Mills 8/11 1. Finding Books: Mills 8/11 2 To locate books, you will need to click on the catalog tab at the top of the homepage.
How To Write A Research Paper Phase One. PHASE ONE Getting ready to write It’s always a good idea to schedule time to work on your research paper. Trying.
CS != programming What is computer science (CS)? Take CS 121.
PYTHON: PART 2 Catherine and Annie. VARIABLES  That last program was a little simple. You probably want something a little more challenging.  Let’s.
At Woodley we believe that reading is key to your child’s successes throughout their time in school and beyond. We value the experiences they have at home,
Welcome to the JAMS Library Ms. Whitt – Teacher-Librarian.
Moving Around in Scratch The Basics… -You do want to have Scratch open as you will be creating a program. -Follow the instructions and if you have questions.
Setting up and getting going with…. MIT App Inventor.
September  water bottles every day (own fruit may be brought for playtime)  PE kits and all items of uniform must have name labels.  book bags.
School Magazine Proposal and Analysis. Plan of my School Magazine Who is my target audience? The magazine is going to be created to be an Ursuline handbook.
Reading Preview 1. What does your father do? And how about your mother? 2. Is there anyone around you who doesn’t have a job? 3. What do you think people.
Locating Books in Your EPISD Library. ONLINE CATALOG.
CH 42 DEVELOPING A RESEARCH PLAN CH 43 FINDING SOURCES CH 44 EVALUATING SOURCES CH 45 SYNTHESIZING IDEAS Research!
Mtivity Client Support System Quick start guide. Mtivity Client Support System We are very pleased to announce the launch of a new Client Support System.
CRYPTOGRAPHY. WHAT IS PUBLIC-KEY ENCRYPTION? Encryption is the key to information security The main idea- by using only public information, a sender can.
How to Do a Research Project The Roaring 20’s. Step 1: Narrow the topic Jot down ideas of all the subtopics you could cover. Jot down ideas of all the.
Cover Letter YOUTH CENTRAL – Cover Letters & Templates
PRIMARY SOURCES What is a primary source? Why is this type of document important to the study of history?
Let’s enjoy a science fiction movie science fiction moviescience fiction movie.
Experimental Design. Homework Variables Worksheet due Monday. Mystery Powder Lab due Monday.
Sight Words.
EECS 110: Lec 2: What is Programming? Aleksandar Kuzmanovic Northwestern University
Source Cards. Getting Started: This Power Point will help take you through the process of writing your source cards and making sure they are perfect.
The Vocabulary Library An Introduction. Introduction Vocabulary is always a struggle for students, especially in a class where terms are just as “foreign”
Picobot area already covered area not covered (yet!) inspiration? walls Goal: whole-environment coverage with only local sensing … Picobot as envisioned.
Please feel free to chat until the seminar begins at the top of the hour!
1 Ch. 2: Getting Started. 2 About this lecture Study a few simple algorithms for sorting – Insertion Sort – Selection Sort (Exercise) – Merge Sort Show.
Monday’s Reading February 21 st, This Week’s Spelling Words.
Introduction to Structures CSLU 1100.Lo3 Fall 2007 Cameron McInally Fordham University.
EQ: How do I use author’s craft to guide my writing instruction? Researched….read….talked to Marianne….researched….read some more! What I learned: Students.
The teaching of reading is of the utmost importance. Not only do students need to be able to decode words and develop fluency, but it is even more important.
U.S. History. On your power point guide, please take a minute and answer the first two questions. These are the questions: What does the word history.
Alice and Java Unit 7 1. Day 1  Objective: Gain an introduction to Java and Eclipse  Essential skill: DM-1: Use technology to advance critical thinking.
Determining the Main Idea. What do these three items have in common?
“There Will Come Soft Rains” By: Ray Bradbury. John Oliver a-yF35g a-yF35g.
Physics 2093H Put on your speakers or earphones first Trent University
Roomba! Goal: whole-environment coverage Problem motivation
EECS 110: Lec 2: What is Programming?
What is computer science (CS)?
Spock mind-melds three-eyed aliens!
Creativity in Algorithms
Double Page Spread Versions
Picobot Challenge! inspiration? walls Picobot area not covered (yet!)
Interpreting the Rubric
Roomba! Goal: whole-environment coverage Problem motivation
Ionut Trestian Northwestern University
Presentation transcript:

Mon: CS + programming Tue: Data Wed: Algorithms Summary of MyCS (and this week…) Mon: CS + programming Tue: Data Wed: Algorithms robotics in Atlanta… show research videos… All together?

Picobot Mon: CS + programming Tue: Data Wed: Algorithms Summary of MyCS (and this week…) Mon: CS + programming Tue: Data Wed: Algorithms robotics in Atlanta… show research videos… Picobot All together?

Open this site: www.cs.hmc.edu/picobot

Another language? Python Scratch Picobot General-purpose language General-purpose language Special-purpose language you might see 5% by the end of a semester you might see 50% by the end of a semester you'll see 100% in the next 20 minutes less of its libraries! self-contained but not simplistic

An extreme close-up of Picobot in action... walls Picobot area not covered (yet!) area already covered inspiration? Goal: whole-environment coverage with only local sensing…

Picobot's inspiration walls Picobot area not covered (yet!) Picobot ~ robot vacuum may re-cover an area can't tell "vacuumed" from "unvacuumed" area area already covered Goal: whole-environment coverage with only local sensing…

Surroundings are always in NEWS order and always 4 letters Picobot can only sense things directly to the N, E, W, and S N W E S For example, here its surroundings are NxWx N E W S Surroundings are always in NEWS order and always 4 letters

Surroundings are always in NEWS order and always 4 letters What are these surroundings? N E W S NxWx Wow - this one is disgusting!

Surroundings How many distinct surroundings are there? N W E S

Surroundings How many distinct surroundings are there? N W E S 24 == 16 possible … xxxx Nxxx xExx xxWx xxxS NExx NxWx NxxS xEWx xExS xxWS NEWx NExS NxWS xEWS NEWS (won’t happen)

State I am in state 0. My surroundings are xxWS. Picobot's memory is a single number, called its state. State is the internal context of a computation, i.e., the subtask. Picobot always starts in state 0. State and surroundings represent everything Picobot knows about the world self-contained but not simplistic

Rules Picobot moves according to a set of rules: state surroundings I am in state 0. My surroundings are xxWS. Picobot moves according to a set of rules: state surroundings direction new state xxWS N

Rules Aha! I should move N. I should enter state 0. I am in state 0. My surroundings are xxWS. Aha! I should move N. I should enter state 0. Picobot moves according to a set of rules: state surroundings direction new state xxWS N If I'm in state 0 seeing xxWS, Then I move North, and "change" to state 0.

Asterisks * are wild cards. They match walls or empty space: I am in state 0. My surroundings are xxWS. Aha! This matches the surroundings x*** Asterisks * are wild cards. They match walls or empty space: state surroundings direction new state x*** N EWS may be wall or empty space N must be empty

state surroundings direction new state (A) What is a program that sends Picobot to the North (top) of the empty room ? state surroundings direction new state (B) stop, don’t crash! (C) How could we get back down? (D) And continue…?

Picobot checks its rules from the top each time. Model (A) What is a program that sends Picobot to the North (top) of the empty room ? state surroundings direction new state x*** -> N N*** -> X 1 (B) stop, don’t crash! 1 ***x -> S 1 1 ***S -> X (C) How could we get back down? (D) And continue…? Picobot checks its rules from the top each time. Model When it finds a matching rule, that rule runs. Only one rule is allowed per state and surroundings.

Your rules should work regardless of Picobot's starting position… ! Thought experiment 1… Create a program that will initially get picobot to the SOUTHEAST corner of the empty room. Your rules should work regardless of Picobot's starting position… ! How could you combine the previous example with this one to cover the whole room from any starting position? Extras! How few states could be used? How few total rules can be used? How would you solve these rooms?

Thought experiment 2… complete! Create a program that will get picobot to the COMPLETELY COVER the empty room. complete! Your rules should work regardless of Picobot's starting position… ! Hint: combine the up-and-down example with the previous one! Extra challenge: how FEW rules can you use? The current record is six rules…

Thought experiment 3… Algorithm: States: What different set of rules would guide Picobot through this "maze" environment? Thinking about the CS questions before diving into the programming will help!

· Suppose Picobot want to traverse a maze with its right hand always on the wall. · Suppose the starting state, state 0, will represent the fact that “Picobot is facing North” (A) Write a single rule that tells Picobot: “Continue North as long as there’s room to move and a wall on your right” (A) (B) Write a single rule that tells Picobot: “If you lose the wall when facing North, return to it immediately!” (B) (C) Write 1-2 rules to tell Picobot to do the right thing if it hits a dead end. (C)

Try it! www.cs.hmc.edu/picobot

Seventy years ago, in 1940, a popular science magazine published a short article that set in motion one of the trendiest intellectual fads of the 20th century. At first glance, there seemed little about the article to augur its subsequent celebrity. Neither the title, “Science and Linguistics,” nor the magazine, M.I.T.’s Technology Review, was most people’s idea of glamour. And the author, a chemical engineer who worked for an insurance company and moonlighted as an anthropology lecturer at Yale University, was an unlikely candidate for international superstardom. And yet Benjamin Lee Whorf let loose an alluring idea about language’s power over the mind, and his stirring prose seduced a whole generation into believing that our mother tongue restricts what we are able to think.

Seventy years ago, in 1940, a popular science magazine published a short article that set in motion one of the trendiest intellectual fads of the 20th century. At first glance, there seemed little about the article to augur its subsequent celebrity. Neither the title, “Science and Linguistics,” nor the magazine, M.I.T.’s Technology Review, was most people’s idea of glamour. And the author, a chemical engineer who worked for an insurance company and moonlighted as an anthropology lecturer at Yale University, was an unlikely candidate for international superstardom. And yet Benjamin Lee Whorf let loose an alluring idea about language’s power over the mind, and his stirring prose seduced a whole generation into believing that our mother tongue restricts what we are able to think. and I thought my language was alien!