DOC PREVIEW
FIU COP 2210 - Syllabus

This preview shows page 1-2 out of 7 pages.

Save
View full document
View full document
Premium Document
Do you want full access? Go Premium and unlock all 7 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 7 pages.
Access to all documents
Download any document
Ad free experience
Premium Document
Do you want full access? Go Premium and unlock all 7 pages.
Access to all documents
Download any document
Ad free experience

Unformatted text preview:

Computer Programming ICOP 2210SyllabusFall Semester 2014Instructor: Greg Shaw8.) The ArrayList Class – Online Notes and Chapter 7, Section 7.7 ONLY!File ConceptsSequential Access vs. Random Access Files11.) Object-Oriented Design - Chapter 8Important DatesComputer Programming ICOP 2210SyllabusFall Semester 2014Instructor: Greg ShawOffice: ECS 337 (Engineering and Computer Science Bldg)Office Hours: Tuesday: 3:00 – 4:50, 7:00 – 7:40Thursday: 3:00 – 4:50, 7:00 – 7:40(all times pm, others by appointment)Phone: (305) 348-1550 E-mail: [email protected]: http://www.cs.fiu.edu/~shawgRequired Text: Big Java5th Editionby Cay HorstmannFIU COP 2210 Common Course Objectives1. Be familiar with the concepts of Objects and Classes 2. Master using the fundamental Java data types 3. Master using the Java selection and iteration constructs 4. Master using String and ArrayList classes 5. Master analyzing problems and writing Java program solutions tothose problems using the above features 1.) Introduction - Chapter 1A Brief History of Computer LanguagesMachine Languages, Assembly Languages, High-Level LanguagesTranslating Human-Readable Programs to Machine LanguageCompiled Languages, Interpreted Languages, and JavaString Literals ("Constants") and String ConcatenationEscape SequencesThe ASCII and Unicode Character Sets ErrorsSyntax Errors, Exceptions (aka: Run-time Errors), and LogicErrors (i.e., Semantic Errors)Algorithms and Problem-SolvingUsing the NetBeans IDE2.) Using an Existing Class (i.e. Creating and Manipulating Objects)- Chapter 2Introduction to Variables and Data TypesThe Assignment StatementObject-Oriented Programming (OOP) ConceptsClasses, Objects, and MethodsIntroduction to the String ClassCreating String objects, and the length, replace, indexOf, andsubstring methodsConstructing (“Creating”) ObjectsObjects, Object Variables, and Object ReferencesAssignment of Object VariablesUsing Objects (i.e. Calling Methods for Objects)Methods That Return a Value vs. "void" Methods Accessor and Mutator Methods (aka: "get" and "set" Methods)Local Variables3.) Implementing (“Creating”) Classes - Chapter 3Class Interface vs. Class ImplementationEncapsulation and Information HidingDefining Classes and MethodsInstance Variables (aka: Instance Fields)Access Specifier, Type, and NameClass Constructors Parameter Variables (aka: Method Parameters)Variable Scope, Lifetimes and Initial Values The this Object Reference and ShadowingMethod Overloading4.) Primitive Data Types (and More) - Chapter 4Java's Primitive Data Types: int, double, char, booleanArithmetic Operators and Operator PrecedenceInteger Arithmetic and Mixed-Type ArithmeticInteger Division and the Modulus ("Mod") OperatorType Conversion (aka: Type Casting) and "Roundoff" ErrorsThe "Shortcut" or "Arithmetic" Assignment OperatorsThe Increment and Decrement OperatorsDefined Constants (i.e., final variables)Intro to static Methods Math Class Methods (i.e., “Functions”)Reading User InputUsing the showInputDialog method of the JOptionPane ClassExplicit vs. Implicit Method ParametersAssignment of Primitive Types and Assignment of ObjectsThe Meaning of "=" Object References and Aliases5.) Decision-Making (aka: Selection, Conditional Execution) – Chapter 5Relational Operators and Relational ExpressionsThe if Statement Single-Alternative Decisions ("yes/no")Two-Alternative Decisions ("either/or")"Nested" if StatementsForming More Complex ConditionsMultiple-Alternative Decisions ("one of many")Testing Equality of Floating-Point NumbersString ComparisonsThe equals Method vs. the Equality Operator ("==") The equalsIgnoreCase MethodType booleanboolean Operators and Evaluating boolean Expressionsboolean Variables ("flags") and the boolean AssignmentStatement boolean Methods (aka: "Predicate" Methods)"Lazy" (or, "Shortcut") Evaluation of boolean ExpressionsDeMorgan’s Laws for Simplifying Boolean ExpressionsDecision-Making PitfallsTesting Programs that make DecisionsImpossible Conditions and Unavoidable ConditionsThe "Dangling Else" Problem (How to Avoid It)6.) Style and Documentation Standards for Java Programs (Online Notesand Appendix I)Style Considerations – Creating “Readable” ProgramsJava “Documentation Comments” (aka: “javadoc” Comments)“Internal” Documentation7.) Iteration (aka: Repetition, Looping) - Chapter 6The while LoopLoop NecessitiesDefensive Programming and “Robust” ProgramsUsing while to Validate InputAccumulators and CountersThe for LoopThe do-while LoopReading Data Until End-of-File Introduction to the Scanner classMethods next, nextInt, nextDouble, nextLine, and booleanMethod hasNextNested Loops The "Loop and a Half" Problem and the break StatementIteration Pitfalls: Infinite Loops and "Off by One" Errors8.) The ArrayList Class – Online Notes and Chapter 7, Section 7.7ONLY!“Generic” ArrayListsArrayList Methods add, get, size, remove, set, and clearArrayLists of Primitive Types“Wrapper” Classes, Autoboxing, and AutounboxingArrayLists of Objects9.) Files – Online Notes and Chapter 11, Sections 11.1 and 11.2File ConceptsSequential Access vs. Random Access FilesASCII Files vs. Binary FilesReading from Input Files (“Data Files”) Using the Scanner ClassWriting to Output Files Using the PrintWriter Class10.) The String Class Revisited – Online Notes and Chapter 4, Section4.5The null ("empty") String vs. the null Object ReferenceString Class Methods length, substring, indexOf, toUpperCase,toLowerCase, and charAtString Comparisons - the compareTo and compareToIgnoreCaseMethods11.) Object-Oriented Design - Chapter 8Choosing Classes to Model Determining Responsibilities of Each ClassClass Cohesion, Class Coupling, and Method “Side Effects”Call-by-Value vs. Call-by-Reference Parameter PassingWhy you can't change the value of a method argument Method Preconditions and PostconditionsStatic Class Methods and Static Class VariablesYour Schedule – Class, Labs, and “Open” Lab- Class attendance is required. The class meets in ECS 135 - The labs are also required and count as 10% of your semestergrade (that’s why it’s a 4-credit class). Labs are conducted inECS 141 The John C. Comfort Undergraduate Lab is ECS 241. This is an“open” lab where you can work at any timeImportant DatesMidterm Exam – Thursday, October 30thDrop Date - Monday, November 3rdFinal ExamSections


View Full Document
Download Syllabus
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view Syllabus and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view Syllabus 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?