Syntax Quiz 7 (30 MCQs)

Quiz Instructions

Select an option to see the correct answer instantly.

1. 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)Down fills the best duvets.
2. Class is a container for data and methods, which brings functionality to your program.
3. We call the group of coordinating conjunctions that link independent clauses to create compound sentences
4. In Python coding what does the instruction PRINT do?
5. I went to the store however I forgot the tomatoes.Which is the correct punctuation?
6. Although Macbeth was the King's most trusted warrior, Macbeth stabbed him to death.
7. Expresses strong emotion
8. How do we change a user input from string to integer?
9. Identify the type of phrase in brackets:
10. Change the active voice sentence to passive voice.Julie answered the question.
11. Which statement is used to skip the current iteration of a loop in Java?
12. You have to use the same number of spaces in the same block of code, otherwise Python will give you an error.
13. "When I arrive in the United States, the first three months for me here were the most difficult experience in my life ..... " The verb arrive in the first line is incorrect with respect to
14. Choose the option in which you find manner adverbs.
15. Although Macbeth's loyalty to the King was strong, his wife proved more persuasive.
16. What does an 'unexpected end of file' error message mean?
17. Developed by Noam Chomsky, language generators, used to describe the syntax of natural language
18. Which of the following is the correct verb phrase structure rule?
19. What is the correct order of adjectives in the sentence:'She bought a ..... car.'
20. If you want more than one option for your code, what do you use (after if)?
21. The classification of words into categories or parts of speech is an ..... of language.
22. Which of these would work as a piece of code?
23. EX:It rained on his lousy tombstone, and it rained on the grass on his stomach. It rained all over the place.-The Catcher in the Rye, J.D. Salinger
24. What is the proper syntax for Python comments?
25. How does Hinton use punctuation to affect the pace of Ponyboy's thoughts in Chapter 3?
26. How can documentation and code examples prevent syntax errors?
27. Choose the sentence that begins with a subject and verb.
28. (Passage #1) Is the connotation of the word relentlessly in paragraph 1 positive or negative?
29. Which operator is used to write repeated terminals/non-terminals?
30. Keywords like final cannot be used as identifiers because they are the reserved keywords. True or False?