Think Java: How to Think Like a Computer Scientist

Allen B. Downey and Chris Mayfield

Dasturlash va IT #java#dasturlash#kompyuter fanlari#boshlang'ich#algoritmlar

Dasturlashni noldan boshlamoqchimisiz? Think Java kompyuter fanining asoslarini va Java dasturlashini hech tajribasi yo'q o'quvchilarga ham tushunarli qilib tushuntiradi. Har bir yangi tushuncha aniq ta'riflanadi, qiyin mavzular kichik qadamlarga bo'linadi, ob'ektga yo'naltirilgan dasturlash esa 9-bobdan boshlanadi. Kitob ixcham bo'lib, AP Computer Science A imtihoniga tayyorlanuvchilar uchun ham mos.

62 ta qisqa dars · 1 kishi o'qiyapti · bepul

Telegram orqali bir bosishda kirasan, parol kerak emas.

1-dars namunasi

Title page and edition details

Second Edition How to Think Like a Computer Scientist Allen B. Downey and Chris Mayfield

Dars oxirida test bor: 80% to'g'ri javob bersang keyingi dars ochiladi, xato qilsang AI qayta tushuntiradi.

Mundarija

Title Page1 dars
  1. Title page and edition details
Copyright1 dars
  1. Copyright and publisher information
Preface1 dars
  1. Book purpose and intended readers
Chapter 1. Computer Programming3 dars
  1. Thinking like a computer scientist
  2. Compiling, interpreting, and two messages
  3. Programming vocabulary and key definitions
Chapter 2. Variables and Operators3 dars
  1. Declaring variables and using operators
  2. Integer division and percentage calculations
  3. Error messages and run-time errors
Chapter 3. Input and Output3 dars
  1. The System class and output
  2. Formatting output with printf
  3. Reading input with Scanner
Chapter 4. Methods and Testing3 dars
  1. Defining new methods and returns
  2. Stack diagrams and variable scope
  3. Writing method stubs and testing
Chapter 5. Conditionals and Logic3 dars
  1. Relational operators and if statements
  2. Logical operators and simplifying conditions
  3. Input validation and writing comments
Chapter 6. Loops and Strings3 dars
  1. The while statement and repetition
  2. Characters and string indexes
  3. String comparison and formatting
Chapter 7. Arrays and References3 dars
  1. Arrays for storing multiple values
  2. Copying arrays with the Arrays class
  3. Enhanced for loops and counting
Chapter 8. Recursive Methods3 dars
  1. Recursive void methods and countdown
  2. Recursive factorial and base cases
  3. Recursion with arrays and CodingBat
Chapter 9. Immutable Objects3 dars
  1. Objects and object-oriented programming
  2. Finding the maximum of arguments
  3. Multiplication table with parameters
Chapter 10. Mutable Objects2 dars
  1. Point objects and coordinates
  2. Exploring the Java library source code
Chapter 11. Designing Classes3 dars
  1. Classes as templates for objects
  2. Getters, setters, and the Time class
  3. Chapter vocabulary and key terms
Chapter 12. Arrays of Objects3 dars
  1. Card class and array of cards
  2. Comparing cards and immutability
  3. Binary search on sorted cards
Chapter 13. Objects of Arrays3 dars
  1. Deck class and encapsulation
  2. Merging sorted decks together
  3. Playing the card game War
Chapter 14. Extending Classes2 dars
  1. Crazy Eights rules and design
  2. Hand as subclass of CardCollection
Chapter 15. Arrays of Arrays3 dars
  1. Conway's Game of Life introduction
  2. GridCanvas and two-dimensional arrays
  3. Game of Life summary and vocabulary
Chapter 16. Reusing Classes1 dars
  1. Langton's Ant simulation
Chapter 17. Advanced Topics3 dars
  1. Generalization versus specialization
  2. Drawing polygons with inheritance
  3. Animating a sprite with arrow keys
Appendix A. Tools2 dars
  1. Choosing and installing DrJava
  2. Checkstyle and code style checking
Appendix B. Javadoc1 dars
  1. Types of Java comments
Appendix C. Graphics1 dars
  1. Creating graphics with Canvas
Appendix D. Debugging3 dars
  1. Types of errors and debugging strategies
  2. Debugging infinite recursion problems
  3. Common pitfalls with numbers and objects
Index3 dars
  1. Index: symbols and first terms
  2. Index: middle alphabetical terms
  3. Index: later alphabetical terms
About the Authors1 dars
  1. Authors' professional background
Colophon1 dars
  1. Book cover and typesetting details

5-10 daqiqalik dars

Har bo'limdan qisqa mazmun va tushunchalar, kuniga bittadan o'qisang ham kitob tugaydi.

Test va takrorlash

Har darsdan keyin test, xato qilgan savollaring takrorlashga tushadi.

Bepul

Hech narsa sotmaymiz. Kitobni bir odam hammaga ochgan, sen ham o'rgan.

Kitobni foydalanuvchi o'zi yuklab, hammaga ochgan, javobgarlik unda (shartlar, 3.1). Huquqingni buzayotgan bo'lsa, kutubxonadagi "Shikoyat" tugmasini bos.

Kredit tugadi

Kreditim Qo'llab-quvvatlash