1 / 8

CS 0008 Introduction to Computer Programming

CS 0008 Introduction to Computer Programming. Jan Wiebe: wiebe@cs.pitt.edu. Today. Learn what the course is about Go over the syllabus Get our feet wet with a first program. This Course. Teaches the basics of programming Uses Python

remy
Download Presentation

CS 0008 Introduction to Computer 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. CS 0008Introduction to Computer Programming Jan Wiebe: wiebe@cs.pitt.edu

  2. Today • Learn what the course is about • Go over the syllabus • Get our feet wet with a first program

  3. This Course • Teaches the basics of programming • Uses Python • Industrial strength programming language used at 1000s of companies. One of four official Google languages (the others are Java, C++, and Go) • Clean syntax • Free, well documented, well supported

  4. This Course • Programming ideas are the same from one language to another • Once you learn one language, it is straightforward to learn others • Python programs are shorter and simpler than Java programs. So, you can concentrate on the ideas, and learn programming concepts quicker.

  5. Examples Java: Public class HelloWorld { public static void main (String[] args) { System.out.println(“Hello, world!”); } } Python: print(“Hello, world!”)

  6. Examples Java: IntmyCounter = 0; String myString = String.valueOf(myCounter); If (myString.equals(“0”)) … Python: myCounter = 0 myString = str(myCounter) If myString == “O”: … Later in the course, we will discuss appropriate uses of the two languages

  7. What sorts of problems are solved with programming? • Remove red-eye from a picture • Find the complement of a DNA strand • Display maps with airplane flight paths • Multiply matrices • Assess the reading level of a text book • Programming is used in all areas

  8. Syllabus and Course Website http://www.cs.pitt.edu/~wiebe/courses/CS0008/Fall2013 The link is reachable from courseweb, under “syllabus”

More Related