Edublocks - Lesson 2 Tasks
Task 1 – User Input
Create this code in EduBlocks then answer the questions below.
1. Explain what happens when you run the code.
2. Why does it do that?
Task 2 Data Types
1. Which data type would be useful for currencies / temperature / scientific data?
Answer:
2. Which data type would be useful for a message?
Answer:
3. Which data type would be useful to count the number of buses on a road?
Answer:
Task 3 – Using the INT block
1. Add the int block to your code
and wrap it around the input.
2. Run your code.
1. Explain what happens when you run your code.
2. How can we improve the code?
3. Explain why we need to use the INT function.