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. Which of the following is a valid scalar type in GraphQL? Date Object Function Promise2. What is the purpose of the relay package in GraphQL? To handle pagination and connections in a standardized way To provide authentication for GraphQL queries To optimize query performance To enable offline support for GraphQL queries3. Who developed GraphQL? Facebook Google Microsoft Twitter4. 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 parameters5. Which HTTP method is commonly used with GraphQL? GET POST PUT DELETE6. Which of the following is a valid way to provide variables in a GraphQL query? { variable: "value" } $variable: "value" variable = "value" variable: "value"7. 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 GraphQL8. In GraphQL, what is the purpose of directives? To define custom scalar types To conditionally include or skip fields To create mutations To specify the schema version9. Which of the following is a reserved keyword in GraphQL? select query fetch retrieve10. What is the purpose of the __typename field in GraphQL? To specify the name of the query To indicate the type of the current object To define custom scalar types To exclude a field from the response11. What does GraphQL stand for? Graph Query Language General Query Language Graphical Query Language Global Query Language12. Which of the following is a valid GraphQL subscription operation? subscribe { newMessages } mutation { subscribe(newMessages) } query { subscribe(newMessages) } subscription { onNewMessage }13. What is a mutation in GraphQL? A query that fetches data A query that modifies data A type of subscription A way to create new schemas14. What is the purpose of the introspection in GraphQL? To improve query performance To provide documentation about the schema To validate queries at runtime To enforce security measures15. What is GraphQL? A database management system A programming language A query language for APIs An operating system16. 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 field17. In GraphQL, what is a schema? A type of database A query A way to structure data A programming language18. Which type of operation in GraphQL is used for real-time data updates? Query Mutation Subscription Directive19. 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 versioning20. How does GraphQL handle errors in a response? By ignoring errors and returning partial data By automatically fixing errors in the query By returning a well-defined error format By terminating the entire request on the first error5 out of 4Time is Up!