Mathematica, 2033 bytes
Print@PrimeQ@Input[]Print[Mod[(#-1)!^2,#]>0&@Input[]] There'sor
Print[Length@Divisors@Input[]==2] Mathematica has a neat short built-in PrimeQ as well, but the I/O functions blow believe it upuses a bitprobabilistic test.