GraphQL Nihileswaran No Comment 12Feb Share 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. GraphQL, how are arguments passed to a field? Using parentheses () Using square brackets [] Using curly braces {} Using angle brackets <>2. 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 standard3. 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 values4. 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. What does GraphQL stand for? Graph Query Language General Query Language Graphical Query Language Global Query Language6. 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 response7. 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 measures8. Which keyword is used to alias fields in a GraphQL query? as alias with rename9. 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 versioning10. Which of the following is a valid GraphQL query syntax? { name: "John" } query { name: "John" } query { user(name: "John") } { query: { name: "John" } }11. 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 documentation12. 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. Which HTTP method is commonly used with GraphQL? GET POST PUT DELETE14. What is GraphQL? A database management system A programming language A query language for APIs An operating system15. 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 queries16. Which of the following is a valid scalar type in GraphQL? Date Object Function Promise17. Which of the following is a reserved keyword in GraphQL? select query fetch retrieve18. 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 query19. 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 version20. Who developed GraphQL? Facebook Google Microsoft Twitter5 out of 4Time is Up! Previous R February 12, 2024 Next Laravel February 12, 2024 You Might Also Like Hello world CHOOLS No Comment How to Disable Avast Antivirus CHOOLS No Comment AVG Review — Is the Absolutely free Version As effective as the Premium Version? CHOOLS No Comment Understanding the Limitations of Models of Managing CHOOLS No Comment Careers Similar To Teaching CHOOLS No Comment