This quiz works best with JavaScript enabled. Home > Grammar > Syntax > Syntax – Quiz 27 🏠 Homepage 📘 Download PDF Books 📕 Premium PDF Books Syntax Quiz 27 (30 MCQs) Quiz Instructions Select an option to see the correct answer instantly. 1. What is the function of syntax in a sentence? A) To convey emotions. B) To organize words into a coherent structure. C) To provide word meanings. D) To enhance vocabulary. Show Answer Correct Answer: B) To organize words into a coherent structure. 2. Which of the following words would be helpful in starting a participial phrase sentence? A) Nemo. B) Often. C) When. D) Singing. Show Answer Correct Answer: D) Singing. 3. What type of sentence is the following:She is going to fall! A) Imperative. B) Declarative. C) Exclamatory. D) Interrogative. Show Answer Correct Answer: C) Exclamatory. 4. In the sentence "The aroma of freshly baked bread wafted through the air, inviting and warm, " which word choice most contributes to the inviting mood? A) Aroma. B) Wafted. C) Freshly. D) Inviting. Show Answer Correct Answer: D) Inviting. 5. His attitude shocked me. / I ..... by his attitude. A) Had shocked. B) Had been shocked. C) Was shocked. D) None of the above. Show Answer Correct Answer: C) Was shocked. 6. Read the following passage: "He's very influential in the clowning community, " she whispered to her friend, pointing to the tall man in loose pants and rainbow suspenders striding across the room. "He's a great artist. Balloon animals have never been the same." How does the author intend the word "influential" to be taken in this passage? A) Positive. B) Negative. C) Neutral. D) Extremely negative. Show Answer Correct Answer: A) Positive. 7. Choose the participial phrase sentence. A) While I was eating lunch with a friend, my ex was flirting with someone else. B) He told me that it was not true. C) Having seen the whole thing, my friend assured me it was completely misconstrued. D) Soon, I hope I will forget all about it. Show Answer Correct Answer: C) Having seen the whole thing, my friend assured me it was completely misconstrued. 8. In the sentence "The fat man ate food, " which part is the noun phrase? A) Man. B) Ate. C) The fat man. D) Ate food. Show Answer Correct Answer: C) The fat man. 9. What is the term for a word that modifies a noun? A) Adjective. B) Adverb. C) Verb. D) Pronoun. Show Answer Correct Answer: A) Adjective. 10. Amused, Brave, Cheerful, Pleasant: A) Positive Tone Words. B) Negative Tone Words. C) All the above. D) None of the above. Show Answer Correct Answer: A) Positive Tone Words. 11. Which of the following is a central adjective? A) Perfect. B) Infinite. C) Calm. D) Complete. Show Answer Correct Answer: C) Calm. 12. What is the contemporary English version of:thither A) Here. B) There. C) Where. D) Why. Show Answer Correct Answer: B) There. 13. A syntax error means your code has a 'grammar' mistake or you used symbols/operations incorrectly A) True. B) False. C) All the above. D) None of the above. Show Answer Correct Answer: A) True. 14. Rewrite the sentence using inverted syntax:'The sun sets in the west.' A) The sun sets in the east. B) In the sets west the sun. C) Sun the in sets west the. D) In the west sets the sun. Show Answer Correct Answer: D) In the west sets the sun. 15. When rearranging the sentence "She has eaten the cake" to "The cake has been eaten by her, " which operation is involved? A) Merge. B) Move. C) All the above. D) None of the above. Show Answer Correct Answer: B) Move. 16. What will be the output?name = 'Dave'print (name) A) Dave. B) 'Dave'. C) Name. D) (name). Show Answer Correct Answer: A) Dave. 17. What must every modifier be immediately dominated by? A) NOM. B) DET. C) NP. D) ART. Show Answer Correct Answer: A) NOM. 18. What is the primary challenge of shift-reduce parsing with respect to grammar? A) It requires grammars to be unambiguous and in a suitable form for parsing. B) It uses multiple lookahead tokens to resolve parsing conflicts. C) It may require backtracking to handle certain grammars. D) It can handle left-recursive grammars without modification. Show Answer Correct Answer: A) It requires grammars to be unambiguous and in a suitable form for parsing. 19. It is an optional statement used to describe what a program or a line of program is doing. A) Tag. B) Command. C) Code. D) Comment. Show Answer Correct Answer: D) Comment. 20. What will be the output of this code?name = "Daffy"print("Hello", name, "! You sound quackers!") A) Hello Daffy! You sound quackers!. B) Syntax error. C) HelloDaffy! You sound quackers. D) Helloname! You sound quackers!. Show Answer Correct Answer: C) HelloDaffy! You sound quackers. 21. A form of repetition in which the LAST word of one clause or sentence is repeated as the first word of the following clause or sentence. A) Anadiplosis. B) Epanalepsis. C) Epistrophe. D) Antimetabole. Show Answer Correct Answer: A) Anadiplosis. 22. The curly braces [ ] marks the beginning and the end of a block of code. A) True. B) False. C) All the above. D) None of the above. Show Answer Correct Answer: B) False. 23. Tyrii coloni tenuerunt A) Tyrian colonists held (it). B) Tired colonel. C) The held the colony of Tyre. D) Tyre and Sidon's colony. Show Answer Correct Answer: A) Tyrian colonists held (it). 24. Python syntax can be executed by writing directly in the Command Line A) True. B) False. C) All the above. D) None of the above. Show Answer Correct Answer: A) True. 25. A writer's careful selection of words A) Tone. B) Diction. C) Syntax. D) Voice. Show Answer Correct Answer: B) Diction. 26. Pattern matcher for character strings, "front-end" . identifies substrings of the source program (lexemes) that belong together A) Lexical Analyzer. B) Syntax Analyzer. C) Top-down Parser. D) Bottom-up Parsing. Show Answer Correct Answer: A) Lexical Analyzer. 27. Choose the direct object. John walked his dog in the yard. A) John. B) His dog. C) Walked. D) Yard. Show Answer Correct Answer: D) Yard. 28. The number or word we give to a variable A) Value. B) Bug. C) Information. D) Text. Show Answer Correct Answer: A) Value. 29. ..... function as the central elements of phrases . A) Heads. B) Words. C) Subject. D) None of the above. Show Answer Correct Answer: A) Heads. 30. Transform the following compound sentence into a complex sentence: "She was tired, so she went to bed early." A) Because she was tired, she went to bed early. B) She was tired; she went to bed early. C) She went to bed early because she was tired. D) She was tired and went to bed early. Show Answer Correct Answer: A) Because she was tired, she went to bed early. ← PreviousNext →Related QuizzesGrammar QuizzesSyntax Quiz 1Syntax Quiz 2Syntax Quiz 3Syntax Quiz 4Syntax Quiz 5Syntax Quiz 6Syntax Quiz 7Syntax Quiz 8Syntax Quiz 9 🏠 Back to Homepage 📘 Download PDF Books 📕 Premium PDF Books