This quiz works best with JavaScript enabled. Home > Cbse > Class 11 > Science > Computer Science > Class 11 Computer Science Chapter 4 Conditional And Iterative Statements – Quiz 5 🏠 Homepage 📘 Download PDF Books 📕 Premium PDF Books Class 11 Computer Science Chapter 4 Conditional And Iterative Statements Quiz 5 (60 MCQs) Quiz Instructions Select an option to see the correct answer instantly. 1. What is the output of 206 not in(200, 202, 204, 206, 208, 210)? A) True. B) False. C) All the above. D) None of the above. Show Answer Correct Answer: B) False. 2. Equilateral triangles are equiangular.What do you think is the conclusion of the given sentence? A) It is equiangular. B) If a triangle is equilateral. C) A triangle is equilateral. D) Then it is equiangular. Show Answer Correct Answer: A) It is equiangular. 3. Rewrite the statement as a conditional statement."The sum of the angles of a triangle is 180." A) If the sum of the angles of a triangle, then 180. B) If a figure is a triangle, then the sum of the angles is 180. C) If a figure sums angles, then the triangle is 180. D) None of the above. Show Answer Correct Answer: B) If a figure is a triangle, then the sum of the angles is 180. 4. Rewrite the statement "You are in New Jersey, if you are in Middletown." in If-Then form A) If you are in New Jersey, then you are in Middletown. B) If you are in Middletown, then you are in New Jersey. C) Middletown is in New Jersey. D) None of the above. Show Answer Correct Answer: B) If you are in Middletown, then you are in New Jersey. 5. Given the conditional;"If Destiny goes to work tonight, then she will make money"What is the conclusion? A) Destiny goes to work tonight. B) Then she will make money. C) Destiny doesn't go to work. D) She will make money. Show Answer Correct Answer: D) She will make money. 6. If you live in Santa Rosa City, then you live in Laguna.If you live in Laguna, then you live in Santa Rosa City. A) Inverse. B) Converse. C) Contrapositive. D) None of the above. Show Answer Correct Answer: B) Converse. 7. This variable keeps a count how many times a loop executes successfully A) Count variable. B) Loop variable. C) Loop control variable. D) All of these. Show Answer Correct Answer: C) Loop control variable. 8. If you give me $ 20, then I will be your best friend. Identify the hypothesis. A) You give me $ 20. B) I will be your best friend. C) All the above. D) None of the above. Show Answer Correct Answer: A) You give me $ 20. 9. Read the statement, then the phrase. Determine whether the phrase is the hypothesis or conclusion of the conditional statement."If two lines intersect, then they only intersect in one point."they only intersect in one point A) Hypothesis. B) Conclusion. C) All the above. D) None of the above. Show Answer Correct Answer: B) Conclusion. 10. All conditional statements are true. A) True. B) False. C) All the above. D) None of the above. Show Answer Correct Answer: B) False. 11. What is the format for the negation of a conditional statement? A) If ~q, the ~p. B) If p, then q. C) If ~p, then q. D) If q, then p. Show Answer Correct Answer: C) If ~p, then q. 12. P = "My shirt is white"Q = "My pants are not white"Which of the following represents Conjunction? A) My shirt is white, and my pants are not. B) My shirt is white and my pants too. C) My shirt and shorts are white. D) My shirt is white or my pants are not white. Show Answer Correct Answer: A) My shirt is white, and my pants are not. 13. A thesis statement should ..... A) Be a statement is a claim that could be argued. B) Use unclear language. C) State a fact. D) Be in the first person. Show Answer Correct Answer: A) Be a statement is a claim that could be argued. 14. Write the following as a conditional statement."A counterexample shows that a conjecture is false." A) If a counterexample is shown, then a conjecture is false. B) If you have a conjecture, then the conditional statement is false. C) If you are sitting in Geometry, then you are crying. D) If a conjecture is false, then a counterexample is shown. Show Answer Correct Answer: D) If a conjecture is false, then a counterexample is shown. 15. What is the biconditional that matches the statement: "A right angle is an angle with 90 degrees." A) If an angle has 90 degrees, then it is a right angle. B) If an angle is a right angle, then it has 90 degrees. C) An angle is a right angle if and only if it has 90 degrees. D) None of the above. Show Answer Correct Answer: C) An angle is a right angle if and only if it has 90 degrees. 16. A converse of a 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: A) Exchanging the words of the hypothesis with those of the conclusion. 17. What is the conclusion of the statement, "If 3 or more points lie on the same line, then the points are collinear." ? A) The points are collinear. B) Then the points are collinear. C) If 3 or more points lie on the same line. D) Three or more points lie on the same line. Show Answer Correct Answer: A) The points are collinear. 18. Choose the output.for j in range(5, 8):print(j+2) A) 78910. B) 789. C) 79. D) 710. Show Answer Correct Answer: B) 789. 19. Identify the hypothesis of the given conditional statement:If it is raining outside, then you will need an umbrella. A) You need an umbrella. B) It is raining outside. C) If it is raining outside, then you will need an umbrella. D) Raining. Show Answer Correct Answer: B) It is raining outside. 20. If the angles are vertical, then the angles are congruent. Identify the conclusion. A) The angles are vertical. B) The angles are congruent. C) All the above. D) None of the above. Show Answer Correct Answer: B) The angles are congruent. 21. How do you write a nested for loop in Python? A) Use the 'while' loop instead of 'for' loop. B) Use the 'if' statement instead of a nested loop. C) Include one for loop inside another. D) Write two separate for loops instead of nesting them. Show Answer Correct Answer: C) Include one for loop inside another. 22. If $2x-3=13, $ $x=8$ A) TRUE. B) FALSE. C) All the above. D) None of the above. Show Answer Correct Answer: A) TRUE. 23. Choose a counterexample for the following conditional:If an electronic device has a screen then it is a television. A) Cellular phone. B) Keyboard. C) Television. D) Computer mouse. Show Answer Correct Answer: A) Cellular phone. 24. A ..... is a flat surface. A) Line. B) Plane. C) Line segment. D) Point. Show Answer Correct Answer: B) Plane. 25. Consider the statement:If Julie eats tomatoes, then she likes salad.What is the conclusion? A) If Julie eats tomatoes. B) Julie eats tomatoes. C) Then she likes salad. D) She likes salad. E) None of these. Show Answer Correct Answer: D) She likes salad. 26. If the following statement is a converse statement, then what would be the original conditional statement?If the food is cooking, then the food is in the oven. A) If the food is not in the oven, then the food is not cooking. B) If the food is cooking, then the food is in the oven. C) If the food is in the oven, then the food is cooking. D) If the food is not in the oven, then the food is cooking. Show Answer Correct Answer: C) If the food is in the oven, then the food is cooking. 27. Determine if the statement is true or false:A four sided figure is a rectangle A) True. B) False. C) All the above. D) None of the above. Show Answer Correct Answer: B) False. 28. The statement "an angle is a right angle if and only if its measure is 90$^{o}$" is an example of what type of statement? A) Conditional. B) Conjecture. C) Biconditional. D) None of the above. Show Answer Correct Answer: C) Biconditional. 29. Read the statement, then the phrase. Determine whether the phrase is the hypothesis or conclusion of the conditional statement."If two lines in a plane are parallel, then they will not intersect."they will not intersect A) Hypothesis. B) Conclusion. C) All the above. D) None of the above. Show Answer Correct Answer: B) Conclusion. 30. Cheese contains calcium.What do you think is the conclusion of the given sentence? A) Then it contains calcium. B) It contains calcium. C) It is cheese. D) If it is cheese. Show Answer Correct Answer: B) It contains calcium. 31. What will be the output of the following code?if 'bar' in {'foo':1, 'bar':2, 'baz':3}:print(1) print(2)if 'a' in 'qux':print(3) print(4) A) 1 2 3. B) It doesn't generate any output. C) 1 2. D) 1 2 3 4. Show Answer Correct Answer: C) 1 2. 32. What is the contrapositive ( $\sim q\rightarrow\sim p$ A) If you are not 13, then you are a teenager. B) If you are a teenager, then you are 13. C) If you are 13, then you are not a teenager. D) If you are not a teenager, then you are not 13. Show Answer Correct Answer: D) If you are not a teenager, then you are not 13. 33. Given the conditional;"If Ty'Shawn is late then he will get a tardy"What is the inverse? A) If Ty'Shawn doesn't get a tardy, then he is on time. B) If Ty'Shawn gets a tardy, then he is late. C) If Ty'Shawn is on time, then we won't get a tardy. D) If Ty'Shawn is late then he won't get a tardy. Show Answer Correct Answer: C) If Ty'Shawn is on time, then we won't get a tardy. 34. Determine the truth value of the followinga bisector divides an angle into two congruent parts and complementary angles have a sum of 180 A) True. B) False. C) All the above. D) None of the above. Show Answer Correct Answer: B) False. 35. Write the contrapositive 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: B) If the angles of a figure do not add to 180, then it is not a triangle. 36. If I have a black lab, then I have a dog. Identify the hypothesis. A) I have a black lab. B) I have a dog. C) All the above. D) None of the above. Show Answer Correct Answer: A) I have a black lab. 37. Conditional Statement:If a doctor suspects her patient has a broken bone, then she should take an X-ray."If a doctor does not take an X-ray, then she does not suspect her patient has a broken bone" is the??? of the conditional. A) Biconditional. B) Converse. C) Contrapositive. D) Inverse. Show Answer Correct Answer: C) Contrapositive. 38. If a whole number has two as a factor, then it is even.What is the conclusion of the given conditional statement? A) It is even. B) Then it is even. C) A whole number has two as a factor. D) If a whole number has two as a factor. Show Answer Correct Answer: A) It is even. 39. For a conditional statement to be false the simple statements must be ..... followed by ..... A) False followed by False. B) False followed by True. C) True followed by False. D) True followed by True. Show Answer Correct Answer: C) True followed by False. 40. What is the maximum choices will we have in 2 level nested if else hierarchy? A) 3. B) 4. C) 6. D) 5. Show Answer Correct Answer: C) 6. 41. An if statement must evaluate to: A) Right or Wrong. B) True or False. C) All the above. D) None of the above. Show Answer Correct Answer: B) True or False. 42. Complete the conjecture. Think of examples to help.The product of any two odd numbers is ..... A) Odd. B) Positive. C) Zero. D) Even. Show Answer Correct Answer: A) Odd. 43. Choose the output.for i in range (10, 13):print (i*i) A) 100169. B) 100121144169. C) 100121. D) 100121144. Show Answer Correct Answer: D) 100121144. 44. Conditional Statement:If a whole number ends in 8, then it is divisible by 2.What is the contrapositive of the conditional statement? A) If a whole number is divisible by 2, then it ends in 8. B) If a whole number does not end in 8, then it is not divisible by 2. C) If a whole number is not divisible by 2, then it does not end in 8. D) A whole number ends in 8 if and only if it is divisible by 2. Show Answer Correct Answer: C) If a whole number is not divisible by 2, then it does not end in 8. 45. Given the conditional statement;"If I am hungry, then I eat."Which of the following is the inverse? A) If I am not hungry, then I don't eat. B) If I don't eat then I am not hungry. C) If I eat, then I am hungry. D) If I am not hungry, then I eat. Show Answer Correct Answer: A) If I am not hungry, then I don't eat. 46. Identify the hypothesis of the conditional statement:A four sided figure is a rectangle A) A shape is a rectangle. B) A four sided figure is a rectangle. C) A shape has four sides. D) A rectangle has four sides. Show Answer Correct Answer: C) A shape has four sides. 47. A statement that contains the phrase "if and only if" A) Biconditional. B) Inverse. C) Converse. D) Contrapositive. Show Answer Correct Answer: A) Biconditional. 48. What is the converse 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: A) If the school is closed, then it is Saturday. 49. "If the cloud is dark, then it will rain" . What is the hypothesis? A) If the cloud is dark. B) The cloud is dark. C) It will rain. D) Then it will rain. Show Answer Correct Answer: B) The cloud is dark. 50. Write the conditional in if-then form:A four sided figure is a rectangle A) If a shape has four sides then it is a rectangle. B) A rectangle has four sides. C) A four sided figure is a rectangle. D) If a shape is a rectangle then it has four sides. Show Answer Correct Answer: A) If a shape has four sides then it is a rectangle. 51. The for loop is used when we are sure about how many times a loop body will be executed. It is also known as ..... A) Definite loop. B) Indefinite loop. C) All the above. D) None of the above. Show Answer Correct Answer: A) Definite loop. 52. Given, "If angles are congruent, then the measures of the angles are equal." Identify the converse. A) "If angles are not congruent, then the measures of the angles are not equal.". B) If the measures of the angles are not equal, then the angles are not congruent. C) If the angles are not congruent, then the measure of the angles are equal. D) If the measures of the angles are equal, then the angles are congruent. Show Answer Correct Answer: D) If the measures of the angles are equal, then the angles are congruent. 53. Jim ..... (not/get) a better job if he ..... (not/pass) that exam. A) Doesn't get, won't pass. B) Don't get, doesn't pass. C) Won't get, doesn't pass. D) Won't get, don't pass. Show Answer Correct Answer: C) Won't get, doesn't pass. 54. For a conditional statement to be FALSE ..... A) It must have a TRUE hypothesis and a FALSE conclusion. B) It must have a TRUE hypothesis and a TRUE conclusion. C) It must have a FALSE hypothesis and a FALSE conclusion. D) It must have a FALSE hypothesis and a TRUE conclusion. Show Answer Correct Answer: A) It must have a TRUE hypothesis and a FALSE conclusion. 55. A ..... is a fixed position in space and has no dimensions or size. A) Cube. B) Line. C) Plane. D) Point. Show Answer Correct Answer: D) Point. 56. What is the syntax for a for loop in Python? A) For element in list:. B) For item in iterable. C) For i in range(n):. D) For item in iterable:. Show Answer Correct Answer: D) For item in iterable:. 57. 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) Converse. B) Inverse. C) Conditional. D) Contrapositive. Show Answer Correct Answer: B) Inverse. 58. 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. 59. What do you call the part of a conditional statement that follows "if" when written in if-then form? A) Inverse. B) Conclusion. C) Hypothesis. D) Converse. Show Answer Correct Answer: C) Hypothesis. 60. Find the next term:3, 5, 9, 15, 23, ..... A) 33. B) 25. C) 31. D) 35. Show Answer Correct Answer: A) 33. ← PreviousNext →Related QuizzesScience QuizzesClass 11 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 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 1 Computer Fundamentals Quiz 🏠 Back to Homepage 📘 Download PDF Books 📕 Premium PDF Books