面向?qū)ο蟪绦蛟O(shè)計(jì)教案(英文)_第1頁(yè)
面向?qū)ο蟪绦蛟O(shè)計(jì)教案(英文)_第2頁(yè)
面向?qū)ο蟪绦蛟O(shè)計(jì)教案(英文)_第3頁(yè)
面向?qū)ο蟪绦蛟O(shè)計(jì)教案(英文)_第4頁(yè)
面向?qū)ο蟪绦蛟O(shè)計(jì)教案(英文)_第5頁(yè)
已閱讀5頁(yè),還剩17頁(yè)未讀 繼續(xù)免費(fèi)閱讀

下載本文檔

版權(quán)說(shuō)明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)

文檔簡(jiǎn)介

1、ObjectOriented Programmingcases2007.03 teaching planContents(Titles)Chapter 1: Introduction to JavaHour2Teaching aims & requirementTeaching aims:What Is Java? Teaching requirement:Getting Started With Java ProgrammingCompiling and Running a Java ApplicationCompiling and Running a Java Applet Emp

2、hases, Difficulties & treatmentEmphases:Java ApplicationCompiling ProgramsExecuting ApplicationsA Simple Java AppletViewing Java AppletsDifficulties:Compiling Programstreatment: Using example to let student learn Compiling Programs.Teaching methodcombination of teaching in class and review after

3、 classliterature1. 美H.M.Deitel & P.J.Deitel.Java大學(xué)教程(第四版).北京:電子工業(yè)出版社,20042. 美John ODonahue.Java數(shù)據(jù)庫(kù)編程.北京:電子工業(yè)出版社,20053. 美Ivor Horton.JAVA 2入門經(jīng)典.中國(guó)電力出版社,20054. 美 C. Thomas Wu.面向?qū)ο蟪绦蛟O(shè)計(jì)導(dǎo)論.北京:電子工業(yè)出版社,2004Homework & requirementWrite “hello world” java program.postscript teaching planContents(Title

4、s)Chapter 2: Primitive Data Types and OperationsThe MyInput class Identifiers, Variables, and ConstantsPrimitive Data Types Hour2Teaching aims & requirementTeaching aims:Introducing Programming with an ExampleTeaching requirement:The MyInput class Identifiers, Variables, and ConstantsPrimitive D

5、ata Types Byte, short, int, long, float, double, char, booleanEmphases, Difficulties & treatmentEmphases:Declaring VariablesNumeric Type ConversionType CastingCharacter Data TypeUnicode FormatThe boolean Type and OperatorsDifficulties:Type Castingtreatment:Using exampleTeaching methodcombination

6、 of teaching in class and review after class。literature1. 美H.M.Deitel & P.J.Deitel.Java大學(xué)教程(第四版).北京:電子工業(yè)出版社,20042. 美John ODonahue.Java數(shù)據(jù)庫(kù)編程.北京:電子工業(yè)出版社,20053. 美Ivor Horton.JAVA 2入門經(jīng)典.中國(guó)電力出版社,20054. 美 C. Thomas Wu.面向?qū)ο蟪绦蛟O(shè)計(jì)導(dǎo)論.北京:電子工業(yè)出版社,2004Homework and requirementpostscript teaching planContents(T

7、itles)Chapter 2: Primitive Data Types and OperationsOperatorsProgramming Style and DocumentationHour2Teaching aims & requirementTeaching aims:Operators ExpressionsStyle and DocumentationSyntax Errors, Runtime Errors, and Logic ErrorsTeaching requirement:Operators +, -, *, /, %, +=, -=, *=, /=, %

8、=, +, -Know Syntax Errors, Runtime Errors, and Logic ErrorsEmphases, Difficulties & treatmentEmphases:Numeric Type ConversionThe boolean Type and OperatorsShortcut OperatorsThe & and | OperatorsOperator PrecedenceDifficulties:Type CastingCharacter Data TypeThe boolean Type and OperatorsShort

9、cut Operatorstreatment:Example 2.2 Computing MortgagesExample 2.3 Computing ChangesTeaching methodcombination of teaching in class and review after class。literature1. 美H.M.Deitel & P.J.Deitel.Java大學(xué)教程(第四版).北京:電子工業(yè)出版社,20042. 美John ODonahue.Java數(shù)據(jù)庫(kù)編程.北京:電子工業(yè)出版社,20053. 美Ivor Horton.JAVA 2入門經(jīng)典.中國(guó)電力出

