3
Q:

Which HTML attribute is used to define inline styles?

 

A) <header> B) <strong>
C) <style> D) <alt>

Answer:   C) <style>



Explanation:

The style attribute specifies an inline style for an element. The style attribute will override any style set globally,

 

e.g. styles specified in the <style> tag or in an external style sheet.

 

Subject: Web Technology
Exam Prep: Bank Exams
Q:

What is the Advantage of AngularJS?

Answer

These are the advantages of AngularJS:



  • AngularJS provides capability to form Single Page Application in a very clean and maintainable method.

  • AngularJS provides data binding capability to HTML therefore giving user a rich and responsive experience.

  • AngularJS code is unit testable.

  • AngularJS uses dependency injection and build use of separation of concerns.

  • AngularJS provides reusable components.

  • AngularJS helps developer to writes less code and gets more functionality.

  • AngularJS, views are pure HTML pages, and controllers written in JavaScript do the business process.

  • AngularJS applications will run on all major browsers and good phones together with android and iOS based mostly phones/tablets.

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 2028
Q:

Explain about AngularJS boot process.

Answer

When the page is loaded in the browser, following action takes place:


HTML document is loaded into the browser, and evaluated by the browser. AngularJS JavaScript file is loaded; the angular global object is created. Next, JavaScript which registers controller functions is executed.


AngularJS scans through the HTML to look for AngularJS applications and views. Once view is located, it then connects that view to the corresponding controller function.


Then, AngularJS executes the controller functions. It then renders the views with data from the model populated by the controller. The page is ready.

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 5446
Q:

What is templates in AngularJS?

Answer

Templates are the rendered view with information from the controller and model. These can be a single file like index.html or multiple views in one page using "partials".

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 3018
Q:

What is a data binding in AngularJS?

Answer

Data binding is an automatic synchronization of data between model and view components. ng-model directive is used in Data binding.

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology
Job Role: Software Architect

1 3951
Q:

What is a AngularJS?

Answer

AngularJS is a framework to build the large scale and high performance web application while keeping them as easy-to-maintain. These are the features of AngularJS framework.


AngularJS is a powerful Script based on JavaScript development framework to Implement RICH Internet Application (RIA).


AngularJS is a developers options to write client side application (using JavaScript) in a clean MVC (Model View Controller) side.


Application are written in AngularJS is also cross-browser compliant. AngularJS automatically handles JavaScript code suitable for any browser.


AngularJS is an open source, completely free, and used by large number of developers around the world. It is licensed under the Apache License version 2.0.

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology
Job Role: Software Architect

0 3024
Q:

What is the purpose of Buffer class in Node.js?

Answer

Buffer class could be a global class and may be accessed in application without importing buffer module. A Buffercould be a quite an array of integers and corresponds to a raw memory allocation outside the V8 heap. A Buffer can not be resized.

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology
Job Role: Software Architect

0 3145
Q:

How does Node.js prevents blocking code?

Answer

By providing callback function. Callback function gets called whenever corresponding event triggered.

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology
Job Role: Software Architect

0 4653
Q:

What is a REPL in context of Node.js?

Answer

Read - Reads users input, parse the input into JavaScript data-structure and stores in memory


Eval - Evaluates the data structure


Print - Prints the result


Loop - Loops the above command until user press ctrl-c twice

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology
Job Role: Software Architect

0 2792