In a ten-question true-false exam, and the probability that a student gets a grade of 70 percent or better by guessing. Answer the same question if the test has 30 questions, and if the test has 50 questions.

10 Questions

pbinom(7, size = 10, prob = 0.5, lower.tail = F)
## [1] 0.0546875

30 Questions

pbinom(21, size = 30, prob = 0.5, lower.tail = F)
## [1] 0.008062401

50 Questions

pbinom(35, size = 50, prob = 0.5, lower.tail = F)
## [1] 0.001301086