10、版社,20054. 美 C. Thomas Wu.面向?qū)ο蟪绦蛟O(shè)計(jì)導(dǎo)論.北京:電子工業(yè)出版社,2004Homework and requirementThis program lets the user enter the interest rate, number of years, and loan amount and computes monthly payment and total payment.postscript teaching planContents(Titles)Chapter 3: Control StatementsHour2Teaching aims &

11、 requirementTeaching aims:Know Control Statements, use it to control program logic.Teaching requirement:Using if and if.elseNested if StatementsUsing switch StatementsRepetition StatementsLooping: while, do, and forUsing break and continueEmphases, Difficulties & treatmentEmphases:The if.else St

12、atementNested if Statementsswitch Statementswhile Loopsfor Loopsbreak and continueDifficulties:switch Statementswhile Loopsbreak and continuetreatment:Using example to let student learn Compiling Programs.Teaching methodcombination of teaching in class and review after class。literature1. 美H.M.Deitel

13、 & P.J.Deitel.Java大學(xué)教程(第四版).北京:電子工業(yè)出版社,20042. 美John ODonahue.Java數(shù)據(jù)庫(kù)編程.北京:電子工業(yè)出版社,20053. 美Ivor Horton.JAVA 2入門經(jīng)典.中國(guó)電力出版社,20054. 美 C. Thomas Wu.面向?qū)ο蟪绦蛟O(shè)計(jì)導(dǎo)論.北京:電子工業(yè)出版社,2004Homework and requirementThis program reads in number of years and loan amount and computes the monthly payment and total paymen

14、t. The interest rate is determined by number of years. postscript teaching planContents(Titles)Chapter 4: MethodsHour2Teaching aims & requirementTeaching aims:Introducing Methods, Declaring Methods, Calling Methods, Passing Parameters, Pass by Value, Overloading Methods, Method Abstraction, The

15、Math Class,Recursion.Teaching requirement:Introducing MethodsDeclaring MethodsCalling MethodsPassing ParametersOverloading MethodsMethod AbstractionThe Math ClassEmphases, Difficulties & treatmentEmphases:Calling MethodsPassing ParametersOverloading MethodsMethod AbstractionDifficulties:Overload

16、ing MethodsMethod Abstractiontreatment:Example Overloading the max MethodExample Computing Mean and Standard DeviationTeaching methodcombination of teaching in class and review after class。literature1. 美H.M.Deitel & P.J.Deitel.Java大學(xué)教程(第四版).北京:電子工業(yè)出版社,20042. 美John ODonahue.Java數(shù)據(jù)庫(kù)編程.北京:電子工業(yè)出版社,2

17、0053. 美Ivor Horton.JAVA 2入門經(jīng)典.中國(guó)電力出版社,20054. 美 C. Thomas Wu.面向?qū)ο蟪绦蛟O(shè)計(jì)導(dǎo)論.北京:電子工業(yè)出版社,2004Homework and requirementGenerate 10 random numbers and compute the mean and standard deviation.The program reads in the month and year and displays the calendar for a given month of the year.postscript teaching pla

18、nContents(Titles)Chapter 5: Programming with Objects and Classes5.1 OO Programming Concepts5.2 Declaring and Creating Objects5.3 Constructors5.4 ModifiersHour2Teaching aims & requirementTeaching aims:OO Programming ConceptsDeclaring and Creating ObjectsConstructorsModifiers (public, private and

19、static)Instance and Class Variables and MethodsScope of VariablesTeaching requirement: Use the this Keyword Analyze Relationships among ClassesCase Studies (Mortgage class and Rational class)The Java API and Core Java classesProcessing Strings (String, StringBuffer, and StringTokenizer)Emphases, Dif

20、ficulties & treatmentEmphases:Declaring and Creating ObjectsConstructors ModifiersDifficulties:Constructors Modifierstreatment:Example Using ObjectsExample Using ConstructorsTeaching methodcombination of teaching in class and review after class。literature1. 美H.M.Deitel & P.J.Deitel.Java大學(xué)教程(

21、第四版).北京:電子工業(yè)出版社,20042. 美John ODonahue.Java數(shù)據(jù)庫(kù)編程.北京:電子工業(yè)出版社,20053. 美Ivor Horton.JAVA 2入門經(jīng)典.中國(guó)電力出版社,20054. 美 C. Thomas Wu.面向?qū)ο蟪绦蛟O(shè)計(jì)導(dǎo)論.北京:電子工業(yè)出版社,2004Homework and requirementDiscuss the role of constructors and use them to create objects.postscript teaching planContents(Titles)Chapter 5: Programming wit

