Search Header Logo
LESSON 3: PYTHON PROGRAMMING

LESSON 3: PYTHON PROGRAMMING

Assessment

Presentation

Computers

7th Grade

Hard

Created by

Esperanza Sabangan

Used 14+ times

FREE Resource

19 Slides • 27 Questions

1

QUARTER 3: PYTHON PROGRAMMING

LESSON 3: ARITHMETIC OPERATION & ASSIGNMENT STATEMENTS

Slide image

2

Slide image

POSTED @ GOOGLE CLASSROOM

3

Poll

Question image

How do you feel today?

4

Poll

Question image

How was your Python experience?

5

Slide image

Python's Visual & Logical Puzzle Game

6

There are TWO rules that must hold in playing the game.

  • “What’s the logic behind?” is a VISUAL & SYLLOGISM LOGICAL PUZZLE GAME. The game will enhance your critical thinking ability.

  • ALL OF YOU will be the participants and must answer by analyzing the pictures or illustrations to be shown.

  • You will be given a duration of 30 seconds to answer.


  • Let's Get it on Pythons!

7

Open Ended

Question image

“What’s the logic behind?”

8

Open Ended

Question image

“What’s the logic behind?”

9

Open Ended

Question image

“What’s the logic behind?”

10

Open Ended

Question image

“What’s the logic behind?”

11

Open Ended

Question image

“What’s the logic behind?”

12

Open Ended

Question image

“What’s the logic behind?”

13

Open Ended

Question image

“What’s the logic behind?”

14

Open Ended

Question image

“What’s the logic behind?”

15

REWIND: LESSON 2 HANDS-ON ACTIVITY 3.1

  • Python Activity 1: Flowcharts and Python

  • Python Activity 2: Input and Variables in Python

Slide image

16

Open Ended

Question image

What is the relationship between a flowchart and a Python program?”

17

Open Ended

Question image

How do you input and store data in a Python program?

18

Slide image

Hands-on Activity 3.1: Challenge is on Pythons! (Presentation of Attendance Monitoring Python Program)

19

LESSON 3: ARITHMETIC OPERATION & ASSIGNMENT STATEMENTS


Hands-on Activity 3.2: Let’s get it on Pythons!


Python Activity 3 Part A & B: Arithmetic Operations and Assignment Statements



Slide image

20

Slide image

LEARNING OBJECTIVES CONTENT: HANDS-ON ACTIVITY 3.2

21

Open Ended

Question image

Explain the purpose of each arithmetic operation: (1. + ) (2. - ) (3. *) (4. **) (5. /) (6. //) (7. %)

22

Open Ended

Question image

What is stored in memory after each assignment statement is executed?

answer = 6 ** 2 + 3 * 4 // 2

final = answer % 4

23

Open Ended

Question image

Based on your experience in HANDS-ON activity 3.1, how will you define "string literal" and "print" statements.

24

Open Ended

Question image

Analyze sample code 1 & 2. What will be the possible outputs of the following code?


#sample code 1

addressNumber = "1214"

streetName = "Kalayaan Avenue"

streetAddress = addressNumber + streetName

print(streetAddress)


#sample code 2

myWord = "Hello Eps!" * 100

print(myWord)


Explain the use of “+” and “*” with strings and numbers

25

Open Ended

Question image

Explain the purpose of the functions int() and float() in the sample code below.

int(2.3)

int(-2.8)

float(5)

26

Open Ended

Question image

What are the four main operations on data computers performs?

27

Open Ended

Question image

Analyze the given print code and explain the sample formatting statements:

print("Total cost of laptops: %2d" % price)

print("Total cost of laptops: %10d" % price)

28

Open Ended

Question image

Refer to Hands-on 3.2 page 8 python program sample.


Using the code and comments in the program listed above, explain how the four main operations are implemented in the program.

29

Slide image

LEARNING OBJECTIVES PROCESS: HANDS-ON ACTIVITY 3.2

30

Slide image

Application Questions: Use the Python interpreter to design and check your work

31

Slide image

Application Question 1: Use the Python interpreter to design and check your work

32

Open Ended

Question image

Directions: Open your Python IDLE and open new file. You will be given 2 minutes to answer. Copy and paste your Python code here.

33

Slide image

Application Question 2: Use the Python interpreter to design and check your work

34

Open Ended

Question image

Directions: Open your Python IDLE and open new file. You will be given 1 minute to answer. Copy and paste your Python code here.

35

Slide image

Application Question 3: Use the Python interpreter to design and check your work

36

Open Ended

Question image

Directions: Open your Python IDLE and open new file. You will be given 2 minutes to answer. Copy and paste your Python code here.

37

Slide image

Application Question 4: Use the Python interpreter to design and check your work

38

Open Ended

Question image

Directions: Open your Python IDLE and open new file. You will be given 1 minute to answer. Copy and paste your Python code here.

39

Slide image


40

Open Ended

Question image

Directions: Open your Python IDLE and open new file. You will be given 2 minutes to answer. Copy and paste your Python code here.

41

Slide image

Application Question 7: Use the Python interpreter to design and check your work

42

Open Ended

Question image

Directions: Open your Python IDLE and open new file. You will be given 3 minutes to answer. Copy and paste your Python code here.

43

Slide image

Application Question 4: Use the Python interpreter to design and check your work

44

Open Ended

Question image

Directions: Open your Python IDLE and open new file. You will be given 3 minutes to answer. Copy and paste your Python code here.

45

Slide image

Hands-on Activity 3.2: Challenge is on Pythons! (Presentation of Class Record Python Program Output)

46

Slide image

Python Activity 4: Predefined Functions & Python Activity 5: Boolean Expressions and selection Statements

QUARTER 3: PYTHON PROGRAMMING

LESSON 3: ARITHMETIC OPERATION & ASSIGNMENT STATEMENTS

Slide image

Show answer

Auto Play

Slide 1 / 46

SLIDE

Discover more resources for Computers