Syntax Quiz 2 (25 MCQs)

Quiz Instructions

Select an option to see the correct answer instantly.

1. What is the purpose of the symbol table in a compiler?
2. Console.Write();What does?
3. In the following sentence, what is the verb phrase?A cat eats a mouse.
4. How can syntax rewriting aid in literary analysis?
5. A sentence that gives a demand.
6. Identify the sentence with a dangling modifier:'Walking to the store, the rain started to fall.'
7. Lady Macbeth convinced her unwilling husband to murder the King while he slept, and she volunteered to drug the guards for him.
8. Tom was very unlucky. It rained / was raining every day during his holidays.
9. What is NOT an example of a content word?
10. Identify the sentence with varied syntax.
11. Which of the following sentences uses inverted syntax? Over the hill, the sun rose. The sun rose over the hill. Rose the sun over the hill.
12. Identify the type of phrase in brackets:Don't you have to leave [early]?
13. When we were in Bulgaria, we ..... skiing almost every day.
14. If you omit the using System line, you would have to write Console.WriteLine() to print/output text.
15. TRUE or FALSE:The empty determiner gives the NP an indefinite and/or more general interpretation.
16. Which operator checks if a value is equal to another value?
17. EX:He was a bag of bones, a floppy doll, a broken stick, a maniac.-On the Road by Jack Kerouac
18. What is the main function of a preposition in a sentence?
19. Which of the following sentences is an example of correct English syntax?
20. What is the principle of Economy in the Minimalist Program?
21. What is informal diction?
22. Which of the following functions is used to get information from the user of a program?
23. Which method is used to convert a string to an integer in Java?
24. Classify each word in the sentence according to the categories:N (noun), V (verb), A (adjective), P (preposition), DET for (determiner), PRN (pronoun), AUX (auxiliary)She might drive down my street.
25. Determine the voice of the following sentence:We must warn them of the danger!