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 4 🏠 Homepage 📘 Download PDF Books 📕 Premium PDF Books Class 11 Computer Science Chapter 4 Conditional And Iterative Statements Quiz 4 (60 MCQs) Quiz Instructions Select an option to see the correct answer instantly. 1. Jane ..... (go) to the party if she ..... (be) invited. A) Will go, is. B) Goes, is. C) Will go, will be. D) Go, is. Show Answer Correct Answer: A) Will go, is. 2. What is the hypothesis in the conditional statement below?If a rectangle has 4 equal sides, then it is a square A) It is a square. B) If. C) A rectangle has 4 equal sides. D) Then. Show Answer Correct Answer: C) A rectangle has 4 equal sides. 3. How many choices are possible when using a single if-else statement? A) 3. B) 1. C) 4. D) 2. Show Answer Correct Answer: D) 2. 4. Determine the truth value linear pairs are congruent or vertical angles are congruent A) True. B) False. C) All the above. D) None of the above. Show Answer Correct Answer: A) True. 5. Read the statement, then the phrase. Determine whether the phrase is the hypothesis or conclusion of the conditional statement."If you used to be a doctor, then you lost your patients."you lost your patients A) Hypothesis. B) Conclusion. C) All the above. D) None of the above. Show Answer Correct Answer: B) Conclusion. 6. Write each statement as a conditional statement."People will think you are smart because you know how to use logic." A) If you know how to use logic, then people will think you are smart. B) People are smart because they know how to use logic. C) If people think you are smart, then it is because you know how to use logic. D) Smart people know how to use logic. Show Answer Correct Answer: A) If you know how to use logic, then people will think you are smart. 7. Which is a counterexample of:The difference of two numbers is less than the greater number. A) (5)-(2) = 3. B) (2)-0 = 2. C) (-5)-(4) =-9. D) (3)-(3) = 0. Show Answer Correct Answer: B) (2)-0 = 2. 8. Write the if-then form of the statement:Three coplanar points are also colinear A) If three points are coplanar then they are colinear. B) If three points are colinear then they are coplanar. C) All the above. D) None of the above. Show Answer Correct Answer: A) If three points are coplanar then they are colinear. 9. The ..... operator is used to concatenate or join two or more strings. A) +. B) *. C) &. D) None of the these. Show Answer Correct Answer: A) +. 10. What is the hypothesis of the given Conditional Statement:If Jimmy goes on vacation, then he will go to Orlando. A) Jimmy goes on vacation. B) Jimmy will go to Orlando. C) Jimmy doesn't go on vacation. D) Who is Jimmy?. Show Answer Correct Answer: A) Jimmy goes on vacation. 11. Understanding Conditional Statements A) What is the function of 'if' in a conditional statement?. B) What is the role of 'else' in a conditional statement?. C) How does 'elif' differ from 'else' in a conditional statement?. D) What is the purpose of 'switch' in a conditional statement?. Show Answer Correct Answer: A) What is the function of 'if' in a conditional statement?. 12. Given the statement:You are eighteen years old. You can vote in the national election. Write in if-then form of statement. A) If you are eighteen years old, then you can vote in the national election. B) If you can vote in the national election, then you are eighteen years old. C) You can vote if you are eighteen years old. D) You are eighteen years old you can vote. Show Answer Correct Answer: A) If you are eighteen years old, then you can vote in the national election. 13. ANSWER THIS QUESTION ON YOUR ANSWER SHEET!! Set up a two column proof and explain how to solve the problem:If $2\left(3x-4\right)=28$ $x=6$ A) I wrote the 2 column proof on my answer sheet, why am I answering on here?. B) If, then????. C) What is a proof?. D) X = 6. Show Answer Correct Answer: A) I wrote the 2 column proof on my answer sheet, why am I answering on here?. 14. What is the conclusion of the following statement: "The angles are supplementary, if they add up to 180 degrees." A) The angles are supplementary. B) There is no conclusion. C) They add up to 180 degrees. D) If they add up to 180 degrees. Show Answer Correct Answer: A) The angles are supplementary. 15. Rewrite the statement as a conditional statement. "All dolphins are mammals." A) If an animal is a mammal, then it is a dolphin. B) If a dolphin, then a mammal. C) If an animal is not a mammal, then it is not a dolphin. D) If an animal is a dolphin, then it is a mammal. Show Answer Correct Answer: D) If an animal is a dolphin, then it is a mammal. 16. A ..... is a right, relating to the new inventions that grants the inventor the sole right to make, use, and sell that invention for a specific perod of time. A) Software Piracy. B) Copyright. C) Patent. D) Trademark. Show Answer Correct Answer: C) Patent. 17. Shinta ..... (buy) a new dress if she ..... (have) enough money. A) Buys, has. B) Will, have. C) Buys, will have. D) Will buy, has. Show Answer Correct Answer: D) Will buy, has. 18. "If this month is October, then the following month is November" . What is the hypothesis of the given conditional statement? A) This month is October. B) The following month is November. C) Then the following month is November. D) If this month is October. Show Answer Correct Answer: A) This month is October. 19. If I ..... (not/go) to bed early, I ..... (be) tired tomorrow. A) Am not going, am. B) Didn't go, will be. C) Don't go, will be. D) Doesn't go, am. Show Answer Correct Answer: C) Don't go, will be. 20. Select the converse of the conditional statement below If point Q is the midpoint of line segment AB, then point Q lies on AB. A) If point Q lies on AB, then point Q is the midpoint of line segment AB. B) If point Q is not the midpoint of line segment AB, then point Q lies on AB. C) If point Q is not the midpoint of line segment AB, then point Q does not lie on AB. D) A shoe. Show Answer Correct Answer: A) If point Q lies on AB, then point Q is the midpoint of line segment AB. 21. Check the output.m=2 while m<4:print(m*m) m+=1 print("end of program") A) 49end of program. B) 48end of program. C) 49. D) 49end of program. Show Answer Correct Answer: A) 49end of program. 22. If an animal is furry, then it is a hamster. What would be an appropriate counterexample? A) Frog. B) True. There is not counterexample. C) Goldfish. D) Cat. Show Answer Correct Answer: D) Cat. 23. Converse:If you are in Los Angeles County, then you are in Pacoima. A) True. B) False. C) All the above. D) None of the above. Show Answer Correct Answer: B) False. 24. All chimpanzees love bananas. Write this statement in "if-then" form. A) If all chimpanzees, then loves bananas. B) If you are a chimpanzee, then you love bananas. C) If it is a chimpanzee, then it loves bananas. D) If you are a chimpanzee and you love to eat, then you love bananas. Show Answer Correct Answer: C) If it is a chimpanzee, then it loves bananas. 25. An If statement can be executed multiple times A) FALSE. B) TRUE. C) All the above. D) None of the above. Show Answer Correct Answer: A) FALSE. 26. What is the inverse 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: B) If it is not Saturday, then the school is not closed. 27. Rewrite the following statement as a biconditional: "Supplementary angles add up to 180" A) If two angles add up to 180$^{o}$ then they are supplementary. B) You can't it is conditional. C) Two angles are supplementary if and only if the sum of the measure of the two angles is 180$^{o}$. D) If two angles sum does not equal 180$^{o }$then they are not$^{ }$supplementary. Show Answer Correct Answer: C) Two angles are supplementary if and only if the sum of the measure of the two angles is 180$^{o}$. 28. Conditional Statement:If a whole number ends in 8, then it is divisible by 2.What is the converse 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: A) If a whole number is divisible by 2, then it ends in 8. 29. Conjunction means A) Only one has to be true. B) Both have to be true. C) None have to be true. D) :0. Show Answer Correct Answer: B) Both have to be true. 30. If Yuma ..... (get) back late, I ..... (be) angry. A) Get, will be. B) Gets, am. C) Gets, will be. D) Get, am. Show Answer Correct Answer: C) Gets, will be. 31. Which sentence would be the better thesis statement for the introductory paragraph of an argumentative essay? A) The Hunger Games is a science fiction adventure film based on the novel of the same name by Suzanne Collins. B) The Hunger Games is a morality tale about the dangers of a political system that is dominated by the wealthy. C) All the above. D) None of the above. Show Answer Correct Answer: B) The Hunger Games is a morality tale about the dangers of a political system that is dominated by the wealthy. 32. A converse statement is formed by ..... the hypothesis and conclusion A) Negating. B) Switching. C) Negating and switching. D) None of the above. Show Answer Correct Answer: B) Switching. 33. Statement: "12 divisible by 3 and 3 is a prime number"Is this statement True or False? A) False. B) True. C) All the above. D) None of the above. Show Answer Correct Answer: B) True. 34. Conditional Statement:If an object is an airplane, then it flies. A) True. B) False. C) All the above. D) None of the above. Show Answer Correct Answer: A) True. 35. Conditional Statement:If a whole number ends in 8, then it is divisible by 2.What is the inverse 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: B) If a whole number does not end in 8, then it is not divisible by 2. 36. ..... loop executes a sequence of instructions endlessly. A) For loop. B) While loop. C) Infinite loop. D) None of these. Show Answer Correct Answer: C) Infinite loop. 37. Conditional Statement:If a doctor suspects her patient has a broken bone, then she should take an X-ray."A doctor suspects her patient has a broken bone if and only if she takes an X-ray" is the??? of the conditional. A) Biconditional. B) Contrapositive. C) Converse. D) Inverse. Show Answer Correct Answer: A) Biconditional. 38. Which of the following is the INVERSE of the statement below?If an animal is black and white, then it is a penguin. A) If an animal is not black and white, then it is not a penguin. B) If an animal is a penguin, then it is black and white. C) If an animal is not a penguin, then it is not black and white. D) There is no inverse of the statement. Show Answer Correct Answer: A) If an animal is not black and white, then it is not a penguin. 39. Write the conditional in if-then form:Two congruent angles are created when an angle is bisected A) An angle is bisected. B) If two congruent angles are created then an angle is bisected. C) If an angle is bisected then two congruent angles are created. D) Two congruent angles are created. Show Answer Correct Answer: C) If an angle is bisected then two congruent angles are created. 40. What is the negation of the conclusion (~q) of this statement?If it is Valentine's Day, then the month is February. A) It is not Valentine's Day. B) It is Valentine's Day. C) The month is not February. D) The month is February. Show Answer Correct Answer: C) The month is not February. 41. Given, "If angles are congruent, then the measures of the angles are equal." Identify the hypothesis. A) Then the measures of the angles are equal. B) Angles are congruent. C) The measures of the angles are equal. D) If angles are congruent. Show Answer Correct Answer: B) Angles are congruent. 42. Check the output.n=1while n<5:print(n*n)n+=1print("program done") A) 149program done. B) 1416program done. C) 14916program done. D) 14916. Show Answer Correct Answer: C) 14916program done. 43. Write the following statement in if-then form.All students at Hermitage take an English class. A) If you take an English class, then you are a student at Hermitage. B) If you are a student at Hermitage, then you take an English. class. C) All the above. D) None of the above. Show Answer Correct Answer: B) If you are a student at Hermitage, then you take an English. class. 44. Given the following observation ..... Each day, you get to school before your friend ..... what conjecture can you make? A) You will get home before your friend. B) You will arrive at school before your friend tomorrow. C) You arrived at school before your friend yesterday. D) You need a new friend. Show Answer Correct Answer: B) You will arrive at school before your friend tomorrow. 45. What Javascript code matches this statement:Their name is Kim and they are less than 16 years old A) If (name = "Kim" || age < 16 ). B) If (name === "Kim" || age < 16 ). C) If (name === "Kim" && age < 16 ). D) If (name = "Kim" && age < 16 ). Show Answer Correct Answer: C) If (name === "Kim" && age < 16 ). 46. Given, "If I have a Siberian Husky, then I have a dog." Identify the inverse. A) If I do not have a Siberian Husky, then I have a dog. B) If I have a dog, then I have a Siberian Husky. C) If I do not have a dog, then I do not have a Siberian Husky. D) If I do not have a Siberian Husky, then I do not have a dog. Show Answer Correct Answer: D) If I do not have a Siberian Husky, then I do not have a dog. 47. What will be the output of 67 in(34, 58, 78, 34, 67) A) True. B) False. C) All the above. D) None of the above. Show Answer Correct Answer: A) True. 48. The of the conditional is formed by interchanging the hypothesis and the conclusion. A) Reverse. B) Inverse. C) Converse. D) Contrapositive. Show Answer Correct Answer: C) Converse. 49. Write each statement as a conditional statement."Every time you practice you gain more skill." A) Practicing means that you have gained more skill. B) If you practice, then you gain more skill. C) If you gain more skill, it is because you practiced. D) If you have gained more skill, then you have practiced. Show Answer Correct Answer: B) If you practice, then you gain more skill. 50. Original:If I have a Siberian Husky, then I have a dog.What is this? If I have a dog, then I have a Siberian Husky. A) Converse. B) Conditional. C) Inverse. D) Contrapositive. Show Answer Correct Answer: A) Converse. 51. What is the negation of the hypothesis (~p) of this statement?If it is Valentine's Day, then the month is February. A) The month is not February. B) It is Valentine's Day. C) The month is February. D) It is not Valentine's Day. Show Answer Correct Answer: D) It is not Valentine's Day. 52. Given, "If I have a Siberian Husky, then I have a dog." Identify the conclusion. A) I have a dog. B) Then I have a dog. C) If I have a Siberian Husky. D) I have a Siberian Husky. Show Answer Correct Answer: A) I have a dog. 53. Determine if the statement is true or false. Then write the converse.If Jake lives in Ramsey, then he lives in New Jersey A) True; If Jake lives in Ramsey, then he lives in New Jersey. B) False; If Jake lives in New Jersey, then he lives in Ramsey. C) False; If Jake lives in Ramsey, then he lives in New Jersey. D) True; If Jake lives in New Jersey, then he lives in Ramsey. Show Answer Correct Answer: D) True; If Jake lives in New Jersey, then he lives in Ramsey. 54. Identify the hypothesis of the given conditional statement:If it is cheese, then it contains calcium. A) Cheese. B) It contains calcium. C) It is cheese. D) Calium. Show Answer Correct Answer: C) It is cheese. 55. Given the statement;"If it snows then the school will be closed"Which is the inverse? A) If it doesn't snow, then the school will be open. B) If the school is open, then it didn't snow. C) If the school is closed, then it snowed. D) Let it Snow!. Show Answer Correct Answer: A) If it doesn't snow, then the school will be open. 56. Determine if the conditional is true or false. If it is false, find a counterexample."If you live in a country that borders the United States, then you live in Canada." A) True. B) False. C) False, if you live in a country that borders the United States, then you live in Canada or Mexico. D) None of the above. Show Answer Correct Answer: C) False, if you live in a country that borders the United States, then you live in Canada or Mexico. 57. Take the following conditional. If true select true, if false pick the counter example. "If a number is divisible by 3, then it is divisible by 6." A) 36. B) 9. C) True. D) 18. Show Answer Correct Answer: B) 9. 58. The ..... comes after the "if." A) Hypothesis. B) Conclusion. C) All the above. D) None of the above. Show Answer Correct Answer: A) Hypothesis. 59. If something is a vehicle, then it is a Ford. What is an appropriate counterexample? A) Ford Mustang. B) Dodge Charger. C) Ford F150. D) Both A and C are counterexamples. Show Answer Correct Answer: B) Dodge Charger. 60. For the contrapositive we ..... the hypothesis and conclusion A) Switch. B) Negate. C) Switch and negate. D) None of the above. Show Answer Correct Answer: C) Switch and negate. ← 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 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 1 Computer Fundamentals Quiz 🏠 Back to Homepage 📘 Download PDF Books 📕 Premium PDF Books