cs 0007

11
CS 0007 Spring 2006-2007 Lory Al Moakar

Upload: melodie-foreman

Post on 31-Dec-2015

26 views

Category:

Documents


0 download

DESCRIPTION

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 - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: CS 0007

CS 0007

Spring 2006-2007Lory Al Moakar

Page 2: CS 0007

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 ??

Page 3: CS 0007

Staff

Instructor: Lory Al Moakar Office: SENSQ 6803 Office Phone: 412- 624-8453 Email: [email protected] Website: www.cs.pitt.edu\~lorym

Page 4: CS 0007

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

Page 5: CS 0007

Textbook

Java 5 from control structures to objects By Tony Gaddis

ISBN: 1-57676-171-1

Page 6: CS 0007

Required to attend

Lecture: MWF 01:00 PM – 01:50 PM

Page 7: CS 0007

Course policies Grading

Quizzes:15% Exam One:15% Exam Two:15% Final:15% Programming Projects:40%

Exams Programming assignments

Page 8: CS 0007

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

Page 9: CS 0007

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

Page 10: CS 0007

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

Page 11: CS 0007

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