IB Diploma Programme

IB Computer Science: how to start preparing without coding experience

Develop programming reasoning by tracing state, testing simple cases and explaining algorithms.

IB Computer Science — Problem-solving practice for coding beginners

Some students choose Computer Science because they like computers, while others take an interest in this subject to study engineering in college. There is no need to give up on starting just because you have little coding experience.

However, you must break the habit of copying code verbatim.

Tracing code by hand rather than just memorizing syntax

Syntax and problem-solving ability are different

Knowing the syntax for declaring variables or using loops is separate from the ability to solve given problems with a program. You must be able to explain what will happen at each step before the code is executed.

It is recommended to check the IB Computer Science application syllabus according to the assessment year and prepare detailed grammar based on the language used at your school.

Learning checkpoints: IB Computer Science — Thinking about input and output first; Tracing execution order; Connecting code with exam questions

Try tracing the code by hand, starting with short programs.

For example, if you are looking for the largest value in a list of numbers, set the first value as the reference point and change the reference point as needed while comparing it with the next value. Write down the value after each comparison in the list 3, 8, and 2.

Understanding the flow of the code in this way allows you to identify the cause when a program makes a mistake.

How to connect code practice with exam preparation.

After creating a short program, try changing the conditions—such as when the list is empty or contains duplicate values—to see if any problems arise. It is necessary to practice explaining the meaning of data structures and algorithms, not just coding.

When you can explain the content yourself, you will be able to solve problems even if the code is slightly modified.

A Small Example of Tracing an Algorithm by Hand

Let's consider the process of finding the largest value in the list of numbers [4, 7, 2, 9]. Record the first value, 4, as the current maximum and compare the subsequent numbers one by one. When you encounter 7, change it to 7; leave 2 as is; and finally, change it to 9. This process demonstrates how input, loops, conditions, and outputs are connected. Try tracing a list of length 4 yourself, and then check the cases where the length is 1 or where all values ​​are the same.

What do you write in your problem-solving notes besides code?

Before writing a program, organize the input and expected results as examples, test them, and compare them with the actual results. Debugging is easier if you distinguish between problems that do not run and problems that run but produce incorrect results. In particular, check the syllabus for the assessment year designated by the IB school and the language and pseudocode format used. Explaining the principles of algorithms in your own words and writing test cases is more important than memorizing basic syntax.

Computer Science Class: How to Start If You Are Coding for the First Time

Checking School Curriculum and Language

Check which exam year curriculum and language your school uses, and review variables, conditionals, loops, and arrays through small problems. The ability to read code and the ability to write it directly on a blank screen can be different.

Reading, Writing, and Explaining Code

Create a simple score tallying program yourself and test whether the results match expectations across various inputs. Explain the steps of algorithms and the roles of data structures, connecting the theory learned in school with actual coding.

Individual Project Guidance

You can check the availability of classes from the introduced teachers in various fields, such as MIT Computer Science major tutors. Please request only the learning you need, whether it be projects planned and implemented by the student, exam theory, or specific programming concepts.

Connecting code with exam questions

Official resources

PrepModule is an educational service that supports both international school curriculum classes and university admissions. We have tutors in Math, Physics, and Coding who majored in Computer Science at MIT, and we identify teachers suitable for the student's school curriculum and requested subjects.

You can apply for only the subjects and units you need, as many times as you want, without having to pay for a fixed package.

Please send the programming language used at your school and your current coding experience. We can provide consultation on everything you need, from learning to code for the first time to preparing for exams.

PrepModule KakaoTalk one-to-one consultation