• Complain

John M. Zelle - Python Programming: An Introduction to Computer Science

Here you can read online John M. Zelle - Python Programming: An Introduction to Computer Science full text of the book (entire story) in english for free. Download pdf and epub, get meaning, cover and reviews about this ebook. year: 2016, publisher: Franklin Beedle & Associates, genre: Computer. Description of the work, (preface) as well as reviews are available. Best literature library LitArk.com created for fans of good reading and offers a wide selection of genres:

Romance novel Science fiction Adventure Detective Science History Home and family Prose Art Politics Computer Non-fiction Religion Business Children Humor

Choose a favorite category and find really read worthwhile books. Enjoy immersion in the world of imagination, feel the emotions of the characters or learn something new for yourself, make an fascinating discovery.

John M. Zelle Python Programming: An Introduction to Computer Science
  • Book:
    Python Programming: An Introduction to Computer Science
  • Author:
  • Publisher:
    Franklin Beedle & Associates
  • Genre:
  • Year:
    2016
  • Rating:
    3 / 5
  • Favourites:
    Add to favourites
  • Your mark:
    • 60
    • 1
    • 2
    • 3
    • 4
    • 5

Python Programming: An Introduction to Computer Science: summary, description and annotation

We offer to read an annotation, description, summary or preface (depends on what the author of the book "Python Programming: An Introduction to Computer Science" wrote himself). If you haven't found the necessary information about the book — write in the comments, we will try to find it.

This third edition of John Zelles Python Programming continues the tradition of updating the text to reflect new technologies while maintaining a time-tested approach to teaching introductory computer science. An important change to this edition is the removal of most uses of eval and the addition of a discussion of its dangers. In our increasingly connected world, its never too early to begin considering computer security issues. This edition also uses several new graphics examples, developed throughout chapters 4-12.

John M. Zelle: author's other books


Who wrote Python Programming: An Introduction to Computer Science? Find out the surname, the name of the author of the book and a list of all author's works by series.

Python Programming: An Introduction to Computer Science — read online for free the complete book (whole text) full work

Below is the text of the book, divided by pages. System saving the place of the last page read, allows you to conveniently read the book "Python Programming: An Introduction to Computer Science" online for free, without having to search again every time where you left off. Put a bookmark, and you can go to the page where you finished reading at any time.

Light

Font size:

Reset

Interval:

Bookmark:

Make
THIRD EDITION
P R 0 G RAM M I N G:
AN INTRODUCTION TO COMPUTER SCIENCE
OHN ZELLE
FRANKLIN BEEDLE INDEPENDENT PUBLISHERS SINCE 1985 PYTHON PROGRAMMING AN - photo 1
FRANKLIN, BEEDLE
[INDEPENDENT PUBLISHERS SINCE 1985]
PYTHON PROGRAMMING
AN INTRODUCTION TO COMPUTER SCIENCE
THIRD EDITION
John M Zelle Wartburg College Franklin Beedle Associates Inc 2154 NE - photo 2
John M. Zelle
Wartburg College
Franklin, Beedle & Associates Inc.+ 2154 NE Broadway, Suite 100 +Portland, Oregon 97232 + 503/284-6348 + www.fbeedle.com

Publisher
Editor
Production Associate Cover Photography Tom Sumner (tsumner@fbeedle.com) Brenda Jones
Jaron Ayres
Jim Leisy 2012

Printed in the U. S. A.

Names of all products herein are used for identification purposes only and are trademarks and/or registered trademarks of their respective owners. Franklin, Beedle & Associates Inc. makes no claim of ownership or corporate association with the products or companies that own them.

2017 Franklin, Beedle & Associates Incorporated. No part of this book may be reproduced, stored in a retrieval system, transmitted, or transcribed, in any form or by any means-electronic, mechanical, telepathic, photocopying, recording, or otherwisewithout prior written permission of the publish er. Requests for permission should be addressed as follows:

Rights and Permissions
Franklin, Beedle & Associates Incorporated 2154 NE Broadway, Suite 100
Portland, Oregon 97232

