~とき
'when …, at the time of …'
N5
V (plain) + とき | i-Adj + とき | na-Adj + な + とき | N + の + とき
とき is a noun meaning 'time', so it attaches the way modifiers attach to nouns: {子|こ}どものとき, ひまなとき, {寒|さむ}いとき, {疲|つか}れたとき. Use the plain form before it, not the ます form ({行|い}きますとき is wrong). Learners often drop の after nouns ({休|やす}みとき) or な after な-adjectives. You'll often hear わからないとき、{聞|き}いてください ('ask when you don't understand').
Examples
わからないとき、田中さんに聞いてください。
When you don't understand, ask Mr. Tanaka.
休みのとき、よく料理を作ります。
On my days off I often cook.
子どものとき、小さい町に住んでいました。
I lived in a small town when I was a child.
Exercises
1.ひま とき、何をしますか。
2.電車に とき、切符を買います。