WorksheetsExploring Node.js and the MEAN Stack
Total questions: 10
Worksheet time: 5mins
Which of the following best describes Node.js?
A front-end JavaScript framework for building user interfaces
A runtime environment that allows JavaScript to be run on the server side
A database management system
A CSS pre-processor
In the MEAN stack, what does the 'A' stand for?
Angular
Apache
API
Application
Which database is used in the MEAN stack?
MySQL
MongoDB
PostgreSQL
SQLite
Which of the following is NOT a feature of Node.js?
Event-driven architecture
Non-blocking I/O
Built-in support for relational databases
Ability to use JavaScript on the server
What is the primary purpose of Express.js in the MEAN stack?
To manage the database
To handle HTTP requests and routing
To create dynamic front-end interfaces
To compile TypeScript code
Which command is used to initialise a new Node.js project?
node start
npm init
node install
npm create
Which of the following statements about MongoDB is TRUE?
It stores data in tables and rows
It is a NoSQL database that stores data in JSON-like documents
It requires a fixed schema for all data
It is only compatible with Java applications
What is the main advantage of using the MEAN stack for web development?
It uses only one programming language (JavaScript) throughout the stack
It is only compatible with Windows operating systems
It requires no knowledge of JavaScript
It is used exclusively for mobile app development
Which of the following is the correct order of technologies in the MEAN stack from back-end to front-end?
MongoDB, Express.js, Angular, Node.js
Node.js, Express.js, MongoDB, Angular
MongoDB, Express.js, Node.js, Angular
MongoDB, Express.js, Node.js, Angular
Which of the following best explains why Node.js is considered non-blocking?
It processes one request at a time
It uses asynchronous I/O, allowing multiple operations to be handled concurrently
It blocks the event loop until all operations are complete
It only supports synchronous code execution
