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 1 🏠 Homepage 📘 Download PDF Books 📕 Premium PDF Books Class 11 Computer Science Chapter 4 Conditional And Iterative Statements Quiz 1 (60 MCQs) Quiz Instructions Select an option to see the correct answer instantly. 1. Statement: "16-4 = 10 or 4 is an even number"Is this statement True or False?And what kind of compound statement is this? A) False; Disjunction. B) True; Disjunction. C) True; Conjunction. D) False; Conjunction. Show Answer Correct Answer: B) True; Disjunction. 2. Comparision OperatorsWhat is ==? A) Equal to. B) Equal value and equal type. C) Not equal. D) Not equal value or not equal type. Show Answer Correct Answer: A) Equal to. 3. If she comes, I (a) call you. A) A. will. B) Would. C) Would have. D) None of the above. Show Answer Correct Answer: A) A. will. 4. Given the conditional;"If it snows then school will be closed"Which is the inverse? A) If school is closed, then it snowed. B) Let it Snow!. C) If it doesn't snow, then school will be open. D) If school is open, then it didn't snow. Show Answer Correct Answer: C) If it doesn't snow, then school will be open. 5. What best defines an IF statement in python? A) Is an embedded string with a variable. B) An IF statement checks to see if a statement is true or false and then does one of two things depending on the result. C) All the above. D) None of the above. Show Answer Correct Answer: B) An IF statement checks to see if a statement is true or false and then does one of two things depending on the result. 6. What is the inverse of the following statement?If Sam buys a car then he does not buy a motorcycle. A) If Sam doesn't buy a car the he buys a motorcycle. B) If Sam doesn't buy a car the he doesn't buys a motorcycle. C) If Sam doesn't buy a motorcycle, then he buys a car. D) If Sam buys a motorcycle then he doesn't buy a car the he. Show Answer Correct Answer: A) If Sam doesn't buy a car the he buys a motorcycle. 7. The type of reasoning where a person makes conclusions based on observations and patterns is called ..... A) Deductive reasoning. B) Inductive reasoning. C) Conjecture. D) Experiments. Show Answer Correct Answer: B) Inductive reasoning. 8. Which alternative complete correctly the sentence? ..... I'll go to the beach. A) If I will have time tomorrow,. B) If I have time tomorrow,. C) All the above. D) None of the above. Show Answer Correct Answer: B) If I have time tomorrow,. 9. Conditional Statement:If a triangle has 3 congruent sides, then it's an equilateral triangle.Identify the converse 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 has 3 congruent sides, then it's not an equilateral triangle. D) If a triangle is not equilateral, then it does not have 3 congruent sides. Show Answer Correct Answer: B) If a triangle is equilateral, then it has 3 congruent sides. 10. What should you avoid in your thesis statement? A) Facts. B) Picking a side. C) Using "I" or "me" or "my". D) None of the above. Show Answer Correct Answer: C) Using "I" or "me" or "my". 11. If the degree measure of an angle is between 90 and 180 degrees, then the angle is obtuse.What is the hypothesis of the given conditional statement? A) The degree measure of an angle is between 90 and 180 degrees. B) The angle is obtuse. C) Then the angle is obtuse. D) If the degree measure of an angle is between 90 and 180 degrees. Show Answer Correct Answer: A) The degree measure of an angle is between 90 and 180 degrees. 12. What symbol must you place at the end of an if statement? A) :. B) ;. C) }. D) ). Show Answer Correct Answer: A) :. 13. What is the syntax for an if statement in programming? A) In Python, the syntax for an if statement is:if condition:(indented block of code). B) If [condition] then {code block}. C) If (condition) {code block}. D) If condition then {code block}. Show Answer Correct Answer: A) In Python, the syntax for an if statement is:if condition:(indented block of code). 14. What is the correct conditional statement for the following statement:A square is a shape with four sides. A) If a shape is a square, then the shape has four sides. B) A square is a shape with four sides. C) If a shape has four sides, then the shape is a square. D) If a shape is not a square, then the shape has four sides. Show Answer Correct Answer: A) If a shape is a square, then the shape has four sides. 15. "If the cloud is dark, then it will rain" . What is the conclusion? A) If the cloud is dark. B) Then it will rain. C) It will rain. D) The cloud is dark. Show Answer Correct Answer: C) It will rain. 16. What is the Inverse ( $\sim p\rightarrow\sim q$ A) If I get lunch, then I go to the cafeteria. B) If I do not get lunch, then I do not go to the cafeteria. C) If I do not go to the cafeteria, then I do not get lunch. D) If I do not get lunch, then I do not go to the cafeteria. Show Answer Correct Answer: C) If I do not go to the cafeteria, then I do not get lunch. 17. What part of an if statement should be indented? A) All of it. B) The statements within it. C) The first line. D) The lines within the brackets. Show Answer Correct Answer: B) The statements within it. 18. Which is the correct if-then statement for: "you will be late to school if you miss the bus." A) If you are late to school, then you will miss the bus. B) If you miss the bus, then you will be late to school. C) If you sleep late, then you don't have to go to school. D) If you miss the bus, then you'll have to walk and be late. Show Answer Correct Answer: B) If you miss the bus, then you will be late to school. 19. Which type of statement is:Two lines are perpendicular if and only if they intersect and 90 degrees. A) Inverse. B) Biconditional. C) Converse. D) Contrapositive. Show Answer Correct Answer: B) Biconditional. 20. Mrs. Tan ..... (take) a taxi if it ..... (rain). A) Will take, rains. B) Takes, will rain. C) Take, rain. D) Will take, rain. Show Answer Correct Answer: A) Will take, rains. 21. What is the inverse?If a number can be divided by 2, then it is even. A) If a number is not even, then it cannot be divided by 2. B) If a number cannot be divided by 2, then it is not even. C) If a number is even, then it can be divided by 2. D) If a number can be divided by 2, then it is odd. Show Answer Correct Answer: B) If a number cannot be divided by 2, then it is not even. 22. If possible, use the Law of Detachment to draw a conclusion from the two given statements. If not possible, write not possible.Conditional:If x = 2, then 2x-10 =-6.Premise:x = 2 A) If 2x-10 =-6, then x = 2. B) 2x-10 =-6. C) X = 2. D) Not possible. Show Answer Correct Answer: B) 2x-10 =-6. 23. , he wouldn't have had an accident. A) If he drove carefully. B) If he drives carefully. C) If he has driven carefully. D) If he had driven carefully. Show Answer Correct Answer: D) If he had driven carefully. 24. Identify the conclusion of the conditional statement:A four sided figure is a rectangle A) A four sided figure is a rectangle. B) A shape is a rectangle. C) A rectangle has four sides. D) A shape has four sides. Show Answer Correct Answer: B) A shape is a rectangle. 25. Which is a counterexample of:If a four sided shape has two sides the same length, then it must be a rectangle. A) Rectangle. B) Triangle. C) Quadrilateral. D) Square. Show Answer Correct Answer: D) Square. 26. 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,. 27. What is the converse to this statement: "If it is dark outside, than it is night" A) It is night. B) If it isn't dark outside, then it is not night. C) If it is not night, then it is not dark outside. D) If it is night, then it is dark outside. Show Answer Correct Answer: D) If it is night, then it is dark outside. 28. Provide a counterexample to the following claim:"All quadrilaterals have at least one set of parallel sides." A) Rectangle. B) Rhombus. C) Trapezoid. D) Kite. Show Answer Correct Answer: D) Kite. 29. 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. 30. 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. 31. Which type of python loop works for condition- A) For. B) Continue. C) While. D) Break. Show Answer Correct Answer: C) While. 32. 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) Inverse. B) Contrapositive. C) Conditional. D) Converse. Show Answer Correct Answer: A) Inverse. 33. What do you call the first part of a conditional statement that follows the word "if" ? A) Conjunction. B) Hypothesis. C) Hypnosis. D) Conclusion. Show Answer Correct Answer: B) Hypothesis. 34. 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) Q $\rightarrow$ p. B) ~p $\rightarrow$ ~q. C) P $\rightarrow$ q. D) P $\rightarrow$ ~q. Show Answer Correct Answer: D) P $\rightarrow$ ~q. 35. 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. 36. Q $\rightarrow$ p A) Converse. B) Inverse. C) Conditional. D) Contrapositive. Show Answer Correct Answer: A) Converse. 37. Comparison OperatorWhat is <=? A) Greater than or equal to. B) Less than. C) Greater than. D) Less than or equal to. Show Answer Correct Answer: D) Less than or equal to. 38. 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 has a beak, then it is a duck. C) If it doesn't have a beak, then it's not a duck. D) If it is a duck, then it quacks. Show Answer Correct Answer: B) If it has a beak, then it is a duck. 39. 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. 40. 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 go on a road trip. C) You can rent a car. D) Invalid. Show Answer Correct Answer: D) Invalid. 41. 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) Contrapositive. C) Negation. D) Inverse. Show Answer Correct Answer: D) Inverse. 42. 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 your grade is not a 96, then you are not making an A. C) There is no converse of the statement. D) If you are not making an A, then your grade is not a 96. Show Answer Correct Answer: A) If you are making an A, then your grade is a 96. 43. What are the next 2 numbers of this pattern?23, 27, 31, 35, ..... , ..... A) 39, 43. B) 38, 41. C) 37, 39. D) 40, 45. Show Answer Correct Answer: A) 39, 43. 44. Loops are divided into how many parts. A) 3. B) 4. C) 5. D) 2. Show Answer Correct Answer: A) 3. 45. 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. 46. Given, "If angles are congruent, then the measures of the angles are equal." Identify the contrapositive. A) If the measures of the angles are not equal, then the angles are not congruent. B) If the measures of the angles are equal, then the angles are congruent. C) If the angles are not congruent, then the measure of the angles are equal. D) If angles are not congruent, then the measures of the angles are not equal. Show Answer Correct Answer: A) If the measures of the angles are not equal, then the angles are not congruent. 47. Used to prove that a conjecture is false. A) Counterexample. B) Concluding statement. C) Conjecture. D) Inductive Reasoning. Show Answer Correct Answer: A) Counterexample. 48. 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. 49. If it is a fraction, then it is a number between zero and one. What is an appropriate counterexample? A) 4/5. B) 2/3. C) 1/2. D) 3/2. Show Answer Correct Answer: D) 3/2. 50. The ..... comes after the "then." A) Hypothesis. B) Conclusion. C) All the above. D) None of the above. Show Answer Correct Answer: B) Conclusion. 51. Check the output.i=0while i<=5:print(i) i=i+1 A) 1235. B) 01234. C) 135. D) 0 12345. Show Answer Correct Answer: D) 0 12345. 52. Choose the BEST example of a thesis statement A) Abe Lincoln was an excellent speaker, the 16th President of the United States, a person who got things done, and united the North and South at the end of the American Civil War. B) Abe Lincoln was one of the best presidents the United States has ever known for many reasons. C) All the above. D) None of the above. Show Answer Correct Answer: B) Abe Lincoln was one of the best presidents the United States has ever known for many reasons. 53. The conditional statement, in Javascript, begins with the word ..... A) If. B) OK. C) Else. D) Then. Show Answer Correct Answer: A) If. 54. Given the conditional statement;"If Beryl gets good grade, then he won't be grounded"Which of the following is the contrapositive? A) If Beryl isn't grounded then he gets good grades. B) If Beryl gets grounded then he doesn't get good grades. C) If Beryl doesn't get good grade then he will be grounded. D) If Beryl gets good grades, the he will get grounded. Show Answer Correct Answer: B) If Beryl gets grounded then he doesn't get good grades. 55. Write the if-then form given the following data.Hypothesis:We leave the house early.Conclusion:We can catch the bus. A) If we leave the house early, then we can catch the bus. B) If we can catch the bus, then we leave the house early. C) We leave the house to catch the bus. D) We can catch the bus. Show Answer Correct Answer: A) If we leave the house early, then we can catch the bus. 56. Comparison OperatorsWhat is >=? A) Less than. B) Less than or equal to. C) Greater than or equal to. D) Greater than. Show Answer Correct Answer: C) Greater than or equal to. 57. Which property says 10y = 10y? A) Transitive Property. B) Symmetric Property. C) Substitution Property. D) Reflexive Property. Show Answer Correct Answer: D) Reflexive Property. 58. For i in 100:print ( i ) A) Prints numbers 1 to 99. B) Syntax error. C) Prints numbers 0 to 99. D) Prints numbers 0 to 100. E) Prints numbers 1 to 100. Show Answer Correct Answer: B) Syntax error. 59. 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?If an angle does not have a measure less than 90$^\circ$, then it is not acute. A) Inverse. B) Converse. C) Contrapositive. D) Biconditional. Show Answer Correct Answer: C) Contrapositive. 60. What is the hypothesis 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) Three or more points lie on the same line. D) If 3 or more points lie on the same line. Show Answer Correct Answer: C) Three or more points lie on the same line. Next →Related QuizzesScience QuizzesClass 11 QuizzesClass 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 1 Computer Fundamentals Quiz 🏠 Back to Homepage 📘 Download PDF Books 📕 Premium PDF Books