software development csci-1302 lakshmish ramaswamy
TRANSCRIPT
Software DevelopmentCSCI-1302
Lakshmish Ramaswamy
Logistics• Instructor: Prof. Lakshmish Ramaswamy
• Coordinates: GSRC 542; [email protected]
• 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/SD-
fall2010.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/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 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
• Set the “path” variable – See the “resources” page– Will be covered in next week
A Simple Program
Primitive Types
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 methods – Multiple functions with same name but different parameters
Questions ??