Interview Questions

Q:

Describe a stressful situation and how you handled it?

Answer

The interviewer wants to know how you will deal in stressful situations by asking this question.


Sample answer:


I react to situations rather than being stressful. I want to make the situations not to be stress for anybody. If a situation seems overwhelming, I mentally break it up into smaller steps and just focus on reaching each one on the way to accomplishing the larger task. Once I had a situation that in the same week i had to submit two projects which is very pressure to me. As i was skilled in multiple tasks, i just break down all the works i have in to smaller assignments and just worked one by one to complete the whole task. By this way i handled my stressful situation and submitted my projects within the due time.


Ofcourse, such situations helps me to stay motivated and productive.

Report Error

View answer Workspace Report Error Discuss

13 6674
Q:

How to read and write a file using javascript?

Answer

Files can be read and written by using java script functions – fopen(),fread() and fwrite().


The function fopen() takes two parameters – 1. Path and 2. Mode (0 for reading and 3 for writing). The fopen() function returns -1, if the file is successfully opened.


Ex: file=fopen(getScriptPath(),0);


 


The function fread() is used for reading the file content.


Ex: str = fread(file,flength(file));


 


The function fwrite() is used to write the contents to the file.


Ex(): file = fopen("c:\MyFile.txt", 3);// opens the file for writing


fwrite(file, str);// str is the content that is to be written into the file.

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 6671
Q:

What is QUIESCE?

Answer

A QUIESCE flushes all DB2 buffers on to the disk. This gives a correct snapshot of the database and should be used before and after any IMAGECOPY to maintain consistency.

Report Error

View answer Workspace Report Error Discuss

0 6648
Q:

Which of these class have only one field 'TYPE' ?

A) Run time B) Process
C) Void D) System
 
Answer & Explanation Answer: C) Void

Explanation:

The Void class has one field, TYPE, which holds a reference to the Class object for the type void.

Report Error

View Answer Report Error Discuss

Filed Under: Java
Job Role: Analyst , IT Trainer

6 6627
Q:

What of the following describes protected access specifier?

A) The variable is visible only outside inside the block B) The variable is visible everywhere
C) The variable is visible to its block and to it’s derived class D) None of these
 
Answer & Explanation Answer: C) The variable is visible to its block and to it’s derived class

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: C++

2 6604
Q:

What are the different phases involves in cloud architecture?

Answer

There are four phases that basically gets involved in the cloud architecture:


1. Launch phase: it launches the basic services and makes the system ready for communication and for application building


2. Monitor phase: it monitors the services that is being launched and then manages them so that on demand the user will be able to get what he wants.


3. Shutdown phase: it shutdown the services that are not required first and after all the services gets shutdown, and then it closes the system services. 


4. Cleanup phase: it clean up the left out processes and services that is being either broken or didn’t get shutdown correctly.

Report Error

View answer Workspace Report Error Discuss

Subject: Cloud Computing

1 6574
Q:

How to define Inter company Transaction in Account Receivable?

Answer

Before answering the above question let us first understand the meaning of Intercompany transactions. Intercompany transactions are those transactions that takes place between two or more entities of the same group of company. So the receivable of one entity would the payable of another entity. All intercompany transactions are eliminated befor preparing the final Balance sheet of the group company.

Report Error

View answer Workspace Report Error Discuss

10 6564
Q:

Which containers use a border Layout as their default layout ?

Answer

The window, Frame and Dialog classes use a border layout as their default layout.

Report Error

View answer Workspace Report Error Discuss

Subject: Java

8 6563