----------- is a package manager that gets installed when you install Node.js. and
gives you the ability to download Node.js modules or “packages” to extend the
functionality of your application. GRUNTJS Node.js NPM Mongodb. Bootstrap is a front-end framework that provides a wealth of help for creating a
great UI. But we cannot use Bootstrap with Angular True False. ------------------ is a web application framework for Node.js that has been designed
to do this in a well-tested and repeatable way. Express.js Node.js Mongodb Angular. --------------- is a software platform that allows you to create your own web server
and build web applications on top of it Angular Node.js Express.js Mongodb
. The modern websites development starts with the database and web server
contains application logic and control in the middle and goes all the way through
to the user interface at the --------------------. Front End Web Framework Back End MEAN Stack. The modern websites development starts with the database and web server in
the --------------- contains application logic and control in the middle and goes all
the way through to the user interface. Front End Web Framework Back End MEAN Stack. The traditional way of building websites the data processing and application logic
on the server, which then passes HTML, CSS, JS out to the browser. --------------
enables you to move some or all this processing and logic out to the browser,
sometimes leaving the server just passing data from the database. Angular Node.js Express.js Mongodb. The ------------ starts with the database and web server contains application logic
and control in the middle and goes all the way through to the user interface. Front End Web Framework Back End MEAN Stack. In real terms, ------------- runs everything inside the browser and never does a full
page reload. What this means is that all application logic, data processing, user
flow, and template delivery can be managed in the browser. single-page
application multiple-page
application MVVM All of the
mentioned. ------------- comes with a set of predefined CSS classes that can create useful
visual components. These include things like page headers, flash-message
containers, labels and badges, stylized lists … the list goes on! Angular Bootstrap A & B None of the
mentioned. A common approach to MEAN stack architecture, using MongoDB, Express, and
Node.js to build a -------------- that feeds JSON data to an Angular run in the
browser Routes Mongoose RESTful API Express. A common approach to MEAN stack architecture, using MongoDB, Express, and Node.js to build a -------------- that feeds JSON data to an Angular run in the browser True False. Command that generate Angular Component product-get ng g component product-get angular generate component product-get angular g component product-get ng g c product-get. The ----------is a directive that’s available from the router library where the Router
inserts the component that gets matched based on the current browser’s URL. NgModel
Router-Outlet NgClass routerLink. Each --------- maps a URL path to a component Path Page Route All the mentioned. Which is a valid route parameter syntax with an id parameter: { path: 'emps/:id', empComponent} { url: 'emps(id)', empComponent}
{ path: 'emps/:id', component: empComponent}
{ url: 'emps/?id', component: empComponent}. We can use the reactive forms by importing ReactiveFormsModule from the ---------
package @angular/core @angular/forms @angular/platform-browser @angular/router
. This file can contain various metadata about a project, including the packages
that it depends on to run server.js package.json package.js nodemon.json. what we write to install all the dependencies listed in this file. When you run it. npm download npm start npm install npm install
packages. Simply wraps the Node application, and other than monitoring for changes
causes no interference. npm nodemon mongoose JSON. -------- should map URL requests to controllers. Model View Router Controller. --------- should manage the application logic. Model View Router Controller. npm will download all the packages listed as dependencies and install them
into a specific folder in the application called --------------. modules node_modules packages nodemon. Simply wraps the Node application, and other than monitoring for changes
causes no interference. npm nodemon mongoose JSON. The const declaration creates a read-only reference to a value. the
productController identifier cannot be reassigned. True False. If we want to load a local, relative JavaScript module into a Node.js. we are
using
router get require exports. Line#2. The "controllers/product.controller" file is located in the ---------------e . same folder controllers
folder in the
current folder controllers folder
at the root of the
site folder one level
up from the current
folder. Term refers to how an application’s endpoints (URIs) respond to client requests router get require exports. The GET method is used to submit an entity to the specified resource, often
causing a change in state or side effects on the server True False. Line#5. What does code mean? route
(endpoint) next function callback function page. Line#6. create module and export it for use elsewhere in our application? True False. Line#1. The (JWT) is one method for allowing authentication, without storing
any information about the user on the system itself. True False. A ------------ is an object that can be used to authenticate a user to a server Token Payload Promise Resolve. the ----------- is a set of fields that you want to include in the token being
generated. Token Payload Promise Resolve. Tokens contain embedded user data that is used to identify and authenticate
the user.
True False. Line#4. The first argument --------- the promise. rejects queues fulfills encrypts. Line#4. The second argument --------- the promise. rejects queues fulfills encrypts. Line#4. The Promise object represents the eventual completion (or failure) of
an asynchronous operation, and its resulting value. True False. Line#6: The jwt.sign() method creates a unique string of characters
representing the payload. True False. Line#7: What is the process.env.JWT_KEY hashed
password Bcrypt’s
hashing method
secret key
defined in config All the
mentioned. The GET method requests a representation of the specified resource. Requests
using GET should only retrieve data. True False. The POST method is used to submit an entity to the specified resource, often
causing a change in state or side effects on the server True False. The PUT method replaces all current representations of the target resource
with the request payload True False. The DELETE method deletes the specified resource. True False. The OPTIONS method is used to describe the communication options for the
target resource. True False. . ---------------defines the way in which the client requests are handled by the
application endpoints Routing Model View Controller. ---------------is used by a server when the server needs to know exactly who is
accessing their information or site. Authorization Encryption Identification Authentication. --------------- is a process by which a server determines if the client has
permission to use a resource or access a file. Authorization Encryption Identification Authentication. --------------- by a server entails the use of a user name and password, cards,
voice recognition, or fingerprints.
Authorization Encryption Identification Authentication. --------------- by a server entails the use of a user name and password, cards,
voice recognition, or fingerprints. Authorization Encryption Identification Authentication. . By -------------- the data exchanged between the client and server information
like password, credit card numbers. Authorization Encryption Identification Authentication. ----------------- involves the process of transforming data so that it is unreadable
by anyone who does not have a key. Authorization Encryption Identification Authentication. ------------------ means presenting grounds for the entry to the site or API. Authorization Encryption Identification Authentication. As a rule, your username or email address provided during registration serve as
-------------------. Authorization Encryption Identification Authentication. Authorization is usually coupled with authentication so that the server has some
concept of who the client is that is requesting access. True False. --------------------means that you can execute multiple operations/statements at a
time and you don't have to finish executing the current operation to move on to
next one. Synchronous Promise Blocking Asynchronous/non-Blocking. ------------------- basically, means that you can only execute one
statement/operation at a time. Synchronous/Blocking Promise Blocking Asynchronous. --------------------means that all tasks within a block of code are all executed at the
same time.
Synchronous Promise Blocking Asynchronous/Non-Blocking. ------------------- means that all tasks within a block of code are not all executed at
the same time. Synchronous Promise Blocking Asynchronous. A pending promise can either be --------- with a value. fulfilled rejected queued asynchronous. Promise is pending when the ------------------- operation is not yet completed. fulfilled rejected queued asynchronous. Promise pending is -------------- when the operation terminates with an error. fulfilled rejected queued asynchronous. A promise is said to be settled if it is either fulfilled or rejected but pending. True False. Once a Promise is fulfilled, the respective handler function onFulfilled will be
called asynchronously.
True False. Once a Promise is rejected, the respective handler function onRejected will be
called asynchronously. True False. If a handler function returns a value, the promise returned by then gets
resolved with the returned value as its value.
True False. The Promise returned by catch() is rejected if onRejected throws an error or
returns a Promise which is itself rejected. True False. One of the property of then() method is that it synchronously returns another
promise which allows us to bind chains of promises. True False. onFulfilled() and onRejected() functions are guaranteed to be invoked
asynchronously even if our then() method is asynchronous. True False. In validation template driven forms, -------- is true if the user has changed the value of
the control. touched pristine dirty invalid. In validation template driven forms, --------is true if the user hasn’t changed the value,
and false if the user has. touched pristine dirty invalid. In validation template driven forms, -------- is true of the field has been focused by the
user, otherwise it’s false. touched pristine dirty invalid. In validation template driven forms, -------- false of the field doesn’t have any
validators and would be true if the control was invalid and false if it was valid. valid pristine dirty invalid. --------- is Angular's mechanism for communicating with a remote server over HTTP. Injectable
HttpClient HttpHeaders Products.model. Represents the configuration options for an HTTP request. Injectable HttpClient HttpHeaders
Products.model. The ---------- represents the actual data and/or information we are dealing with. Injectable HttpClient
HttpHeaders Products.model. . Line#5 means that we want to provide the service at the root level (AppModule) When
you provide the service at the root level. True False. . A ------------- is a special method that gets called when a class is instantiated Class Constructor Function None of the mentioned . ------------------ is a type of web storage that allows JavaScript sites and apps to store and
access data right in the browser with no expiration date. Token HttpHeaders LocalStorage Products[]. Constructs a GET request that interprets the body as a JSON object and returns
the response body in a ------------------. Token HttpHeaders LocalStorage Products[]
. The endpoints (URIs) respond to angular client requests http://localhost:3007/products/ http://localhost:3007/products/product ) http://localhost:3007/products/:id None of the mentioned
. toPromise() line#14: It turns out that the observable operator toPromise waits
for the observable to complete (or error) before actually resolving itself. True False. A ------------- is a special method that gets called when a class is instantiated Class Constructor Function None of the mentioned. A ---------------- is an extensible program-code-template for creating objects Class Constructor Function None of the mentioned.
|