140 likes | 274 Views
Software Development CSCI-1302. Lakshmish Ramaswamy. Logistics. Instructor: Prof. Lakshmish Ramaswamy Coordinates: GSRC 542; laks@cs.uga.edu Timings and Venue: Tue-Th 9:30 – 10:45 AM (Chemistry 451) Wed 9:05 – 9:55 AM (GSRC 208) TA: TBA Office Hours: TBA
E N D
Software DevelopmentCSCI-1302 Lakshmish Ramaswamy
Logistics • Instructor: Prof. Lakshmish Ramaswamy • Coordinates: GSRC 542; laks@cs.uga.edu • Timings and Venue: Tue-Th 9:30 – 10:45 AM (Chemistry 451) Wed 9:05 – 9:55 AM (GSRC 208) • TA: TBA • Office Hours: TBA • http://www.cs.uga.edu/~laks/SD-fall2007.html
Course Overview • Software design and implementation • Object oriented programming with java • Preliminary data structures & algorithms • Refer to course page for syllabus • Prerequisites: 1301 or 1301L • Textbook: Data Structures and Problem Solving Using Java by Mark Allen Weiss 3rd Edition
Grading • Written Assignments/Unannounced Quizzes – 10% • Programming Assignments- 45% • Midterm – 15% • Final – 30% • Optional homework – 0%
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 • 10% penalty for each late day • Zero points if late by more than 3 days • Proper documentation needed for health-related 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 FirstProgram.java • Executing programs • java FirstProgram.java • Set the “path” variable • See the “resources” page • Will be covered in next week
Operators • Assignment operators =, +=, -=, *=, /= • Binary Arithmetic Operators +, -, *, /, % • Unary Operators ++, -- • Type conversions a = (double) x/y;
Operators (Contd.) • Relational & equality operators ==, !=, <, <=, >, >= • Logical Operators !, &&, ||
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 a name, list of parameters and return type • Transfer of control-flow during function invocation and return • call-by-value parameter passing • Overloading functions – Multiple functions with same name but different parameters