Lompat ke konten

Hi, coder!

Let's make something fun today!

Draw with a turtle, drive a robot, light an LED, build a circuit. Real code that runs right here, with nothing to install.

Your first win takes about a minute. Ready? 🚀

Quick wins: pick one!

Baru: 30 Malam Pemrograman10 menit setiap malam

Hello! I am still in my egg. Choose me on 30 Code Nights, and I will grow while you learn!

Choose your pet →

Pilih hewan peliharaan Anda

Hewan peliharaan Anda masih di dalam telurnya. Setiap malam Anda menulis kode, ia tumbuh.

Play and code
Dasar-dasar
Kursus Ujian
Topik & Alat

Latihan

Latih pemrograman dan pseudocode Cambridge dengan tantangan dari 1★ hingga 5★. Pilih jalur.

Latihan pseudocode

Pilih ujian Anda: IGCSE 0478 atau AS 9618. Notasi mereka berbeda.

Open the whole track →
Print a word
01 ★☆☆☆☆
Print another word
02 ★☆☆☆☆
Print a sentence
03 ★☆☆☆☆
Print with a !
04 ★☆☆☆☆
Print two lines
05 ★☆☆☆☆
Print three lines
06 ★☆☆☆☆
Print a number
07 ★☆☆☆☆
Print a bigger number
08 ★☆☆☆☆
Add two numbers
09 ★☆☆☆☆
Add bigger numbers
10 ★☆☆☆☆
Subtract
11 ★☆☆☆☆
Multiply
12 ★☆☆☆☆
Divide
13 ★☆☆☆☆
Remainder
14 ★☆☆☆☆
Use a variable
15 ★☆☆☆☆
A number variable
16 ★☆☆☆☆
Change a variable
17 ★☆☆☆☆
Add two variables
18 ★☆☆☆☆
Multiply two variables
19 ★☆☆☆☆
Join two words
20 ★☆☆☆☆
Greet a name
21 ★☆☆☆☆
Repeat text
22 ★☆☆☆☆
Ask for a name
23 ★☆☆☆☆
Echo a number
24 ★☆☆☆☆
Call a function
105 ★☆☆☆☆
Use what it gives back
106 ★☆☆☆☆
Finish the function
107 ★☆☆☆☆
Write one yourself
108 ★★☆☆☆
Your first function
25 ★☆☆☆☆
Is it positive?
26 ★☆☆☆☆
The bigger one
27 ★☆☆☆☆
The last item
28 ★☆☆☆☆
Is it even?
29 ★☆☆☆☆
Sum a list
30 ★☆☆☆☆
Reverse a string
31 ★★☆☆☆
Count the vowels
32 ★★☆☆☆
FizzBuzz
33 ★★★☆☆
Letter frequencies
34 ★★★☆☆
Remove duplicates
35 ★★★☆☆
Second largest
36 ★★★☆☆
Group anagrams
37 ★★★★☆
Flatten a nested list
38 ★★★★☆
Kalkulator RPN
39 ★★★★★
Pengkodean panjang rentang
40 ★★★★★
Count to ten
41 ★★☆☆☆
Even numbers
42 ★★☆☆☆
Liftoff
43 ★★☆☆☆
Star triangle
44 ★★☆☆☆
The 3 times table
45 ★★☆☆☆
Running total
46 ★★★☆☆
Largest without max
47 ★★★☆☆
Smallest without min
48 ★★★☆☆
Count the positives
49 ★★☆☆☆
Average of a list
50 ★★★☆☆
Add up 1 to 100
51 ★★☆☆☆
Upside-down triangle
52 ★★☆☆☆
FizzBuzz with 4 and 6
53 ★★★☆☆
Until you type stop
54 ★★★☆☆
A list of squares
55 ★★☆☆☆
Count a value
56 ★★☆☆☆
Keep the evens
57 ★★☆☆☆
Find the position
58 ★★★☆☆
Smallest and largest
59 ★★★☆☆
Above average
60 ★★★☆☆
Binary to denary
61 ★★★★☆
Denary to binary
62 ★★★★☆
Digital root
63 ★★★★☆
Caesar cipher
64 ★★★★☆
Bank account
65 ★★★★☆
Transpose a grid
66 ★★★★☆
Most common word
67 ★★★★★
Sieve of Eratosthenes
68 ★★★★★
A row of Pascal's triangle
69 ★★★★★
Tic-tac-toe winner
70 ★★★★★
Is it big?
71 ★☆☆☆☆
Pass or fail
72 ★☆☆☆☆
Positive, negative or zero
73 ★☆☆☆☆
The bigger number
74 ★☆☆☆☆
Even or odd
75 ★☆☆☆☆
Is it in range?
76 ★★☆☆☆
Free entry
77 ★★☆☆☆
Grade letter
78 ★★☆☆☆
Divisible by both
79 ★★☆☆☆
Ticket price
80 ★★☆☆☆
Finish the countdown
81 ★☆☆☆☆
The loop that never ends
82 ★☆☆☆☆
Count up to five
83 ★☆☆☆☆
Add up to five
84 ★☆☆☆☆
Double until it passes 100
85 ★★☆☆☆
Stop at the first over fifty
86 ★★☆☆☆
Count down in twos
87 ★★☆☆☆
Until they type stop
88 ★★☆☆☆
How many halvings?
89 ★★☆☆☆
A row of the times table
90 ★★☆☆☆
The first letter
91 ★☆☆☆☆
The last letter
92 ★☆☆☆☆
The first three letters
93 ★☆☆☆☆
How long is it?
94 ★☆☆☆☆
Shout it
95 ★☆☆☆☆
Initials
96 ★★☆☆☆
Ask for a name
97 ★☆☆☆☆
Ask for two things
98 ★☆☆☆☆
A number from input
99 ★☆☆☆☆
Add two numbers you were given
100 ★★☆☆☆
Each letter on its own line
101 ★☆☆☆☆
Zero to four
102 ★☆☆☆☆
Count the letters
103 ★☆☆☆☆
Add up one to five
104 ★☆☆☆☆

Masuk atau buat akun

IGCSE, A-Level & AP