Académique Documents
Professionnel Documents
Culture Documents
July 7, 2015
Don Wilcher
Presented by:
Presented by:
Presented by:
Presented by:
Python Question 1:
Presented by:
Python Question 2:
Presented by:
Presented by:
Presented by:
10
Python Question 3
IDLE is the abbreviation for what
Python development tool?
Presented by:
11
Presented by:
12
Presented by:
13
vs
Whats different between the two versions?
Source:
http://learntocodewith.me/programming/python/python-2-vs-python-3/
Presented by:
14
Python Question 4
What shell tool allows access to
the Python Documentation?
Presented by:
15
Presented by:
16
Presented by:
17
Interpretive Programming
Example
Presented by:
18
Interpretive Programming:
Lets Build a Calculator
Lets build a Python Application (Calculator)
using interpretive programming to find the
voltage drop across a dc motor!
Problem:
A dc motors resistance is equal to 4.
The current that flows through the resistor
is 500mA. What is the voltage drop across
the dc motor?
Equation: Vmotor = Rmotor x Imotor
Presented by:
19
Interpretive Programming:
Lets Build a Calculator
Heres the DC Motor
Circuit for the Python
Calculator Analysis!
Presented by:
20
Interpretive Programming:
Lets Build a Calculator
Solution:
Rmotor = 4
Imotor = 250mA
Equation: Vmotor = Imotor x Rmotor
Vmotor = 250mA x4
Vmotor = 1V
Presented by:
21
Interpretive Programming:
Lets Build a Calculator
Solution:
Presented by:
22
Interpretive Programming:
Lets Build a Calculator
The circuit analysis
result value is less than
the Python Calculator
answer because of model
component variations!
Presented by:
23
Python Question 5:
Presented by:
24