comp 2300 javasouthcentral.edu/cco/2015/comp2300_cco_2015.pdf · create, compile, and run a simple...

5
Common Course Outline Monday, April 21, 2014 South Central College COMP 2300 Java Common Course Outline Course Information Description This course covers OOP (Object Oriented Programming) using the Java language. Inheritance, polymorphism, abstract classes, and interfaces are covered. SWING, exceptions, data structures, and I/O streams will also be covered, demonstrating each of the OO concepts. Total Credits 4.00 Total Hours 48.00 Types of Instruction Instruction Type Credits/Hours Lecture Pre/Corequisites Successful completion of COMP1130 Programming Fundamentals (with a C grade or higher), or a working knowledge of another programming language. Note: Prerequisites ensure that you are at the correct learning level for the course. Please feel free to contact the instructor to help you determine your expertise level if you have not completed the prerequisite courses. Course Competencies 1 Install Java. Learning Objectives Install the Java SDK on a personal computer. Set the PATH statement in the environment to include the Java binary files. Write a paragraph describing the characteristics of Java as a programming language. Create, compile, and run a simple program using Eclipse or a similar Java editing program. Write a paragraph or draw an illustration showing how a .java source code file is processed into a running program. Describe why program style is important in a team environment. 2 Create a simple Java program that utilizes primitive data types and operations.

Upload: others

Post on 04-Jul-2020

7 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: COMP 2300 Javasouthcentral.edu/cco/2015/COMP2300_cco_2015.pdf · Create, compile, and run a simple program using Eclipse or a similar Java editing program. Write a paragraph or draw

Common Course Outline Monday, April 21, 2014

South Central College

COMP 2300 Java Common Course Outline

Course Information

Description This course covers OOP (Object Oriented Programming) using the Java language. Inheritance, polymorphism, abstract classes, and interfaces are covered. SWING, exceptions, data structures, and I/O streams will also be covered, demonstrating each of the OO concepts.

Total Credits 4.00

Total Hours 48.00

Types of Instruction

Instruction Type Credits/Hours Lecture

Pre/Corequisites

Successful completion of COMP1130 Programming Fundamentals (with a C grade or higher), or a working knowledge of another programming language. Note: Prerequisites ensure that you are at the correct learning level for the course. Please feel free to contact the instructor to help you determine your expertise level if you have not completed the prerequisite courses.

Course Competencies

1 Install Java. Learning Objectives Install the Java SDK on a personal computer.

Set the PATH statement in the environment to include the Java binary files.

Write a paragraph describing the characteristics of Java as a programming language.

Create, compile, and run a simple program using Eclipse or a similar Java editing program.

Write a paragraph or draw an illustration showing how a .java source code file is processed into a running program.

Describe why program style is important in a team environment.

2 Create a simple Java program that utilizes primitive data types and operations.

Page 2: COMP 2300 Javasouthcentral.edu/cco/2015/COMP2300_cco_2015.pdf · Create, compile, and run a simple program using Eclipse or a similar Java editing program. Write a paragraph or draw

Common Course Outline Monday, April 21, 2014

Learning Objectives Write programs that utilize the three-tiers of data, business rules, input/output

List the eight primitive data types from memory.

Use the eight primitive data types as variables in a program.

Use the keyword "final" to create a constant in a program.

Utilize casting in a program to convert data types.

3 Use I/O techniques in a Java program. Learning Objectives Use the dot operator to access predefined methods.

Demonstrate the use of input and output dialog boxes in a program.

Utilize String methods in a program.

Format output using printf( )

Write information to a file.

Read information from a file.

Write a program that parses text files using the StringTokenizer class.

4 Utilize control statements in a Java program. Learning Objectives Use commenting to design your program in English before you start coding.

Utilize various relational and logical operators in a program

Use the if else selection statement to make decisions in a program.

Use the switch statement to test the value of a single variable.

Use the ternary operator ( ? : ) in a program to replace an if else statement.

Use a while loop in a program.

Use a do loop in a program.

Use a for loop in a program.

Demonstrate the difference between using the = (assignment statement) and the = = (equality operator).

Use the keyword break to break out of a loop.

5 Write custom methods. Learning Objectives Draw a diagram showing the parts of a method showing where incoming and return variables are declared.

Write a method that accepts different variable types and returns a value or object.

Page 3: COMP 2300 Javasouthcentral.edu/cco/2015/COMP2300_cco_2015.pdf · Create, compile, and run a simple program using Eclipse or a similar Java editing program. Write a paragraph or draw

Common Course Outline Monday, April 21, 2014

Write a program that demonstrates the scope of a local variable.

Write several methods that utilize overloading.

Demonstrate the scope of any identifier or variable.

