Interview Questions

Q:

What are the different objects used in JavaScripts?

Answer

JavaScripts uses a hierarchical structure that applies to the objects in a document. There are some objects that show the relationship of one object to another using the language.

Window object: This is the topmost object in the hierarchy. It represent the content area of browser window that consists of HTML documents. Each frame is also a window that has some actions inside it.


Document object: This object gets loaded in a window and consists of objects of different kind in the model. It consists of the content that will be written in the script.

Form object: Form objects are used for more interaction with the users. It represents the form elements inside <FORM>...</FORM> tag.

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 1729
Q:

In a class if private data member is declared then how to set data to that private data member?

Answer

By using method.


The method used to set the data is called setter method.

Report Error

View answer Workspace Report Error Discuss

Subject: Java

0 1728
Q:

What is the use of FOR XML in SQL Server?

Answer

SQL Server is having a fantastic feature to retrieve data persisted in the form of XML format. The data in the XML format can be retrieved using FOR XML clause appending to the SELECT statement.


It offers 3 modes.


- “FOR XML AUTO": Returns XML elements that are nested, based on which tables are listed in the "from" part of the query, and which fields are listed in the "select" part.


- "FOR XML RAW": Returns XML elements with the "row" prefix (ex: ""). Each column in a table is represented as an attribute and null column values aren't included.


- "FOR XML EXPLICIT": Explicit mode is the most complex shaping method used in SQL Server 2000. It allows users to query a data source in such a way that the names and values of the returned XML are specified before the query batch is executed. 

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 1728
Q:

The relationship between quantity supplied and price is

A) Directly proportional B) Inverselyproportional
C) Can't be determined D) None of the above
 
Answer & Explanation Answer: A) Directly proportional

Explanation:

Price and quantity supplied move in the same direction. As the price decreases, quantity supplied also decreases and viceversa.

Report Error

View Answer Report Error Discuss

Filed Under: Marketing and Sales
Exam Prep: AIEEE , Bank Exams , CAT
Job Role: Analyst , Bank Clerk , Bank PO

0 1727
Q:

The interest-rate effect suggests that

A) an increase in the price level will increase the demand for money, increase interest rates, and decrease consumption and investment spending. B) a decrease in the supply of money will increase interest rates and reduce interest-sensitive consumption and investment spending
C) an increase in the price level will decrease the demand for money, reduce interest rates, and increase consumption and investment spending. D) an increase in the price level will increase the demand for money, reduce interest rates, and decrease consumption and investment spending.
 
Answer & Explanation Answer: A) an increase in the price level will increase the demand for money, increase interest rates, and decrease consumption and investment spending.

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Bank Interview
Exam Prep: AIEEE , Bank Exams , CAT
Job Role: Analyst , Bank Clerk , Bank PO

0 1726
Q:

What are the built-ins used for finding Object ID function?

Answer

FIND_GROUP(function) FIND_COLUMN(function)

Report Error

View answer Workspace Report Error Discuss

0 1725
Q:

What is the primary reason to issue stock?

Answer

 The primary reason to issue stock is to raise money to start and maintain an ongoing business.


Other Reasons::


The reasons that a company might want to raise money by issuing stock are:


 



  • To develop new products


 



  • To buy more advanced equipment


 



  • To pay for new buildings and inventories


 



  • To hire more employees


 



  • To provide for a merger or acquisition


 



  • To decrease debt


 



  • To give company owners greater flexibility


 



  • To place a value on the company.

Report Error

View answer Workspace Report Error Discuss

Subject: Finance Exam Prep: AIEEE , Bank Exams , CAT
Job Role: Analyst , Bank Clerk , Bank PO

0 1724
Q:

What is JAR file? what are the main uses of JAR files?

Answer

JAR files are java's version of ZIP files. In fact, JAR uses the ZIP file format.


uses:


- to compress a number of . class files into one file


- to make a java executable JAR file.

Report Error

View answer Workspace Report Error Discuss

Subject: Java

0 1724