---
title: "Node.js &amp; Express Fundamentals: Building Server Applications"
lang: "en"
author: "Mohammad Abu Mattar"
canonical: https://mkabumattar.com/post/nodejs-express-fundamentals-quiz
---

[Home](/)›[Quizzes](/quizzes)›[All Categories](/quizzes/categories)›[Backend](/quizzes/categories/backend)

Quizzes

[Prev in BackendDatabase Design & Patterns](/quizzes/post/database-design-patterns-quiz)[Next in BackendProduction Backend: Scaling, Monitoring & Reliability](/quizzes/post/production-backend-scaling-quiz)

[Backend](/quizzes/categories/backend)[Node.js](/quizzes/categories/nodejs)[API](/quizzes/categories/api)

# Node.js & Express Fundamentals: Building Server Applications

[Mohammad Abu Mattar](/authors/mohammad-abu-mattar)20 QuestionsBeginnerPublished: 04 Mar 2026

[Markdown for AI(opens in a new tab)](/post/nodejs-express-fundamentals-quiz/index.md "Open the plain-Markdown version of this page, for pasting into an AI tool")

Series

[Backend Programming](/series/backend-programming)3/4

[PreviousGo: Programming Fundamentals & Concurrency](/quizzes/post/golang-programming-fundamentals-quiz)[NextProduction Backend: Scaling, Monitoring & Reliability](/quizzes/post/production-backend-scaling-quiz)

All posts in this series (4)

Quizzes4

1.  [Python: Programming Fundamentals & Best Practices](/quizzes/post/python-programming-fundamentals-quiz)
2.  [Go: Programming Fundamentals & Concurrency](/quizzes/post/golang-programming-fundamentals-quiz)
3.  [Node.js & Express Fundamentals: Building Server ApplicationsYou are here](/quizzes/post/nodejs-express-fundamentals-quiz)
4.  [Production Backend: Scaling, Monitoring & Reliability](/quizzes/post/production-backend-scaling-quiz)

## Node.js & Express Fundamentals: Building Server Applications

Up to 20 questions, shuffled on every run

Quiz Configuration

Enterto start

Welcome to the Node.js & Express Fundamentals Quiz! This quiz will test your knowledge of core concepts in building server applications with Node.js and Express. From understanding the basics of Node.js and npm to mastering routing, middleware, and error handling in Express, this quiz is designed to challenge you and help you solidify your understanding of backend development with JavaScript. Whether you’re new to Node.js or looking to refresh your knowledge, this quiz is a great way to test your skills. Good luck!

Answer key and explanations20 questions

The quiz above draws 20 questions at random from these 35, so a second attempt will not be the same run. Everything in the pool is listed here.

1.  What is Node.js?
    
    AnswerA JavaScript runtime built on Chrome's V8 engine for server-side execution
    
2.  What is npm (Node Package Manager)?
    
    AnswerThe standard package manager used to install and manage project dependencies
    
3.  What is package.json?
    
    AnswerA manifest file declaring metadata, scripts, and required project libraries
    
4.  What is Express.js?
    
    AnswerA minimal web framework used for routing, middleware, and request handling
    
5.  What is a route in Express?
    
    AnswerThe definition of a URL endpoint and the logic used to generate a response
    
6.  What are HTTP methods in Express routing?
    
    AnswerMethods corresponding to REST operations such as GET, POST, PUT, and DELETE
    
7.  What is middleware in Express?
    
    AnswerFunctions having access to the request, response, and the next middleware cycle
    
8.  What does app.use() do in Express?
    
    AnswerRegisters a specific middleware function to be executed for incoming requests
    
9.  What is req (request) object in Express?
    
    AnswerAn object containing request data like headers, URL, body, and parameters
    
10.  What is res (response) object in Express?
     
     AnswerAn object used to send response data, status codes, and headers to the client
     
11.  What is req.body in Express?
     
     AnswerA property containing the parsed data sent in the body of the request
     
