Thanks to visit codestin.com
Credit goes to www.scribd.com

100% found this document useful (1 vote)
140 views3 pages

Edu Blocks Lesson 2 Tasks

The document outlines tasks for a coding lesson that teaches user input, data types, and integer functions in EduBlocks. Task 1 has students create code to get user input and explain what it does. Task 2 asks them to identify appropriate data types for currencies, temperature, messages, and counting buses. Task 3 has them add an integer block around input and explain its purpose is to convert text input to an integer.

Uploaded by

woz.xci
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
100% found this document useful (1 vote)
140 views3 pages

Edu Blocks Lesson 2 Tasks

The document outlines tasks for a coding lesson that teaches user input, data types, and integer functions in EduBlocks. Task 1 has students create code to get user input and explain what it does. Task 2 asks them to identify appropriate data types for currencies, temperature, messages, and counting buses. Task 3 has them add an integer block around input and explain its purpose is to convert text input to an integer.

Uploaded by

woz.xci
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

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.

You might also like