Friday, September 26, 2014

Completed Lab - Bitwise Arithmetic

Lab 4 - Bitwise Operators

Implement the following functions without using the +, -, *, /, ++ or -- operators
  • Addition
  • Subtraction
  • Multiplication 
  • Reverse the bit order of an int
  • Determine if an int is negative or not
  • Determine if an int contains an even number of bits 
  • Determine if two ints have the same sign
  • Store a date in a specific format and get the year/month/day of that date 
You can only use the "bitwise" operators (&, |, ^, <<, >>, ~) along with !, =, ==, !=, && and ||

Wednesday, September 17, 2014

Completed Lab - Comment Remover

Link to resources Mark Dolan Programming

All files are available at the bottom of the link.

In this lab assignment you will learn the following
  1. Draw a finite state machine
  2. Implement a finite state machine, using if, else, and else if
  3. Testing your code for bugs
You will write a program that removes all text that starts with
and ends with
when not inside a string literal


My name is Mark Dolan.  I am a computer science student at Temple University.  This blog will be about everything I do related to computer science and information technology.  This will be closely tied to my Google+, LinkedIn, and Google site.

Google+ Profile
LinkedIn Profile
Mark Dolan Programming

To check out my other areas of interest check out the following


Temple University Astro
Mark Dolan Programming
Mark Dolan CIS
Follow @dolanmarkpa
Mark Dolan Fitness Site