
Lesson 3 - What’s it like to be in space?¶

Time Estimate: 90 minutes
Introduction and Goals¶
You’ve been introduced to space travel, artificial intelligence, and the Alexa intelligent agent. Now, let’s take a deeper dive into what daily life is really like in space. In this lesson, you will become more familiar with the daily activities of astronauts and space tourists/travelers, and learn how these activities are all affected by microgravity. These new facts will become a list -- very useful structures in programming that can store a collection of related data. You will program an Alexa skill to access various items from your list in response to a voice command, or utterance. | |
Learning Objectives: I will learn to
Language Objectives: I will be able to
|
Learning Activities¶
ACTIVITY: Daily Life in Space
The resources below detail the daily activities of astronauts on the International Space Station, or ISS. Remember microgravity? Microgravity (very weak gravity) affects each and every part of an astronaut’s daily routine. Imagine yourself as an astronaut or space tourist. How might your daily activities be changed by microgravity?
Try this thought exercise and discuss as a class:
If you were placed in the middle of a room in a microgravity environment,
how would you move to another place in that room?
Hint: Newton’s Third Law -- for every action, there is an equal and opposite reaction.
- ESA - Daily Life
- Life Inside the International Space Station (ISS)
- A day in the life of an astronaut
ACTIVITY: Scientific Research in Space
Aside from daily routines, a good part of an astronaut’s time is taken up with scientific research, much of which includes collecting and analyzing data like we discussed earlier in this unit. Read through the variety of research topics
- Experiments in space: Space Station Research Explorer on NASA.gov - Which of the experiments sound the most interesting to you? What kind of data was collected during the experiment? Read more.
- Thinking about going into space as a tourist, instead of as an astronaut? You will find that microgravity will have just as much of an impact on your experience as it does for astronauts! Read more about what to expect as a space tourist here.
- Our understanding of space and microgravity will be important to future missions such as NASA’s Artemis program, designed to return astronauts to the moon by 2025, and potentially prepare for future Mars missions. The Artemis program includes plans for a mini space station to orbit the moon. There are even plans to include Alexa in the mission! Everything we can learn now will help the Artemis program to be successful in the future. Check out this CNN article on Amazon Alexa in the Artemis program.
Complete the Space Facts Worksheet and record the responses to the following in your portfolio:
[Portfolio] List 4 daily activities that must be done in space. How are they different in an environment of microgravity?
[Portfolio] List 2 interesting science experiments being done in space. Why is it important to understand the results of these experiments in microgravity?
[Portfolio] What are 2 ways that microgravity could affect space tourists?
Tutorial: Space Facts
Now that you’ve had a chance to explore what it’s like to be in space, you can appreciate how small tasks become extremely difficult without special adaptations. An example of a helpful adaptation would be using an AI program with speech recognition, like Alexa, to access needed information that normally would be accessed by typing directly on a device. In this exercise, you’ll get the opportunity to work with an Alexa skill, and adapt it for use with multiple intents. The list of items you developed in the previous activity will be used to create a list of space facts.
This tutorial will use programming constructs that allow for data abstraction. We will use a list, which is a special type of variable.
Variable
A global variable provides a way to name a memory location in your program to hold different values. It is a data abstraction that exists in all programming languages. In MIT App Inventor, we set up a variable using the initialize global variable block. The get block is used to get the variable's current value whenever needed in the program. The set block is used to assign or change the value of the variable.
List
Like most other programming languages, MIT App Inventor has an abstract data type (ADT) called list that allows the storage of an ordered sequence of elements under one name in memory. Lists are sometimes called arrays in other programming languages. Data abstractions manage complexity in the program by giving a collection of data a name that can be used without knowing the specific details of its representation. The elements in a list are indexed which means they are numbered from 1 to the length of the list.
Before starting the tutorial, brainstorm as a class several utterances that you might use to ask Alexa for a random fact about space.
After brainstorming, complete the Space Facts tutorial.
Enhancements
- Add 4 additional facts to the list of “space facts”.
- Program the skill to remove an item from the list once it’s been used
Summary¶
In this lesson, you learned how to:
Still Curious?¶
This article lists inventions that many of us use every day. You may never have realized that they were initially invented to be used by astronauts in space.
Self-Check¶
Vocabulary
Here is a table of the technical terms we've introduced in this lesson. Hover over the terms to review the definitions.
Alexa
artificial intelligence endpoint function global variable list |
microgravity
randomness intent invocation utterances |
Check Your Understanding
Complete the following self-check exercises. Please note that you should login if you want your answers saved and scored. In addition, some of these exercises will not work in Internet Explorer or Edge browsers. We recommend using Chrome.
- Shampoo cannot be brought into space
- Sorry, try again
- Microgravity prohibits the use of water to rinse shampoo or conditioner out of hair.
- Correct!
- There is no water in space.
- Sorry, try again.
- There is no time for personal hygiene in space.
- Astronauts do have access to a water supply and shampoo, and do make time for personal hygiene each day. However, there is no way to rinse normal shampoo out of your hair in space, so a special “dry” shampoo was developed.
Q-2: The best explanation for having a difficult time washing your hair in space would be:
- Space provides a unique vantage point for data collection
- Sorry, try again
- It’s important to study the risks to human health inherent in space travel from space itself.
- Sorry, try again
- Astronauts don’t have a lot to do in space, and need things to keep them busy.
- Correct!
- Cell and tissue growth for various organisms can be very different in space due to microgravity, and it’s important to understand the differences.
- Scientific experiments of all types are being done in space because space provides a unique opportunity to study the effects of microgravity on everything from complex living things to inanimate objects, and to see if any learned information can be applied to helping people on Earth, as well as in space.
Q-3: Which of the following are NOT reasons why it is important to do scientific experiments in space:
- use multiple phrases (utterances) to define one intent.
- follow a specific path to retrieve a value
- speak an intent
- Sorry, try again
- eliminate bias from the skill
- This does not require a list to be present in the Alexa skill. Actually, in this case, a list could actually increase the bias of the skill, depending on the data contained in the list and how that data is processed.
Q-4: Lists can be useful when building an Alexa skill because they allow the programmer to (choose two):
- 2
- Sorry, try again
- 5
- Correct! In App Inventor, lists are indexed starting at 1. The last index is the same number as the length of the list. In this case, with 4 items in the list, the last index is 4. Therefore, an index of 5 would be out of bounds.
- 1
- Sorry, try again
- 3
- Sorry, try again
Q-5: Which of the following is NOT a possible index for a random fact that Alexa could say?
Reflection: For Your Portfolio¶
Answer the following portfolio reflection questions as directed by your instructor. Questions are also available in this Google Doc where you may use File/Make a Copy to make your own editable copy.