Download presentation
Presentation is loading. Please wait.
Published byDante Tedesco Modified over 5 years ago
1
Vocabulary Algorithm - A precise sequence of instructions for processes that can be executed by a computer Low level programming language: A programming language that captures only the most primitive operations available to a machine. Anything that a computer can do can be represented with combinations of low level commands. • High level programming language: A programming language with many commands and features designed to make common tasks easier to program. Any high level functionality is encapsulated as combinations of low level commands. Sequencing is the application of each step of an algorithm in the order in which the statements are given. ◦ Selection uses a Boolean condition (a TRUE/FALSE condition) to determine which of two parts of an algorithm is used. ◦ Iteration is the repetition of part of an algorithm until a condition is met or for a specified number of times. Abstraction - Pulling out specific differences to make one solution work for multiple problems. Function - A piece of code that you can easily call over and over again. API - a collection of commands made available to a programmer Documentation - a description of the behavior of a command, function, library, API, etc. Library - a collection of commands / functions, typically with a shared purpose Parameter - An extra piece of information that you pass to the function to customize it for a specific need. For Loop - A particular kind of looping construct provided in many languages. Typically, a for loop defines a counting variable that is checked and incremented on each iteration in order to loop a specific number of times. Loop - The action of doing something over and over again
2
U3L10: Practice PT - Design a Digital Scene
CS Principles U3L10: Practice PT - Design a Digital Scene
3
U3L10: Practice PT - Design a Digital Scene Objectives
SWBAT: Write programs that address one component of a larger programming problem and integrate with other similarly designed programs. Collaborate to break down a complex programming problem into its component parts. Use code written by other programmers to complete a larger programming task.
4
U3L9 Reflection Students should briefly journal and share responses to the following question: Prompt: “Develop a rule for deciding when to use a loop within a program. Perhaps think about when to use a loop versus a function. Try to make connections to Top-Down Design in your response. Below your rule, write a couple sentences justifying your rule.”
5
Abstraction in Programming
Abstraction is an important tool in programming, not only because it allows individual programmers to break down complex problems, but because it enables effective forms of collaboration. Once a problem has been broken down into its component parts, teams of programmers (sometimes dozens or more) can attack individual components of that problem in parallel. This style of programming requires clear communication and a shared understanding of the high- level requirements of the software. If implemented carefully, however, it can be an effective strategy for rapidly producing large and complex pieces of software.
6
Vocabulary Abstraction - Pulling out specific differences to make one solution work for multiple problems.
7
Day 1 Review the project guidelines and the rubric.
Assign students to groups to follow the Group Project Planning guide. Groups complete the Project Description document. Groups break target scene into high-level functions, define their behavior and complete the Project Component Table. Students begin programming individual components.
8
Day 2 Students continue to work on programming their individual functions. Groups begin to recombine their functions and students begin work on their digital scenes.
9
Day 3 Students finalize their digital scenes.
Students complete their reflection questions and submit their projects.
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.