This quiz works best with JavaScript enabled. Home > Class 11 > Class 11 Computer Science Chapter 4 Conditional And Iterative Statements – Quiz 6 🏠 Homepage 📘 Download PDF Books 📕 Premium PDF Books Class 11 Computer Science Chapter 4 Conditional And Iterative Statements Quiz 6 (25 MCQs) Quiz Instructions Select an option to see the correct answer instantly. 1. Which property states that 4 = 4? A) Substitution Property. B) Reflexive Property. C) Symmetric Property. D) Transitive Property. Show Answer Correct Answer: B) Reflexive Property. 2. I ..... (not/go) if you ..... (not/come) with me. A) Don't go, don't come. B) Am not going, am not coming. C) Won't go, don't come. D) Won't go. doesn't come. Show Answer Correct Answer: C) Won't go, don't come. 3. Write the inverse 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: A) If a figure is not a triangle, then the angles do not add to 180. 4. Which statement is logically equivalent to the conditional statement? A) Converse. B) Inverse. C) Contrapositive. D) Reverse. Show Answer Correct Answer: C) Contrapositive. 5. What is the result of the code:team = ("Cowboys")if team == "Cowboys":print("Dallas is #1") A) Error. B) Cowboys. C) Team. D) Dallas is #1. Show Answer Correct Answer: D) Dallas is #1. 6. "I do my homework, then I get my allowance." What is the hypothesis? A) I get my allowance. B) I do my homework. C) No answer. D) All of the above. Show Answer Correct Answer: B) I do my homework. 7. Accessing the elements of a sequence one by one is called ..... A) Traversal. B) Debugging. C) Initialization. D) None of these. Show Answer Correct Answer: A) Traversal. 8. What is the conclusion in the conditional statement below?If a rectangle has 4 equal sides, then it is a square A) If. B) Then. C) A rectangle has 4 equal sides. D) It is a square. Show Answer Correct Answer: D) It is a square. 9. Given the conditional;"If our class earns ten trucks, then we get a treat."What is the contrapositive? A) If our class doesn't earn ten trucks then we don't get a treat. B) If our class doesn't get a treat, then we didn't earn ten trucks. C) If out class earns ten trucks then we don't get a treat. D) Trucks!. Show Answer Correct Answer: B) If our class doesn't get a treat, then we didn't earn ten trucks. 10. What is the contrapositive of the following statement?If it is Saturday, then the school is closed A) If the school is closed, then it is Saturday. B) If it is not Saturday, then the school is not closed. C) If the school is not closed, then it is not Saturday. D) None of the above. Show Answer Correct Answer: C) If the school is not closed, then it is not Saturday. 11. What is printed when this program is run:days = 5 if days > 6:print( "Month" ) else:print( "Week" ) A) Month. B) Week. C) Day. D) 4. Show Answer Correct Answer: B) Week. 12. Move from one track to another, say after the first lap they move to next lap, and so on. This is called the ..... A) Testing. B) Increment stage. C) Initialisation. D) Non of these. Show Answer Correct Answer: B) Increment stage. 13. Write a definition of congruent angles as a biconditional statement. A) Angles are congruent if they have the same size and shape. B) If angles are congruent, then they have the same size and shape. C) Congruent angles are the same. D) Angles are congruent if and only if they have the same size and shape. Show Answer Correct Answer: D) Angles are congruent if and only if they have the same size and shape. 14. What is the if-then form of the statement: "A triangle is a polygon" ? A) If a triangle, then it is a polygon. B) If a polygon, then it is a triangle. C) If it has three sides, then it is a polygon. D) If a shape is a triangle, then it is a polygon. Show Answer Correct Answer: D) If a shape is a triangle, then it is a polygon. 15. Refer to the following statement: "If a polygon is a quadrilateral, then it is a trapezoid."What is the inverse of this statement? A) If the polygon is not a quadrilateral, then it is not a trapezoid. B) If the polygon is not a trapezoid, then it is not a quadrilateral. C) If the polygon is a trapezoid, then it is a quadrilateral. D) A rectangle is also a quadrilateral. Show Answer Correct Answer: A) If the polygon is not a quadrilateral, then it is not a trapezoid. 16. A biconditional of two true conditional statement is formed by ..... A) Exchanging the words of the hypothesis with those of the conclusion. B) Dropping "if" and replacing "then" with "if and only if". C) Keeping the true hypothesis and changing the conclusion to something different. D) None of the above. Show Answer Correct Answer: B) Dropping "if" and replacing "then" with "if and only if". 17. For loop in python will work on? A) Range. B) Iteration. C) Both. D) None. Show Answer Correct Answer: A) Range. 18. Write the if-then form of the statement:It always rains when it is cloudy A) When it rains it is cloudy. B) If it rains then it is cloudy. C) If it is cloudy then it will always rain. D) None of the above. Show Answer Correct Answer: C) If it is cloudy then it will always rain. 19. If the conditional statement was "If an angle is acute, then it has a measure less than 90$^\circ$.", which type of statement is the following?An angle is acute if and only if (iff) it has a measure less than 90$^\circ$. A) Biconditional. B) Converse. C) Inverse. D) Contrapositive. Show Answer Correct Answer: A) Biconditional. 20. Identify the hypothesis of the statement:Three coplanar points are also colinear A) Coplanar points are colinear. B) There are three coplanar points. C) There are three colinear points. D) None of the above. Show Answer Correct Answer: B) There are three coplanar points. 21. What is the syntax for an if statement in Python? A) If (condition). B) If condition:. C) If \{condition\}. D) If [condition]. Show Answer Correct Answer: B) If condition:. 22. The code inside 'If' statement is executed only once A) FALSE. B) TRUE. C) All the above. D) None of the above. Show Answer Correct Answer: B) TRUE. 23. What is the Hypothesis of this conditional statement:If you live in Nashville, then you live in Tennessee A) You live in Nashville. B) You live in Tennessee. C) All the above. D) None of the above. Show Answer Correct Answer: A) You live in Nashville. 24. Re-write the statement "A triangle contains exactly three angles" into if-then form. A) If a figure is a triangle with three angles. B) If there are three angles, then it is a triangle. C) If a figure is a triangle, then it has exactly three angles. D) If a triangle, then it has exactly three angles. Show Answer Correct Answer: C) If a figure is a triangle, then it has exactly three angles. 25. If Tracey goes on vacation, then she will go to Orlando. Identify the conclusion. A) Tracey goes on vacation. B) She will go to Orlando. C) All the above. D) None of the above. Show Answer Correct Answer: B) She will go to Orlando. ← PreviousNext →Related QuizzesClass 11 Computer Science Chapter 4 Conditional And Iterative Statements Quiz 1Class 11 Computer Science Chapter 4 Conditional And Iterative Statements Quiz 2Class 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 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