In programming, conditional statements are used to evaluate and compare sets of data. The “if” statement executes a block of code only if a certain condition is true. A comparison to this statement used in everyday life might be “If it is cloudy, then bring an umbrella” (cloudy being the condition, bringing an umbrella being […]
In our last tutorial, we discussed variables and comments in PHP. Today, we are going to go over basic math operators. By math operators, I mean symbols that represent math operations. Adding, subtracting, dividing, and multiplying are all examples of math operators. There are seven main operators in PHP, and they can be seen in […]
Now that you’ve got the basics for the Lego Mindstorms, we can start programming. To start, open up RobotC and open a new file. Outputting text is the first thing you will do with almost any programming language, so let’s start with a program that displays “Hello World” on the screen. Note that this program […]
Ruby on Rails is a web-app framework that is written in the Ruby programming language. Since its release in 2004, it has quickly gained popularity in the developer community. It aims to make developing web applications easier, efficient, and fun. In order to maximize developer efficiency, it is designed so that the best ways […]
The binary numeral system is a numbering system that uses the digits 1 and 0. It is also referred to as the “base two numbering system” due to the fact that two different numbers are used. Contrary to popular belief, the system is rather easy to learn. You are most familiar with the base 10 […]
Hit the play button on your favorite music video, because it’s time for yet another tutorial on the awesome programming language that is Objective-C! In our last tutorial, we studied classes. In our code, we made the “Alien” class. This time ’round, we’re going to make an object. This object is going to be “Bill”. […]
Byte Revel was launched in May of 2011, with the goal of becoming a quality technology blog. Behind the scenes are a couple of college students with a passion for all things tech. Post topics include news, tutorials, commentaries, software, hardware, and more! Thank you for being a valued reader. Because of support from people like you, we are gradually growing! Want to send us a comment, question, or suggestion? Fill out our contact form!