This quiz works best with JavaScript enabled. Home > Class 11 > Class 11 Computer Science Chapter 4 Conditional And Iterative Statements – Quiz 2 🏠 Homepage 📘 Download PDF Books 📕 Premium PDF Books Class 11 Computer Science Chapter 4 Conditional And Iterative Statements Quiz 2 (25 MCQs) Quiz Instructions Select an option to see the correct answer instantly. 1. Which alternative complete correctly the sentence? (a) he will visit you A) A. If he comes to the city today,. B) If he will come to the city today,. C) All the above. D) None of the above. Show Answer Correct Answer: A) A. If he comes to the city today,. 2. What is the converse to this statement: "If it is dark outside, than it is night" A) If it isn't dark outside, then it is not night. B) If it is not night, then it is not dark outside. C) If it is night, then it is dark outside. D) It is night. Show Answer Correct Answer: C) If it is night, then it is dark outside. 3. Provide a counterexample to the following claim:"All quadrilaterals have at least one set of parallel sides." A) Trapezoid. B) Rectangle. C) Rhombus. D) Kite. Show Answer Correct Answer: D) Kite. 4. Bi-Conditional A) $p\longrightarrow q$. B) $\sim p\longrightarrow\sim q$. C) $q\longrightarrow p$. D) $p\longleftrightarrow q$. Show Answer Correct Answer: D) $p\longleftrightarrow q$. 5. Converse:If an object flies, then it is an airplane. A) True. B) False. C) All the above. D) None of the above. Show Answer Correct Answer: B) False. 6. What has to happen in order to write a biconditional statement? A) Conditional has to be true. B) Converse of the conditional has to be true. C) All the above. D) None of the above. Show Answer Correct Answer: C) All the above. 7. Which type of python loop works for condition- A) For. B) While. C) Break. D) Continue. Show Answer Correct Answer: B) While. 8. Original:If I have a black lab, then I have a dog.What is this statement called:If I do not have a black lab, then I do not have a dog. A) Conditional. B) Converse. C) Inverse. D) Contrapositive. Show Answer Correct Answer: C) Inverse. 9. What do you call the first part of a conditional statement that follows the word "if" ? A) Conclusion. B) Hypnosis. C) Hypothesis. D) Conjunction. Show Answer Correct Answer: C) Hypothesis. 10. The following statements represent p and qp:the sea is calmq:the sun is upWhich symbolic statement represents "If the sea is calm then the sun is not up" A) P $\rightarrow$ q. B) Q $\rightarrow$ p. C) ~p $\rightarrow$ ~q. D) P $\rightarrow$ ~q. Show Answer Correct Answer: D) P $\rightarrow$ ~q. 11. Identify the hypothesis of the statement:It always rains when it is cloudy A) It always rains. B) It is cloudy. C) All the above. D) None of the above. Show Answer Correct Answer: B) It is cloudy. 12. Q $\rightarrow$ p A) Conditional. B) Converse. C) Inverse. D) Contrapositive. Show Answer Correct Answer: B) Converse. 13. Comparison OperatorWhat is <=? A) Greater than. B) Less than. C) Greater than or equal to. D) Less than or equal to. Show Answer Correct Answer: D) Less than or equal to. 14. Given the conditional;"If it is a duck then it has a beak."Which is the converse? A) If isn't not a duck, then it doesn't have a beak. B) If it is a duck, then it quacks. C) If it doesn't have a beak, then it's not a duck. D) If it has a beak, then it is a duck. Show Answer Correct Answer: D) If it has a beak, then it is a duck. 15. Write the converse of the following statement."If a figure is a triangle, then the angles add to 180. A) If a figure is not a triangle, then the angles do not add to 180. B) If the angles of a figure do not add to 180, then it is not a triangle. C) If a figure has angles that add to 180, then it is a triangle. D) None of the above. Show Answer Correct Answer: C) If a figure has angles that add to 180, then it is a triangle. 16. Draw a conclusion from the statement.If you are at least 25 year old, then you can rent a car.You can rent a car A) You are at least 25 years old. B) You can rent a car. C) You can go on a road trip. D) Invalid. Show Answer Correct Answer: D) Invalid. 17. Conditional:If it does not rain today, then we will have practice.What is this statement called:If it rains today, then we will not have practice. A) Converse. B) Inverse. C) Contrapositive. D) Negation. Show Answer Correct Answer: B) Inverse. 18. Choose the correct Python code.if age is less than 20 then A) If age > 20:. B) If age < 20:. C) All the above. D) None of the above. Show Answer Correct Answer: B) If age < 20:. 19. Which of the following is the CONVERSE of the statement below?If your grade is a 96, then you aremaking an A. A) If you are making an A, then your grade is a 96. B) If you are not making an A, then your grade is not a 96. C) If your grade is not a 96, then you are not making an A. D) There is no converse of the statement. Show Answer Correct Answer: A) If you are making an A, then your grade is a 96. 20. What are the next 2 numbers of this pattern?23, 27, 31, 35, ..... , ..... A) 37, 39. B) 40, 45. C) 39, 43. D) 38, 41. Show Answer Correct Answer: C) 39, 43. 21. Loops are divided into how many parts. A) 2. B) 3. C) 4. D) 5. Show Answer Correct Answer: B) 3. 22. When taking the inverse we ..... the hypothesis and conclusion. A) Negate. B) Switch. C) Switch and negate. D) Leave the same. Show Answer Correct Answer: A) Negate. 23. Given, "If angles are congruent, then the measures of the angles are equal." Identify the contrapositive. A) If the measures of the angles are equal, then the angles are congruent. B) If angles are not congruent, then the measures of the angles are not equal. C) If the measures of the angles are not equal, then the angles are not congruent. D) If the angles are not congruent, then the measure of the angles are equal. Show Answer Correct Answer: C) If the measures of the angles are not equal, then the angles are not congruent. 24. Used to prove that a conjecture is false. A) Counterexample. B) Inductive Reasoning. C) Concluding statement. D) Conjecture. Show Answer Correct Answer: A) Counterexample. 25. Using deductive reasoning, which of the following completes the statement to form a valid conclusion?If it is snowing heavily, then school will be canceled.If school is canceled, the big test will not be given today.It is snowing heavily, then ..... A) Look out for the snowplows while driving to school. B) The big test will not be given today. C) The roads will be hard to drive on. D) You should call the school to see if school is canceled. Show Answer Correct Answer: B) The big test will not be given today. ← PreviousNext →Related QuizzesClass 11 Computer Science Chapter 4 Conditional And Iterative Statements Quiz 1Class 11 Computer Science Chapter 4 Conditional And Iterative Statements Quiz 3Class 11 Computer Science Chapter 4 Conditional And Iterative Statements Quiz 4Class 11 Computer Science Chapter 4 Conditional And Iterative Statements Quiz 5Class 11 Computer Science Chapter 4 Conditional And Iterative Statements Quiz 6Class 11 Computer Science Chapter 4 Conditional And Iterative Statements Quiz 7Class 11 Computer Science Chapter 4 Conditional And Iterative Statements Quiz 8Class 11 Computer Science Chapter 4 Conditional And Iterative Statements Quiz 9Class 11 Computer Science Chapter 4 Conditional And Iterative Statements Quiz 10Class 11 Computer Science Chapter 4 Conditional And Iterative Statements Quiz 11 🏠 Back to Homepage 📘 Download PDF Books 📕 Premium PDF Books