没有合适的资源?快使用搜索试试~ 我知道了~
首页Fundamentals of Python First Programs 2nd Edition
Fundamentals of Python First Programs 2nd Edition

Fundamentals of Python: First Programs 2nd Edition 2018 Course Technology
资源详情
资源评论
资源推荐

Copyright 2019 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. WCN 02-200-203

Australia • Brazil • Mexico • Singapore • United Kingdom • United States
FUNDAMENTALS OFPYTHON:
FIRST PROGRAMS
KENNETH A. LAMBERT
MARTIN OSBORNE,
CONTRIBUTING AUTHOR
SECOND EDITION
Copyright 2019 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. Due to electronic rights, some third party content may be suppressed from the eBook and/or eChapter(s).
Editorial review has deemed that any suppressed content does not materially affect the overall learning experience. Cengage Learning reserves the right to remove additional content at any time if subsequent rights restrictions require it.
Copyright 2019 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. WCN 02-200-203

This is an electronic version of the print textbook. Due to electronic rights restrictions,
some third party content may be suppressed. Editorial review has deemed that any suppressed
content does not materially affect the overall learning experience. The publisher reserves the right
to remove content from this title at any time if subsequent rights restrictions require it. For
valuable information on pricing, previous editions, changes to current editions, and alternate
formats, please visit www.cengage.com/highered to search by ISBN#, author, title, or keyword for
materials in your areas of interest.
Important Notice: Media content referenced within the product description or the product
text may not be available in the eBook version.
Copyright 2019 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. Due to electronic rights, some third party content may be suppressed from the eBook and/or eChapter(s).
Editorial review has deemed that any suppressed content does not materially affect the overall learning experience. Cengage Learning reserves the right to remove additional content at any time if subsequent rights restrictions require it.
Copyright 2019 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. WCN 02-200-203

Fundamentals of Python:
First Programs, Second Edition
Kenneth A. Lambert
SVP, GM Skills: Jonathan Lau
Product Team Manager: Kristin
McNary
Associate Product Manager: Kate
Mason
Executive Director of Development:
Marah Bellegarde
Senior Content Development
Manager: Leigh Hefferon
Content Development Manager: Jill
Gallagher
Senior Content Developer: Natalie
Pashoukos
Product Assistant: Jake Toth
Marketing Director: Michele McTighe
Marketing Manager: Stephanie
Albracht
Senior Content Project Manager:
Jennifer Feltri-George
Senior Designer/Art Director: Diana
Graham
Cover image: Digital_Art/
Shutterstock.com
Production Service/Composition:
SPi Global
Cengage is a leading provider of customized learning solutions with
employees residing in nearly 40 dierent countries and sales in more
than 125 countries around the world. Find your local representative
at www.cengage.com.
Cengage products are represented in Canada by Nelson Education, Ltd.
To learn more about Cengage, visit www.cengage.com.
Purchase any of our products at your local college store or at our
preferred online store www.cengagebrain.com.
© 2019, 2012 Cengage
ALL RIGHTS RESERVED. No part of this work covered by the copy-
right herein may be reproduced or distributed in any form or by
any means, except as permitted by U.S. copyright law, without the
prior written permission of the copyright owner.
Unless otherwise noted all tables/gures exhibits are © 2019 Cengage
®
Cengage
20 Channel Center Street
Boston, MA, 02210
Library of Congress Control Number: 2017952738
Softbound ISBN: 978-1-337-56009-2
Loose Leaf ISBN: 978-1-337-69934-1
USA
Printed in the United States of America
Print Number: 01 Print Year: 2017
Notice to the Reader
Publisher does not warrant or guarantee any of the products described herein or perform any independent analysis
in connection with any of the product information contained herein. Publisher does not assume, and expressly
disclaims, any obligation to obtain and include information other than that provided to it by the manufacturer. The
reader is expressly warned to consider and adopt all safety precautions that might be indicated by the activities
described herein and to avoid all potential hazards. By following the instructions contained herein, the reader willingly
assumes all risks in connection with such instructions. The publisher makes no representations or warranties of any
kind, including but not limited to, the warranties of tness for particular purpose or merchantability, nor are any
such representations implied with respect to the material set forth herein, and the publisher takes no responsibility
with respect to such material. The publisher shall not be liable for any special, consequential, or exemplary damages
resulting, in whole or part, from the readers’ use of, or reliance upon, this material.
For product information and technology assistance, contact us
at Cengage Customer & Sales Support, 1-800-354-9706
For permission to use material from this text or product, submit
all requests online at www.cengage.com/permissions.
Further permissions questions can be e-mailed to
permissionrequest@cengage.com
Copyright 2019 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. Due to electronic rights, some third party content may be suppressed from the eBook and/or eChapter(s).
Editorial review has deemed that any suppressed content does not materially affect the overall learning experience. Cengage Learning reserves the right to remove additional content at any time if subsequent rights restrictions require it.
Copyright 2019 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. WCN 02-200-203

Preface . . . . . . . . . . . . . . . . xiii
CHAPTER 1 Introduction . . . . . . . . . . . . . . . 1
Two Fundamental Ideas of Computer Science:
Algorithms and Information Processing. . . . . . . . . . . 2
Algorithms . . . . . . . . . . . . . . . . . . . . . . . 2
Information Processing . . . . . . . . . . . . . . . . . 4
Exercises. . . . . . . . . . . . . . . . . . . . . . . . . 5
The Structure of a Modern Computer System . . . . . . . . 6
Computer Hardware . . . . . . . . . . . . . . . . . . . 6
Computer Software . . . . . . . . . . . . . . . . . . . 7
Exercises. . . . . . . . . . . . . . . . . . . . . . . . . 9
A Not-So-Brief History of Computing Systems . . . . . . . . 9
Before Electronic Digital Computers. . . . . . . . . . . 11
The First Electronic Digital Computers (1940–1950) . . . 13
The First Programming Languages (1950–1965) . . . . . 14
Integrated Circuits, Interaction,
and Timesharing (1965–1975) . . . . . . . . . . . . 16
Personal Computing and Networks (1975–1990) . . . . . 17
Consultation, Communication,
and E-Commerce (1990–2000) . . . . . . . . . . . . 19
Mobile Applications and Ubiquitous
Computing (2000–present) . . . . . . . . . . . . . . 21
Getting Started with Python Programming . . . . . . . . . 22
Running Code in the Interactive Shell . . . . . . . . . . 22
Input, Processing, and Output . . . . . . . . . . . . . 24
Editing, Saving, and Running a Script . . . . . . . . . . 27
Behind the Scenes: How Python Works . . . . . . . . . 28
Exercises. . . . . . . . . . . . . . . . . . . . . . . . 29
Detecting and Correcting Syntax Errors . . . . . . . . . . 29
Exercises. . . . . . . . . . . . . . . . . . . . . . . . 30
Suggestions for Further Reading . . . . . . . . . . . . . 30
Summary . . . . . . . . . . . . . . . . . . . . . . . . 31
Table of Contents
iii
Copyright 2019 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. Due to electronic rights, some third party content may be suppressed from the eBook and/or eChapter(s).
Editorial review has deemed that any suppressed content does not materially affect the overall learning experience. Cengage Learning reserves the right to remove additional content at any time if subsequent rights restrictions require it.
Copyright 2019 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. WCN 02-200-203
剩余497页未读,继续阅读













安全验证
文档复制为VIP权益,开通VIP直接复制

评论1