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 reserved keyword in GraphQL? select query fetch retrieve2. 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 field3. 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 GraphQL4. What is the role of the subscriptions field in a GraphQL schema? To define the types of subscriptions supported by the API To specify the default values for subscription parameters To control access permissions for subscriptions To indicate the version of the GraphQL schema5. GraphQL, how are arguments passed to a field? Using parentheses () Using square brackets [] Using curly braces {} Using angle brackets <>6. What does GraphQL stand for? Graph Query Language General Query Language Graphical Query Language Global Query Language7. How can you perform batching of queries in GraphQL? By using the @batch directive By wrapping multiple queries in a single request By specifying a batch size in the schema Batching is not supported in GraphQL8. In GraphQL, what is a schema? A type of database A query A way to structure data A programming language9. 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 schemas10. What is the default query type in GraphQL? Search Query Get Retrieve11. Who developed GraphQL? Facebook Google Microsoft Twitter12. What is the role of the context in GraphQL resolvers? It defines the structure of the schema It provides a way to share information between resolvers It specifies the data types of fields It controls the access permissions13. 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 version14. 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 standard15. Which of the following is a valid GraphQL query syntax? { name: "John" } query { name: "John" } query { user(name: "John") } { query: { name: "John" } }16. What is the purpose of the enum type in GraphQL? To represent a field that can have multiple types To define a one-to-many relationship between types To create a subset of the schema To represent a set of predefined values17. Which type of operation in GraphQL is used for real-time data updates? Query Mutation Subscription Directive18. 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 parameters19. Which of the following is NOT a scalar type in GraphQL? String Int List Boolean20. 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 versioning5 out of 4Time is Up!