
GraphQL
Quiz
•
Professional Development
•
Professional Development
•
Practice Problem
•
Medium
Gagan Popli
Used 56+ times
FREE Resource
Enhance your content in a minute
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is an exclamation point in GraphQL?
non-nullable field
nullable field
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
You are working with introspection in GraphQL and need to query the type of an object to get all available information. How would you do this?
Use the __typename meta field in your query.
Add a resolver with multiple queries.
Use the __type query
Use the __fields query with a typeName argument.
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
You are working on a project using GraphQL. You need to add basic information, including a title and the number of views, to a website using a custom object named "Website". Which code snippet correctly accomplishes this task?
object Website {
title: Boolean
numberOfViews: String
}
type Website {
title: String
numberOfViews: Int
}
declare object Website {
title: Boolean
numberOfViews: String
}
export Website {
title: String
numberOfViews: Int
}
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which operation in GraphQL would be used to update an existing object in a backend database?
Query
PATCH
POST
Mutation
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In GraphQL, what kind of scalar only allows a specific set of allowed values?
enum type
reserved type
interface type
mutation type
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
const { MockList } = require('apollo-server');
const mocks = {
Person: () => ({
friends: () => new MockList([0,12])
}),
};
How many friends will be returned when you query that field?
Between 0 and 12 excluding 0 and 12
Between 0 and 12 inclusive
Between 0 and 12 excluding 0
Between 0 and 12 excluding 12
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which type of return value will cause Apollo Server to treat the resolver as async?
Promise
Awaitable
Observable
Task
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?
Similar Resources on Wayground
15 questions
Hội thi chuyển đổi số
Quiz
•
Professional Development
20 questions
Salesforce
Quiz
•
Professional Development
20 questions
Business writing key phrases
Quiz
•
Professional Development
12 questions
TIK
Quiz
•
Professional Development
10 questions
TOEFL ERROR ANALYSIS / WRITTEN EXPRESSION
Quiz
•
10th Grade - Professi...
18 questions
GCE Level 1
Quiz
•
Professional Development
10 questions
YTB ANTI-BRIBERY AND CORRUPTION (ABC) QUIZ
Quiz
•
Professional Development
12 questions
2-AIM-DPM-Quizizz-Display, video, search-Mr Sơn
Quiz
•
Professional Development
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
