Software Architect Questions


Q:

What is factory method in AngularJS ?

A) It generates the facts and figures B) It is used to create the service
C) It is used to calculate the factorial of a number D) All the above
 
Answer & Explanation Answer: B) It is used to create the service

Explanation:

In general, Services are Javscript functions and are responsible to do a specific tasks. Factories implements module pattern in which we use a factory method to generate an object which is use for building models.

It's syntax is
module.factory('factoryName', function);

Report Error

View Answer Report Error Discuss

Filed Under: Web Technology
Job Role: Analyst , Software Architect

1 3223
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 3220
Q:

Which among the following validators allows checking if data of one control match with other control?

A) RangeValidator B) CompareValidator
C) RequiredFieldValidator D) None
 
Answer & Explanation Answer: B) CompareValidator

Explanation:

CompareValidator  allows checking if data of one control match with other control

Report Error

View Answer Report Error Discuss

Filed Under: .NET
Job Role: Software Architect

1 3114
Q:

Autocorrect was originally designed to replace

A) Misspelled words B) Grammatically incorrect
C) Repetitive words D) All of the above
 
Answer & Explanation Answer: A) Misspelled words

Explanation:

autocorrect_was_originally_designed_to_replace1561613833.jpg image

 

Autocorrect was originally designed to replace Misspelled words. Its purpose is as part of the spell checker to correct common spelling or typing errors, saving time for the user. It is commonly found in word processors and text editing interfaces for smartphones, computers, etc.

Report Error

View Answer Report Error Discuss

11 3077
Q:

HTML documents are saved in

A) Machine language codes B) ASCII text
C) Special binary format D) None of the above
 
Answer & Explanation Answer: B) ASCII text

Explanation:

Word and WordPad can save documents as ASCII text and HTML, but this approach can lead to problems. NotePad should launch with a new document open.

From the File pull-down menu, Select "Save As," save the file to the Desktop, and name the file using the ".html" extension (e.g., "home.html").

Report Error

View Answer Report Error Discuss

0 3045
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 3027
Q:

Application_Start: This event occurs when the first user visits a page of the application.

A) TRUE B) FALSE
Answer & Explanation Answer: A) TRUE

Explanation:

whenever user visits a page application Application_start event occurs

Report Error

View Answer Workspace Report Error Discuss

Subject: .NET
Job Role: Software Architect

0 3009
Q:

The difference between two numbers is 3355. When the larger number is divided by the smaller one, the quotient is 6 and the remainder is 15. The smaller number and larger number respectively ?

A) 546, 3901 B) 415, 3770
C) 668, 4023 D) 404, 3759
 
Answer & Explanation Answer: C) 668, 4023

Explanation:

Let the smaller number be k.
Then, larger number = (3355 + k)
Therefore 3355 + k = (6k + 15)
‹=› 5k = 3340
‹=› k = 668.

Therefore, the smaller number k = 668 and now the larger number = 3355+668 = 4023.

Report Error

View Answer Report Error Discuss

4 2999