Library of Congress Cataloging-in-Publication data
Names: Zelle, John M., author.
Title: Python programming : an introduction to computer science I John M.

Zelle, Wartburg College.
Description: Third edition. I Portland, Oregon : Franklin, Beedle &
Associates Inc., [2016] I Includes bibliographical references and index. Identifiers: LCCN 2016024338 I ISBN 9781590282755
Subjects: LCSH: Python (Computer program language)
Classification: LCC QA76.73.P98 Z98 2016 I DDC 005.13/3--dc23 LC record available at https:/ /lccn.loc.gov/2016024338

Contents
Foreword, by Guido van Rossum ........................................................................................ ix
Preface ............................................................................................................................. x
Chapter 1 Computers and Programs 1
1.1 The Universal Machine ........................................................................................... 1
1.2 Program Power ......................................................................................................
3

1. 3 What Is Computer Science? ................................................................................... 3
1.4 Hardware Basics ..................................................................................................... 5
1.5 Programming Languages ........................................................................................ 6
1.6 The Magic of Python ............................................................................................. 9
1. 7 Inside a Python Program ...................................................................................... 15
1.8 Chaos and Computers .......................................................................................... 18
1. 9 Chapter S u m mary ................................................................................................ 20 1.10 Exercises .............................................................................................................. 21

Chapter 2 Writing Simple Programs 27

2.1 The Software Development Process ...................................................................... 27
2. 2 Exam pie Program: T em perature Converter ........................................................... 28
2.3 Elements of Programs ......................................................................................... 31
2.3.1 Names ..................................................................................................... 31
2.3.2 Expressions .............................................................................................. 32
2.4 0 utput Statements .............................................................................................. 34
2. 5 Assignment Statements ........................................................................................ 36
2. 5 .1 S i m pIe Assign men t .................................................................................. 3 7
2.5.2 Assigning Input ........................................................................................ 39
2.5.3 Simultaneous Assignment ......................................................................... 41
2. 6 Definite Loops ..................................................................................................... 43

. Contents IV
2.7 Example Program: Future Value ........................................................................... 47 2.8 Chapter Summary ................................................................................................ 50
2.9 Exercises ..............................................................................................................
Chapter 3 Computing with Numbers 57
3.1 Numeric Data Types ............................................................................................ 57 3. 2 Type Conversions and Rounding ........................................................................... 62
3.3 Using the Math Library ........................................................................................
65

3.4 Accumulating Results: Factorials .......................................................................... 68
3.5 Limitations of Computer Arithmetic ..................................................................... 71
3.6 Chapter Summary ................................................................................................ 75
3. 7 Exercises .............................................................................................................. 76

Chapter 4 Objects and Graphics 83

4.1 Overview .............................................................................................................. 83
4. 2 T h e 0 b j ect of 0 b j ects.......................................................................................... 84
4.3 Simple Graphics Programming .............................................................................. 85
4.4 Using Graphical Objects ....................................................................................... 91
4.5 Graphing Future Value ......................................................................................... 96
4.6 Choosing Coordinates ......................................................................................... 103
4. 7 Interactive Graphics ........................................................................................... 107
4.7.1 Getting Mouse Clicks ............................................................................. 107
4. 7.2 Handling Textual Input .......................................................................... 109
4.8 Graphics Module Reference ................................................................................ 112
4.8.1 Graph Win Objects ................................................................................. 113
4. 8. 2 G ra ph i cs 0 b j ects.................................................................................... 115

Next page
Light

Font size:

Reset

Interval:

Bookmark:

Make

Similar books «Python Programming: An Introduction to Computer Science»

Look at similar books to Python Programming: An Introduction to Computer Science. We have selected literature similar in name and meaning in the hope of providing readers with more options to find new, interesting, not yet read works.


Reviews about «Python Programming: An Introduction to Computer Science»

Discussion, reviews of the book Python Programming: An Introduction to Computer Science and just readers' own opinions. Leave your comments, write what you think about the work, its meaning or the main characters. Specify what exactly you liked and what you didn't like, and why you think so.