Example: barber

A GUIDE TO PROGRAMMING IN JAVA - Mr. Barrett's Class

A GUIDE TO PROGRAMMING INJava 2 Platform Standard Edition 5 Beth BrownJAVA A GUIDE to PROGRAMMING in java java 2 Platform Standard Edition 5 Beth BrownCopyright 2005byFirst EditionISBN 1-58003-071-8 (softcover)ISBN 1-58003-072-6 (hardcover)All rights reserved. No part of this work covered by the copyright may be reproduced or used in any form or by any means graphic, electronic, or mechanical, including photocopying, recording, taping, or information storage and retrieval systems without the written permission of the publisher, with the exception of programs, which may be entered, stored, and executed in a computer system, but not reprinted for publication or resold in any other in the United States of AmericaAll orders including educational, Canadian, foreign,FPO, and APO may be placed by contacting.

7. Explain the importance of using code conventions. 8. Demonstrate algorithm design as a problem-solving strategy. 9. Use visual organizers to design solutions. Chapter 4 – Variables and Constants After completing Chapter 4, students will be able to: 1. Declare and initialize variables and constants using the appropriate data type. 2.

Tags:

  Programming, Using, Strategy, Java

Information

Domain:

Source:

Link to this page:

Please notify us if you found a problem with this document:

Other abuse

Transcription of A GUIDE TO PROGRAMMING IN JAVA - Mr. Barrett's Class

1 A GUIDE TO PROGRAMMING INJava 2 Platform Standard Edition 5 Beth BrownJAVA A GUIDE to PROGRAMMING in java java 2 Platform Standard Edition 5 Beth BrownCopyright 2005byFirst EditionISBN 1-58003-071-8 (softcover)ISBN 1-58003-072-6 (hardcover)All rights reserved. No part of this work covered by the copyright may be reproduced or used in any form or by any means graphic, electronic, or mechanical, including photocopying, recording, taping, or information storage and retrieval systems without the written permission of the publisher, with the exception of programs, which may be entered, stored, and executed in a computer system, but not reprinted for publication or resold in any other in the United States of AmericaAll orders including educational, Canadian, foreign,FPO, and APO may be placed by contacting.

2 Lawrenceville Press, Box 704 Pennington, NJ 08534-0704(609) 737-1148(609) 737-8564 faxThis text is available in hardcover and softcover 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 The text is written and published by Lawrenceville Press, Inc. and is in no way connected with the Sun , Sun Microsystems, and java are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other countries. Microsoft Microsoft Windows , Visual Basic , and Microsoft Calculator are either registered trademarks or trademarks of Microsoft Corporation in the United States and/or other countries. Screen Shots and Icons reprinted with permission from Microsoft OS and Tiger are registered trademarks of Apple Computer, Inc. in the United States and other is a registered trademark of FSCreations, Inc.

3 JUNE BUGS poem by Avis Harley used with permission from Boyds Mills of all other products mentioned herein are used for identification purposes only and may be trademarks of their respective have strived to make this the clearest and most comprehensive java text available. Our primary objective in this text is to present mate-rial in clear language with easy to follow examples. To meet this objective, we use our teaching experiences as well as the feedback, comments, and suggestions from other experienced instructors to determine how best to present PROGRAMMING concepts. For the best classroom experience for both the student and the instructor, our comprehensive text book includes hands-on reviews, critical-thinking questions, and exercises of varying difficulty levels. Additionally, our Teacher Resource Materials correlate directly to the text book and offer teaching hints for explaining difficult concepts, additional lessons and exercises, and a comprehensive question bank for creating tests, quizzes, and reviews.

4 The Teacher Resource Materials include the applications, Case Studies, and vocabulary from the text book, as well as answers to all the reviews and exercises. It is our belief that learning to program offers the student an invaluable opportunity to develop problem-solving skills. The process of defining a problem, breaking it down into a series of smaller problems, and finally writing an application to solve it exercises a student s logical abilities. Additionally, the student is made aware of the capabilities and limita-tions of a computer and soon realizes that the programmer the human element is more important than the machine. A GUIDE to PROGRAMMING in java is written for a one-term or two-term course. No previous PROGRAMMING experience is required or assumed. It is our goal that this text provide students the best possible introduction to PROGRAMMING using java and to prepare them for further study in the IT/ PROGRAMMING /computer science GUIDE to PROGRAMMING in java Design and Features PROGRAMMING Concepts This text emphasizes the fundamental concepts of PROGRAMMING so that this knowledge can be applied to other program-ming Solving From the very beginning, students are taught to imple-ment PROGRAMMING solutions with proper algorithm design and code Style Throughout the text, proper PROGRAMMING style is emphasized so that students can make their applications easy to read, modify, and Applications and Runs Many demonstration applica-tions are included, complete with sample runs.

