A single slide that defines the term algorithm and then lists the steps to bake a cake as an example
- Subject:
- Computer Science
- Technology
- Material Type:
- Lesson Plan
- Date Added:
- 12/01/2023
A single slide that defines the term algorithm and then lists the steps to bake a cake as an example
Students fluently add and subtract money with decimals using the standard algorithm.
Students learn about nested loops and practice tracing these to explore their functionality. Using nested loops, students develop an algorithm to determine whether there are duplicate elements in a 1D array. Students plan their algorithms using manipulatives to identify the steps to solve the problem and write pseudocode before implementing them in Java.
This lesson is aligned to CSTA standards.
For this project, students use the skills they have developed throughout this unit to store and analyze data from a text file for a topic that they are interested in or meaningful to them. Students choose a user scenario and data they want to analyze to identify a solution to address a user's needs. After brainstorming and planning, students develop their programs.
This lesson is aligned to CSTA standards.
Students identified the data for their topic of interest and read this data into a 1D array. Students continue to develop their projects using their data to implement standard algorithms to analyze the data. Students reinforce software development skills and processes as they participate in a code review to give and use feedback as they develop their program.
This lesson is aligned to CSTA standards.
Students conducted code reviews at the end of the previous lesson to give and receive feedback that assists in identifying areas of improvement and fixes for problems they encountered. At this stage of the project, students consider this feedback as they finalize development in this lesson. Students share their final projects with their peers to celebrate their successes.
This lesson is aligned to CSTA standards.
Students practice developing solutions to AP CSA FRQs on a mock Arrays FRQ. Students apply decomposition and annotation strategies to identify the key components of the problem and validate their solutions using Scoring Guidelines.
This lesson is aligned to CSTA standards.
Students have used variables to store literal values and references to objects. Software engineers often need to store multiple values of the same type in a program. In this lesson, students learn how to use one-dimensional (1D) arrays to store multiple values that can be referenced with one variable. Students practice creating arrays using the new keyword and with initializer lists and obtaining the size of the array.
This lesson is aligned to CSTA standards.
Students explore how to add, modify, and obtain elements stored in a one-dimensional (1D) array. Students learn about common errors when working with 1D arrays and identify strategies for debugging these errors. Students practice adding, modifying, and printing elements in a 1D array individually and using a while loop.
This lesson is aligned to CSTA standards.
Students learn about the structure and functionality of a for loop and use a for loop to traverse a one-dimensional (1D) array. Before using for loops with 1D arrays, students practice identifying the number of times a loop will execute and using trace tables to track the changing values of variables. Additionally, students differentiate between while loops and for loops and convert between both types of loops. Students practice writing for loops to traverse 1D arrays to access elements.
This lesson is aligned to CSTA standards.
Students apply their knowledge of traversing 1D arrays to develop algorithms to find elements that have specific properties. Students learn how to identify the preconditions and postconditions for an algorithm. Additionally, students differentiate between executing a return statement inside a loop and at the end of a method.
This lesson is aligned to CSTA standards.
Students learn about enhanced for loops to traverse a 1D array. As students explore the functionality of enhanced for loops, they identify differences, advantages, and disadvantages of using an enhanced for loop to traverse an array. Students use an enhanced for loop to calculate the sum or average of the elements in a 1D array.
This lesson is aligned to CSTA standards.
Students learn about static variables and constants and identify scenarios where these types of variables would be useful. Students differentiate between static variables and instance variables as they explore their functionality. Students practice using static variables and constants in program code, including implementing an algorithm to determine the number of elements meeting specific criteria.
This lesson is aligned to CSTA standards.
Students explore arrays of objects and learn how to refer to object data when accessing elements in an array. Students revisit inheritance and discover using polymorphism to work with 1D arrays of a superclass type. Students review overriding methods and traverse an array of objects to use subclass methods.
This lesson is aligned to CSTA standards.
Students explore the File class and use the Scanner class to read data from a file into a 1D array. In the process, students revisit the ArrayIndexOutOfBoundsException to identify debugging strategies to resolve off-by-one errors. Using data from a file, students develop algorithms to find the minimum and maximum values in a 1D array. Students plan their algorithms to identify the steps to solve the problem and write pseudocode to outline these steps.
This lesson is aligned to CSTA standards.
Students develop an algorithm to reverse elements in a 1D array. Students plan their algorithms using manipulatives to identify the steps to solve the problem and write pseudocode to outline these steps.
This lesson is aligned to CSTA standards.
Students expand their knowledge of selection statements to evaluate and implement multi-selection statements. Students explore the functionality of multi-selection statements and learn to use these to test a combination of conditions. Students use multi-selection statements to implement algorithms to solve problems.
This lesson is aligned to CSTA standards.
For this project, students use the skills they have developed throughout this unit to analyze data from a text file for a topic they are interested in or meaningful to them. Students use the data they chose in a previous lesson to identify the patterns and message they want to convey visually using The Theater. After brainstorming and planning, students develop their programs.
This lesson is aligned to CSTA standards.
Students planned their visuals and algorithms to convey a story about their chosen dataset. Students continue to develop their projects to implement algorithms to analyze the data and portray the findings and results visually. Students reinforce software development skills and processes as they participate in a code review to give and use feedback as they develop their program.
This lesson is aligned to CSTA standards.
Students conducted code reviews at the end of the previous lesson to give and receive feedback that assists in identifying areas of improvement and fixes for problems they encountered. At this stage of the project, students consider this feedback as they finalize development in this lesson. Students share their final projects with their peers to celebrate their successes.
This lesson is aligned to CSTA standards.