Welcome to CHOOLS GRAPHQL ASSESSMENT (YOU HAVE ONLY 30 MINUTES TO COMPLETE THIS PART [20 Questions]) **** Wishing You All The Best **** Instructions : To start the quiz, please provide your name, email id and phone number. All questions are mandatory* Answering each question is required before going on to the next page of questions. Your response is subject to change at any time. After completed the quiz click the submit button. If, once the time is up, it will be automatically submitted. The report will be mailed to your email address after the quiz is finished. 1. Who developed GraphQL? Facebook Google Microsoft Twitter2. Which of the following is a valid way to provide variables in a GraphQL query? { variable: "value" } $variable: "value" variable = "value" variable: "value"3. Which of the following is a valid scalar type in GraphQL? Date Object Function Promise4. How does GraphQL handle circular references in a schema? By automatically resolving the circular references By throwing an error and preventing circular references By requiring the use of custom directives to handle circular references Circular references are not allowed in GraphQL5. How does GraphQL handle versioning of APIs? It automatically updates the schema based on client requests It relies on the use of custom directives for versioning It uses a fixed schema with backward-compatible changes It does not support versioning6. How can you document a GraphQL schema? Using comments in the schema definition By creating a separate documentation file By using the @doc directive Documentation is not supported in GraphQL7. Which of the following is a reserved keyword in GraphQL? select query fetch retrieve8. What does the term "N+1 problem" refer to in the context of GraphQL? A query with multiple nested fields Inefficient loading of related data in a batch A security vulnerability Lack of proper documentation9. Which keyword is used to alias fields in a GraphQL query? as alias with rename10. What is GraphQL? A database management system A programming language A query language for APIs An operating system11. Which of the following is NOT a scalar type in GraphQL? String Int List Boolean12. What is the purpose of the schema stitching in GraphQL? To merge multiple GraphQL schemas into a single schema To split a large schema into smaller schemas To create a schema dynamically at runtime To validate the schema against a predefined standard13. What is the purpose of the @client directive in GraphQL? To indicate that the field should be resolved on the client side To specify the data type of a field To mark a field as deprecated To include comments in a query14. What is the purpose of the @skip and @include directives in GraphQL? To exclude or include fields based on a condition To define custom scalar types To perform mathematical calculations in queries To specify default values for query parameters15. In GraphQL, what is a schema? A type of database A query A way to structure data A programming language16. How does GraphQL handle batched mutations? By executing mutations sequentially By parallelizing the execution of mutations By limiting the number of mutations in a single request Batched mutations are not supported in GraphQL17. What is the purpose of the fragments keyword in a GraphQL query? To define a reusable piece of a query To group multiple queries together To include comments in a query To exclude certain fields from the response18. Which HTTP method is commonly used with GraphQL? GET POST PUT DELETE19. What is the purpose of the on keyword in a GraphQL fragment? To filter data based on a condition To specify the type on which the fragment can be used To join multiple fragments together To create an alias for a field20. What is the purpose of the union type in GraphQL? To represent a field that can have multiple types To perform set operations on queries To define a one-to-many relationship between types To create a subset of the schema5 out of 4Time is Up!