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 3139
Q:

Which online security campaign has been launched by Google India to safeguard internet users?

A) #SecurityCheckKiya B) #InternetSafetyKiya
C) #OnlineSecurityKiya D) #SecureInternetKiya
 
Answer & Explanation Answer: A) #SecurityCheckKiya

Explanation:

Google has launched new online security campaign #SecurityCheckKiya in India to promote security awareness among general public. The purpose of the campaign is to protect young and first-time web users from account hijacking, safeguard Android devices from malicious apps and secure all their personal data if they lose their device.

Report Error

View Answer Report Error Discuss

2 3119
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 3094
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 2984
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 2971
Q:

Which among the following validators validates controls if controls contain data?

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

Explanation:

RequiredFieldValidator is used to validate the controls if they contain data

Report Error

View Answer Report Error Discuss

Filed Under: .NET
Job Role: Software Architect

0 2965
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 2963
Q:

onclick="window.open()":This attribute of HTML control is used to open a page in new window

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

Explanation:

To open a page in a new window, you have to use client script using onclick="window.open()" attribute of HTML control.

Report Error

View Answer Workspace Report Error Discuss

Subject: .NET
Job Role: Software Architect

0 2944