Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


If you know basic high-school math, you can quickly learn and apply the core concepts of computer science with this concise, hands-on book. Led by a team of experts, you’ll quickly understand the difference between computer science and computer programming, and you’ll learn how algorithms help you solve computing problems.

Subscriber Reviews

Average Rating: 3.6666666666666665 out of 5 rating Based on 3 Ratings

"Basic introduction to programming with Ruby" - by Msho on 12-SEP-2013
Reviewer Rating: 1 star rating2 star rating3 star rating4 star rating5 star rating
Too basic level of concepts, nothing about the features that distinguish Ruby from other scripting languages. Not worth the time if you are looking to take a deep dive into Ruby.

This book is a sort of introduction to programming. 40 years ago the language had been Fortran, then Basic, then Pascal, etc. This book has picked Ruby. In this regard it is not a bad book.

Report as Inappropriate

"Computer Science 101" - by mko on 17-MAY-2013
Reviewer Rating: 1 star rating2 star rating3 star rating4 star rating5 star rating
The book is a simple, short introduction to computer science and programming. It’s an unusual book as it is really short and concise (side note: compare it to The Art of Computer Programming by Donald E. Knuth – 3168 pages). However, this doesn’t mean it is unusable, contrary, it is a nice introduction for beginners.

If you are person who wants to learn some basics of Computer Science and programming, you don’t have strong attitude towards any particular programming language and you have some basic knowledge of algebra, you should definitely take this book into account.

After reading this book you will learn how to use most common programming constructs: conditional structures, loops, arrays, hash tables, some advanced sorting algorithms (read on my remarks on that), input and output operations. All that presented in a Ruby way. It’s hard for me to say whether Ruby is a good choice here as I grow up on Pascal and C, but I think it might be a good choice after all as it is a dynamic language.

In general, I think this book is worth considering. The only part I would consider hard to follow is a part covering sorting algorithms. In my opinion, explanations provided by authors will left readers in place where they know something but can not understand everything. I’d rather read something regarding standard sorting algorithms provided by Ruby framework.

Anyway. I think this book is worth considering if you have never ever done anything with Computer Science and programming.

Report as Inappropriate

Table of Contents



The publisher has provided additional content related to this title.


Visit the catalog page for Computer Science Programming Basics in Ruby

  • Catalog Page

Visit the errata page for Computer Science Programming Basics in Ruby

  • Errata