12.  What is req.query in Express?
     
     AnswerAn object containing parameters from the URL query string after the ? mark
     
13.  What is req.params in Express?
     
     AnswerAn object containing route parameters defined in the path of the URL endpoint
     
14.  What is JSON in Express responses?
     
     AnswerA method that sends a JSON response and sets the correct content-type header
     
15.  What is status code in HTTP responses?
     
     AnswerA numeric code indicating the outcome of a request such as 200, 404, or 500
     
16.  What is error handling middleware in Express?
     
     AnswerMiddleware defined with 4 parameters used to catch and handle thrown errors
     
17.  What is next() in Express middleware?
     
     AnswerA function that passes control to the next middleware function in the stack
     
18.  What is CORS in Express?
     
     AnswerMiddleware that allows or restricts cross-origin requests for the server
     
19.  What is body-parser in Express?
     
     AnswerMiddleware used to parse the incoming request body into a usable object
     
20.  What is routing in Express, and how is it organized?
     
     AnswerMapping URLs to handlers, often organized via the Router for modularity
     
21.  What is the difference between .send() and .json()?
     
     Answer.json() specifies a JSON content-type while .send() is for general data
     
22.  What is environment variables in Node.js?
     
     AnswerVariables stored in process.env used for configuration and sensitive keys
     
23.  What is the purpose of npm scripts?
     
     AnswerCommands defined in package.json to automate tasks like starting a server
     
24.  What is app.listen() in Express?
     
     AnswerA method that starts the server and begins listening for incoming requests
     
25.  What is express.static() middleware?
     
     AnswerMiddleware used to serve static files like images, CSS, and HTML documents
     
26.  What is input validation in Express?
     
     AnswerThe process of checking that incoming data matches the expected format
     
27.  What is async/await in Node.js?
     
     AnswerSyntax used to write asynchronous code in a more readable, linear fashion
     
28.  What are Promises in Node.js?
     
     AnswerObjects representing the eventual success or failure of an async operation
     
29.  What is database connection in Node.js?
     
     AnswerEstablishing a link to a database, often using pools for better efficiency
     
30.  What is URL encoding in Express?
     
     AnswerParsing data submitted from HTML forms via application/x-www-form-urlencoded
     
31.  What is session management in Node.js?
     
     AnswerStoring user-specific data across multiple requests using cookies and stores
     
32.  What is REST API in Express?
     
     AnswerAn architectural style that uses HTTP methods to perform actions on resources
     
33.  What is middleware chaining in Express?
     
     AnswerExecuting multiple middleware in a sequence where each calls the next() function
     
34.  What is the purpose of console.log in Node.js debugging?
     
     AnswerPrints information to the terminal for debugging during the development cycle
     
35.  What is the difference between require() and import?
     
     Answerrequire() follows the CommonJS standard while import uses modern ES modules
     

## Tags

