Californium has 98 electrons arranged as 2, 8, 18, 32, 28, 8, 2 across 7 shells, which is why it sits in period 7.
How to write it
Start from the previous noble gas core, written in square brackets, then add the remaining electrons in filling order. For californium that gives [Rn] 5f10 7s2.