CS 0007

Post on 31-Dec-2015

26 views 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 of CS 0007

CS 0007

Spring 2006-2007Lory 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 Office Phone: 412- 624-8453 Email: lorym@cs.pitt.edu Website: www.cs.pitt.edu\~lorym

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

Textbook

Java 5 from control structures to objects By Tony Gaddis

ISBN: 1-57676-171-1

Required to attend

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

Course policies Grading

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

Exams Programming assignments

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

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

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

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