CS3L: Introduction to Symbolic Programming Summer 2008Colleen Lewis Lecture 2: Review – Writing Procedures.

Slides:



Advertisements
Similar presentations
Lab III – Linux at UMBC.
Advertisements

CS3L: Introduction to Symbolic Programming Summer 2008Colleen Lewis Lecture 4: Review Conditional & Word Stuff.
ENEE150: Discussion 1 Section 0104 Please Sit Down at a Computer and Login!
Dale Roberts Introduction to Java - First Program Dale Roberts, Lecturer Computer Science, IUPUI Department of Computer and.
CS3L: Introduction to Symbolic Programming Summer 2008Colleen Lewis Lecture 17: HOF and Tick-Tack-Toe.
CS320n – Elements of Visual Programming Introduction to Alice Mike Scott (Slides 1-1)
CS3L: Introduction to Symbolic Programming Summer 2008Colleen Lewis Lecture 18: HOF.
CS3L: Introduction to Symbolic Programming Summer 2008Colleen Lewis Lecture 26: Printing and Stuff.
CS3L: Introduction to Symbolic Programming Summer 2008Colleen Lewis Lecture 14: Number Spelling Mini-project.
CIS 240 Introduction to UNIX Instructor: Sue Sampson.
CS3L: Introduction to Symbolic Programming Summer 2008Colleen Lewis Lecture 12: Homework stuff and Accumulating Recursion.
CS3L: Introduction to Symbolic Programming Summer 2008Colleen Lewis Lecture 19: HOF Problems.
Chapter 2 Accessing Your System and the Common Desktop Environment.
CS3L: Introduction to Symbolic Programming Summer 2008Colleen Lewis Lecture 6: Mini-Project Prep.
Engineering H192 - Computer Programming The Ohio State University Gateway Engineering Education Coalition Lect 20AP. 1Winter Quarter File Transfer Lecture.
CS3L: Introduction to Symbolic Programming Summer 2008Colleen Lewis Lecture 13: Bugs and Two Stage Recursion.
CS3L: Introduction to Symbolic Programming Summer 2008Colleen Lewis Lecture 20: Tree Recursion.
CS3L: Introduction to Symbolic Programming Summer 2008Colleen Lewis Lecture 1: Introduction & Administration.
CS3L: Introduction to Symbolic Programming Summer 2008Colleen Lewis Lecture 8: Recursion.
CS3L: Introduction to Symbolic Programming Summer 2008Colleen Lewis Lecture 9: Recursion Rocks!
CS3L: Introduction to Symbolic Programming Summer 2008Colleen Lewis Lecture 16: Let and Lambda.
CS3L: Introduction to Symbolic Programming Summer 2008Colleen Lewis Lecture 25: Trees and Generalized Lists.
CS3L: Introduction to Symbolic Programming Summer 2008Colleen Lewis Lecture 27: Review – most children and truth about cons.
CS3L: Introduction to Symbolic Programming Summer 2008Colleen Lewis Lecture 7: Review.
Course Introduction and Getting Started with C 1 USF - COP C for Engineers Summer 2008.
CS3L: Introduction to Symbolic Programming Summer 2008Colleen Lewis Lecture 15: Procedures as Arguments.
CS3L: Introduction to Symbolic Programming Summer 2008Colleen Lewis Lecture 5: Difference Between Dates Case Study.
CS3L: Introduction to Symbolic Programming Summer 2008Colleen Lewis Lecture 24: Review for lists, map and member.
CS3L: Introduction to Symbolic Programming Summer 2008Colleen Lewis Lecture 3: Conditional Expressions.
Introduction to UNIX A User’s Perspective: Day 2 – Command Basics.
CS0007: Introduction to Computer Programming Setting Up Java.
Engineering H192 - Computer Programming The Ohio State University Gateway Engineering Education Coalition Lect 4P. 1Winter Quarter Introduction to UNIX.
Introduction to the Mathematica Text Interface for Unix/Linux Kernel Part 1 MCSR Math Camp.
The Unix Environment and Compiling. Getting Set Up Your programs will be compiled and tested on the Departmental server ‘linprog’ The linprog servers.
CSE 326: Your Computing Environment Steve Martin Aiman Erbad.
CS105 Lab 1 – Introduction Section: ??? TA: ??? ??? Announcements CITES Accounts Compass Netfiles Other Administrative Information CS105 Fall
8 Shell Programming Mauro Jaskelioff. Introduction Environment variables –How to use and assign them –Your PATH variable Introduction to shell programming.
Introduction to Unix – CS 21 Lecture 9. Lecture Overview Shell description Shell choices History Aliases Topic review.
CSCI-A110 Lab Welcome!. Overview: a busy 1 st day Welcome – Introduction Purpose of the lab Course Structure/Grading Online Course Material (Oncourse)
CS 326 Programming Languages, Concepts and Implementation Instructor: Mircea Nicolescu Lecture 7.
PROGRAMMING PROJECT POLICIES AND UNIX INTRO Sal LaMarca CSCI 1302, Fall 2009.
COP3502: Introduction to Computer Science Yashas Shankar.
COP3502: Introduction to Computer Science Yashas Shankar.
Next Unix Topics Tuesday, 2/11 & 18/2014. Change Password (by 2/14/14) ssh to account on – faclinux.cse.ohio-state.edu – stdlinux.cse.ohio-state.edu passwd.
1 Remote Access Telnet Telnet FTP FTP. 2 Applications and Communications Telnet Telnet  Program for accessing systems remotely.  Available on Windows.
Java Programming, Second Edition Appendix A Working with Java SDK 1.4.
CGS3460 Summer 2011 Programming Using C Andrei Todor.
Engineering H192 - Computer Programming Gateway Engineering Education Coalition Lect 20AP. 1Winter Quarter File Transfer Lecture 20A.
Advanced Programming in the UNIX Environment Hop Lee.
COMP307 Artificial Intelligence Xiaoying Gao Victoria University of Wellington Lecture 2:1 
COP3502: Introduction to Computer Science Yashas Shankar Lecture #2.
1 Day 2 Logging in, Passwords, Man, talk, write. 2 Logging in Unix is a multi user system –Many people can be using it at the same time. –Connections.
1 10/15/04CS150 Introduction to Computer Science 1 Reading from and Writing to Files Part 2.
ENEE150: Discussion 1 Section 0104/0105 Please Sit Down at a Computer and Login!
General Computer Science for Engineers CISC 106 Lecture 03 James Atlas Computer and Information Sciences 6/15/2009.
1 CS101 Fall 2001 Lecture 1 In order to write a program, you must first telnet to your pegasus account and login either from a Rutgers computer in a lab,
General Computer Science for Engineers CISC 106 Lecture 03 James Atlas Computer and Information Sciences 9/9/2009.
Review Why do we use protection levels? Why do we use constructors?
ENEE150 Discussion 01 Section 0101 Adam Wang.
UNIX To do work for the class, you will be using the Unix operating system. Once connected to the system, you will be presented with a login screen. Once.
CS1010: Intro Workshop.
Development Environment Basics
Andy Wang Object Oriented Programming in C++ COP 3330
CGS3460 Summer 2011 Programming Using C
CS 326 Programming Languages, Concepts and Implementation
Introduction to Programming the WWW I
Lecture 3 More on editors: emacs and vi COP 3344 Introduction to UNIX.
Intro to UNIX System and Homework 1
Welcome to CS61BL Grab lecture notes when you come in
Day 5 Emacs Editor David A. Gaitros Department of Computer Science
Presentation transcript:

