Unit 3: Lesson 6 & 7- Functions and Top-Down Design / APIs and Function Parameters Day 27
Quiz on Socks Article/Video Review / Quiz Quiz on Socks Article/Video Review Functions Journal Check
Lesson 6- Functions and Top-Down Design 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.
Lesson 6- Functions and Top-Down Design Top-Down design is a problem solving strategy in which you break down a large problem by naming its sub-tasks Then breaking down the sub-tasks further and so on until you're down to primitive operations.
Lesson 6- Functions and Top-Down Design Large problems can be "abstracted" into sub-problems. Sometimes even the sub-problems can be abstracted into even more basic sub-sub-problems. This is referred to as "levels of abstraction."
Lesson 6- Functions and Top-Down Design In programming, writing functions allows us to write code to solve these sub-problems and use them as building blocks toward a larger solution.
Lesson 6- Functions and Top-Down Design There is not necessarily only one way to abstract a problem. Different approaches can be equally valid.
Lesson 6- Functions and Top-Down Design With a Partner Top-Down Design Worksheet
Lesson 7- APIs and Function Parameters An API (Application Programming Interface) is a collection of commands that can be used in a programming language to carry out a variety of processes These commands are the "interface" that the programmer will use to build applications in that language.
Lesson 7- APIs and Function Parameters An API (Application Programming Interface) is a collection of commands that can be used in a programming language to carry out a variety of processes These commands are the "interface" that the programmer will use to build applications in that language.
Lesson 7- APIs and Function Parameters Some functions have parameters which accept input as a way to better control, and generalize, the behavior of a function.
Lesson 7- APIs and Function Parameters API - a collection of commands made available to a programmer Documentation - a description of the behavior of a command, function, library, API, etc.
Lesson 7- APIs and Function Parameters 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.
Lesson 7- APIs and Function Parameters Complete Lesson 7
Review Journal Vocabulary Racial and Gender Gaps