In this IB Computer Science lesson you will be learning about:
In this course you will learn to write computer programs. A computer program must be written in a programming language. I have decided to use the Java Programming Language in this course. Java programs are written in a development environment.
We will be using the Netbeans development environment.
You will need to install the following software on your computer.
STEP #1 – INSTALL THE LATEST VERSION OF THE JAVA DEVELOPMENT KIT
STEP #2 – INSTALL THE LATEST VERSION OF NETBEANS
(ONLY DO THIS AFTER INSTALLING THE JAVA DEVELOPMENT KIT IF YOU WANT TO MAKE YOUR LIFE EASIER)
You should create a folder on your computer to save all your programs / projects.
Don’t worry if this sounds complicated, it will make a lot more sense when we start writing some computer programs, and the course material will teach you how to do all of this.
Create a New Project
Select Java Application
Name Your Project, navigate to the correct file folder where you want everything to be saved, Unclick Create Main Class
Your Screen Should look something like this
To create java programs, right click on source packages. There are generally two types of files we will be using. A Java Class and a JFrame Form. A JFrame Form will make it easier to write Graphical Interfaces (GUI’s), but most of the time you will just use a regular Java Class
If you choose “Java Class” it will open up a blank program and you can start writing code
If you choose “JFrame Form” it will open up a blank GUI designer form
You can create as many java programs as you want all under one project
To execute an individual program just right click on the .java file and click run file
Check out our programing in python courses that focus on high school level coding.
These courses are complete with interactive coding lessons, teacher led videos, and more practice questions with complete solutions
Return To International Baccalaureate Computer Science Main Page