Java程序设计》实验教学大纲

课程代码

045100741

课程名称

Java程序设计

英文名称

JavaProgramming

课程类别

学科基础课

课程性质

学时

总学时:40,上机学时8

学分

2.5

开课学期

第二学期

开课单位

计算机科学与工程学院

适用专业

计算机科学与技术全英联合班,全英创新班(本硕、本博连读)

授课语言

英语

先修课程

毕业要求(专业培养能力)

1.思政建设实现计算机专业知识教学与立德树人教育的有机融合;激发学生“实干兴邦”的爱国奋斗精神。

2.工程知识:培养学生熟练掌握英语,能够将数学、自然科学、工程基础和专业知识用于解决复杂网络工程问题。

3.问题分析:能够应用数学、自然科学和工程科学的基本原理,识别、表达、并通过文献研究分析复杂网络工程问题,以获得有效结论。

4.设计/开发解决方案:能够设计针对复杂网络工程问题的解决方案,包括满足特定需求的系统设计、部件选择、工程实施流程或方案设计,并能够在设计环节中体现创新意识,考虑社会、健康、安全、法律、文化以及环境等因素。

5.研究:能够基于科学原理并采用科学方法对复杂网络工程问题进行研究,包括设计实验、分析与解释数据、并通过信息综合得到合理有效的结论。

6.使用现代工具:能够针对复杂网络工程问题,开发、选择与使用恰当的技术、资源、现代工程工具和信息技术工具,包括对复杂工程问题的预测与模拟,并能够理解其局限性。

课程培养学生的能力(教学目标)

1)本课程要求学生掌握Java语言基础知识;类和对象;继承和接口;泛型、枚举和内部类;异常控制;集合;Java常用类编程;基本I/O处理;多线程开发;网络编程;数据库访问;用户界面开发等。[12345

2)要求学生能够使用面向对象的思维方法设计开发小规模的Java应用程序,并在集成开发环境下(如Eclipse)调试运行。[6

课程简介

Java程序设计是网络工程专业的学科基础课。Java语言是目前推广速度最快的程序设计语言,它采用面向对象的编程技术,功能强大而又简单易学。通过本课程的教学,帮助学生掌握面向对象的程序设计思想,并能运用Java语言和相关开发工具解决实际问题。培养学生运用面向对象程序设计思想和逻辑思维方式进行计算机编程,启发学生的创新意识,通过理论学习和实践技能训练,提高学生在软件设计过程中分析问题和解决问题的实际动手能力。

主要仪器设备与软件

PC机,Eclipse

实验报告

1)实验目的

2)实验步骤

3)实验结果

4)总结与思考

考核方式

主要考查程序功能的完备性和实验报告的规范性。实验完成后,提交程序和实验报告。成绩占课程总成绩的20%

教材、实验指导书及教学参考书目

Y.Daniel Liang, Introduction to Java Programming, 10th Edition, 2017

BruceEckel,《Java编程思想》(第四版),机械工业出版社,2009

制定人及发布时间

董敏20194

JAVA程序设计》实验教学内容与学时分配

实验项目编号

实验项目名称

实验学时

实验内容提要

实验类型

实验要求

每组人数

主要仪器设备与软件

1

Java面向对象特性:继承、接口、包和内部类

2

编写求解几何图形周长、面积的应用程序,要求如下:

1.几何图形要求至少包含直线、三角形、矩形、圆等类型,计算周长、面积等。

2.要求能计算两个图形之间的距离。

3.要求能计算两个图形进行布尔运算(即交、并、差)后的面积。

4.必须用到继承、接口、多态、包和内部类。

综合性

必做

1

PC机,Eclipse

2

多线程编程技术

3

利用线程比较各种排序算法的效率:

1.要求生成1万个随机数。

2.找出3种排序方法,并写出它们的算法。

3.利用线程技术计算不同排序算法对这些数排序的运行时间。

综合性

必做

1

PC机,Eclipse

3

网络通信技术

3

设计图形界面程序,在服务器端和客户端传输图片和文件。如果是图片请显示该图片,如果是其它文件,则保存。

设计性

必做

1

PC机,Eclipse





JavaProgrammingSyllabus

Course Code

045100741

CourseTitle

JavaProgramming

CourseCategory

Specialty Basic Courses

CourseNature

ElectiveCourse

Class Hours

Total: 40hours, ComputerPractice:8 hours

Credits

2.5

Semester

The secondsemester

Institute

Schoolof computer science and engineering

