1 / 12

Programming

Programming. Diane Pozefsky & Belinda Kerchmar. Where have we been?. Websites HTML Code CSS Code PHP includes Spreadsheets Booleans If Statements Logical Breakdown of Problems Strings Error Handling. Where can you go?.

nicole
Download Presentation

Programming

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Programming Diane Pozefsky & Belinda Kerchmar

  2. Where have we been? • Websites • HTML Code • CSS Code • PHP includes • Spreadsheets • Booleans • If Statements • Logical Breakdown of Problems • Strings • Error Handling

  3. Where can you go? • With the skills you’ve learned, our claim is that you essentially know the building blocks for learning how to program. • You can very easily make the jump to a programming language.

  4. What is Programming? • Need to understand WHAT you want to build • Take a large problem and break it into smaller pieces • Write in a programming language • Make it available to people to use

  5. Problem Break Down • Where have we seen the need to break problems into smaller parts? • Grades • Normalize • Drop lowest exam • Absence • Translate to letter grade • Book List • Author last name • Format title • Retrieve country

  6. For Bigger Project • If you were to write a word processor: • Type characters • receive input from keyboard • Erase characters • receive input from keyboard • Spell check • Formatting • Table of contents • …

  7. Error Handling • Allows a program to give a meaningful message to the user. • Seen in Excel as #value vs. “Please check value”. • Can cause a program to exit cleanly rather than crashing.

  8. Python • Python was created to be: • simple • free of excess syntax • beautiful • You can download & play with python here: • http://www.python.org/download/

  9. What can we do in Python? • Just about everything! • Strings • Concatenation • Substring • Trim • Booleans • If Statements

  10. Python • Can be used two ways • Interactive • Produce a program for others • Python has it’s own syntax, just like CSS & HTML

  11. Python Time...

  12. Other Courses • Comp 110 -- Introduction to Programming [Spring and Fall] • Comp 116 -- Introduction to Scientific Programming [Spring and Fall] • Comp 380 OR Comp 381-- Computers & Society [Spring and Fall] • Comp 416 -- Web Programming [Fall only]

More Related