200 likes | 312 Views
HOW TO DESIGN PROGRAMS. GETTING STARTED. Version 1.1.0 Prepared by: IT Group Last modified: April 2 nd , 2008. Contents. Introduce to Scheme and DrScheme Install DrScheme Begin with DrScheme. 1. Introduce to Scheme and DrScheme. Scheme language
E N D
HOW TO DESIGN PROGRAMS GETTING STARTED Version 1.1.0 Prepared by: IT Group Last modified: April 2nd, 2008
Contents • Introduce to Scheme and DrScheme • Install DrScheme • Begin with DrScheme
1. Introduce to Scheme and DrScheme • Scheme language • Very helpful to practice five necessary skills that are used for solving a problem. • Easy to learn. • DrScheme is a programming environment for Scheme language.
2. Install DrScheme 2.1. Preparation 2.2. Installation steps 2.3. Configuration
2.1. Preparation Download DrScheme at: http://www.drscheme.org/
2.2. Installation steps 2.2.1. Start installation 2.2.2. Choose install location 2.2.3. Choose start menu folder 2.2.4. Install in process 2.2.5. Finish installation
2.2.1. Start installation Double click on plt-372-bin-i386-win32.exe to install
2.3. Configuration Language > Choose Language
3. Begin with DrScheme 3.1. Start DrScheme 3.2. A first look at DrScheme 3.3. Simple problems 3.3.1.Hello World Program 3.3.1. Math Expression
3.1. Start DrScheme • Start > All Programs > PLT Scheme > DrScheme OR • Scheme_Home > DrScheme.exe
3.2. A first look at DrScheme Definition Window Run Program Interactive Window
3.3. Simple problems 3.3.1. Hello World Program 3.3.2. Math Expression
3.3.1. Hello World Program • Problem: Write a program that displays the message “Hello World !!!” • Solution:
3.3.2. Math Expression • Problem: How to perform a sum of two given numbers • Solution:
References • HTDP organization: http://htdp.org • Wikipedia: http://en.wikipedia.org/wiki/Scheme_(programming_language)