22、h Objects and Classes 5.5 Scope of Variables5.6 Relationships among Classes5.7 Class Abstraction5.8 Class DesignHour2Teaching aims & requirementTeaching aims:The scope of instance and class variables is the entire class. They can be declared anywhere inside a class.Relationships among ClassesTea

23、ching requirement: Use the this Keyword Analyze Relationships among ClassesCase Studies (Mortgage class and Rational class)The Java API and Core Java classesProcessing Strings (String, StringBuffer, and StringTokenizer)Emphases, Difficulties & treatmentEmphases:AssociationAggregationInheritanceC

24、lass AbstractionClass DesignDifficulties:AggregationInheritanceClass Abstractiontreatment:Example Borrowing MortgagesExample Using the Rational ClassTeaching methodcombination of teaching in class and review after class。literature1. 美H.M.Deitel & P.J.Deitel.Java大學(xué)教程(第四版).北京:電子工業(yè)出版社,20042. 美John

25、ODonahue.Java數(shù)據(jù)庫(kù)編程.北京:電子工業(yè)出版社,20053. 美Ivor Horton.JAVA 2入門經(jīng)典.中國(guó)電力出版社,20054. 美 C. Thomas Wu.面向?qū)ο蟪绦蛟O(shè)計(jì)導(dǎo)論.北京:電子工業(yè)出版社,2004Homework and requirementDemonstrate the roles of instance and class variables and their uses. This example adds a class variable numOfObjects to track the number of Circle objects cre

26、ated. postscript teaching planContents(Titles)Chapter 6 Class Inheritance6.1 Superclasses and Subclasses6.2 Overriding methods6.3 The Object Class6.4 ModifiersHour2Teaching aims & requirementTeaching aims:Superclasses and SubclassesKeywords: superOverriding methodsThe Object ClassModifiers: prot

27、ected, final and abstractTeaching requirement:Known Superclasses and Subclasses, maintain Overriding methods. learn The Object Class. Modifiers: protected, final and abstract.Emphases, Difficulties & treatmentEmphases:Creating a SubclassUsing the Keyword superThe protected ModifierThe final Modi

28、fierThe abstract ModifierDifficulties:Using the Keyword superThe final ModifierThe abstract Modifiertreatment:Example Testing InheritanceExample Overriding Methods in the SuperclassTeaching methodcombination of teaching in class and review after class。literature1. 美H.M.Deitel & P.J.Deitel.Java大學(xué)

29、教程(第四版).北京:電子工業(yè)出版社,20042. 美John ODonahue.Java數(shù)據(jù)庫(kù)編程.北京:電子工業(yè)出版社,20053. 美Ivor Horton.JAVA 2入門經(jīng)典.中國(guó)電力出版社,20054. 美 C. Thomas Wu.面向?qū)ο蟪绦蛟O(shè)計(jì)導(dǎo)論.北京:電子工業(yè)出版社,2004Homework and requirementCreate a Cylinder object and explore the relationship between the Cylinder and Circle classes.postscript teaching planContents(

30、Titles)Chapter 6 Class Inheritance6.5 Polymorphism and Object Casting6.6 Interfaces6.7 Inner Classes6.8 Program Development and Class DesignHour2Teaching aims & requirementTeaching aims:Polymorphism and Object Casting InterfacesInner ClassesProgram Development and Class DesignTeaching requiremen

31、t:Polymorphism refers to the ability to determine at runtime which code to run, given multiple methods with the same name but different operations in the same class or in different classes. Known what is an interface, Creating an Interface, Implementing an Interface.Emphases, Difficulties & trea

32、tmentEmphases:PolymorphismDynamic BindingCasting ObjectsCreating an InterfaceImplementing an InterfaceInner ClassesDifficulties:Dynamic BindingCasting ObjectsCreating an Interfacetreatment:Example Casting ObjectsExample of Creating an InterfaceExample Using Interfaces Example Cloning ObjectsTeaching

33、 methodcombination of teaching in class and review after class。literature1. 美H.M.Deitel & P.J.Deitel.Java大學(xué)教程(第四版).北京:電子工業(yè)出版社,20042. 美John ODonahue.Java數(shù)據(jù)庫(kù)編程.北京:電子工業(yè)出版社,20053. 美Ivor Horton.JAVA 2入門經(jīng)典.中國(guó)電力出版社,20054. 美 C. Thomas Wu.面向?qū)ο蟪绦蛟O(shè)計(jì)導(dǎo)論.北京:電子工業(yè)出版社,2004Homework and requirementUse the max meth

