Quiz sur Apollo GraphQL

Quiz
•
Information Technology (IT)
•
University
•
Medium

soumaya sassi
Used 5+ times
FREE Resource
38 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is GraphQL?
A query language for REST APIs
A query language for graph-based APIs
A framework for database development
A general-purpose programming language
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the main difference between REST and GraphQL?
GraphQL allows retrieving multiple resources in a single request
REST allows performing complex queries on databases
GraphQL is faster than REST
REST is only compatible with JavaScript
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the term "Schema" mean in GraphQL?
A representation of the database
A configuration file for queries
The definition of data types, queries, and mutations
A description of business logic
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What are scalar types in GraphQL?
Types that can contain multiple sub-types
Basic types like String, Int, Float, Boolean, and ID
Types that define resolution functions
Types specific to mutations
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you define a GraphQL schema with Apollo Server in Node.js?
Use graphql-tools to generate a schema based on YAML files.
Define a schema using typeDefs that represent types, queries, and mutations, then associate it with resolvers.
Use JSON files to describe the types.
Define schemas only with simple JavaScript objects.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a "resolver" in Apollo Server?
An object containing data
A function that resolves the values of a field in a query
A file that defines the structure of the schema
A means of filtering data in the database
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a "resolver" in Apollo Server?
It is a function that resolves user queries in the application.
It is a function that generates schemas for REST APIs.
It is a function that associates a field of a GraphQL type with a data source, often a database or an external service.
It is a function that performs calculations on the data sent by the user.
Create a free account and access millions of resources
Similar Resources on Wayground
38 questions
Week 9 - PART 2 | Active Directory Quiz

Quiz
•
University
41 questions
UAS Pengantar Teknologi Informasi

Quiz
•
University
40 questions
Sistem Komputer

Quiz
•
10th Grade - University
35 questions
Quiz 2 - Pengantar Teknologi Informasi

Quiz
•
University
40 questions
Grade 11 Week 2 Quiz

Quiz
•
11th Grade - University
38 questions
Tầng ứng dụng

Quiz
•
University
40 questions
SA101 A Quiz 1

Quiz
•
University
35 questions
SQL Server Quiz

Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Information Technology (IT)
10 questions
Would you rather...

Quiz
•
KG - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
10 questions
The Constitution, the Articles, and Federalism Crash Course US History

Interactive video
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
16 questions
Water Modeling Activity

Lesson
•
11th Grade - University
10 questions
ACT English prep

Quiz
•
9th Grade - University