[#Node.js](/quizzes/tags/nodejs)[#Express](/quizzes/tags/express)[#Backend](/quizzes/tags/backend)[#Server](/quizzes/tags/server)[#Middleware](/quizzes/tags/middleware)

## Share

[Facebook](https://facebook.com/sharer/sharer.php?u=https%3A%2F%2Fmkabumattar.com%2Fquizzes%2Fpost%2Fnodejs-express-fundamentals-quiz "Share on Facebook")[Twitter](https://twitter.com/intent/tweet/?text=Node.js%20%26%20Express%20Fundamentals%3A%20Building%20Server%20Applications&url=https%3A%2F%2Fmkabumattar.com%2Fquizzes%2Fpost%2Fnodejs-express-fundamentals-quiz "Share on Twitter")[LinkedIn](https://www.linkedin.com/shareArticle?mini=true&url=https%3A%2F%2Fmkabumattar.com%2Fquizzes%2Fpost%2Fnodejs-express-fundamentals-quiz&title=Node.js%20%26%20Express%20Fundamentals%3A%20Building%20Server%20Applications&summary=Master%20Node.js%20and%20Express%20basics%3A%20server%20creation%2C%20routing%2C%20middleware%2C%20request%2Fresponse%20handling%2C%20error%20handling%2C%20and%20REST%20API%20development.&source=https://mkabumattar.com "Share on LinkedIn")[WhatsApp](https://wa.me/?text=Node.js%20%26%20Express%20Fundamentals%3A%20Building%20Server%20Applications%20https%3A%2F%2Fmkabumattar.com%2Fquizzes%2Fpost%2Fnodejs-express-fundamentals-quiz "Share on WhatsApp")[Telegram](https://t.me/share/url?url=https%3A%2F%2Fmkabumattar.com%2Fquizzes%2Fpost%2Fnodejs-express-fundamentals-quiz&text=Node.js%20%26%20Express%20Fundamentals%3A%20Building%20Server%20Applications "Share on Telegram")[Reddit](https://www.reddit.com/submit?url=https%3A%2F%2Fmkabumattar.com%2Fquizzes%2Fpost%2Fnodejs-express-fundamentals-quiz&title=Node.js%20%26%20Express%20Fundamentals%3A%20Building%20Server%20Applications "Share on Reddit")[Hacker News](http://news.ycombinator.com/submitlink?u=https%3A%2F%2Fmkabumattar.com%2Fquizzes%2Fpost%2Fnodejs-express-fundamentals-quiz&t=Node.js%20%26%20Express%20Fundamentals%3A%20Building%20Server%20Applications "Share on Hacker News")[Pinterest](https://pinterest.com/pin/create/button/?url=https%3A%2F%2Fmkabumattar.com%2Fquizzes%2Fpost%2Fnodejs-express-fundamentals-quiz&media=&description=Master%20Node.js%20and%20Express%20basics%3A%20server%20creation%2C%20routing%2C%20middleware%2C%20request%2Fresponse%20handling%2C%20error%20handling%2C%20and%20REST%20API%20development. "Share on Pinterest")[Email](<mailto:?subject=Node.js%20%26%20Express%20Fundamentals%3A%20Building%20Server%20Applications&body=Check out this article: https%3A%2F%2Fmkabumattar.com%2Fquizzes%2Fpost%2Fnodejs-express-fundamentals-quiz>)

## Comments

Was this useful?

## You might also enjoy

More posts on similar topics

[![Production Backend: Scaling, Monitoring & Reliability](/_astro/hero.BMX8nk1k_Z292ED3.webp)](/quizzes/post/production-backend-scaling-quiz)

## [Production Backend: Scaling, Monitoring & Reliability](/quizzes/post/production-backend-scaling-quiz)

-   [Mohammad Abu Mattar](/authors/mohammad-abu-mattar)
-   [Backend](/quizzes/categories/backend)
-   [DevOps](/quizzes/categories/devops)

Welcome to the "Production Backend: Scaling, Monitoring & Reliability" quiz! This quiz tests your knowledge of key concepts and best practices for running production backend systems at scale. You'll b

[#Production](/quizzes/tags/production)[#Backend](/quizzes/tags/backend)[#Scaling](/quizzes/tags/scaling)

[read more](/quizzes/post/production-backend-scaling-quiz)

[![Go: Programming Fundamentals & Concurrency](/_astro/hero.DAhn0JrH_1F4eoD.webp)](/quizzes/post/golang-programming-fundamentals-quiz)

## [Go: Programming Fundamentals & Concurrency](/quizzes/post/golang-programming-fundamentals-quiz)

-   [Mohammad Abu Mattar](/authors/mohammad-abu-mattar)
-   [Programming](/quizzes/categories/programming)
-   [DevOps](/quizzes/categories/devops)
-   [Golang](/quizzes/categories/golang)

Welcome to the Go (Golang) Basics Quiz! Most modern infrastructure tooling is written in Go, largely because of its compiled performance and built-in concurrency. This quiz will test your understandin

[#Go](/quizzes/tags/go)[#Concurrency](/quizzes/tags/concurrency)[#Backend](/quizzes/tags/backend)+1 tags

[read more](/quizzes/post/golang-programming-fundamentals-quiz)

[![Python: Programming Fundamentals & Best Practices](/_astro/hero.C1sFrIvr_20a5yU.webp)](/quizzes/post/python-programming-fundamentals-quiz)

## [Python: Programming Fundamentals & Best Practices](/quizzes/post/python-programming-fundamentals-quiz)

-   [Mohammad Abu Mattar](/authors/mohammad-abu-mattar)
-   [Python](/quizzes/categories/python)
-   [Programming](/quizzes/categories/programming)
-   [Software Development](/quizzes/categories/software-development)
-   [Data Science](/quizzes/categories/data-science)

Welcome to the Python Basics Quiz! This quiz tests your understanding of fundamental Python concepts, syntax, and programming best practices. Each question is multiple-choice, and you'll find hints to

[#Python](/quizzes/tags/python)[#Python Programming](/quizzes/tags/python-programming)[#Python Basics](/quizzes/tags/python-basics)+6 tags

[read more](/quizzes/post/python-programming-fundamentals-quiz)

[![Database Design & Patterns](/_astro/hero.C_gmtZ96_ZtTczJ.webp)](/quizzes/post/database-design-patterns-quiz)

## [Database Design & Patterns](/quizzes/post/database-design-patterns-quiz)

-   [Mohammad Abu Mattar](/authors/mohammad-abu-mattar)
-   [Backend](/quizzes/categories/backend)
-   [Database](/quizzes/categories/database)

Welcome to the Database Design & Patterns Quiz! Test your knowledge on database normalization, indexing, query optimization, ACID properties, sharding, replication, and more. Each question has a hint

[#Database](/quizzes/tags/database)[#Design](/quizzes/tags/design)[#Performance](/quizzes/tags/performance)

[read more](/quizzes/post/database-design-patterns-quiz)

[![Async JavaScript: Promises, Async/Await, Event Loop](/_astro/hero.DK_l_9BQ_Z2vKlem.webp)](/quizzes/post/async-javascript-promises-quiz)

## [Async JavaScript: Promises, Async/Await, Event Loop](/quizzes/post/async-javascript-promises-quiz)

-   [Mohammad Abu Mattar](/authors/mohammad-abu-mattar)
-   [Backend](/quizzes/categories/backend)
-   [JavaScript](/quizzes/categories/javascript)

Welcome to the Async JavaScript quiz! Test your knowledge of Promises, async/await, the event loop, and advanced concurrency patterns. Each question has a hint and detailed explanations for all option

[#Async](/quizzes/tags/async)[#JavaScript](/quizzes/tags/javascript)[#Promises](/quizzes/tags/promises)

[read more](/quizzes/post/async-javascript-promises-quiz)

[![React Fundamentals: Components, Hooks & State Management](/_astro/hero.x4gPhQ21_Z2if49G.webp)](/quizzes/post/react-fundamentals-quiz)

## [React Fundamentals: Components, Hooks & State Management](/quizzes/post/react-fundamentals-quiz)

-   [Mohammad Abu Mattar](/authors/mohammad-abu-mattar)
-   [Frontend](/quizzes/categories/frontend)
-   [React](/quizzes/categories/react)
-   [JavaScript](/quizzes/categories/javascript)

Welcome to the React Fundamentals Quiz! This quiz will test your knowledge of core React concepts, including components, JSX, hooks, state management, props, and event handling. Whether you're new to

[#React](/quizzes/tags/react)[#Components](/quizzes/tags/components)[#Hooks](/quizzes/tags/hooks)+2 tags

[read more](/quizzes/post/react-fundamentals-quiz)

6 related posts
