Class 11 Computer Science Chapter 4 Conditional And Iterative Statements Quiz 17 (25 MCQs)

Quiz Instructions

Select an option to see the correct answer instantly.

1. What does (~) mean?
2. What Javascript code matches this statement:The player has gathered at least 300 coins or reached the end of the level.
3. Identify the conclusion to the following:If Spencer wins his soccer game, then he will be happy.
4. Original:If the angles are congruent, then the measures of the angles are equal.What is this statement called:If the measures of the angles are equal, then the angles are congruent.
5. It describe an ordered set of values in Python
6. Conditional statements which has two parts, the hypothesis and the conclusion.
7. Which of these would move the sprite down on the stage?
8. Conditional Statement:If you are in California, then you are in Los Angeles.What is the hypothesis?
9. Name the two types of loops.
10. What is the hypothesis of the following statement: "If Johnny is late to school, then his mom will have to drive him."
11. The 'else' statement is optional in Python
12. Given, "If angles are congruent, then the measures of the angles are equal." Identify the inverse.
13. True or False:This is a good example of a thesis statement:In this essay I will discuss the crime rate in Mountain City.
14. Let p represent:Two angles are supplementary.Let q represent:The angles have a sum of 180$^\circ$What is the symbolic representation of the following statement;If two angles have a sum of 180$^\circ$, then the angles are supplementary.
15. Conditional:If Jenny buys a guitar, then she will not buy a keyboard.What is this? If Jenny does buy a keyboard, then she will not buy a guitar.
16. If my son ..... (not/want) to go out, I ..... (cook) dinner at home.
17. The two membership operators in Python are .....
18. Give a counter example to the following statement:"If candy is crunchy, then it contains nuts."
19. How many times print statement will execute? i=0For i in range(1, 100, 2):print(i)
20. What is the format for the contrapositive of a conditional statement?
21. What is the converse ( $q\rightarrow p$
22. If it snows, ..... still drive to the coast?
23. The ..... statements cause the program control to transfer to a specific location depending on the outcome of the conditional expression.
24. What is the purpose of a while loop in Python?
25. Read the statement, then the phrase. Determine whether the phrase is the hypothesis or conclusion of the conditional statement."If you feed your turtle, then it will grow."you feed your turtle