ProgramOriented

ComputerScience and Technology Full English Creative Class(Bachelor-Master, Bachelor-Doctor Successive Program)

TeachingLanguage

English

Prerequisites

None

StudentOutcomes (Special Training Ability)

1.Ideological andpolitical construction: realize the organic integration ofcomputer professional knowledge teaching and moraleducation;Inspire the students' patriotic spirit of "makingthe country prosperous by doing".

2.EngineeringKnowledge: An ability toapply knowledgeof English,mathematics,science, engineering fundamentals and engineering specializationto solve complex network engineering problems.

3.Problem Analysis: An ability to apply basic principles ofmathematics, science, and engineering to identify, formulate, andanalyze complex network engineering problems through literatureresearch.

4.Design / Development Solutions: An ability to design solutions forcomplex network engineering problems, including system design,component selection, engineering implementation process orsolution design to satisfy specific needs, and an ability toexhibit innovative awareness in the design process, consideringfactors such as society, health, security, law, culture, andenvironment.

5.Research: An ability to conduct investigations on complex networkengineering problems based on scientific theories and by adoptingscientific methods, including design of experiments, analysis andinterpretation of data, and synthesis of information, to obtaineffective conclusions.

6.Applying Modern Tools: An ability to develop, select and applyappropriate techniques, resources, and modern engineering and ITtools for complex network engineering problems, includingprediction and modeling of complex engineering problems with anunderstanding of the limitations.

TeachingObjectives

(1)This course requiresstudents to master thebasic knowledge of Java Programming; Class and Object; Inheritanceand Interface; Generics; Enumerations and Inner Class; Exception;Collection; Commonly Used Classes; Basic I/O Processing;Multi-thread Programming; Network Programming; Database Accessing;GUI Programming, etc. [1, 2, 3, 4,5]

(2)Students are required to be able to design and develop small scaleJava applications by using Object Oriented Thinking. The abilityof programming under IDE such as Eclipse is also required. [6]

CourseDescription

Javaprogramming is the basic course of network engineering. Javalanguage is the fastest growing programming language, it usesobject-oriented programming technology, powerful and easy tolearn. Through the teaching of this course, help students tomaster the object-oriented programming ideas, and can use the Javalanguage and related development tools to solve practicalproblems. Training students to use object-oriented programmingideas and logical thinking way to computer programming, inspirestudents' innovative consciousness, through theoretical study andpractical skills training, improve students in the software designprocess to analyze problems and solve problems in practicalability.

Instrumentsand Equipments

Personalcomputer; Eclipse

ExperimentReport

(1 ) the purpose of the experiment

(2 ) experimental steps

(3 ) experimental results

(4 ) summary and thinking

Assessment

Thecompleteness of the programand the standardization of the experimental report. After theexperiment is complete, submit the program and the experimentalreport. Results accounted for 30 percentof the total curriculum.

TeachingMaterials and Reference Books

Y.Daniel Liang, Introduction to Java Programming, 10th Edition, 2017

BruceEckel, Thinking in Java(4thedition), China MachinePress,2009.

Preparedby Whom and When

DongMin, 2019.4

JavaProgrammingExperimentalTeaching Arrangements

No.

ExperimentItem

ClassHours

ContentSummary

Category

Requirements

Numberof StudentsEach Group

Instruments,Equipments and Software

1

Javaobject-oriented features: inheritance, interface, package, andinnerclass

2

Writeapplications to calculate the perimeter and area of thegeometries,as follows:

1.Geometriesinclude at least straight lines, triangles, rectangles, circles,etc.Calculatethe perimeter, area, etc. 

2.Thedistance between the two geometriesis required to be calculated. 

3.Thearea after the boolean operation (i.e.intersection, merging,difference) is required to be calculated. 

4.Inheritance,interface, polymorphism, package, and innerclass must be used.

Comprehensive

Compulsory

1

PersonalComputer; Eclipse

2

Multi-threadprogramming

3

Usethreads to compare the efficiency of various sorting algorithms

1.Requestto generate 10, 000 random numbers.

2.Findout three kinds of sorting methods and write their algorithms.

3. Usethread technology to calculate the running time of differentsorting algorithms on these numbers.

Comprehensive

Compulsory

1

PersonalComputer; Eclipse

3

Networkcommunication technology

3

Design agraphical interface program to transfer pictures and files betweenthe serverandthe client. If it is a picture, show the picture, if it is a file,save.

Design

Compulsory

1

PersonalComputer; Eclipse