Overview
This app is to practice and learn the listing process of the app inventor.
The sound sensor senses our voice and displays our name on the app.
The user can add names on the list by pressing the add button and display button.
The list also categorizes the first, middle and last item on the list.
The reset button is available to erase the list.
The sound sensor senses our voice and displays our name on the app.
The user can add names on the list by pressing the add button and display button.
The list also categorizes the first, middle and last item on the list.
The reset button is available to erase the list.
Download
|
You can download using either the QR code or the download link above.
Event Handlers
- When first_item click: It will show the first selected item that the user chose on the list.
- When middle_item click: It will show the middle selected item that the user chose on the list.
(When the list of the items are a even number, the higher one of two middle items are chosen as the middle item) - When last_item click: It will show the last selected item that the user chose on the list.
- When Add_Button click: The user can add items to the device by speaking
- When Reset_Button click: It deletes the items that the user had listed before and creates that will have the user to start with a clean list.
- When Display Button click: It will show all the items that the user added with the Add_Button
Questions
1. Why is it important to know about lists?
Lists are an important part of having the computer moving. 90% of the time, the computer is searching or sorting and listing data help us
to find what we need faster. For example, even game play in the computer requires searching and sorting and listing could help to work faster.
to find what we need faster. For example, even game play in the computer requires searching and sorting and listing could help to work faster.
2. What is Modulus division?
Modulus Division is also known as remainder operator, which is the %.
The Modulus Division is the remainder of the valuable.
For example, The modulus of 10 % 3 is 1 because 10 divided by 3 has the remainder of 1.
The Modulus Division is the remainder of the valuable.
For example, The modulus of 10 % 3 is 1 because 10 divided by 3 has the remainder of 1.
3. How is a list an example of abstraction?
A list is an example of abstraction because it makes us easier to organize the searching of data by sorting and ordering the data into a list. The list makes the process of searching faster and simpler because the the data could be organized by the computer in a alphabetical order. The Linear and Binary search are two kinds of searching techniques that is used for the computer. The linear search or the Sequential search starts from the beginning and looks at each item until it finds a certain data that is needed. The Binary search is the technique where it cuts the whole list into two parts and eliminates one half by asking questions to find the certain value. It also finds the new middle elements and continues the process until the value is found and no more data is available to be searched. However, the binary search needs to have sorted data in order to have it work. If the data is not in a proper order or a list, it wouldn't be able to eliminate into half to find our value in a short period of time. The binary search is overall more faster than the linear search due to the elimination technique and the higher percentage of finding the data we are looking for.