120 likes | 219 Vues
This course offers a comprehensive overview of programming, guiding you through the essential building blocks necessary to transition into languages like Python. You'll learn fundamental concepts such as problem breakdown, logical structuring, and error handling while engaging with HTML, CSS, and PHP. Dive into real-world applications like spreadsheets, strings, and conditional logic. By the end, you’ll not only grasp what programming is but also how to apply these skills effectively in various projects. Prepare to take the leap into computer programming with confidence!
E N D
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? • 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.
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
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
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 • …
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.
Python • Python was created to be: • simple • free of excess syntax • beautiful • You can download & play with python here: • http://www.python.org/download/
What can we do in Python? • Just about everything! • Strings • Concatenation • Substring • Trim • Booleans • If Statements
Python • Can be used two ways • Interactive • Produce a program for others • Python has it’s own syntax, just like CSS & HTML
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]