In this IB Computer Science lesson you will be learning about:
It is a lot easier to write programs when you take a few minutes and think ahead of time of the process that needs to happen to solve the problem.
Let’s take a very simple example:
You want to write a program that calculates the area and perimeter of a rectangle.
Before you write the code you need to actually know how you would go about solving that problem if you didn’t have a computer
Maybe even writing out an example to show how it works would be helpful.
Once you figured out how to solve the problem, you need to start thinking about how to get the computer to do the same thing.
We need to be able to have the user enter in values from the keyboard
We need to be able to perform some simple math calculations
1. Write a program that finds the volume of a triangular based pyramid given its height along with the base and height of the triangle base.
2. Write a java program that takes a subtotal of a purchase, calculates the tax (13%) and the final price.
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