Syntax Quiz 30 (30 MCQs)

Quiz Instructions

Select an option to see the correct answer instantly.

1. To form the question "What did John buy?" from "John bought what, " which operation is necessary?
2. Identify the sentence structure of the following sentence: "The cat slept on the mat."
3. A rule or production
4. Which method is used to read an integer input from the user in Java?
5. Which of the following sentences uses inverted syntax? 'Seldom have I seen such beauty.'
6. What is the value of the expression 5 % 2?
7. Which method is used to convert a string to a floating-point number in Java?
8. My mom ..... (decorate) our new flat. (Past continuous)
9. Identify the correct sentence structure:'Despite the rain, we went for a walk.'
10. Which is the selector in this CSS?p \{color:red;\}
11. Which one of these variables has an ILLEGAL name?
12. Comments start with a $ , and Python will render the rest of the line as a comment
13. Phil is tall, dark, and handsome.
14. Which example is a run-on sentence?
15. Choose a word to complete the complex sentence: ..... all goes well, we will be able to have an overseas trip next year.
16. Used to divide distinct but related sentence components, such as clauses, in which the second elaborates on the first, or to introduce a list, quotation or speech
17. An individual feature, fact, or item.
18. Sets the color of words in a paragraph
19. What is wrong with this code? name = Daisyprint("Hello", name)
20. Antithesis meaning?
21. Exclamatory meaning?
22. What is the CORRECT way to add 1 to the $ count variable?
23. The task may not get any easier; however, you can get better.
24. Mention 4 types of sentence structures that represent the clauses and subordinates.
25. What is the Subject and Verb? (in that order)Have articles about volcanoes appeared in any magazines lately?
26. YoursThe coat is yours. = The coat is .....
27. Which statement is TRUE according to the sentence below?"The cat was sleeping on the table."
28. Genitive endings can be found in .....
29. More than 70 U.S. cities ..... (has/have) ..... banned Styrofoam.
30. Used to create exponents