This quiz works best with JavaScript enabled. Home > Grammar > Syntax > Syntax – Quiz 24 🏠 Homepage 📘 Download PDF Books 📕 Premium PDF Books Syntax Quiz 24 (30 MCQs) Quiz Instructions Select an option to see the correct answer instantly. 1. STYLE is ..... A) The way something is written. B) Created by word choice, sentence structure, and imagery. C) Not what is said, but how it is said. D) All of the above. Show Answer Correct Answer: D) All of the above. 2. States something A) Declarative. B) Imperative. C) Exclamatory. D) Interrogative. Show Answer Correct Answer: A) Declarative. 3. What is the CORRECT way to end a PHP statement? A) \}. B) ,. C) ;. D) None of the above. Show Answer Correct Answer: C) ;. 4. Common nouns consist of ..... A) Countable and non-countable. B) Cardinal and ordinal. C) Proper and numeral. D) None of the above. Show Answer Correct Answer: A) Countable and non-countable. 5. A manner in which a writer puts sentences together: A) Voice. B) Tone. C) Diction. D) Syntax. Show Answer Correct Answer: D) Syntax. 6. How does Hinton's use of syntax in the dialogue between Cherry and Dally affect the tone of their interaction? A) The smooth, flowing sentences show mutual respect between them. B) The abrupt, staccato sentences create an atmosphere of tension. C) The use of pauses and long sentences adds a sense of calm. D) The sentences mirror their inner calmness and understanding. Show Answer Correct Answer: B) The abrupt, staccato sentences create an atmosphere of tension. 7. The arrangement of words and phrases to create well-formed sentences in a language. A) Voice. B) Diction. C) Syntax. D) Imagery. Show Answer Correct Answer: C) Syntax. 8. What is the syntax? A) The study of vocabulary in context in a sentence. B) The arrangement of words and clauses in a sentence. C) The enhancement of meaning in a sentence with punctuation. D) The use of variation of verb tenses in a sentence. Show Answer Correct Answer: B) The arrangement of words and clauses in a sentence. 9. Dog and dogs belong to the same ..... A) Word-forms. B) Lexeme. C) Orthographic words. D) None of the above. Show Answer Correct Answer: B) Lexeme. 10. Change the passive-voice sentence to active voice.The dog was hit by the car. A) The car hit the dog. B) Hit was the dog by car. C) We hit a dog in our car. D) None of the above. Show Answer Correct Answer: A) The car hit the dog. 11. 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. 12. 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. 13. 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. 14. 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. 15. 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. 16. 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. 17. 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. 18. 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. 19. 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. 20. 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. 21. 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. 22. 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. 23. 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. 24. 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";\}. 25. 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. 26. Is 'cat' of type int? A) True. B) False. C) All the above. D) None of the above. Show Answer Correct Answer: B) False. 27. 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. 28. 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. 29. 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. 30. 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. ← 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