1 / 11

CS 0007

CS 0007. Spring 2006-2007 Lory Al Moakar. Outline. Introduction What is CS 0007 Textbook Required to attend Course policies Why Program? What is a program ??? Example of a program What is a program made of ? What’s next ??. Staff. Instructor: Lory Al Moakar Office: SENSQ 6803

Download Presentation

CS 0007

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 0007 Spring 2006-2007 Lory Al Moakar

  2. Outline • Introduction • What is CS 0007 • Textbook • Required to attend • Course policies • Why Program? • What is a program ??? • Example of a program • What is a program made of ? • What’s next ??

  3. Staff • Instructor: Lory Al Moakar • Office: SENSQ 6803 • Office Phone: 412- 624-8453 • Email: lorym@cs.pitt.edu • Website: www.cs.pitt.edu\~lorym

  4. What is CS 0007 ??? • A course intended to: • Introduce you to computing basics • Introduce you to programming • Goals: • You would be able to write simple effective programs in JAVA • You would be able to design a simple application

  5. Textbook • Java 5 from control structures to objects By Tony Gaddis • ISBN: 1-57676-171-1

  6. Required to attend • Lecture: MWF 01:00 PM – 01:50 PM

  7. Course policies • Grading • Quizzes:15% • Exam One:15% • Exam Two:15% • Final:15% • Programming Projects:40% • Exams • Programming assignments

  8. Why Program? • A computer is hardware and software • Software is a set of programs • A program is a set of instructions that a computer can understand • A program is designed to accomplish a certain task or tasks

  9. What is a program ??? • A precise set of instructions that are used to define a task • Examples: • Steps to build a piece of furniture • A recipe • Directions to use a machine

  10. Example of a program • Calculating the average of two numbers: • Input first number • Input Second number • Add the two numbers = sum • Divide the sum by 2 = average • Output average

  11. What is a program made of ? • Key words: words in Java that have a special meaning or function • Operators: like +, -, *, / • Punctuation: like ; , : • Programmer defined names: • Syntax: rules that you must follow while writing the program

More Related