Please correct my understanding of the text in the following sentences.
Also check if my cases are correct. (N = nominative, A = accusative). Спасибо.

3. Учитель (N) проверил задание (A).
The teacher inspected the homework.

4. Туристы (N) посетили музей (A).
The tourists visited the museum.