Cryptography Part II: The Substitution Cipher
Welcome back once again to my series on cryptography! If you haven’t read part one of the series you should read the articles Introduction to Cryptography: The Caesar Cipher and Introduction to...
View ArticleCoursera Review: Introduction to Philosophy
Introduction: I recently completed my most recent massively online open course (MOOC, for short) on Coursera. This time around, I took Introduction to Philosophy which was sponsored by the University...
View ArticleUdacity Review: CS101
Introduction: Udacity‘s CS101 is, simply put, among the best ways to go from being a non-programmer to a proficient Python programmer. Although I was already a proficient Python programmer at the...
View ArticlePython- The Playfair Cipher
Welcome back to my series on cryptography! It might be beneficial to first read one of my previous articles on cryptography, but if you haven’t and are comfortable reading and writing Python code, then...
View ArticleRuby- Tic Tac Toe Game
Programming your first game in Ruby! If you are anything like me, then you probably hold at least a passing interest for video games. I’d be surprised if you told me that you are less than 30 years...
View ArticlePython – Chicago Weather Viewer
Daily Program for 4/3/2013: Since I live in Chicago, the weather is extremely variable. As a programmer who doesn’t pay as much attention to the weather as I should, I decided to write this short...
View ArticleRuby – Change Making Program
Daily Program for 4/4/2013: Today, we are going to be programming a classic computer science homework problem, namely, the change making program. Our goal is to take as value of type int as input to a...
View ArticleC – Fizz Buzz Interview Problem
Daily Program for 4/5/2013: Amongst classic programming interview questions, the fizz buzz question is amongst the easiest. Sadly, it has been claimed on the internet that many technical interviews...
View ArticleC – Greatest Common Divisor
Daily Program for 4/6/2013: For today’s program, let’s implement a greatest common divisor function in C! Remember from 4th grade that the greatest common divisor is the largest number that two...
View ArticleC – Least Common Multiple
Daily Program for 4/7/2013: Let’s expand our knowledge base of fourth grade mathematics through programming! Today we will take a look at the least common multiple (LCM) function and implement it in...
View ArticleC++ – Recursive Palindrome
Daily Program for 4/8/2013: Another classic interview problem is to write a function which determines if a given string is a palindrome or not. Recall that a palindrome is a string which is the same...
View ArticleC++ – Iterative Palindrome
Daily Program for 4/9/2013 Let’s take a second look at the classic palindrome problem. We are trying to determine whether or not a string is a palindrome, that is, whether or not it is the same when...
View ArticleC++ – Palindrome Equality Algorithm
Daily Program for 4/10/2013 This will be our final look at the palindrome problem. Today we are going to look at using a reverse and equality testing method to test to see if a string is a palindrome...
View ArticleC++ – Find and Replace
Daily Program for 4/11/2013 Today we will look at yet another programming interview question. Removing a single character from a string is not the most difficult task in many programming languages, but...
View ArticleC++ – Character Frequency
Daily Program for 4/12/2013 Today we will take a look at a C++ program which takes a line of text as input and returns the frequency of each character in the input. In order to do this, we will use a...
View ArticleC++ – Character Frequency from File
Daily Program for 4/13/2013 Let’s expand on our character frequency program from yesterday by moving from reading a line from the command line to reading from a file and calculating the character...
View ArticleC++ – Word Frequency
Daily Program for 4/14/2013 Regardless of how you feel about this thread of inquiry, I am sincerely enjoying looking at frequencies of characters in written texts. In this vein, let’s take our first...
View ArticleC++ – Word Frequency from File
Daily Program for 4/15/2013 Today we will take a look at how we can not only perform our word frequency analysis in C++, but also incorporate files into the mix. In future posts I will expand on this...
View ArticleC++ – Square Root Estimator
Daily Program for 4/16/2013 Today we will write another math function that models what we once knew how to do in the fourth grade. I am talking about the square root. Unlike many other math functions,...
View ArticleC++ – nth Fibonacci Number
Daily Program for 4/17/2013 The fibonacci sequence has been fully engrained into mathematical and computer science history as an interesting sequence that has strange parallels to the real world and as...
View Article
More Pages to Explore .....