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
2. Which code block is an example of conditional statement in Scratch?
3. Determine if the statement is true or false:It always rains when it is cloudy
4. Given, "If angles are congruent, then the measures of the angles are equal." Identify the conclusion.
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')
6. Give a counter example to the following statement:"All odd numbers are prime numbers."
7. What symbol represents the or operator in JavaScript?
8. Check the outputi=10print(i in range(100, 200))
9. Jane ..... (go) to the party if she ..... (be) invited.
10. What is the hypothesis in the conditional statement below?If a rectangle has 4 equal sides, then it is a square
11. How many choices are possible when using a single if-else statement?
12. Determine the truth value linear pairs are congruent or vertical angles are congruent
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
14. Write each statement as a conditional statement."People will think you are smart because you know how to use logic."
15. Which is a counterexample of:The difference of two numbers is less than the greater number.
16. Write the if-then form of the statement:Three coplanar points are also colinear
17. The ..... operator is used to concatenate or join two or more strings.
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")
19. What is the hypothesis of the given Conditional Statement:If Jimmy goes on vacation, then he will go to Orlando.
20. Understanding Conditional Statements
21. Given the statement:You are eighteen years old. You can vote in the national election. Write in if-then form of statement.
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$
23. What is the conclusion of the following statement: "The angles are supplementary, if they add up to 180 degrees."
24. What Javascript code matches this statement:The player's health is 0 and they still have a life remaining.
25. Rewrite the statement as a conditional statement. "All dolphins are mammals."