This quiz works best with JavaScript enabled. Home > Grammar > Syntax > Syntax – Quiz 29 🏠 Homepage 📘 Download PDF Books 📕 Premium PDF Books Syntax Quiz 29 (25 MCQs) Quiz Instructions Select an option to see the correct answer instantly. 1. What role does syntax play in the dialogue between Cherry and Ponyboy? A) It emphasizes their deep connection and mutual understanding. B) It creates a sense of emotional distance between them. C) It shows their struggle to communicate despite shared feelings. D) It highlights their conflicting emotions towards each other. Show Answer Correct Answer: A) It emphasizes their deep connection and mutual understanding. 2. What happens if you use a capital letter incorrectly in a variable name? A) The error is ignored. B) The code executes with a warning. C) The variable is automatically corrected. D) An error message indicates the variable is not defined. Show Answer Correct Answer: D) An error message indicates the variable is not defined. 3. Syntax is the study of sentence structure. A) True. B) False. C) All the above. D) None of the above. Show Answer Correct Answer: A) True. 4. What is the effect of syntax rewriting on sentence length? A) It can either shorten or lengthen a sentence. B) It always shortens a sentence. C) It always lengthens a sentence. D) It does not affect sentence length. Show Answer Correct Answer: A) It can either shorten or lengthen a sentence. 5. Analyze the syntactic choice in the following sentence: "Despite the rain, the match continued." A) Use of a prepositional phrase. B) Use of passive voice. C) Use of a simile. D) Use of anaphora. Show Answer Correct Answer: A) Use of a prepositional phrase. 6. If Python were to get into a fight with JavaScript, who would win? A) Python. B) JavaScript. C) All the above. D) None of the above. Show Answer Correct Answer: A) Python. 7. Which voice ALWAYS includes a form of the verb "to be" ? A) Active voice. B) Passive voice. C) All the above. D) None of the above. Show Answer Correct Answer: B) Passive voice. 8. Analyze the syntactic choice in the following sentence: "Running through the park, she felt free." A) Use of a participial phrase. B) Use of passive voice. C) Use of a simile. D) Use of anaphora. Show Answer Correct Answer: A) Use of a participial phrase. 9. Syntax Testing is a type of A) Functional Testing. B) Structural Testing. C) All the above. D) None of the above. Show Answer Correct Answer: A) Functional Testing. 10. Which one is the main clause? A) I don't know that. B) Whoever said that. C) And what they mean. D) None of the above. Show Answer Correct Answer: A) I don't know that. 11. What does INT means in python? A) Decimal Numbers. B) Whole Number. C) Text. D) Floating Point Number. Show Answer Correct Answer: B) Whole Number. 12. Identify the sentence with inverted syntax:The river flowed gently. Gently flowed the river. The river gently flowed. A) The river flowed gently. B) Gently flowed the river. C) The river gently flowed. D) Flowed the river gently. Show Answer Correct Answer: B) Gently flowed the river. 13. After a fantastic state dinner, King Duncan retired to his bed chamber. A) Compound. B) Complex. C) All the above. D) None of the above. Show Answer Correct Answer: B) Complex. 14. Only one of these CSS rulesets has an error. Which one is it? A) A \{color:blue;\}. B) P \{font-size:10px;\}. C) Body \{background-color="red";\}. D) Img \{width:100%;\}. Show Answer Correct Answer: C) Body \{background-color="red";\}. 15. Combine the following sentences for clarity: "The dog barked. The dog chased the cat." A) The dog barked and chased the cat. B) The dog barked, the dog chased the cat. C) The dog barked; the dog chased the cat. D) The dog barked, chased the cat. Show Answer Correct Answer: A) The dog barked and chased the cat. 16. Is 'cat' of type int? A) True. B) False. C) All the above. D) None of the above. Show Answer Correct Answer: B) False. 17. The direct object is the part of the sentence that contains ..... A) The verb/action being performed. B) The person or thing performing the action. C) The object directly receiving the action. D) The general concept of the sentence. Show Answer Correct Answer: C) The object directly receiving the action. 18. What special type of sentence is the following: "Ask not what your country can do for you; ask what you can do for your country." A) Chiasmus. B) Anaphora. C) Inverted. D) Rhetorical. Show Answer Correct Answer: A) Chiasmus. 19. How does the choice of formal diction in a speech affect its overall impact? A) It makes the speech more relatable to a general audience. B) It adds a sense of authority and credibility. C) It simplifies complex ideas for better understanding. D) It creates a casual and friendly tone. Show Answer Correct Answer: B) It adds a sense of authority and credibility. 20. What will the output be from the following code?print("3*4+5") A) SyntaxErrror. B) 17. C) 3*4+5. D) 12. Show Answer Correct Answer: C) 3*4+5. 21. Identify the sentence with inverted syntax:'Under the bridge ran a swift river.' A) Normal Word Order. B) Inverted Word Order. C) Neither. D) Both. Show Answer Correct Answer: B) Inverted Word Order. 22. Which of the following is the correct noun phrase structure rule? A) NP= (D) NP V. B) NP= (AdjP) N (PP+). C) NP= AdjP+ N PP+. D) NP= V (N) (Adv) PP. Show Answer Correct Answer: B) NP= (AdjP) N (PP+). 23. What do NPs consist of? A) A pronoun OR a name. B) A pronoun AND a name. C) A pronoun. D) A name. Show Answer Correct Answer: A) A pronoun OR a name. 24. C# ignores white space A) True. B) False. C) All the above. D) None of the above. Show Answer Correct Answer: A) True. 25. Identify the type of phrase in brackets:'She was [extremely happy] with her results.' A) Adjective phrase. B) Verb phrase. C) Noun phrase. D) Adverb phrase. Show Answer Correct Answer: D) Adverb phrase. ← 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