Search Header Logo
Pythong Basics

Pythong Basics

Assessment

Presentation

Computers

5th - 8th Grade

Medium

Created by

Christopher Mera

Used 22+ times

FREE Resource

11 Slides • 15 Questions

1

Pythong Basics

We should have started here.

Slide image

2

Slide image

3

Slide image

4

Multiple Choice

What is an IDE?

1

Interactive development environment

2

Integrated development environment

3

Interactive development envelope

4

It's where programs are written.

5

Multiple Choice

Why do we use indentation?

1

it's just easier to read that way

2

You don't ever have to use it

3

It signifies a block of code

4

You need it after declaring a variable

6

Open Ended

What is syntax? and why is it important?

7

Slide image

8

Slide image

9

Multiple Choice

What is the right syntax for declaring variables?

1

variable name (data)

2

variable name = data

3

data = variable name

4

variable name = (data)

10

Open Ended

Some things can't be used as variable names. Can you find them? Write illegal variable names here.

11

Slide image

12

Multiple Choice

How do we print things?

1

print = ("things")

2

print = (things)

3

print "things"

4

print ("things")

13

Poll

Which is better?

14

Slide image

15

Multiple Select

How do I make a variable a string?

1

use a comment to make it a string

2

Put it in quotes

3

Use the str() function

4

Write (string) after it

16

Multiple Select

Which one will print a string?

1
2
3
4

17

Slide image

18

Open Ended

Write two variables:

1) seconds in a minute.

2) minutes in an hour.

19

Open Ended

Write a variable for how many seconds in an hour.

No hard coded numbers!

This should be based on the last two variables.

20

Open Ended

Write a variable for how many hours in a day

21

Open Ended

Write a variable for how many seconds in a day.

No hard coded numbers!

Base this on your previous variables.

22

Open Ended

Write a variable for how many days in a year.

23

Open Ended

Write a final variable for how many seconds in a year.

24

Slide image

25

Slide image

26

Slide image

Pythong Basics

We should have started here.

Slide image

Show answer

Auto Play

Slide 1 / 26

SLIDE

Discover more resources for Computers