Cupping 发表于 2025-3-25 03:36:17
Arrays and LoopsIn the previous chapter, we worked on a program that built patterns of black and white tiles that corresponded to the elements of a square array. In this chapter, we will introduce a powerful syntax that allows us to build larger patterns from shorter programs.Inertia 发表于 2025-3-25 10:35:14
IntegersWhole numbers, such as 1, 2, 0, –1, –194, and so on, are known as .. We have already used these as the row and column indexes for our tile patterns and also to define shades of gray. In this chapter, we will be seeing how to combine integers using the familiar arithmetical operators, plus some that you might not have seen before.多骨 发表于 2025-3-25 14:28:04
http://reply.papertrans.cn/59/5827/582660/582660_23.pngBACLE 发表于 2025-3-25 16:09:22
Data StructuresData structures are used to store large amounts of information in a program. Kotlin has an exceptionally good library of data structures, with which we will become familiar in this chapter.削减 发表于 2025-3-25 22:27:10
Project AustenThe previous chapters have given us enough basic skills to start on the first of our programming projects. The goal of this project will be to make a statistical analysis of the novels of Jane Austen. For each of Austen’s major works, we will calculateFILLY 发表于 2025-3-26 02:26:22
AnagramsThis chapter builds on the techniques of object-oriented programming and unit testing that were used in Chapter 10 and introduces a new programming technique, .. The problem that we will solve is the following: given any English word, what are all the anagrams of it?CANDY 发表于 2025-3-26 06:55:01
PalindromesA palindrome is a word that is the same whether written forward or backward, for example, “kayak.” In this chapter, we will find all English words that are palindromes. This will give us further practice with Object-Oriented Programming, Unit Testing, and recursion.格言 发表于 2025-3-26 10:00:20
http://reply.papertrans.cn/59/5827/582660/582660_28.pngCANON 发表于 2025-3-26 13:52:51
http://reply.papertrans.cn/59/5827/582660/582660_29.pngobtuse 发表于 2025-3-26 19:53:47
Pixel TransformationsIn the previous chapter, we introduced a model for on-screen images that allowed us to load them from files and to change them by moving their pixels around. In this chapter, we will modify images by changing the colors of individual pixels.