Class 11 Computer Science Chapter 4 Conditional And Iterative Statements Quiz 4 (25 MCQs)

Quiz Instructions

Select an option to see the correct answer instantly.

1. Identify the conclusion of the statement:It always rains when it is cloudy
2. Which best describes the hypothesis of the statement "If tomorrow is Monday, then today is Sunday." ?
3. These sentences are in the Present Real Conditional or in the Future Real Conditional? Check the correct answer.
4. If you square a number, then the answer is positive. What would be an appropriate counterexample?
5. The program generates an error message if the "else" statement is not defined
6. What is the purpose of using Boolean variables in programming?
7. Which is the best conclusion of the hypothesis:If you are 15 years old and below,
8. Refer to the following statement: "If a polygon is a quadrilateral, then it is a trapezoid."What is the converse of this statement?
9. Given the hypothesis and the conclusion respectively, transform into an if-then statement.Hypothesis:two lines are parallelConclusion:they do not intersect
10. What is the hypothesis of the given statement "A quadrilateral is a figure with four sides" ?
11. If I ..... (go) out tonight, I ..... (go) to the cinema.
12. Negating both the hypothesis and conclusion of the original conditional is the .....
13. What is the syntax for an if statement in most programming languages?
14. A counterexample is an example that proves a conjecture to be true.
15. Given the conditional;"If Jose eats fish, then he has an allergic reaction"Which of the following is the converse?
16. I=10while(i<=15):print(i)i=i+1
17. Write the conclusion of the statement, "If you are Anthony Rizzo, then you are a Chicago Cub."
18. Determine whether the stated conclusion is valid.Given:If an animal is a dog, then they like biscuits.Sammy is a dog.Conclusion:Sammy likes biscuits.
19. Read the statement, then the phrase. Determine whether the phrase is the hypothesis or conclusion of the conditional statement."If you are reading a book on antigravity, then you can't put it down."you can't put it down
20. What is the syntax for a switch statement in programming?
21. It is possible to execute both the statements under if and else at the same time.
22. What are the two parts of a conditional statement?
23. The relational operators cannot be used within a if condition
24. Total how many different type of loops are there in python?
25. Which of the following is the CONTRAPOSITIVE of the statement below?If a gem is a ruby, then it is red.