01 Slide
01 Slide
Introduction to Computers,
Programs, and Python
Bus
Bus
Bus
Bus
Bus
dot pitch The dot pitch is the amount of space between pixels. The
smaller the dot pitch, the better the display.
1101101010011010
© Copyright 2012 by Pearson Education, Inc. All Rights Reserved.
12
Programming Languages
Machine Language Assembly Language High-Level Language
…
Assembler …
ADDF3 R1, R2, R3
1101101010011010
…
…
Library Code
IMPORTANT NOTE:
(1) To enable the buttons, you must download the entire slide
Welcome file slide.zip and unzip the files into a directory (e.g.,
c:\slide). (2) You must have installed Python and set python
bin directory in the environment path. (3) If you are using
Run Office 2010, check PowerPoint2010.doc located in the
same folder with this ppt file.
WelcomeWithThreeMessages Run
ComputeExpression Run
www.cs.armstrong.edu/liang/py
" " Opening and closing Enclosing a string (i.e., sequence of characters).
quotation marks
''' ''' Opening and closing Enclosing a paragraph comment.
quotation marks
Spacing
– Use blank line to separate segments of the code.
A Turtule Example
Run
A Tkinter Example
Run