Professor Sprenkle [email protected] September 10, 2007. Introduction to Programming. Objectives. Introduction to problem solving Introduction to Python Introduction to Linux. Computational Problem Solving 101. Computational Problem A problem that can be solved by logic
How do you make a peanut butter and jelly sandwich?
Write down the steps so that someone else can follow your instructions
Make no assumptions about the person’s knowledge of PB&J sandwiches
The person has the following materials:
Loaf of bread, Jar of PB, Jelly, 2 Knives, paper plates, napkins
Programmer types a program/script into a text editor(jEdit or IDLE).
An interpreter (a program itself) turns each expression into bytecode and then executes each expression
(jEdit or IDLE)
Manages the computer’s resources, e.g., CPU, memory, disk space
Examples: UNIX, Windows XP, Windows 2000, Mac OSX, Linux, etc.
Command-line interface (not a GUI)
Type commands into terminal window
cp file1.c file1copy.c (copy a file)
mkdir cisc105 (make a directory)