Interview Questions

Q:

How to determine the state of a checkbox using Javascript?

Answer

var checkedP = window.document.getElementById("myCheckBox").checked;

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 1425
Q:

Write a program to fix the error being produced by the Infinite file?

Answer

- The infinite file error can be solved when the data will be read continuously from the file. 


- The error can be solved by using the keys that provide only the resources that are required. 


- The following program is as follows:


osw.write ("HTTP/1.0 200 OK\n\n"); 


while (c != -1) { 


sb.append((char)c); 


c = fr.read(); 



osw.write (sb.toString()); 


- This converts the requested file in such a way that if the file exists it shows the messages as ok otherwise it shows an error.


- Limited file access is to be given to the file to remove the error from the infinite file type.

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 1423
Q:

What is the difference between method overriding and overloading?

Answer

Overriding is a method with the same name and arguments as in a parent, whereas overloading is the same method name but different arguments

Report Error

View answer Workspace Report Error Discuss

Subject: Java

0 1423
Q:

Transfer payments are included in

A) Government subsidies B) GDP
C) Both A & B D) None of the above
 
Answer & Explanation Answer: A) Government subsidies

Explanation:

Transfer payments are included in GDP and not in GDP.

Report Error

View Answer Report Error Discuss

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

1 1421
Q:

Classify and explain the functions performed by trade unions.

Answer

The functions performed by trade unions can be classified into two groups: 


i.) Militant Functions


ii.) Fraternal Functions


 


Militant functions :


These activities include strike, lock outs, gherao etc which means putting up a fight with the management. Hence, they are called militant functions. They are carried out for following purposes: 


a.) Rise in wages


b.) Rise in the status of workers


c.) Protection against injustice


 


Fraternal functions :


These functions are carried out by the trade unions for the welfare of their employees which includes: 


a.) Measures to boost up the workers’ morale


b.) Foster self confidence


c.) Develop sincerity and discipline


d.) Protection to women workers against discrimination

Report Error

View answer Workspace Report Error Discuss

Subject: Law

1 1421
Q:

How do you load data from XML file to a ORACLE table?

Answer

You need to first create a table in oracle that matches with the fields of the XML data.


So to get the XMl into the table, you can create a generic procedure that moves an XML document into a table by converting the elements to Oracle Canonical format.


Oracle Canonical format is as follows:


<ROWSET>


   <ROW>  


     <column_name_1 />


     .


     .


     </ROW>


     <ROW>


         <column_name_1 />


         .


         .


      </ROW> 


        .


        .


</ROWSET>        


ROW is used for the table names


ROWSET is used for the XML document


You can get the XML into the canonical form using XSL:


<?xml version="1.0"?>


<xsl:stylesheet 


             xmlns:xsl="https://www.w3.org/1999/XSL/Transform"                   


             version="1.0">


     <xsl:template match="/">


          <ROWSET>


               <ROW>


                         <Attribute_name>                      


                             <xsl:value-of select="Table_name/Attribute_name" />


                         </Attribute_name>


                < /ROW>


          </ROWSET>


     </xsl:template>


</xsl:stylesheet>


To transform the XML document into the canonical form, you can write a procedure. Make sure you include the line below in your procedure code:


v_rows := DBMS_XMLStore.insertXML(


                v_context,    


                XMLType.transform(p_xml_in, p_xsl_in));


The only remaining step is calling your procedure: 


DECLARE


   v_xml XMLType := XMLType( YOUR XML Document );


   v_xsl XMLType := XMLType( YOUR XSL Document );


BEGIN 


   procedure_name(v_xml, v_xsl, 'table_name');


END;

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 1421
Q:

.What are the different types of environments available in the web?

Answer

Intranet  (local Network)


Internet  (wide area Network)


Extranet (Private network over internet)

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 1421
Q:

What are the security measures that are taken to make Android secure?

Answer

Android uses many security measures to keep them away from the hackers. They have designed by making changes to the devices or installing a software service on the mobile. Android application uses sandbox that is very popular and allow limited access to the information that is very private and sensitive for the user. It allows the permissions to be set for the use of the information. The security measures that are provided by android is the use of the encryption of the messages that allow user to remain without worry about there phone security. They also consists of user terms and agreements that also taken care of. Most of the time android doesn't allow other applications to run on their system but it can be done by using different resources that are available on-line. As, android is open source it is not fully secure but lots of security issues are being solved for make it more popular and bug free.

Report Error

View answer Workspace Report Error Discuss

0 1420