Consider the statements: p it is hot, q: it is raining Which of the following…