Presentation on theme: "1 MicroWorlds. 2 Introduction LOGO programming language –For History"— Presentation transcript:
2 Introduction LOGO programming language –For History –http://www.computernostalgia.net/articles/logo.htmhttp://www.computernostalgia.net/articles/logo.htm – – tml tml –Walking Randomly
3 Logo Language UCB Logo Brian Harvey, University of California, Berkeley Three complete online Logo Programming books –Computer Science Logo Style volume 1: Symbolic Computing 2/e Copyright (C) 1997 MIT Computer Science Logo Style Volume 1: Symbolic ComputingComputer Science Logo Style volume 1: Symbolic Computing 2/e Copyright (C) 1997 MIT Computer Science Logo Style Volume 1: Symbolic Computing – Computer Science Logo Style volume 2: Advanced Techniques 2/e Copyright (C) 1997 MIT Computer Science Logo Style Volume 2: Advanced Techniques Computer Science Logo Style volume 2: Advanced Techniques 2/e Copyright (C) 1997 MIT Computer Science Logo Style Volume 2: Advanced Techniques –Computer Science Logo Style volume 3: Beyond Programming 2/e Copyright (C) 1997 MIT Computer Science Logo Style Volume 3: Beyond ProgrammingComputer Science Logo Style volume 3: Beyond Programming 2/e Copyright (C) 1997 MIT Computer Science Logo Style Volume 3: Beyond Programming y.edu/~bh/
4 Introduction to MicroWorlds EX (MAC)
5 Introduction to MicroWorlds EX (PC version)
7 ? ? What’s this area?
8 MicroWorlds EX Files are called Projects Objects and text are displayed on pages Point to: –Menu bar –Toolbar –Page –Command Center –Status Bar –Procedures area-What do you find here? –Tabs
Hatch a Turtle
10 Some Basic Commands fd rt bk lt pd pu repeat setc setpos seth setpensize cg clean
11 Some Basic Commands fd (forward) rt (right) bk (back) lt (left) pd (pen down) pu (pen up) repeat setc (set color) setpensize cg (clear graphics) clean Which one of the basic programming concepts?
13 Short Cuts In the command center fd 100 rt 90 fd 100 rt 90 fd 100 rt 90 fd 100 rt 90 Is the same as: repeat 4 [fd 100 rt 90] Which one of the basic programming concepts?
14 Can you draw and program these? Write commands to draw each of these shapes. For each shape, how much does the turtle turn to draw each angle?
15 How can I get the turtle to draw a Right Angle?
16 Team Challenge Equilateral Triangle
17 Triangles Classified in 2 Ways
18 By their Sides
19 By their Angles
20 You can draw the shapes in any size, thickness, or color. to colorsquare setpensize 5 setc 15 repeat 4 [fd 100 rt 90] end
21 MicroWorlds Exercise Turtle Geometry and Teaching Turtles Words See Handouts
25 An Animated Story Walk through the creation of an Animated Story
26 Class Needs More Practice? Answering Basics For beginning work with animation, try make a face, animate me, race cars, bouncing off walls, or growing spider. For beginning work with a game, try obstacle course. For beginning work with textboxes, try animated story. make a faceanimate merace cars bouncing off wallsgrowing spider obstacle course animated story
27 MicroWorld Examples Visit some of the following to see what is possible: MathCats Interactive Math games and activitieshttp://www.mathcats.com/microworlds.html Tic-Tac-Toe Open World Learning-go to Project Foldershttp://mia.openworldlearning.org/ (go to the bottom icon and click List Sites)http://www.cattanach.org/microworlds/index.html
28 Converting to a Procedure #1 Once you know the commands you want to convert the command to a procedure ( On the Procedures Tab to the right) to square repeat 4 [fd 100 rt 90] end
29 Converting to a Procedure #2 Once you know the commands you want to convert the command to a procedure ( On the Procedures Tab in the turtles backpack) to square repeat 4 [fd 100 rt 90] end
30 Converting to a Procedure Once you know the commands you want to convert the command to a procedure ( On the Procedures Tab) to square repeat 4 [fd 100 rt 90] end Test it: 1.Create a button 2.Type the procedure in command center 3.On the turtle (object) edit command
31 Test it: 1.Create a button 2.Type the procedure in command center 3.On the turtle (object) edit command
32 New Pages and Turning Pages Pages – New Make a button Right Click or Ctrl and then Edit Label: This shows up on the button Instructions: list a page you want it to go to – page2
34 Exercise Create a three page “story” Use buttons to turn pages Program your “turtles”
35 Student Examples Show & Share
36 Team Challenge How do you program a “turtle” to move forward and jump over or move around the rock?
37 Draw a rock & hatch a turtle Rename the turtle from t1 to turtle
38 Add a pop up command for an object/color
But then it keeps going? The turtle name, clickoff
41 But it’s going too fast! How to Slow it Down
42 Program a turtle to go around a rock…slowly Steps 1.Draw a rock 2.Hatch a turtle 3.Find the coordinates 1.Click on turtles backpack 4.Teach “reset” Example. –to reset –t1, setpos [-50 69] –End 5.Make a reset button 6.Test movement in command center 7.Convert to a procedure Steps continued: 8. Use a procedure button 9. Make it move slowly with “wait” code –Example to go repeat 5 [fd 10 wait 1] lt 90 repeat 8 [fd 10 wait 1] rt 90 repeat 20 [fd 10 wait 1] rt 90 repeat 10 [fd 10 wait 1] end
43 To add a reset button find the coordinates
44 Add the button “teach” the computer the command for “reset”
45 MW Quiz XXXXX xxx
46 Answers: Need a double quotation before blue, and last lt should be rt.
47 Answers: Since it is a slider, we don’t need the : in front of the word speed. We would if it was a variable. The procedure raisespeed should be called from OnColor under Rules, in the backpack, or you can associate it with the color under the turtle space.
What does Logo language have to do with Cybersecurity? What does programming in MicroWorlds have to do with Cybersecurity?
49 We are getting lots of machines with hits on this, particularly student laptops on the wireless network. I managed to track down this reference: ec784c89f7c8f62 ec784c89f7c8f62 does anyone know any m ore about this threat? Russell. If I had to guess, it's a password stealer directed at online games like World of Warcraft, EVE Online, Star Wars Galaxies, or Lord of the Rings Online. Hackers in China have figured out how to take control of these accounts, steal all the ingame money, and/or use the accounts in macro programs to farm in-game money which they sell for real life cash through any number of websites. The Chinese hackers make big money at it and the victim accounts eventually get banned for violating the game's EULA. Charles XX XXXXX Senior Security Analyst University of Tennessee Information Security Office Martin Campus
53 Team Challenges Build a 3-5 page MW project around the theme Cybersecurity – Game – Story
55 What is IA? CyberWATCH Video – Fox Video—Cyber challenge Sneakers – The Net – Staying Safe Online: The Need for Cybersecurity NATO Brief Obama Need for Cybersecurity National Collegiate Cyber Defense Competition The Duhs of Security Hacker – NSA Commercial –
56 What is IA (cont)? Theory and Practice of Cryptography – There May be a Shortage of Cybersecurity Professionals – Lockheed Martin HOW Cyber Security – Whoa, That's Awkward (EDUCAUSE WINNER) Whoa, That's Awkward – Northrop Grumman Battlespace Command – NSA spy techniques (good background--bias messaging) – Lockheed Martin Security Intelligence Center – United States Air Force-Cyberspace Domain –
Other Videos Robotics Lockheed Martin HULC Exoskeleton – Remove Cyber Security Removal Video How to remove bad videos/bots How to remove bad videos/bots – Humorous October is cybersecurity awareness month--good example of what to do Cyber Security Awareness - Missouri S&T Cyber Security Awareness CyberChallenge – 57
58 Careers in IS/IA & Digital Forensics Handout for Labor Stats and Career PathsCareer Paths
59 MicroWorlds Introduction LOGO programming language –For History –http://www.computernostalgia.net/articles/logo.htmhttp://www.computernostalgia.net/articles/logo.htm – – tml tml –Walking Randomly
Other long list CyberWATCH.swf (good overview of the field and need for cybersecurity) – LM_HOW_Cyber_Security.flv (cyber threats—espionage—likelihood and impact) – Lockheed_Martin_HULC_Exoskeleton.flv (wearable robots) – Lockheed_Martin_Security_Intelligence_Center.flv (connection with game/chess moves) – NGC Battlespace_Command.flv (military flavor—Northrop Grumman) – There_May_Be_A_Shortage_of_Cyber_Security_Professionals.flv (brief overview of jobs in cybersecurity) – NSA History (good history overview—some parts bias) – IWantToPlayWarcraftNow.flv Trailer for the movie The Net – 1995_-_The_Net_-_Trailer.flv – 1995_-_The_Net_-_Trailer.mp4 – NATOTrailer.flv (news brief) The_DUHS_Of_Security.wmv
Other long list – Middle Any of the above plus…. Are you protected? (iaav8_02.swf, iss3_02.swf, and iaav_08.swf) cyber_security_awareness_-_Missouri_S_amp_T.flv (student made awareness video RE malware/passwords etc…) – United_States_Air_Force-Cyberspace_Domain.flv (explains cyberspace and how connects with cybersecurity—and the electromagnetic spectrum) – Trailer for the Movie Hackers – Hackers_Movie_Trailer.flv (NOTE: stop before the last 2 seconds—bad language) – National_CCDC_2009.mov (promo for the National Collegiate Cyber Defense Competition) – Other videos about Cyber Challenges – NSA_RecruitVideo_Small.wmv (NSA recruitment video) – StayingSafeOnlineTheNeedCybersecurity.mp4 (shows the muti dimensions of cybersecurity)
Other long list – High Any of the above plus…. How to remove fake malware scanning software Remove_Cyber_Security_Removal_Video.flv walk through step by step how to remove fake anti-malware software – Whoa_that_s_Awkward.flv EDUCAUSE WINNER VIDEO CONTEST(makes the connection with keeping anti virus up to date and not clicking on things not sure of—NOTE: does not show but references the connection with pornography and malware) – Trailer for the Movie Sneakers – 1992_-_Sneakers_-_Trailer.flv – PresidentObamaCybersecurity.mp4 (Securing our Nations Cyber Infrastructure Speech) Theory_and_Practice_of_Cryptography.flv (Steve Weis Google Tech Talks— excellent overview) –