NestJS and Next.js Knowledge Check

Quiz
•
Information Technology (IT)
•
KG
•
Hard
محمد غربي
Used 2+ times
FREE Resource
14 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
Which design pattern does NestJS primarily follow?
Singleton design pattern
Observer design pattern
Dependency Injection design pattern
Factory design pattern
2.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
What is the purpose of the @Injectable() decorator in NestJS?
To define a route handler in a controller.
To create a new module in NestJS.
To manage application configuration settings.
To mark a class as a provider for dependency injection.
3.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
How do you handle exceptions globally in a NestJS application?
Use try-catch blocks in every service method.
Implement error handling in each controller individually.
Create a custom exception filter and use app.useGlobalFilters() to apply it globally.
Log errors to the console without any filters.
4.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
What is the primary purpose of modules in NestJS?
To provide a user interface for the application.
The primary purpose of modules in NestJS is to organize the application into cohesive blocks of functionality.
To enhance the performance of the application.
To manage database connections more efficiently.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the role of the app.module.ts
file in a NestJS application?
To define the main entry point of the application.
To configure global middleware for the application.
To handle error logging and reporting.
To organize and import all modules, controllers, and providers in the application.
6.
MULTIPLE CHOICE QUESTION
30 sec • 5 pts
What is the purpose of the useMemo hook in React.js?
To memoize a function definition
To memoize a value so that it is only recomputed when its dependencies change
To manage side effects in functional components
To handle asynchronous operations
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
React.js allows you to use state in class components without lifecycle methods
no
yes
maybe
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
Cloud Native 01 - Cloud

Quiz
•
KG - University
12 questions
14-JS Массивы (includes, filter, find, forEach, sort, indexOf)

Quiz
•
University
14 questions
2_C1_M206

Quiz
•
KG - University
15 questions
Examen 6to Inf-Fundamentos del Desarrollo Web

Quiz
•
12th Grade
15 questions
Mastering Express JS Concepts

Quiz
•
12th Grade - University
16 questions
G 10- Understanding System Software

Quiz
•
10th Grade - University
10 questions
Purpose of Digital Component Testing

Quiz
•
12th Grade
12 questions
Misi untuk mendapatkan lancana WEBSITE

Quiz
•
KG - University
Popular Resources on Wayground
10 questions
SR&R 2025-2026 Practice Quiz

Quiz
•
6th - 8th Grade
30 questions
Review of Grade Level Rules WJH

Quiz
•
6th - 8th Grade
6 questions
PRIDE in the Hallways and Bathrooms

Lesson
•
12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
15 questions
Subtracting Integers

Quiz
•
7th Grade
Discover more resources for Information Technology (IT)
20 questions
Disney Characters

Quiz
•
KG
20 questions
Place Value

Quiz
•
KG - 3rd Grade
10 questions
All About Empathy (for kids!)

Quiz
•
KG - 6th Grade
20 questions
Logos

Quiz
•
KG
20 questions
Capitalization in sentences

Quiz
•
KG - 4th Grade
14 questions
States of Matter

Lesson
•
KG - 3rd Grade
10 questions
Rainbow Fish Comprehension

Quiz
•
KG - 6th Grade
20 questions
Cartoon Characters!

Quiz
•
KG - 5th Grade