
GraphQL Type System lvl.1
Authored by Tomas Martinez
Computers
Professional Development
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a GraphQL Object Type?
A type that represents a kind of object you can fetch from a GraphQL service
A type that represents a scalar value in GraphQL
A type that represents an interface in GraphQL
A type that represents a union in GraphQL
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the schema in GraphQL?
To define the set of possible data that can be queried on a GraphQL service
To define the implementation-specific details of a GraphQL service
To define the programming language syntax used in a GraphQL service
To define the types and fields available in a GraphQL service
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a scalar type in GraphQL?
A type that represents a single scalar object and can't have sub-selections
A type that represents an array of objects
A type that represents an interface in GraphQL
A type that represents a union in GraphQL
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of an enum type in GraphQL?
To restrict a field to a particular set of allowed values
To define a type that represents a kind of object you can fetch from a GraphQL service
To define a type that represents a scalar value in GraphQL
To define a type that represents an interface in GraphQL
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of an interface in GraphQL?
To define a set of fields that a type must include to implement the interface
To restrict a field to a particular set of allowed values
To define a type that represents a kind of object you can fetch from a GraphQL service
To define a type that represents a scalar value in GraphQL
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of a union type in GraphQL?
To represent a type that can be one of several different types
To define a set of fields that a type must include to implement the interface
To restrict a field to a particular set of allowed values
To define a type that represents a kind of object you can fetch from a GraphQL service
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of an input type in GraphQL?
To pass complex objects as arguments into a field
To represent a type that can be one of several different types
To define a set of fields that a type must include to implement the interface
To restrict a field to a particular set of allowed values
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?