This quiz works best with JavaScript enabled. Home > Class 11 > Class 11 Computer Science Chapter 4 Conditional And Iterative Statements – Quiz 13 🏠 Homepage 📘 Download PDF Books 📕 Premium PDF Books Class 11 Computer Science Chapter 4 Conditional And Iterative Statements Quiz 13 (25 MCQs) Quiz Instructions Select an option to see the correct answer instantly. 1. What is the syntax for a for loop in Python? A) For i in range(n):. B) For item in iterable:. C) For item in iterable. D) For element in list:. Show Answer Correct Answer: B) For item in iterable:. 2. Original:If the angles are congruent, then the measures of the angles are equal.What is this statement called:If the angles are not congruent, then the measure of the angles are not equal. A) Conditional. B) Converse. C) Inverse. D) Contrapositive. Show Answer Correct Answer: C) Inverse. 3. P:the wind is blowingq:the air is hazyr:the weather is dryThe symbolic statement r $\rightarrow$ (p v ~q)Is written as a worded statement: A) If the weather is dry then, the air is not hazy and the weather is not dry. B) If the wind is blowing then, the air is hazy or the weather is not dry. C) If the weather is dry then, the wind is blowing or the air is not hazy. D) The weather is dry if and only if, the air is hazy or the wind is not blowing. Show Answer Correct Answer: C) If the weather is dry then, the wind is blowing or the air is not hazy. 4. What do you call the part of a conditional statement that follows "if" when written in if-then form? A) Conclusion. B) Converse. C) Hypothesis. D) Inverse. Show Answer Correct Answer: C) Hypothesis. 5. Find the next term:3, 5, 9, 15, 23, ..... A) 35. B) 25. C) 33. D) 31. Show Answer Correct Answer: C) 33. 6. What does ~q $\rightarrow$ ~p symbolize? A) Conditional Statement. B) Converse. C) Inverse. D) Contrapositive. Show Answer Correct Answer: D) Contrapositive. 7. What is the purpose of the 'range()' function in Python? A) The purpose of the 'range()' function in Python is to check if a number is prime. B) The purpose of the 'range()' function in Python is to convert a string to uppercase. C) The purpose of the 'range()' function in Python is to calculate the factorial of a number. D) The purpose of the 'range()' function in Python is to generate a sequence of numbers. Show Answer Correct Answer: D) The purpose of the 'range()' function in Python is to generate a sequence of numbers. 8. Conditional Statement:If an object has seeds, then it is a strawberry. A) True. B) False. C) All the above. D) None of the above. Show Answer Correct Answer: B) False. 9. If two lines form right angles, then the lines are perpendicular.What do you think is the hypothesis of the given conditional statement? A) The lines are perpendicular. B) If two lines form right angles. C) Two lines form right angles. D) Then the lines are perpendicular. Show Answer Correct Answer: C) Two lines form right angles. 10. Which of the following is the INVERSE of the statement below?If an object is a computer, then ithas a hard drive. A) If an object is not a computer, then it does not have a hard drive. B) If an object does not have a hard drive, then it is not a computer. C) If an object has a hard drive, then it is a computer. D) There is no inverse of the statement. Show Answer Correct Answer: A) If an object is not a computer, then it does not have a hard drive. 11. It is a branch of mathematics that studies the sizes, shapes, positions angles and dimensions of things. A) Algebra. B) Geometry. C) Statistics. D) Trigonometry. Show Answer Correct Answer: B) Geometry. 12. Original Statement:If I am hungry then I will eat a whole pizza.New Statement:If I am not hungry then I will eat a whole pizza. A) Converse. B) Inverse. C) Contrapositive. D) None of the above. Show Answer Correct Answer: D) None of the above. 13. Negate the following statement:"I love geometry." A) Geometry I love. B) If and only if I love geometry. C) If I love geometry, then I do not love geometry. D) I do not love geometry. Show Answer Correct Answer: D) I do not love geometry. 14. What signifies the end of a statement block or suite in Python? A) End. B) \}. C) A line that is indented less than the previous line. D) A comment. Show Answer Correct Answer: C) A line that is indented less than the previous line. 15. If a whole number ends in 0, then it is divisible by 10.If a whole number is divisible by 10, then it is divisible by 5. A) If a whole number is divisible by 10, then it ends in 0. B) If a whole number ends in 0, then it is divisible by 5. C) Not possible. D) None of the above. Show Answer Correct Answer: B) If a whole number ends in 0, then it is divisible by 5. 16. Conditional Statement:If a man speaks two languages, then he is bilingual. A) True. B) False. C) All the above. D) None of the above. Show Answer Correct Answer: A) True. 17. What is the next term in the sequence:1, 1, 2, 3, 5, 8, 13, ..... A) 17. B) 20. C) 21. D) 24. Show Answer Correct Answer: C) 21. 18. For the converse we ..... the hypothesis and conclusion A) Switch. B) Negate. C) Switch and negate. D) None of the above. Show Answer Correct Answer: A) Switch. 19. With which statement you can use break statement? A) Condtional statement. B) Iterative statement. C) Declarative statement. D) All of the above. Show Answer Correct Answer: B) Iterative statement. 20. If I don't set my alarm clock, then I will be late for work.If I set my alarm clock, then I will not be late for work. A) Inverse. B) Converse. C) Contrapositive. D) Biconditional Statement. Show Answer Correct Answer: A) Inverse. 21. Write each statement as a conditional statement."When two sides of a right triangle are 3 in and 4 in the hypotenuse is 5 in." A) If the hypotenuse is 5 in, then the two sides of a right triangle are 3 in and 4 in. B) If two sides of a right triangle are 3 in and 4 in, then the hypotenuse is 5 in. C) If the sides of a triangle are 3 in, 4 in, and 5 in, then it is a right triangle. D) If it is a right triangle, then the sides are 3 in, 4 in, and 5 in. Show Answer Correct Answer: B) If two sides of a right triangle are 3 in and 4 in, then the hypotenuse is 5 in. 22. Refer to the following statement: "If a polygon is a quadrilateral, then it is a trapezoid."What is the contrapositive of this statement? A) If a polygon is a trapezoid, then it is a quadrilateral. B) If a polygon is not a quadrilateral, then it is not a trapezoid. C) If a polygon is not a trapezoid, then it is not a quadrilateral. D) A rectangle is also a quadrilateral. Show Answer Correct Answer: C) If a polygon is not a trapezoid, then it is not a quadrilateral. 23. Conditional Statement:If a triangle has 3 congruent sides, then it's an equilateral triangle.Identify the inverse of this conditional statement: A) If a triangle does not have 3 congruent sides, then it's not an equilateral triangle. B) If a triangle is equilateral, then it has 3 congruent sides. C) If a triangle is not equilateral, then it does not have 3 congruent sides. D) If a triangle has 3 congruent sides, then it's not an equilateral triangle. Show Answer Correct Answer: A) If a triangle does not have 3 congruent sides, then it's not an equilateral triangle. 24. Mira ..... (cook) breakfast if Tina ..... (go) to the supermarket. A) Will cook, go. B) Cook, will go. C) Cooks, goes. D) Will cook, goes. Show Answer Correct Answer: D) Will cook, goes. 25. Write each statement as a conditional statement."A can of soda will go flat every time you leave it open." A) If a can of soda goes flat every time, then you left it open. B) If you leave a can of soda open, then it will go flat every time. C) Leaving a can of soda open will make it go flat every time. D) Open cans of soda will go flat every time. Show Answer Correct Answer: B) If you leave a can of soda open, then it will go flat every time. ← 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 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 10 🏠 Back to Homepage 📘 Download PDF Books 📕 Premium PDF Books