curriculum/challenges/english/blocks/learn-how-to-use-code-related-concepts-and-terms/66324c110747c079691211a1.md
Please answer the question below.
According to Sarah, how should you choose the appropriate data type for your programming needs?
Based on the programming language's popularity
Sarah mentions choosing data types based on the information to be stored, not the popularity of the programming language.
Based on the advice from other programmers
While advice might be helpful, Sarah specifically states that the choice should be based on the type of information you are working with.
Based on the type of information you need to store
Based on the easiest data type to use
Sarah focuses on the relevance of the data type to the information, not necessarily on the ease of use.
3
{
"setup": {
"background": "company1-reception.png",
"characters": [
{
"character": "Sarah",
"position": {
"x": 50,
"y": 0,
"z": 1.4
},
"opacity": 0
}
],
"audio": {
"filename": "5.2-1.mp3",
"startTime": 1,
"startTimestamp": 15.82,
"finishTimestamp": 27.52
}
},
"commands": [
{
"character": "Sarah",
"opacity": 1,
"startTime": 0
},
{
"character": "Sarah",
"startTime": 1,
"finishTime": 5.78,
"dialogue": {
"text": "Good question! You usually choose data types based on the kind of information you want to store.",
"align": "center"
}
},
{
"character": "Sarah",
"startTime": 6.26,
"finishTime": 10.2,
"dialogue": {
"text": "For example, if you're working with text, you'd use this data type: string.",
"align": "center"
}
},
{
"character": "Sarah",
"startTime": 10.7,
"finishTime": 12.7,
"dialogue": {
"text": "If it's whole numbers, you'd choose int.",
"align": "center"
}
},
{
"character": "Sarah",
"opacity": 0,
"startTime": 13.2
}
]
}