This quiz works best with JavaScript enabled. Home > Grammar > Syntax > Syntax – Quiz 22 🏠 Homepage 📘 Download PDF Books 📕 Premium PDF Books Syntax Quiz 22 (25 MCQs) Quiz Instructions Select an option to see the correct answer instantly. 1. 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) Optimistic. B) Pessimistic. C) Irritated. D) Tired. Show Answer Correct Answer: A) Optimistic. 2. [ a car that won't go ] is not usefulIdentify type of phrase in the bracket A) Adverb phrase. B) Noun phrase. C) Verb phrase. D) Adjective phrase. Show Answer Correct Answer: B) Noun phrase. 3. 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. 4. You (object)I gave it to you = I gavest it to ..... A) Thou. B) Thee. C) Thy. D) Thine. E) Hast or Hath. Show Answer Correct Answer: B) Thee. 5. 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. 6. $^{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. 7. 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. 8. 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) Infinitive. C) Participial Phrase. D) Prepositional Phrase. E) Dependent Clause. Show Answer Correct Answer: B) Infinitive. 9. 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. 10. [The orange cat lying on the windowsill] has been asleep for the last 8 hours. A) Verb phrase. B) Noun phrase. C) Adjective phrase. D) Verb phrase. Show Answer Correct Answer: B) Noun phrase. 11. Tone can best be described as: A) Author's opinion. B) Author's mood. C) Author's attitude. D) Author's life. Show Answer Correct Answer: C) Author's attitude. 12. 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. 13. 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. 14. The abababcc rhymed Ottava rima was introduced to England by this same poet who introduced the Petrarchan sonnet: A) Gerard Manley Hopkins. B) Philip Sidney. C) William Shakespeare. D) Thomas Wyatt. Show Answer Correct Answer: D) Thomas Wyatt. 15. 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. 16. Which one is the correct syntax for a CSS ruleset? A) Property \{selector:value\}. B) Value \{property:selector\}. C) Selector \{value:property\}. D) Selector \{ property:value\}. Show Answer Correct Answer: D) Selector \{ property:value\}. 17. What symbol is used in python to assign values to a variable? A) Equals =. B) Plus +. C) Forward slash /. D) Asterisk *. Show Answer Correct Answer: A) Equals =. 18. A language that is used to describe another language. BNF = metalanguage for programming languages A) Grammar. B) Context-Free Grammars. C) Backus-Naur Form. D) Metalanguage. Show Answer Correct Answer: D) Metalanguage. 19. Symbol used for modulo A) %. B) &. C) #. D) **. Show Answer Correct Answer: A) %. 20. Read the following passage: "How could you do this?" the painter screeched. "How could you paint that wall blue? It should clearly be orange!" How would the meaning of the sentence change if the author used the word "whimpered" instead of the word "screeched" ? A) The painter would seem more pathetic. B) The painter would seem more powerful. C) The painter would seem more joyful. D) The painter would seem more intelligent. Show Answer Correct Answer: A) The painter would seem more pathetic. 21. Choose the sentence with inverted syntax:The rain poured heavily. Heavily, the rain poured. Poured heavily, the rain. A) B. B) C. C) The heavily rain poured. D) A. Show Answer Correct Answer: A) B. 22. What data type is classified as a sequenced of characters with double quotes. A) Char. B) String. C) Boolean. D) Float. Show Answer Correct Answer: B) String. 23. What will:answer = input("Give me a number")print(answer * 5)output? A) An error message. B) The value of answer multiplied by 5. C) Answer * 5. D) The value of answer repeated 5 times. Show Answer Correct Answer: D) The value of answer repeated 5 times. 24. EX:In the baseball game, our team scored four homeruns, the other team, only two ..... A) Asyndeton. B) Ellipsis. C) Polysyndeton. D) Anaphora. Show Answer Correct Answer: B) Ellipsis. 25. Which sentence contain a participle phrase? A) The dog running up to the boy hopes that he will have a treat. B) The haunted house in the woods. C) He has appeared on screen as an actor. D) The boy in that car is very rich. Show Answer Correct Answer: A) The dog running up to the boy hopes that he will have a treat. ← 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