Question Bank

1085 approved questions from the community

Services in NestJS are responsible for business logic and interacting with data sources.

EASY
TRUE FALSE
20s
Nest.js
by Mohamed

Controllers in NestJS are responsible for handling incoming requests and returning responses to the client.

EASY
TRUE FALSE
20s
Nest.js
by Mohamed

NestJS fully supports TypeScript.

EASY
TRUE FALSE
20s
Nest.js
by Mohamed

Modules in NestJS are singletons by default.

EASY
TRUE FALSE
20s
Nest.js
by Mohamed

Which module is used to load environment variables in NestJS?

EASY
SINGLE CHOICE
25s
Nest.js
by Mohamed

What is the purpose of the Head component in Next.js?

EASY
SINGLE CHOICE
25s
Next.js
by Mohamed

What is the default port for a Next.js application?

EASY
SINGLE CHOICE
20s
Next.js
by Mohamed

What is the Pages Router in Next.js?

EASY
SINGLE CHOICE
30s
Next.js
by Mohamed

What is the purpose of the `_app.js` file in Next.js Pages Router?

EASY
SINGLE CHOICE
30s
Next.js
by Mohamed

How do you create a 404 page in Next.js?

EASY
SINGLE CHOICE
25s
Next.js
by Mohamed

What is the App Router in Next.js?

EASY
SINGLE CHOICE
30s
Next.js
by Mohamed

How do you enable TypeScript in a Next.js project?

EASY
SINGLE CHOICE
25s
Next.js
by Mohamed

What is Next.js?

EASY
SINGLE CHOICE
25s
Next.js
by Mohamed

What is file-based routing in Next.js?

EASY
SINGLE CHOICE
30s
Next.js
by Mohamed

What is the purpose of the `public` folder in Next.js?

EASY
SINGLE CHOICE
25s
Next.js
by Mohamed

What is the purpose of the `useRouter` hook in Next.js?

EASY
SINGLE CHOICE
30s
Next.js
by Mohamed

What is Fast Refresh in Next.js?

EASY
SINGLE CHOICE
25s
Next.js
by Mohamed

How do you handle environment variables in Next.js?

EASY
SINGLE CHOICE
30s
Next.js
by Mohamed

Next.js supports both client-side and server-side rendering.

EASY
TRUE FALSE
20s
Next.js
by Mohamed

Next.js supports API routes, allowing you to build backend functionality within the same codebase.

EASY
TRUE FALSE
25s
Next.js
by Mohamed
PreviousPage 29 of 55Next