Write a description of abstraction, giving real-world examples.

6 Actively debug programs using print statements, break points, and stepping. Learning Objectives Utilize Web resources such as Google to analyze and solve various Java error messages.

Use specialized print statements to display contents of variables.

Use block commenting to reduce areas of code as a debugging procedure.

Use breakpoints and stepping to debug a program.

7 Demonstrate the relationship between objects and classes. Learning Objectives Describe in a paragraph the difference between an object and a class using at least one real-world example

Modify an existing program with methods into a program that contains an object and uses it to create a class and use it

Write a program that creates and uses a custom class.

Create a program that utilizes a constructor to initialize startup variables when a class is created.

Demonstrate the scope of a variable in the context of a class.

Use the keyword 'this' as part of a class showing the current instance of a variable.

8 Use arrays and arrayLists to handle simple data structures. Learning Objectives Write a program that utilizes an array.

Write a program that passes an array into a method.

Write a program that passes a single element of an array into a method.

Write a program that utilizes a multidimensional array.

Compare the benefits/disadvantages of using an Array, Vector, ors an ArrayList.

9 Utilize basic data structure techniques to sort and search through data. Learning Objectives Implement a sequential search algorithm.

Use a sort algorithm to sort an array.

Implement a binary search in a program.

10 Add a Graphical User Interface (GUI) to your program. Learning Objectives

Page 4: COMP 2300 Javasouthcentral.edu/cco/2015/COMP2300_cco_2015.pdf · Create, compile, and run a simple program using Eclipse or a similar Java editing program. Write a paragraph or draw

Common Course Outline Monday, April 21, 2014

List at least 10 of the Swing user-interface components and the suggested prefix for each one.

Use the basic Swing components in a program (JFrame, JLabel, JTextField, JButton)

Demonstrate knowledge of the flow layout managers.

Demonstrate knowledge of the grid layout manager

Demonstrate knowledge of the GridBag layout manager

11 Utilize event-driven programming concepts Learning Objectives Draw a diagram showing the relationship between registration, listening, and event handling.

Describe the difference between an event and an event source.

List at least four user actions, the source object for each action, and the event type generated.

List at least four events, the interface used for that event, and the method or handlers for that event.

Write a program that handles window events.

Debug an event-driven program.

Write a program that uses multiple listeners for a single source.

12 Write a program that uses inheritance to create new classes Learning Objectives Write a program that demonstrates the relationship of superclass and subclass.

Write a program that overrides methods from its parent class.

Write a program that demonstrates polymorphism and dynamic binding.

Demonstrate the use of the instanceof operator.

13 Incorporate exception handling in your program design Learning Objectives Draw a diagram showing the basic concept of Java's exception handling.

List the different types of exception types.

Use the keyword 'throws' to claim an exception in a method.

Write a method that utilizes try, catch, and throw to handle exceptions.

Use the keyword 'finally' in a try-catch block.

Describe when to use, and when not to use exception handling in your programs.

14 Use streams and other I/O techniques to communicate with your Java programs Learning Objectives Draw a graphic representation of input and output streams.

Page 5: COMP 2300 Javasouthcentral.edu/cco/2015/COMP2300_cco_2015.pdf · Create, compile, and run a simple program using Eclipse or a similar Java editing program. Write a paragraph or draw

Common Course Outline Monday, April 21, 2014

Write a program that uses a byte stream.

Write a program that uses a character stream.

Write a program that reads and writes to external files using the File class.

Use JFileChooser to display open and save file dialog boxes in a program.

Write a program that serializes (and deserializes) objects.

15 Use data structures in a Java program (linked lists, hash tables, and sets) Learning Objectives Write a Node class.

Write a Single Linked List class.

Create a linked list using the LinkedList class.

Draw a diagram showing the difference between a single linked list, a double linked list, a circular list, and a binary tree.

Give real-world examples showing how a programmer would use arrays, arrayLists, vectors, linked lists, circular list, and binary trees.

16 Use recursion to solve certain programming problems. Learning Objectives Define recursion.

Write out a recursive algorithm.

Use recursive methods to complete a complicated task.

17 Develop a programming style using the XP program development process. Learning Objectives Describe the traditional software development process in writing a program.

Utilize the XP (eXtreme Programming) software development process in writing a program.

Participate in team programming and compare it to solitary programming.

SCC Accessibility Statement If you have a disability and need accommodations to participate in the course activities, please contact your instructor as soon as possible. This information will be made available in an alternative format, such as Braille, large print, or cassette tape, upon request. If you wish to contact the college ADA Coordinator, call that office at 507-389-7222.

Disabilities page http://southcentral.edu/academic-policies/disability-rights.html

krystal.kuchenbecker
Typewritten Text
.