Online Exam Quiz

questionQuestion  1 to 30

Which directive is used for conditional rendering in Angular?

  • *ngIf
  • *ngFor
  • *ngBind
  • *ngModel
Mark for review

What is the command to install Mongoose in a Node.js project?

  • npm install mongoose
  • npm get mongoose
  • npm add mongoose
  • npm new mongoose
Mark for review

In Express.js, which method is used to define a GET route?

  • app.get()
  • app.routeGet()
  • app.getRoute()
  • app.route()
Mark for review

What is the default port for an Express.js application?

  • 3000
  • 8080
  • 5000
  • 4000
Mark for review

What is the default port for a MongoDB server?

  • 27017
  • 28017
  • 3000
  • 8080
Mark for review

How do you add Bootstrap to an Angular project?

  • npm install bootstrap
  • npm add bootstrap
  • npm new bootstrap
  • npm get bootstrap
Mark for review

How do you connect to a MongoDB database using Node.js?

  • MongoClient.connect()
  • Mongo.connect()
  • MongoDB.connect()
  • Mongo.connectDatabase()
Mark for review

Node.js is built on which JavaScript engine?

  • V8 Engine
  • SpiderMonkey
  • JavaScriptCore
  • ChakraCore
Mark for review

In MongoDB, what does CRUD stand for?

  • Create, Read, Update, Delete
  • Connect, Read, Update, Delete
  • Create, Remove, Update, Delete
  • Connect, Remove, Update, Delete
Mark for review

Which framework is used for developing the front-end in MEAN stack?

  • React
  • Vue.js
  • Angular
  • Svelte
Mark for review

Which command is used to create a new Angular project?

  • ng init
  • ng create
  • ng new
  • ng generate
Mark for review

In MEAN stack, what does Express.js provide?

  • Database Management
  • Server-side logic
  • Front-end Framework
  • Version Control
Mark for review

What does the Angular CLI command 'ng build' do?

  • Builds and serves the application
  • Builds the application
  • Serves the application
  • Runs unit tests
Mark for review

Which command is used to install Express.js in a Node.js project?

  • npm install express
  • npm get express
  • npm add express
  • npm new express
Mark for review

How do you update Node.js to the latest version?

  • node update
  • node upgrade
  • npm install -g node
  • npm install -g n && n latest
Mark for review

Which database is used in the MEAN stack?

  • MySQL
  • MongoDB
  • SQLite
  • PostgreSQL
Mark for review

What does npm stand for?

  • Node Package Manager
  • Node Program Manager
  • Node Project Manager
  • Node Process Manager
Mark for review

In Angular, how do you bind data from the component to the template?

  • Data Binding
  • Property Binding
  • Event Binding
  • Two-way Binding
Mark for review

Which command is used to start the Angular development server?

  • ng serve
  • ng start
  • ng run
  • ng server
Mark for review

What command is used to run a Node.js application?

  • run app.js
  • node app.js
  • start app.js
  • npm app.js
Mark for review

In Angular, which file is responsible for configuring the routes?

  • app-routing.module.ts
  • routes.module.ts
  • app.routes.ts
  • router.config.ts
Mark for review

What is the primary purpose of MongoDB in the MEAN stack?

  • Hosting Static Files
  • Front-end Rendering
  • Backend Framework
  • Database
Mark for review

Which of the following is used for routing in Angular?

  • RouterModule
  • RoutingModule
  • AngularRouting
  • AngularRouter
Mark for review

What is the extension of an Angular component file?

  • .angular
  • .ng
  • .component
  • .ngcomponent
Mark for review

In MongoDB, what is a document?

  • A collection of databases
  • A record in a collection
  • A type of index
  • A field in a record
Mark for review

How do you start an Express.js server?

  • express start
  • node server.js
  • node app.js
  • start server
Mark for review

In MongoDB, what is an index?

  • A record
  • A query
  • A data structure
  • A collection
Mark for review

What is the main purpose of Node.js in the MEAN stack?

  • Front-end Development
  • Database Management
  • Server-side Development
  • Styling
Mark for review

Which command is used to create a new component in Angular?

  • ng generate component [name]
  • ng create component [name]
  • ng new component [name]
  • ng add component [name]
Mark for review

Which of the following is used to run a MongoDB server locally?

  • mongo
  • mongod
  • mongodb
  • mongo run
Mark for review

blinkerOnline

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • Answered
  • Not Answered
  • Marked for Review