Software Development CSCI1302 Lakshmish Ramaswamy Logistics Instructor Prof

  • Slides: 14
Download presentation
Software Development CSCI-1302 Lakshmish Ramaswamy

Software Development CSCI-1302 Lakshmish Ramaswamy

Logistics • Instructor: Prof. Lakshmish Ramaswamy • Coordinates: GSRC 542; laks@cs. uga. edu •

Logistics • Instructor: Prof. Lakshmish Ramaswamy • Coordinates: GSRC 542; laks@cs. uga. edu • Timings and Venue: Tue-Th 11: 00 AM – 12: 15 PM; Wed 11: 15 AM – 12: 05 PM (GSRC 306) • TA: TBA • Office Hours: Tue & Th 4: 45 PM – 5: 30 PM • http: //www. cs. uga. edu/~laks/SD-2010 -Sp/SDfall 2010. html

Course Overview • Software design and implementation • Object oriented programming with java •

Course Overview • Software design and implementation • Object oriented programming with java • Preliminary data structures & algorithms • Refer to course page for syllabus • Prerequisites: 1301 or 1301 L • Textbook: Data Structures and Problem Solving Using Java by Mark Allen Weiss 3 rd Edition

Grading • • • Written Assignments/Quizzes – 10% Programming Assignments- 45% Midterm – 15%

Grading • • • Written Assignments/Quizzes – 10% Programming Assignments- 45% Midterm – 15% Final – 30% Optional homework – 0% Attendance is optional – You are still responsible for all materials covered in lectures

Programming Assignments • • 6 -7 assignments Java in Unix environment To be done

Programming Assignments • • 6 -7 assignments Java in Unix environment To be done individually Tested for correctness with several test cases • Small credit for design and coding style • Assignments may be chained

Late and Cheating Policies • • All assignments are due by 11: 59 PM

Late and Cheating Policies • • All assignments are due by 11: 59 PM 10% penalty for each late day Zero points if late by more than 3 days Proper documentation needed for healthrelated reasons • Cheating cases handed over to academic honesty department • Minimum penalty – F grade with note in transcript • No copying from web or other sources

Basics of Java Programming • Compiling programs – javac First. Program. java • Executing

Basics of Java Programming • Compiling programs – javac First. Program. java • Executing programs – java First. Program • Set the “path” variable – See the “resources” page – Will be covered in next week

A Simple Program

A Simple Program

Primitive Types

Primitive Types

Operators • Assignment operators =, +=, -=, *=, /= • Binary Arithmetic Operators +,

Operators • Assignment operators =, +=, -=, *=, /= • Binary Arithmetic Operators +, -, *, /, % • Unary Operators ++, - • Type conversions a = (double) x/y;

Operators (Contd. ) • Relational & equality operators ==, !=, <, <=, >, >=

Operators (Contd. ) • Relational & equality operators ==, !=, <, <=, >, >= • Logical Operators !, &&, ||

Branching and Looping • • if-else construct while construct for construct do-while construct break

Branching and Looping • • if-else construct while construct for construct do-while construct break and continue switch statement conditional operator

Methods • A unit of code with a specific functionality • Header consists of

Methods • A unit of code with a specific functionality • Header consists of a name, list of parameters and return type • Transfer of control-flow during function invocation and return • call-by-value parameter passing • Overloading methods – Multiple functions with same name but different parameters

Questions ? ?

Questions ? ?