ABSTRACT

With its flexibility for programming both small and large projects, Scala is an ideal language for teaching beginning programming. Yet there are no textbooks on Scala currently available for the CS1/CS2 levels. Introduction to the Art of Programming Using Scala presents many concepts from CS1 and CS2 using a modern, JVM-based language that works we

part |2 pages

I Introductory Concepts

chapter 2|26 pages

Getting to Know the Tools

chapter 3|28 pages

Scala Basics

chapter 4|18 pages

Conditionals

chapter 5|22 pages

Functions

chapter 6|24 pages

Recursion for Iteration

chapter 7|46 pages

Arrays and Lists in Scala

chapter 8|28 pages

Loops

chapter 9|20 pages

Text Files

chapter 10|18 pages

Case Classes

chapter 11|36 pages

GUIs

chapter 12|32 pages

Graphics

chapter 13|34 pages

Sorting and Searching

chapter 14|20 pages

XML

chapter 15|22 pages

Recursion

part |2 pages

II Object-Orientation, Abstraction, and Data Structures

chapter 16|30 pages

Object-Orientation

chapter 17|14 pages

Bigger Programs/New Tools

chapter 18|14 pages

A Project (Drawing Program)

chapter 19|46 pages

Abstraction and Polymorphism

chapter 20|24 pages

Other Collection Types

chapter 21|40 pages

Multithreading and Concurrency

chapter 22|36 pages

Stream I/O

chapter 23|36 pages

Networking

chapter 24|24 pages

Stacks and Queues

chapter 25|22 pages

Linked Lists

chapter 26|18 pages

Priority Queues

chapter 27|12 pages

Refactoring

chapter 28|26 pages

Recursion

chapter 29|24 pages

Trees

chapter 30|18 pages

Regular Expressions and Context-Free Parsers

chapter 31|16 pages

Spatial Trees

chapter 32|12 pages

Binary Heaps

chapter 33|18 pages

Direct Access Binary Files

chapter 34|20 pages

Actors

chapter 35|22 pages

Augmenting Trees

chapter 36|4 pages

Wrapping Up