34、od to find a find the maximum circle between two circles and a maximum cylinder between two cylinders. postscript teaching planContents(Titles)Chapter 7 Arrays and Vectors7.1 Introducing Arrays7.2 Array of Objects7.3 Multidimensional ArraysHour2Teaching aims & requirementTeaching aims:Introducin

35、g ArraysKnown Array of ObjectsMaintain Multidimensional ArraysTeaching requirement:Introducing Arrays and Using Arrays in Sorting, Declaring and creating, Initializing Array of ObjectsKnown Multidimensional Arrays, The Integer Class and The Double Class.Emphases, Difficulties & treatmentEmphases

36、:Creating Arrays, Initializing ArraysDeclaring and creating Array of ObjectsCopying ArraysDifficulties:Declaring Arrays,Declaring and creating Array of Objectstreatment:Example Summarizing the Areas of CirclesExample Adding and Multiplying Two MatricesTeaching methodcombination of teaching in class

37、and review after class。literature1. 美H.M.Deitel & P.J.Deitel.Java大學(xué)教程(第四版).北京:電子工業(yè)出版社,20042. 美John ODonahue.Java數(shù)據(jù)庫(kù)編程.北京:電子工業(yè)出版社,20053. 美Ivor Horton.JAVA 2入門經(jīng)典.中國(guó)電力出版社,20054. 美 C. Thomas Wu.面向?qū)ο蟪绦蛟O(shè)計(jì)導(dǎo)論.北京:電子工業(yè)出版社,2004Homework and requirementread student scores (int) from the keyboard, get the bes

38、t score, and then assign grades based on the following scheme:Grade is A if score is >= best10;Grade is B if score is >= best20;Grade is C if score is >= best30;Grade is D if score is >= best40;Grade is F otherwise.postscript teaching planContents(Titles)Chapter 7 Arrays and Vectors 7.4

39、Wrapper Classes7.5 Command-Line Parameters7.6 The Vector ClassHour2Teaching aims & requirementTeaching aims:Maintain Numeric Wrapper ClassesKnown how to use Command-Line ParametersMaintain Creating Generic ClassesKnown The Vector ClassTeaching requirement:Use two-dimensional arrays to create two

40、 matrices, and then add and multiple the two matrices.Use The Integer Class and The Double Class.Emphases, Difficulties & treatmentEmphases:The Integer ClassThe Double ClassWrapper ClassesCommand-Line ParametersThe Vector ClassDifficulties:The Double ClassWrapper ClassesCommand-Line Parameterstr

41、eatment:Example Using Command-Line ParametersExample Designing Generic ClassesExample Extending Abstract ClassesTeaching methodcombination of teaching in class and review after class。literature1. 美H.M.Deitel & P.J.Deitel.Java大學(xué)教程(第四版).北京:電子工業(yè)出版社,20042. 美John ODonahue.Java數(shù)據(jù)庫(kù)編程.北京:電子工業(yè)出版社,20053.

42、美Ivor Horton.JAVA 2入門經(jīng)典.中國(guó)電力出版社,20054. 美 C. Thomas Wu.面向?qū)ο蟪绦蛟O(shè)計(jì)導(dǎo)論.北京:電子工業(yè)出版社,2004Homework and requirementWrite a program that will perform binary operations on integers. The program receives three parameters: an operator and two integers.postscript teaching planContents(Titles)Chapter 8 Getting Start

43、ed with Graphics Programming 8.1 Graphics Class. 8.2 Frames. 8.3 Layout ManagersHour2Teaching aims & requirementTeaching aims:Graphics Class Hierarchy.Creating frames, centering frames, adding components to framesFlowLayout, GridLayout, BorderLayout.Teaching requirement:Known Graphics Class Hier

44、archy.Maintain Creating frames, centering frames, adding components to frames.Learning use Layout Managers: FlowLayout, GridLayout, BorderLayout.Emphases, Difficulties & treatmentEmphases:Creating frames, centering frames, adding components to frames,FlowLayout, GridLayout, BorderLayoutDifficult

45、ies:Creating frames adding components to framesFlowLayout, GridLayout, treatment:Example Testing the FlowLayout ManagerExample Testing the GridLayout ManagerTeaching methodcombination of teaching in class and review after class。literature1. 美H.M.Deitel & P.J.Deitel.Java大學(xué)教程(第四版).北京:電子工業(yè)出版社,20042

