Jump to ratings and reviews
Rate this book

Computer Science Programming Basics in Ruby: Exploring Concepts and Curriculum with Ruby

Rate this book
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. Each chapter builds on material introduced earlier in the book, so you can master one core building block before moving on to the next. You’ll explore fundamental topics such as loops, arrays, objects, and classes, using the easy-to-learn Ruby programming language. Then you’ll put everything together in the last chapter by programming a simple game of tic-tac-toe.

186 pages, Paperback

First published November 22, 2012

16 people are currently reading
64 people want to read

About the author

Ophir Frieder

6 books4 followers
Dr. Ophir Frieder holds the McDevitt Chair in Computer Science and Information Processing and is Chair of the Department of Computer Science at Georgetown University. He is also Professor of Biostatistics, Bioinformatics and Biomathematics in the Georgetown University Medical Center. He is a Fellow of the AAAS, ACM, and IEEE.

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
8 (17%)
4 stars
12 (25%)
3 stars
22 (46%)
2 stars
4 (8%)
1 star
1 (2%)
Displaying 1 - 10 of 10 reviews
Profile Image for Bonix.
29 reviews2 followers
March 10, 2014
Well, they don't joke around when they say about basics.
That said, it is a good introduction to programming and CS, I wish I had started to learn with a book like this. But do we need yet another introduction book to programming? I guess not. But I enjoyed how the book takes its time to explain what is the difference of bit and byte, binary and hexadecimal numbers.

As a self-taught programmer, there are a few points that I had never taken the time to understand, but they are rare. So if you are a seasoned programmer or have a bit more than the basics, this book is not for you.

But I would definitely recommend this to a total beginner.
Profile Image for Benjamin.
1,410 reviews24 followers
Read
February 18, 2017
As someone who has returned to computer science and programming after a long break, I've been trying to get up to speed (again) with both basics and more advanced topics. I've also been keeping an eye out for a good introduction for my wife, who has some interest in cs after working in librarianship for a while.

But I'm not sure this is that book. Some of the book is very on-target as an intro book to cs/programming: how to approach a problem (state the steps, think about control flow), the usual foundations (binary numbers, variables, loops, arrays and hashes). Some of this gets a little more advanced, but still necessary (searching/sorting); and some of it gets into object-oriented programming which may or may not be necessary. Frankly, I think an intro to cs shouldn't (these days) consider OO foundational without mentioning other programming paradigms. And talk about OO can get a little hairy if you've never been exposed to it before.

And, frankly, though it is hard for me to judge, a lot of the language here seems pretty dense--too dense for an introductory book even when it's covering introductory topics.

That said, I do think the searching/sorting chapter is pretty good for what it covers--finally, a good explanation of radix short. Though, really, even there, the authors try to keep the book manageably sized and do so with that time-honored Fermat technique: "This topic is too large for this size, so go find some other book." That's what you'd expect from an intro book, and yet I wasn't really into what they choose to go into and what they choose to put off.
Profile Image for Anton Antonov.
351 reviews48 followers
November 25, 2015
CS with Ruby is a great combination of classic Cs literature and a modern approach. The choice of Ruby makes the coding as close as possible to English.

The head first theory before any programming remains true to any CS book, but CS with Ruby skips a few parts of the compilation and interpretation done by compilers or interpreters, to ease the reader.

The chapters are nicely organized with really idiomatic summary of the keywords mentioned in each one of the chapters, before going in the exercises. The exercises are surprisingly few though. Yes, they are enough to grasp the basics, but there could be more for the motivated ones.

Reasons why the book is a 4:
The installation and setup parts are something that may need more attention. It leaves too much to assume and predict by the reader. This could be avoided by investing 5 more pages into that.

There is a dedicated searching and sorting chapter but not a whole one for Data structures. This is important and worth 30 pages.

Last but not least it needs a refresher addressing the issues and using a newer Ruby version.

However I would recommended CD with Ruby to anyone starting CS Bs or having the programming basics down or so and wanting to learn more CS. Ex read Ruby Wizardry and then reading this one.
Profile Image for Sarah Kuehnle.
7 reviews8 followers
January 2, 2016
A great introduction to CS with lots of examples and code to play with. Unfortunately, as the book progresses, there are a fair amount of grammatical and code errors. I found the code fun to debug, but the grammatical errors are annoying.
Profile Image for Janice.
152 reviews
Read
September 9, 2013
good first concepts of programming book. i picked this up to see some basics in ruby, not worth it as a language introduction.
Profile Image for Jayson Virissimo.
43 reviews19 followers
May 27, 2014
I wish this book would have been my introduction to computer science rather than whatever Java textbook we used in CSE110.
218 reviews30 followers
September 13, 2013
THEY WERE NOT JOKING ABOUT "BASICS". If I had not paid $5 for this, I would have been pissed.
Displaying 1 - 10 of 10 reviews

Can't find what you're looking for?

Get help and learn more about the design.