This quiz works best with JavaScript enabled. Home > English Grammar > Grammar > Syntax > Syntax – Quiz 18 🏠 Homepage 📘 Download PDF Books 📕 Premium PDF Books Syntax Quiz 18 (30 MCQs) Quiz Instructions Select an option to see the correct answer instantly. 1. What is the result of the following expression:5 + 3 * 2? A) 8. B) 11. C) 13. D) 16. Show Answer Correct Answer: B) 11. 2. Which of the following words would be helpful in starting an adverb sentence? A) Guitar. B) Beneath. C) Strumming. D) Fortunately. Show Answer Correct Answer: D) Fortunately. 3. Identify the phrase "A car that won't go" in the following sentence.A car that won't go is not particularly useful. A) Adjective Phrase. B) Noun Phrase. C) Verb Phrase. D) Prepositional Phrase. E) Adverb Phrase. Show Answer Correct Answer: B) Noun Phrase. 4. During the intermission, our band played several songs. A) Active. B) Passive. C) All the above. D) None of the above. Show Answer Correct Answer: A) Active. 5. A stressed followed by an unstressed syllable is known as what meter? A) Iambic. B) Trochaic. C) Anapestic. D) Dactylic. Show Answer Correct Answer: B) Trochaic. 6. In compiler design, which of the following is NOT a type of intermediate representation (IR)? A) Machine code. B) Context free grammar. C) Abstract syntax tree. D) Three address code. Show Answer Correct Answer: A) Machine code. 7. Outerspace is used to organize your code, and it is a container for classes and other namespaces. A) True. B) False. C) All the above. D) None of the above. Show Answer Correct Answer: B) False. 8. They will hire some people to do the job. / Some people ..... to do the job. A) Will be hiring. B) Will have hired. C) Will be hired. D) None of the above. Show Answer Correct Answer: C) Will be hired. 9. Which method is used to find the maximum value between two numbers in Java? A) Max(). B) Math.max(). C) Maximum(). D) None. Show Answer Correct Answer: B) Math.max(). 10. The correct way to write a variable in Python? A) My variable:10. B) My variable is 10. C) My variable = 10. D) My variable = 10. Show Answer Correct Answer: D) My variable = 10. 11. Normal or Inverted?Rarely has this happened before. A) Normal Word Order. B) Inverted Word order. C) All the above. D) None of the above. Show Answer Correct Answer: B) Inverted Word order. 12. Which tone word below best describes the following sentence?"Don't worry about a thing ..... because every little thing is going to be alright ..... " A) Pessimistic. B) Irritated. C) Tired. D) Optimistic. Show Answer Correct Answer: D) Optimistic. 13. [ a car that won't go ] is not usefulIdentify type of phrase in the bracket A) Adverb phrase. B) Adjective phrase. C) Noun phrase. D) Verb phrase. Show Answer Correct Answer: C) Noun phrase. 14. What is a input? A) A function that allows us to ask the user to enter some data. B) To plug in something. C) Data displayed on a screen. D) A function. Show Answer Correct Answer: A) A function that allows us to ask the user to enter some data. 15. You (object)I gave it to you = I gavest it to ..... A) Thee. B) Thine. C) Thou. D) Hast or Hath. E) Thy. Show Answer Correct Answer: A) Thee. 16. Conditional meaning? A) To show the difference between ideas through parallelism. B) A realistic conclusion based on desires. C) Repeated words or phrase at the beginning of sentences that go one after the other. D) Repeating vowel sounds in words close together. Show Answer Correct Answer: B) A realistic conclusion based on desires. 17. $^{Identify the use of DICTION in the following sentence:}$I appreciated her efforts and complimented her work. A) Positive. B) Negative. C) All the above. D) None of the above. Show Answer Correct Answer: A) Positive. 18. Given a grammar, how do you compute the First() set for a non-terminal? A) It contains all terminal symbols that can appear at the beginning of any string derived from the non-terminal. B) It contains all terminal symbols that can follow the non-terminal in the grammar. C) It contains all symbols that can be derived from the non-terminal. D) It contains all symbols that can be produced by the non-terminal in the grammar's rules. Show Answer Correct Answer: A) It contains all terminal symbols that can appear at the beginning of any string derived from the non-terminal. 19. To win, Ken ran the race smiling, sure of his success. What type of sentence beginning is employed in this example? A) Adjective/Adverb. B) Participial Phrase. C) Infinitive. D) Prepositional Phrase. E) Dependent Clause. Show Answer Correct Answer: C) Infinitive. 20. What is the purpose of the lookahead token in top-down parsing? A) To check for semantic errors. B) To generate intermediate code. C) To determine which production rule to apply next. D) To backtrack and retry parsing strategies. Show Answer Correct Answer: C) To determine which production rule to apply next. 21. [The orange cat lying on the windowsill] has been asleep for the last 8 hours. A) Noun phrase. B) Adjective phrase. C) Verb phrase. D) Verb phrase. Show Answer Correct Answer: A) Noun phrase. 22. Tone can best be described as: A) Author's attitude. B) Author's opinion. C) Author's mood. D) Author's life. Show Answer Correct Answer: A) Author's attitude. 23. Coordination is a test that is always very reliable. A) True. B) False. C) All the above. D) None of the above. Show Answer Correct Answer: B) False. 24. Normal or Inverted?Not only does Kim need a friend, but a family as well. A) Normal Word Order. B) Inverted Word Order. C) All the above. D) None of the above. Show Answer Correct Answer: B) Inverted Word Order. 25. The abababcc rhymed Ottava rima was introduced to England by this same poet who introduced the Petrarchan sonnet: A) Thomas Wyatt. B) Gerard Manley Hopkins. C) Philip Sidney. D) William Shakespeare. Show Answer Correct Answer: A) Thomas Wyatt. 26. Which arrangement forms a coherent sentence? A) Playing / guitar / she / loves / the. B) She / loves / playing / the / guitar. C) Guitar / the / she / playing / loves. D) None of the above. Show Answer Correct Answer: B) She / loves / playing / the / guitar. 27. Which one is the correct syntax for a CSS ruleset? A) Selector {value:property}. B) Value {property:selector}. C) Selector { property:value}. D) Property {selector:value}. Show Answer Correct Answer: C) Selector { property:value}. 28. What symbol is used in python to assign values to a variable? A) Asterisk *. B) Plus +. C) Forward slash /. D) Equals =. Show Answer Correct Answer: D) Equals =. 29. A language that is used to describe another language. BNF = metalanguage for programming languages A) Metalanguage. B) Backus-Naur Form. C) Context-Free Grammars. D) Grammar. Show Answer Correct Answer: A) Metalanguage. 30. Symbol used for modulo A) &. B) **. C) #. D) %. Show Answer Correct Answer: D) %. ← PreviousNext →Related QuizzesGrammar QuizzesEnglish Grammar QuizzesSyntax Quiz 1Syntax Quiz 2Syntax Quiz 3Syntax Quiz 4Syntax Quiz 5Syntax Quiz 6Syntax Quiz 7Syntax Quiz 8 🏠 Back to Homepage 📘 Download PDF Books 📕 Premium PDF Books