46、. 美John ODonahue.Java數(shù)據(jù)庫(kù)編程.北京:電子工業(yè)出版社,20053. 美Ivor Horton.JAVA 2入門經(jīng)典.中國(guó)電力出版社,20054. 美 C. Thomas Wu.面向?qū)ο蟪绦蛟O(shè)計(jì)導(dǎo)論.北京:電子工業(yè)出版社,2004Homework and requirementThe GridLayout manager arranges components in a grid (matrix) formation with the number of rows and columns defined by the constructor. The components

47、are placed in the grid from left to right starting with the first row, then the second, and so onpostscript teaching planContents(Titles)Chapter 8 Getting Started with Graphics Programming8.4 Drawing on Panels8.5 Using Colors, Fonts, and Font MetricsHour2Teaching aims & requirementTeaching aims:

48、Place the user interface components in panels and place the panels in a frame. Learn to use The Color Class, The Font Class, The FontMetrics Class.Teaching requirement:Draw in a panel, Use panels to organize components. Can use the methods to set the components background and foreground colors, Sett

49、ing Fonts, Using FontMetrics.Emphases, Difficulties & treatmentEmphases:Using Panels as ContainersThe Color ClassThe Font ClassThe FontMetrics ClassDifficulties:Using Panels as ContainersThe Color ClassThe Font Classtreatment:Use Example 8.4 Testing Pane.Example Using FontMetricslTeaching method

50、PPT & lab Exercisesliterature1. 美H.M.Deitel & P.J.Deitel.Java大學(xué)教程(第四版).北京:電子工業(yè)出版社,20042. 美John ODonahue.Java數(shù)據(jù)庫(kù)編程.北京:電子工業(yè)出版社,20053. 美Ivor Horton.JAVA 2入門經(jīng)典.中國(guó)電力出版社,20054. 美 C. Thomas Wu.面向?qū)ο蟪绦蛟O(shè)計(jì)導(dǎo)論.北京:電子工業(yè)出版社,2004Homework and requirementDisplay “Welcome to Java” in SansSerif 20-point bold, ce

51、ntered in the frame.postscript teaching planContents(Titles)Chapter 9:Creating User Interfaces9.1 What is a JavaBean?9.2 JComponent9.3 JButtonHour2Teaching aims & requirementTeaching aims:Learn to use JComponent Properties. toolTipText, font, background, foreground, doubleBuffered, border, prefe

52、rredSize, minimumSize, maximumSizeJButton Properties, text,icon,mnemonic, horizontalAlignment, verticalAlignment, horizontalTextPosition, verticalTextPositionTeaching requirement:use JComponent Properties. A button is a component that triggers an action event when clicked.Emphases, Difficulties &

53、; treatmentEmphases:Component Properties. toolTipText, font, background, foregroundButton Properties, text,icon,mnemonic, horizontalAlignment, verticalAlignment, horizontalTextPosition, verticalTextPosition.Difficulties:Component Properties.Button Properties.treatment:Use example to display how to u

54、se ButtonTeaching methodPPT & lab Exercisesliterature1. 美H.M.Deitel & P.J.Deitel.Java大學(xué)教程(第四版).北京:電子工業(yè)出版社,20042. 美John ODonahue.Java數(shù)據(jù)庫(kù)編程.北京:電子工業(yè)出版社,20053. 美Ivor Horton.JAVA 2入門經(jīng)典.中國(guó)電力出版社,20054. 美 C. Thomas Wu.面向?qū)ο蟪绦蛟O(shè)計(jì)導(dǎo)論.北京:電子工業(yè)出版社,2004Homework and requirementCreate a user interface that use

55、 button.postscript teaching planContents(Titles)Chapter 9:Creating User Interfaces9.4 JLabel9.5 JTextField9.6 JTextAreaHour2Teaching aims & requirementTeaching aims:Learn to use JLabel, JtextField, JTextArea.Teaching requirement:A label is a display area for a short text, an image, or both.A text field is an input area where the user can type in characters. Text fields are useful in that they enable the user to enter in variable data.JTextArea Constructors, JTextArea Properties.Emphases, Difficulties &

溫馨提示

  • 1. 本站所有資源如無(wú)特殊說(shuō)明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁(yè)內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒(méi)有圖紙預(yù)覽就沒(méi)有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫(kù)網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。

評(píng)論

0/150

提交評(píng)論