This quiz works best with JavaScript enabled. Home > Class 11 > 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 (25 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) True; Disjunction. B) True; Conjunction. C) False; Disjunction. D) False; Conjunction. Show Answer Correct Answer: A) 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 open, then it didn't snow. B) If school is closed, then it snowed. C) If it doesn't snow, then school will be open. D) Let it 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 buys a motorcycle then he doesn't buy a car the he. D) If Sam doesn't buy a motorcycle, then he buys a car. 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) Inductive reasoning. B) Deductive reasoning. C) Conjecture. D) Experiments. Show Answer Correct Answer: A) 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 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: 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: B) :. 13. What is the syntax for an if statement in programming? A) If [condition] then \{code block\}. B) If condition then \{code block\}. C) If (condition) \{code block\}. D) In Python, the syntax for an if statement is:if condition:(indented block of code). Show Answer Correct Answer: D) 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) A square is a shape with four sides. B) If a shape is a square, then the shape has 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: B) 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) Then it will rain. B) If the cloud is dark. 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) Biconditional. B) Converse. C) Contrapositive. D) Inverse. Show Answer Correct Answer: A) Biconditional. 20. Mrs. Tan ..... (take) a taxi if it ..... (rain). A) Take, rain. B) Takes, will rain. C) Will take, rains. D) Will take, rain. Show Answer Correct Answer: C) Will take, rains. 21. What is the inverse?If a number can be divided by 2, then it is even. A) If a number cannot be divided by 2, then it is not even. B) If a number is not even, then it cannot be divided by 2. C) If a number can be divided by 2, then it is odd. D) If a number is even, then it can be divided by 2. Show Answer Correct Answer: A) 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) 2x-10 =-6. B) If 2x-10 =-6, then x = 2. C) X = 2. D) Not possible. Show Answer Correct Answer: A) 2x-10 =-6. 23. , he wouldn't have had an accident. A) If he had driven carefully. B) If he drove carefully. C) If he has driven carefully. D) If he drives carefully. Show Answer Correct Answer: A) 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 has four sides. C) A shape is a rectangle. D) A rectangle has four sides. Show Answer Correct Answer: C) 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) Quadrilateral. B) Rectangle. C) Square. D) Triangle. Show Answer Correct Answer: C) Square. Next →Related 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 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