Search Header Logo
LESSON 1. MOVING FROM BLOCKS

LESSON 1. MOVING FROM BLOCKS

Assessment

Presentation

Computers

7th Grade

Practice Problem

Hard

Created by

akjemal perdeliyeva

Used 2+ times

FREE Resource

10 Slides • 5 Questions

1

​Moving from Scratch to Python

By akjemal perdeliyeva

Comparing Scratch and Python
Using Python

2

Open Ended

Question image

How many Ashoka trees will the park have when the workers are finished?

3

Open Ended

Question image

How many trees were planted in 1 hour?

4

Open Ended

Question image

6 of the workers planted 8 trees each. The other workers each planted an equal number of trees. How many trees did each of the other 4 workers plant?

5

Learning outcomes

  • compare Python and Scratch

  • learn basic syntax in Python

  • install Python on your computer and write your first line of code-

6

media

7

Block-based programming

Previously you have learned how to program using a block-based programming language; the most common one that is used is Scratch. Block-based programming languages are a popular way to introduce people to programming. This is because you do not have to remember specific code and the different blocks click together like building bricks. To create programs using block-based programming, you use a graphical user interface, where you select the blocks you need and drag and drop, which makes it much easier to use.

8

media

9

Text-based programming

Text-based programming requires you to remember the different syntax (code) that you will need and you have to type in the code that you require. There is no drag-and-drop option to build your programs and this can make it more challenging.

Python is normally installed on a computer with an Integrated Development and Learning Environment (IDLE). IDLE provides lots of functions that are useful when writing Python code.

10

Text-based programming

media

11

Read and write the keywords

media
media

12

Python - case sensitive

print("Hello world")

When using Python code you need to ensure that you type commands using lower-case letters. Otherwise will give you an error

media

13

Open Ended

What is block-based programming ?

14

Open Ended

What is text-based programming ?

15

​Moving from Scratch to Python

By akjemal perdeliyeva

Comparing Scratch and Python
Using Python

Show answer

Auto Play

Slide 1 / 15

SLIDE