Vicki Gold

11/30 & 12/4

 

Computer Science - C++ - 667

 

 

LESSON 11b:  Method Return Types Project

 

 

Mass Curriculum Standards:

·       Standard 1: Demonstrate proficiency in the use of computers and applications as well as an understanding of concepts underlying hardware, software, and connectivity.

·       Standard 2: Demonstrate responsible use of technology and an understanding of ethics and safety issues in using electronic media.

 

Math Standards

International Society of Technology Education (ISTE):

Information Literacy Standards:

·       Standard 6 – Mathematics instructional programs should focus on solving problems as part of understanding mathematics so that all students

·       Build new mathematical knowledge through their work with problems

·       Develop a disposition to formulate, represent, abstract, and generalize in situations within and outside mathematics

·       Apply a wide variety of strategies to solve problems and adapt the strategies to new situations

·       Monitor and reflect on their mathematical thinking in solving problems produce other creative works.

·       Standard 6 – Students use technology resources for solving problems and making informed decisions.

·       Students employ technology in the development of strategies for solving problems in the real world.


 

Technology Foundation Standards for Students:

·       Standard 3 – Students use technology tools to enhance learning, increase productivity, and promote creativity. Students use productivity tools to collaborate in constructing technology-enhanced models, prepare publications, and


 

Objectives:   

·       Students will learn to create methods that return a value. Students will be asked to change the existing methods of the VendingMachine Class to have return types.  In addition they will have to create accessor and mutator methods. Students will code and compile the VendingMachine Class. This class simulates the activities of a Vending Machine.


 

Learning Experience

·        There will be a short lecture on the Method Return Types Project

·        Students will move to the hands-on activity of creating the Methods project

 

Students will be assessed on

·        How well students work independently

·        Compile and test the Song class with its current methods

·        Enhance the Vending Machine Class rhyme

·        Comment as needed, ensuring that each method includes a description of what it does

·        Save, compile, and test often