Correct

上堂

/ shàng táng / 
Strokes

Example

As a Verb

go to law court; present at the court

1
Shàngtáng
上堂
shòushěn
受审

go to the court and stand trial

As a Verb

(of a teacher) give a lesson/lecture; (of a student) attend a class; go to class

2
Jīntiān
今天
zǎoshang
早上
wǒ
我
yào
要
shàng
上
liǎng
两
táng
堂
yīngyǔ
英语
kè
课
  
。

I have two periods/a double period of English this morning.