Objective
To master the fundamentals of the UC Berkeley Logo programming language, initially by directing the “turtle” to draw geometric figures on the screen and then by instructing the “turtle” to respond to user input, such as changing the color, shape, or dimensions of the drawings. (The Logo language was developed to teach students to think logically and to solve problems creatively. This course thereby supplements a broad liberal arts education, while also providing an entry experience in computer programming that for some students may foster interest in pursuing a career as a software engineer. No prior experience is necessary.)
Outline
- Turtle Motion I: forward, back, left, right, home, savepict, loadpict, epspict
- Control Structures I: run, runresult, repeat, forever, repcount, for
- Pen and Background Control: pendown, penup, penpaint, penerase, penreverse, setpencolor, setpalette, setpensize, setpenpattern, setpen, setbackground
- Turtle Motion II: setpos, setxy, setx, sety, setheading, arc
- Turtle Motion Queries: pos, xcor, ycor, heading, towards, scrunch
- Numeric Operators I: sum, difference, minus, product, quotient, remainder, modulo, int, round
- Logical Operators: and, or, not, if, ifelse, do.while, while, do.until, until, case
- Control Structures II: test, iftrue, iffalse, stop, pause, continue, wait, bye, goto, tag
- Numeric Predicates: lessp, greaterp, lessequalp, greaterequal, random, rerandom
- Turtle and Window Queries: shownp, screenmode, turtlemode, labelsize
- Pen Queries: pendownp, penmode, pencolor, palette, pensize, pen, background
- Numeric Operators II: sqrt, power, exp, log10, ln, sin, cos, arctan, iseq, rseq
- Mouse Queries: mousepos, clickpos, buttonp, button
- Turtle and Window Control I: showturtle, hideturtle, clean, clearscreen, wrap, window, fence
- Turtle and Window Control II: fill, filled, label, setlabelheight, textscreen, fullscreen, splitscreen, setscrunch, refresh, norefresh
Related Course(s)
Currently Unscheduled
This course is currently unscheduled. If you would like it to be offered soon, please contact us.