(Ebook) Programming Logic and Design, Comprehensive 7th Edition by Joyce Farrell ISBN 9781111969752, 1111969752 instant download
(Ebook) Programming Logic and Design, Comprehensive 7th Edition by Joyce Farrell ISBN 9781111969752, 1111969752 instant download
https://ebooknice.com/product/programming-logic-and-design-
comprehensive-7th-edition-4054238
https://ebooknice.com/product/programming-logic-and-design-
comprehensive-6th-edition-2422158
https://ebooknice.com/product/programming-logic-design-comprehensive-9th-
edition-34724846
https://ebooknice.com/product/programming-logic-and-design-
comprehensive-9th-edition-37513870
https://ebooknice.com/product/programming-logic-and-design-
comprehensive-4950652
(Ebook) Programming Logic and Design: Comprehensive by Joyce
Farrell ISBN 9781111823931, 1111823936
https://ebooknice.com/product/programming-logic-and-design-
comprehensive-4586394
https://ebooknice.com/product/just-enough-programming-logic-and-design-2nd-
edition-7344196
https://ebooknice.com/product/just-enough-programming-logic-and-
design-2454550
https://ebooknice.com/product/biota-grow-2c-gather-2c-cook-6661374
https://ebooknice.com/product/java-programming-5th-edition-2336892
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.
PROGRAMMING LOGIC
AND DESIGN
C O M P R EH E N S I V E V E R S I O N
This page intentionally left blank
SEVENTH EDITION
PROGRAMMING LOGIC
AND DESIGN
COMPREHENSIVE VERSION
JOYCE FARRELL
Australia • Brazil • Japan • Korea • Mexico • Singapore • Spain • United Kingdom • United States
Programming Logic and Design, © 2013 Course Technology, Cengage Learning.
Comprehensive version,
ALL RIGHTS RESERVED. No part of this work covered by the copyright herein
Seventh Edition
may be reproduced, transmitted, stored or used in any form or by any means—
Joyce Farrell graphic, electronic, or mechanical, including but not limited to photocopying,
recording, scanning, digitizing, taping, Web distribution, information networks,
Executive Editor: Marie Lee
or information storage and retrieval systems, except as permitted under Section
Acquisitions Editor: Brandi Shailer 107 or 108 of the 1976 United States Copyright Act—without the prior written
permission of the publisher.
Senior Product Manager: Alyssa Pratt
Purchase any of our products at your local college store or at our preferred
online store: www.cengagebrain.com
Some of the product names and company names used in this book have been
used for identification purposes only and may be trademarks or registered
trademarks of their respective manufacturers and sellers.
Course Technology, a part of Cengage Learning, reserves the right to revise this
publication and make changes from time to time in its content without notice.
Preface . . . . . . . . . . . . . . . . . . xviii
C H AP T E R 1 An Overview of Computers and Programming . 1
C H AP T E R 2 Elements of High-Quality Programs . . . . . . 37
C H AP T E R 3 Understanding Structure . . . . . . . . . . . 83
C H AP T E R 4 Making Decisions . . . . . . . . . . . . . 121
C H AP T E R 5 Looping . . . . . . . . . . . . . . . . . 169
C H AP T E R 6 Arrays . . . . . . . . . . . . . . . . . . 213
C H AP T E R 7 File Handling and Applications . . . . . . . 257
C H AP T E R 8 Advanced Data Handling Concepts . . . . . 305
C H AP T E R 9 Advanced Modularization Techniques . . . . 355
C H AP T E R 1 0 Object-Oriented Programming . . . . . . . 407
C H AP T E R 1 1 More Object-Oriented Programming
Concepts . . . . . . . . . . . . . . . . . 449
C H AP T E R 1 2 Event-Driven GUI Programming,
Multithreading, and Animation . . . . . . . 491
C H AP T E R 1 3 System Modeling with the UML . . . . . . . 523
C H AP T E R 1 4 Using Relational Databases . . . . . . . . 555
A PP E N D I X A Understanding Numbering Systems
and Computer Codes . . . . . . . . . . . 601
A PP E N D I X B Flowchart Symbols . . . . . . . . . . . . 611
A PP E N D I X C Structures . . . . . . . . . . . . . . . . 612
A PP E N D I X D Solving Difficult Structuring Problems . . . . 614
BRIEF CONTENTS
vi Glossary . . . . . . . . . . . . . . . . . 633
Index . . . . . . . . . . . . . . . . . . . 653
Contents
vii
Preface . . . . . . . . . . . . . . . . . . xviii
C H AP T E R 3 Understanding Structure . . . . . . . . . . . 83
The Disadvantages of Unstructured Spaghetti Code . . . . . . . 84
Understanding the Three Basic Structures . . . . . . . . . . . 86
Using a Priming Input to Structure a Program . . . . . . . . . . 95
Understanding the Reasons for Structure . . . . . . . . . . . 101
Recognizing Structure . . . . . . . . . . . . . . . . . . . 102
Structuring and Modularizing Unstructured Logic . . . . . . . . 105
Chapter Summary . . . . . . . . . . . . . . . . . . . . . 110 ix
Key Terms . . . . . . . . . . . . . . . . . . . . . . . . 111
Review Questions . . . . . . . . . . . . . . . . . . . . . 112
Exercises . . . . . . . . . . . . . . . . . . . . . . . . 114
Find the Bugs . . . . . . . . . . . . . . . . . . . . . . 118
Game Zone . . . . . . . . . . . . . . . . . . . . . . . 118
Up for Discussion . . . . . . . . . . . . . . . . . . . . 119
C H AP T E R 5 Looping . . . . . . . . . . . . . . . . . 169
C H AP T E R 6 Arrays . . . . . . . . . . . . . . . . . . 213
A PP E N D I X C Structures . . . . . . . . . . . . . . . . . 612
A PP E N D I X D Solving Difficult Structuring Problems . . . . 614
Glossary . . . . . . . . . . . . . . . . . . 633
Index . . . . . . . . . . . . . . . . . . . . 653
Preface
xviii
Programming Logic and Design, Comprehensive, Seventh Edition provides the beginning
programmer with a guide to developing structured program logic. This textbook assumes no
programming language experience. The writing is nontechnical and emphasizes good
programming practices. The examples are business examples; they do not assume
mathematical background beyond high school business math. Additionally, the examples
illustrate one or two major points; they do not contain so many features that students become
lost following irrelevant and extraneous details.
The examples in this book have been created to provide students with a sound background in
logic, no matter what programming languages they eventually use to write programs. This
book can be used in a stand-alone logic course that students take as a prerequisite to a
programming course, or as a companion book to an introductory programming text using
any programming language.
Britannicus hymyili.
JULIA.
"Kuka olet sinä, mikä voima tuopi sinut tänne?" huudahti hän
puolittain iloisesti, puolittain peloissaan.
Henkilö tuli lähemmä; nyt seisoi hän aivan Julian edessä, joka
pelästyneenä peräytyi.
"Julia!"
"Pallas kuollut?"
"Murhattu."
Oktavia ei vastannut.
"Paeta? — Miksi?"
"Kyllä, Oktavia."
"Miksikä ei?"
Se oli Callistus.
Se oli Agrippina.
"Tunnetko rikoksesi?"
ASKEL ASKELEELTA.
Golgatalta Roomaan
"Hyvä."
"Pyöveli!"
"Ei."
"Vahvempi?"
"Tuskin."
Otho ei vastannut.
"Ota."
"Sinä tarkoitat?"
Nero astui sisään. Oven edessä seisoi vartija. Mutta hän itse oli
aseeton. Hänen synkkä katseensa kiintyi Othoon.
*****
*****
"Nimeni on Akte", vastasi hän hiljaa, aivan kuin olisi hän pelännyt
mainita tuota nimeä.
"Olen, valtijatar."
"Caesar."
"Rakastan, valtijatar."
Poppea ei vastannut.
"Ehkä."
"Kauniimpi kuin Oktavia?"
Agrippina vitkasteli.
"Kenet? Akteko?"
"Ei. Agrippina!"
"Hänen täytyy kuolla", vastasi hän tietämättä mitä sanoi. Hänet oli
vallannut raju huumaus, jonka intohimo Poppeaan oli synnyttänyt.
Welcome to our website – the ideal destination for book lovers and
knowledge seekers. With a mission to inspire endlessly, we offer a
vast collection of books, ranging from classic literary works to
specialized publications, self-development books, and children's
literature. Each book is a new journey of discovery, expanding
knowledge and enriching the soul of the reade
Our website is not just a platform for buying books, but a bridge
connecting readers to the timeless values of culture and wisdom. With
an elegant, user-friendly interface and an intelligent search system,
we are committed to providing a quick and convenient shopping
experience. Additionally, our special promotions and home delivery
services ensure that you save time and fully enjoy the joy of reading.
ebooknice.com