Introduction to Algorithms using Netlogo - PowerPoint PPT Presentation

About This Presentation
Title:

Introduction to Algorithms using Netlogo

Description:

Introduction to Algorithms using Netlogo What s an Algorithm Definitions of Algorithm on the Web: A procedure or formula for solving a problem. – PowerPoint PPT presentation

Number of Views:33
Avg rating:3.0/5.0
Slides: 11
Provided by: Computer111
Learn more at: https://www.cs.unca.edu
Category:

less

Transcript and Presenter's Notes

Title: Introduction to Algorithms using Netlogo


1
Introduction to Algorithms using Netlogo
2
Whats an Algorithm
  • Definitions of Algorithm on the Web
  • A procedure or formula for solving a problem.
    www.cctvconsult.com/glossary.htm
  • A set of instructions or procedures for solving a
    problem. www.davcomuk.co.uk/files/tech/glossary.h
    tm
  • An unambiguous formula or set of rules for
    solving a problem in a finite number of steps.
    Algorithms for encryption are usually called
    Ciphers. www.modssl.org/docs/2.3/ssl_glossary.htm
    l
  • is a procedure or formula for solving problems
    www.stallion.com/html/support/glossary.html

3
Drawing in Netlogo
  • Start Netlogo (under CSCI programs) and resize
    the display to make the turtle easier to see

Click here
4
Use the command center to create a turtle
First define its shape
Next create one turtle
5
Now give commands to the turtle
Set to T for turtle
Give the command pd for pen down
6
Begin to draw a box using the commands fd
(forward) and lt (left turn)
7
Make your algorithm into a procedure
Commands to create the turtle in a
procedure called setup
Commands given to the turtle in a procedure
called go
8
Create 2 buttons to run your proceduresUse the
button icon on the interface toolbar.
Runs the setup procedure
9
Try out your new buttons
10
Less typing?
Write a Comment
User Comments (0)
About PowerShow.com