VB.NET Path
Paper 4 accepts Python, Java or VB.NET. This path teaches it in VB.NET, one small program at a time: each step is compiled by the real Microsoft VB.NET compiler in your browser and checked against tests, some hidden. Read each value with Console.ReadLine() — one value per line — and print exactly what is asked. Also in Java and Python; try anything freely in the VB.NET Playground.
Your progress
0 of 47 steps done
47 steps in 10 blocks. Progress follows your account when you are signed in.
- A
Block A · Data, input and output
Read values a line at a time, convert them to the right type and print exactly what is asked. Steps 1–5 of 47 · 9618 §11.1
0 / 5 done
- B
Block B · Selection
IF with ELSE IF chains, nested conditions and CASE — switch in Java, Select Case in VB.NET. Steps 6–10 of 47 · 9618 §11.2
0 / 5 done
- C
Block C · Iteration
Count-controlled, pre-condition and post-condition loops, totals, averages and loops inside loops. Steps 11–16 of 47 · 9618 §11.2
0 / 6 done
- D
Block D · Strings
LEFT, RIGHT, MID, LENGTH, UCASE, LCASE and characters — the string work Paper 4 asks for. Steps 17–22 of 47 · 9618 §11.1 · guide §5
0 / 6 done
- E
Block E · Procedures and functions
Write your own procedures and functions with parameters and return values, and call them from the main program. Steps 23–27 of 47 · 9618 §11.3
0 / 5 done
- F
Block F · Arrays
1D and 2D arrays: fill them from input, total them, search them, count with them. Steps 28–32 of 47 · 9618 §10.2 · §11.1
0 / 5 done
- G
Block G · Searching and sorting
Linear search, bubble sort, insertion sort and binary search — written out by hand, the way Paper 4 asks. Steps 33–36 of 47 · 9618 §10.2 · §19.1
0 / 4 done
- H
Block H · Records and object-oriented programming
Records, classes with private attributes, constructors and methods, inheritance and polymorphism. Steps 37–40 of 47 · 9618 §10.1 · §20.1
0 / 4 done
- I
Block I · Recursion and exceptions
Functions that call themselves, and programs that catch a run-time error instead of crashing. Steps 41–44 of 47 · 9618 §19.2 · §20.2
0 / 4 done
- J
Block J · Stacks, queues and linked lists
The abstract data types Paper 4 builds from arrays and pointers. Steps 45–47 of 47 · 9618 §19.1
0 / 3 done


