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 of the process that needs to occur in order for you to write your code. It is also important to know when you have finished your code if it is working properly.
In this lesson I’m going to give you an exemplar on how you should be submitting your programming assignments so that they will meet the curriculum expectations
Example – Suppose I give you a question that says the following:
Write a program that asks the user for 3 sides of a triangle and then calculates all the interior angles of that triangle to 1 decimal spot
Your solution will have 3 parts to it:
Part #1 – The Problem Solving
Part #2 – The Code
Here is the code I would have written to solve answer the question.
Part #3 – The Evaluation
Complete the process outlined in the notes for each of these problems
1. Create a program that asks the user to enter the amount they pay each month for:
Your program should then output the percentage of the total they spend on each of those 4 categories. Display the results to the nearest whole percentage and make sure the sum of the percentages is 100%
2. A fast food restaurant charges $2.49 for burgers, $1.89 for fries, and $0.99 for soft drinks.
Create an order form for a restaurant that helps employees take orders.
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