This quiz works best with JavaScript enabled. Home > Class 11 > Class 11 Computer Science Chapter 4 Conditional And Iterative Statements – Quiz 8 🏠 Homepage 📘 Download PDF Books 📕 Premium PDF Books Class 11 Computer Science Chapter 4 Conditional And Iterative Statements Quiz 8 (25 MCQs) Quiz Instructions Select an option to see the correct answer instantly. 1. Determine if the statement is true or false:Three coplanar points are also colinear A) True. B) False. C) All the above. D) None of the above. Show Answer Correct Answer: B) False. 2. Which code block is an example of conditional statement in Scratch? A) If else. B) Change size by 10. C) Forever. D) Move 10 steps. Show Answer Correct Answer: A) If else. 3. Determine if the statement is true or false:It always rains when it is cloudy A) True. B) False. C) All the above. D) None of the above. Show Answer Correct Answer: B) False. 4. Given, "If angles are congruent, then the measures of the angles are equal." Identify the conclusion. A) If the angles are congruent. B) The angles are congruent. C) Then the measures of the angles are equal. D) The measures of the angles are equal. Show Answer Correct Answer: D) The measures of the angles are equal. 5. The following if/elif/else statement will raise a KeyError exception:1 d = \{'a':0, 'b':1, 'c':0\}23 if d['a'] > 0:4 print('ok')5 elif d['b'] > 0:6 print('ok')7 elif d['c'] > 0:8 print('ok')9 elif d['d'] > 0:10 print('ok')11 else:12 print('not ok') A) False. B) True. C) All the above. D) None of the above. Show Answer Correct Answer: A) False. 6. Give a counter example to the following statement:"All odd numbers are prime numbers." A) 3. B) 11. C) 7. D) 15. Show Answer Correct Answer: D) 15. 7. What symbol represents the or operator in JavaScript? A) OR. B) Or. C) ||. D) |. Show Answer Correct Answer: C) ||. 8. Check the outputi=10print(i in range(100, 200)) A) True. B) False. C) All the above. D) None of the above. Show Answer Correct Answer: B) False. 9. Jane ..... (go) to the party if she ..... (be) invited. A) Goes, is. B) Go, is. C) Will go, is. D) Will go, will be. Show Answer Correct Answer: C) Will go, is. 10. What is the hypothesis in the conditional statement below?If a rectangle has 4 equal sides, then it is a square A) If. B) Then. C) A rectangle has 4 equal sides. D) It is a square. Show Answer Correct Answer: C) A rectangle has 4 equal sides. 11. How many choices are possible when using a single if-else statement? A) 1. B) 2. C) 3. D) 4. Show Answer Correct Answer: B) 2. 12. 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. 13. 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. 14. Write each statement as a conditional statement."People will think you are smart because you know how to use logic." A) People are smart because they know how to use logic. B) If people think you are smart, then it is because you know how to use logic. C) If you know how to use logic, then people will think you are smart. D) Smart people know how to use logic. Show Answer Correct Answer: C) If you know how to use logic, then people will think you are smart. 15. Which is a counterexample of:The difference of two numbers is less than the greater number. A) (5)-(2) = 3. B) (-5)-(4) =-9. C) (2)-0 = 2. D) (3)-(3) = 0. Show Answer Correct Answer: C) (2)-0 = 2. 16. 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. 17. 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) +. 18. Fill in the blanks so that people of 18 years and older are allowed to voteif age ..... 18:print("Too young")else:print("Go Vote") A) <=. B) <. C) >=. D) >. Show Answer Correct Answer: B) <. 19. 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. 20. 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?. 21. Given the statement:You are eighteen years old. You can vote in the national election. Write in if-then form of statement. A) You are eighteen years old you can vote. B) You can vote if you are eighteen years old. C) If you are eighteen years old, then you can vote in the national election. D) If you can vote in the national election, then you are eighteen years old. Show Answer Correct Answer: C) If you are eighteen years old, then you can vote in the national election. 22. 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) X = 6. B) I wrote the 2 column proof on my answer sheet, why am I answering on here?. C) If, then????. D) What is a proof?. Show Answer Correct Answer: B) I wrote the 2 column proof on my answer sheet, why am I answering on here?. 23. What is the conclusion of the following statement: "The angles are supplementary, if they add up to 180 degrees." A) If they add up to 180 degrees. B) The angles are supplementary. C) They add up to 180 degrees. D) There is no conclusion. Show Answer Correct Answer: B) The angles are supplementary. 24. What Javascript code matches this statement:The player's health is 0 and they still have a life remaining. A) If (health == "0" && lives > "0"). B) If (health === 0 && lives > 0). C) If (health === 0 && lives >= 0). D) If (health <1 && lives > 0). Show Answer Correct Answer: B) If (health === 0 && lives > 0). 25. Rewrite the statement as a conditional statement. "All dolphins are mammals." A) If a dolphin, then a mammal. B) If an animal is a dolphin, then it is a mammal. C) If an animal is a mammal, then it is a dolphin. D) If an animal is not a mammal, then it is not a dolphin. Show Answer Correct Answer: B) If an animal is a dolphin, then it is a mammal. ← 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 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