Thomson Reuters interview question

They asked difference between 1040 and 1040 NR.