Unit 3 Lab 2
Contact List
In this lab, you will develop a Contact List database application like the one on your phone.
In this lab, you will develop a Contact List database application like the one on your phone.
Creating the Contact ADT
Creating the Contact ADT
In this section, you will develop an Abstract Data Type to store and access contact data (name, address, phone number, etc.).
In this section, you will develop an Abstract Data Type to store and access contact data (name, address, phone number, etc.).
Adding Contact Data
Adding Contact Data
In this section, you will develop code for "Add Contact" and "Clear List" buttons in your contact list program.
In this section, you will develop code for "Add Contact" and "Clear List" buttons in your contact list program.
Vocabulary
Vocabulary
Click each word to view the definition.
Input
Input
We use "input" loosely to mean the empty boxes in a block that get filled with values. But input also means information entered into a program by the user, as in the ask and wait block. Program input can also come from data tables, sounds, pictures, video, or other programs.
Output
Output
Any data sent from your program to the user or to any device. Typically, the output depends on the input.
If There's Time
If There's Time
Click to access the page.
Adding Birthdays
Adding Birthdays
In this section, you will develop an abstract data type (ADT) to store and access dates, and you will adapt your contact ADT to use it to store each contact's birthday.
In this section, you will develop an abstract data type (ADT) to store and access dates, and you will adapt your contact ADT to use it to store each contact's birthday.
Selecting Specific Data
Selecting Specific Data
In this section, you will develop code for a "Find Contact" button to locate contacts in the list.
In this section, you will develop code for a "Find Contact" button to locate contacts in the list.
Vocabulary
Vocabulary
Click each word to view the definition.
Modularity
Modularity
Process of breaking a programming project up into separate sub-problems
If There's Time
If There's Time
Click to access the page.
Transforming Every List Item
Transforming Every List Item
On this page, you will use the map block to create an initials from name block and then use map together with initials from name to find the initials of all of your contacts.
On this page, you will use the map block to create an initials from name block and then use map together with initials from name to find the initials of all of your contacts.
Self-Check
Self-Check
Unit 3 Lab 2 : Transforming Every List Item
Unit 3 Lab 2 : Transforming Every List Item
Vocabulary
Vocabulary
Click each word to view the definition.
Higher Order Function
Higher Order Function
A function that takes a function as input (or reports a function as output).