Compulsory Courses

Java Programming

Source:国际学院 Date:2020-12-02 Hits:68

Course Objectives

· To introduce concepts and principles of problem solving by computer, and the construction of appropriate algorithms for the solution of problems.

· To demonstrate the principles underlying the design of high level programming languages.

· To give students experience and confidence in the use of a high level programming language to implement algorithms.

 

Course Requirements:

· An understanding of the principles and practice of object oriented analysis and design in the construction of robust, maintainable programs which satisfy their requirements;

· A competence to design, write, compile, test and execute straightforward programs using a high level language;

· An appreciation of the principles of object oriented programming;

· An awareness of the need for a professional approach to design and the importance of good documentation to the finished programs.

Specific requirements:

· Students will be able to create a Java program using a simple text editor. Students can compile programs through a command prompt window creating Java bytecode using Sun’s JDK. Programs can be debugged using errors displayed in the command prompt window.

· Students will be able to effectively utilize variables, constants, if statements, switch statements, conditional expressions, loops and nested loops, logical operators, relational operators, arithmetic operators, arrays, and methods. Students will be able to validate input and format output.

· Students will be able to utilize predefined classes to create objects as necessary. Students will be able to define classes with properties, constructors, and methods and use those classes to instantiate objects.

· Students will be able to develop an algorithm to solve a given problem. Students can translate the algorithm into a working Java program using recommended programming style and techniques.

 

 

 

 

 

 

Course Contents:

Part I: Fundamentals of Programming

Chapter 1 Introduction to Computers, Programs, and Java 1

Chapter 2 Elementary Programming 23

Chapter 3 Selections 71

Chapter 4 Loops 115

Chapter 6 Single-Dimensional Arrays 197

Chapter 7 Multidimensional Arrays 235

Part II: Object-Oriented Programming

Chapter 5 Methods 155

Chapter 8 Objects and Classes 263

Chapter 9 Strings and Text I/O 301

Chapter 10 Thinking in Objects 343

Chapter 11 Inheritance and Polymorphism 373

Chapter 13 Exception Handling 431

Chapter18 Applets and Multimedia Optional

Chapter29 Multithreading Optional

Part III: GUI Programming

Chapter 12 GUI Basics 405

 

Credits: 2