CS3L: Introduction to Symbolic Programming Summer 2008Colleen Lewis Lecture 2: Review – Writing Procedures

Today Review of some things from yesterday Defining functions Scheme stuff Class Lunch!!!

BOGGLE STYLE: Things you learned yesterday Work with a partner You have one minute! Make a list of all the thing you did/learned yesterday (in CS3) BOGGLE STYLE: 0 points if someone else has the same answer 1 point if no one else has the same answer

Some answers from Boggle Java based windowing sucks Learing how to save buffer window Learned how to use cyber monkey Name for mystery function Run emacs from prompt (emacs &) Learned unix commands Learned about fav. Restaurants How to define a procedure Call functions How to make a too many error How to login to ssh Scp (within emacs) How to add in scheme Ctrl+ D resets STk EMACS Init file for new students accounts has Ctrl+D bound ( Ctrl+X 1 brings a new window Make a scheme comment How o work from home How to make a too few number error How to connect to the lab computers at home How to make directories How to save directiories. How to use emacs keybaord macros

(define (average x y) ( / (+ x y) 2 )) Keyword Procedure Name Placeholders Body

Write your answer on paper! (define (f x) ( * x 3) ( + x 10)) (f 1) = ???

Descriptive Placeholders (define (area x y) ( * x y )) (better) (define (area length width) ( * length width ))

Don’t reuse procedure names as arguments! (define (square x) ( * x x )) (define (area square) (square square))