5 So that students are shown both proper PROGRAMMING techniques and the output actually produced by an Numerous reviews are presented throughout each chapter to provide immediate reinforcement of newly learned concepts. Solutions to the reviews are included on the Teacher Resource Materials Studies Most chapters end by stating a problem, developing an appropriate algorithm, and then implementing the solution. The process of specification, design, implementation, and debugging and testing is clearly Summaries Each chapter ends by summarizing the concepts and statements covered in the Sections Each chapter contains a vocabulary section that defines new terms. A separate section lists java keywords, statements, and Thinking Written response questions that require critical think-ing from the student are included at the end of each Each chapter includes a large set of exercises of varying diffi-culty, making them appropriate for students with a range of abilities.

6 Most exercises include a demonstration run to help make clear what output is expected from the student s application. Exercises based on previous work are marked with a symbol. Answers to the exercises are included on the Teacher Resource Materials In addition to a standard index, an index of the applications presented in the text is also A chart of Unicode symbols is Resources Materials that complement and extend this text are free for download and distribution in your Class . Information about various java compilers is available. Supplemental chapters cover operating systems, personal finances, introduction to computers, and keyboarding skills are also provided. Students can download all the files needed to complete the reviews and exercises from Teacher Resource Materials Our Teacher Resource Materials correlate directly to the text book and provide all the additional materials required to offer students an excellent computer applications course.

7 The Teacher Resource Materials feature: Help files and a GUIDE for using the text and resource materials. Lesson Plans Lessons in PDF format keyed to the chapters in the text. Each lesson includes assignments, teaching notes, worksheets, and additional topics. Tutorials Flash movie files that provide animations to illustrate searching and sorting concepts. Each movie is keyed to the text. PowerPoint Presentations Topics keyed to the text are in PowerPoint files for presentation. Vocabulary Word files of the vocabulary presented in the text. Rubrics Rubrics keyed to exercises in the text for assessment. Worksheets PROGRAMMING assignments that supplement the exer-cises in the text provide additional reinforcement of concepts. Critical Thinking Answers Answers for the critical thinking questions presented in the text.

8 Data files All the files the student needs to complete the reviews and exercises in the text, as well as the files needed to complete the worksheets and tests. ExamView Software Question banks keyed to the text and the popular ExamView software are included to create tests, quizzes, and additional assessment materials. Answer files Answers to the reviews, exercises, worksheets, and tests. Acknowledgments Special thanks to the many instructors who used this text in their classroom as it was being written. I would especially like to thank the following instructors for their many comments and suggestions:Paul Massey Hanna-Westside Extension CampusEdward Sapienza Peabody Veterans Memorial High SchoolTimothy Strohm Churchville-Chili Senior High SchoolJackie Kyger Marine Military Academy Jan Marrelli, a Lawrenceville Press author and editor, has contributed much to this text.

9 She has used this text as it was being written in her classroom. The many comments and suggestions from her and her stu-dents have helped to make this text so clearly written. Jan, an experienced instructor, has also written many of the critical thinking questions, exer-cises, and GUIDE to PROGRAMMING in java Elaine Malfas, senior technical editor at Lawrenceville Press, has pro-duced the format and layout for this text. The many illustrations have been created by Elaine as well. Thanks also to Joseph Dupree in our Customer Relations Department for some of the original drawings included in this text. The success of this and all of our texts is due to the efforts of Heidi Crane, Vice President of Marketing at Lawrenceville Press. Joseph Dupree and Christina Albanesius run our Customer Relations Department and handle the thousands of orders we receive in a friendly and efficient manner.

10 Michael Porter is responsible for the excellent service Lawrenceville Press offers in the shipping of orders. About the Author Beth A. Brown, a Computer Science graduate of Florida Atlantic University, is director of development at Lawrenceville Press where she has coauthored a number of PROGRAMMING and applications texts and their accompanying Teacher Resource Materials. She has taught computer applications and PROGRAMMING at the high school Chapter Expectations Chapter 1 An Introduction to ComputersAfter completing Chapter 1, students will be able to:1. Compare and contrast various input, output, and storage Identify hardware components and explain their Demonstrate knowledge of operating Discuss different computer classifications and compatibility Differentiate among the levels of PROGRAMMING Describe communication and networking Understand the binary number Describe how data is stored in memory and in Use Internet services to access information and share Demonstrate proper etiquette and knowledge of acceptable use policies when using a network.


Related search queries