AP Notes, Outlines, Study Guides, Vocabulary, Practice Exams and more!

evilfrenchguy's blog

Aug 08, 2009

Java Lesson 9 – Guessing Game pt.1

I think it’s about time we put all the basic stuff we’ve learned and put it practical use. I’ve decided to make our first project a guessing game. Before we jump in, let’s take a look at the game we’re making and the kind of functionality it will have. Generally, project overviews are referred to by a lot of people as design documents.

Jul 24, 2009

Java Lesson 6 – Loops (cont’d)

The next loop I want to talk about is the do-while loop. This kind of loop is different from a for loop in that it will loop indefinitely until a condition no longer applies. Think of it as an ‘if’ statement that repeats.
do
{
// code to repeat
} while(condition)

Jul 24, 2009

Java Lesson 5 – Loops

A cool feature in many programming languages is the ability to repeat code over and over. A common use for loops can be found in games. Games have an infinite loop that updates the game with new information, clears the screen, then redraws the game components using new information.
There are three different types of loops in Java. These consist of the for loop, the while loop, and the do-while loop.

The For loop

Jul 18, 2009

Java Lesson 4 – Conditionals

Now that we can store things, it may be useful to be able to have our program make decisions. Having statements that make decisions is called conditionals, or under certain conditions. Here is the general look for a conditional statement.
if( condition to test )
{
actions to take if condition is true
}

Jul 18, 2009

Java Lesson 3 – Variables

Welcome to the third Java lesson in the series. This time I want to introduce the idea of variables. Variables are a universal concept in all programming languages. The basic idea of a variable is a way for your program to remember information for later use. A good way to think about it is that it is a lot like coming across a dollar on the floor, then saving it in some kind of jar. At any time, you can look in that jar to see how much money you have.

Jul 09, 2009

Computer Science – Java Lesson 2

Welcome to lesson 2 of my Java series. Now that you’ve installed Java successfully, we can start learning the basics of Java.
First, we should start a new project. Open NetBeans and create a new project, specifically a Java Application with a name of MyFirstProject. Once open, go ahead and just delete everything in the editor (the right window). Now type this into the article and click the Build button, followed by the Run button. I’ll explain it afterwards.
public class MyFirstProject
{
public static void main(String[] args)
{

Jul 09, 2009

Computer Science – Java Lesson 1

I’ve been a little short on ideas for these blogs lately, so I thought I’d start a series on programming in Java. It’s a subject that doesn’t have a presence and I think it would be helpful and fun for those who want to learn about programming. So, without further adieu, let’s begin.

Setting up Java on your computer

Jul 02, 2009

Preparing for Computer Science

If any of you are as passionate about computers and programming as I am, then you’ll have no problems gathering the motivation to start a little early before heading off to start on your degree. Here are some important and fun ideas to give you a head start.

Jul 02, 2009

Ideas for School Clubs and Events

If you’re thinking of some ways to add a little fun and variety to school or campus activity, then think of what impact these ideas would have on your school.

Clubs
Computer Science/Programming Club – this club would host gatherings for people who are into computer programming. You could have several group projects that the entire club could contribute to. Maybe having exclusive competitions would add some amount of interest.

Pages

Subscribe to RSS - evilfrenchguy's blog

Need Help?

We hope your visit has been a productive one. If you're having any problems, or would like to give some feedback, we'd love to hear from you.

For general help, questions, and suggestions, try our dedicated support forums.

If you need to contact the Course-Notes.Org web experience team, please use our contact form.

Need Notes?

While we strive to provide the most comprehensive notes for as many high school textbooks as possible, there are certainly going to be some that we miss. Drop us a note and let us know which textbooks you need. Be sure to include which edition of the textbook you are using! If we see enough demand, we'll do whatever we can to get those notes up on the site for you!