This quiz works best with JavaScript enabled. Home > Grammar > Syntax > Syntax – Quiz 36 🏠 Homepage 📘 Download PDF Books 📕 Premium PDF Books Syntax Quiz 36 (25 MCQs) Quiz Instructions Select an option to see the correct answer instantly. 1. What is the value of the expression 5 % 2? A) 0. B) 1. C) 2. D) 2.5. Show Answer Correct Answer: B) 1. 2. Which method is used to convert a string to a floating-point number in Java? A) ToFloat(). B) ParseFloat(). C) ConvertToFloat(). D) Double.parseDouble(). Show Answer Correct Answer: D) Double.parseDouble(). 3. My mom ..... (decorate) our new flat. (Past continuous) A) Is decorating. B) Isn't decorating. C) Was decorating. D) Wasn't decorating. Show Answer Correct Answer: D) Wasn't decorating. 4. Identify the correct sentence structure:'Despite the rain, we went for a walk.' A) Complex. B) Compound. C) Simple. D) Compound-complex. Show Answer Correct Answer: A) Complex. 5. Which is the selector in this CSS?p \{color:red;\} A) P. B) Color. C) Red. D) None of the above. Show Answer Correct Answer: A) P. 6. Which one of these variables has an ILLEGAL name? A) $ my Var. B) $ my-Var. C) &my Var. D) &my-Var. Show Answer Correct Answer: B) $ my-Var. 7. Comments start with a $ , and Python will render the rest of the line as a comment A) True. B) False. C) All the above. D) None of the above. Show Answer Correct Answer: B) False. 8. Phil is tall, dark, and handsome. A) Basic. B) Complex. C) Loose. D) Periodic. Show Answer Correct Answer: C) Loose. 9. Which example is a run-on sentence? A) Do you like football my dad loves it. B) They need to indicate their preference. C) The results of the study were inconclusive. D) Shows no improvement in any of the vital signs. Show Answer Correct Answer: A) Do you like football my dad loves it. 10. Choose a word to complete the complex sentence: ..... all goes well, we will be able to have an overseas trip next year. A) Unless. B) Provided that. C) Even if. D) Because. Show Answer Correct Answer: B) Provided that. 11. Used to divide distinct but related sentence components, such as clauses, in which the second elaborates on the first, or to introduce a list, quotation or speech A) Colon. B) Semicolon. C) Dash. D) Parenthesis. Show Answer Correct Answer: A) Colon. 12. An individual feature, fact, or item. A) Voice. B) Detail. C) Syntax. D) Imagery. Show Answer Correct Answer: B) Detail. 13. Sets the color of words in a paragraph A) H1 \{color:pink;\}. B) Img \{color:pink;\}. C) Body \{color:pink;\}. D) P \{color:pink;\}. Show Answer Correct Answer: D) P \{color:pink;\}. 14. What is wrong with this code? name = Daisyprint("Hello", name) A) Missing '' '' on name. B) Missing ( ) on Daisy. C) Extra, after Hello. D) Missing '' '' on Daisy. Show Answer Correct Answer: D) Missing '' '' on Daisy. 15. Antithesis meaning? A) To show the difference between ideas through parallelism. B) Give direct orders to someone. C) Expressing immense emotion/ surprise. D) Repeating consonant sounds in words close together. Show Answer Correct Answer: A) To show the difference between ideas through parallelism. 16. Exclamatory meaning? A) To show the difference between ideas through parallelism. B) Repeating vowel sounds in words close together. C) Repeated words or phrase at the beginning of sentences that go one after the other. D) Expressing immense emotion/ surprise. Show Answer Correct Answer: D) Expressing immense emotion/ surprise. 17. What is the CORRECT way to add 1 to the $ count variable? A) $ count =+1. B) $ count++;. C) All the above. D) None of the above. Show Answer Correct Answer: B) $ count++;. 18. The task may not get any easier; however, you can get better. A) Antithesis. B) Compound. C) Imperative. D) Complex. Show Answer Correct Answer: B) Compound. 19. Mention 4 types of sentence structures that represent the clauses and subordinates. A) Simple, complex, compound, compound/complex. B) Simple, subject, verb, compound. C) Subject, adverb, direct, indirect. D) None of the above. Show Answer Correct Answer: A) Simple, complex, compound, compound/complex. 20. What is the Subject and Verb? (in that order)Have articles about volcanoes appeared in any magazines lately? A) Articles and appeared. B) Volcanoes and have. C) Magazines and appeared. D) Articles and have. Show Answer Correct Answer: A) Articles and appeared. 21. YoursThe coat is yours. = The coat is ..... A) Thou. B) Thee. C) Thy. D) Thine. E) Hast or Hath. Show Answer Correct Answer: D) Thine. 22. Which statement is TRUE according to the sentence below?"The cat was sleeping on the table." A) If 'was sleeping' is Y, then 'the cat' is X. B) If 'was sleeping' is X, then 'the cat' is Y. C) If 'was sleeping' is Y, then 'the cat' is Z. D) If 'was sleeping' is Z, then 'the cat' is A. Show Answer Correct Answer: B) If 'was sleeping' is X, then 'the cat' is Y. 23. Genitive endings can be found in ..... A) Verb. B) Noun. C) Adjective. D) Adverb. Show Answer Correct Answer: B) Noun. 24. More than 70 U.S. cities ..... (has/have) ..... banned Styrofoam. A) Has. B) Have. C) All the above. D) None of the above. Show Answer Correct Answer: B) Have. 25. Used to create exponents A) **. B) """. C) %. D) #. Show Answer Correct Answer: A) **. ← 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