正在加载图片...
第五章Conditionals and Loops (一)目的与要求 1.Define the flow of control through a method. 2.Explore Boolean expressions that can be used to make decisions. 3.Perform basic decision making using if statements. 4.Discuss issues pertaining to the comparison of certain types of data. 5.Execute statements repetitively using while loops. 6.Examine conditional processing using switch statements. 7.Discuss the conditional operator. 8.Examine alternative repetition statements:the do and for loops 9.Discuss the concept of an iterator object and use one to read a text file. 10. Explore more GUI components and events. (二)教学内容 第一节The if Statement 1.主要内容 (1)Equality and Relational Operators (②)Logical Operators (3)The if-else Statement (4)Using Block Statements (5)Nested if Statements 2.基本概念和知识点 (1)Conditionals and loops allow us to control the flow of execution through a method. (2)An if statement allows a program to choose whether to execute a particular statement. (3)A loop allows a program to execute a statement multiple times. (4)Logical operators are often used to construct sophisticated conditions. (5)Proper indentation is important for human readability:it shows the relationship between one statement and another. (6)An if-else statement allows a program to do one thing if a condition is true and another thing if the condition is false.13 第五章 Conditionals and Loops (一)目的与要求 1.Define the flow of control through a method. 2.Explore Boolean expressions that can be used to make decisions. 3.Perform basic decision making using if statements. 4.Discuss issues pertaining to the comparison of certain types of data. 5.Execute statements repetitively using while loops. 6.Examine conditional processing using switch statements. 7.Discuss the conditional operator. 8.Examine alternative repetition statements: the do and for loops. 9.Discuss the concept of an iterator object and use one to read a text file. 10. Explore more GUI components and events. (二)教学内容 第一节 The if Statement 1.主要内容 (1) Equality and Relational Operators (2) Logical Operators (3) The if-else Statement (4) Using Block Statements (5) Nested if Statements 2.基本概念和知识点 (1) Conditionals and loops allow us to control the flow of execution through a method. (2) An if statement allows a program to choose whether to execute a particular statement. (3) A loop allows a program to execute a statement multiple times. (4) Logical operators are often used to construct sophisticated conditions. (5) Proper indentation is important for human readability; it shows the relationship between one statement and another. (6) An if-else statement allows a program to do one thing if a condition is true and another thing if the condition is false
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有