Interview Questions

Q:

What is the IDD in IDMS?

Answer

IDD is the Integrated Data Dictionary. It contains information about the elements, record types, sets, maps and dialogues within the database.

Report Error

View answer Workspace Report Error Discuss

1 5496
Q:

How do we create a DHTML drop-down menu?

Answer

- In order to create a DHTML drop down menu we need JavaScript API. The API (Application Programming Interface) consists of core set of cross-browser JavaScript functions to make DHTML programming easy and quick. This API enables moving and hiding page elements as well as acts as getter and setter of page elements attributes.


- Second we define on image object and off image object and string containing the URL of the "off" version.


- Then we create the menu items, label items and sub-menu items. If we wish we can use images also.


- Then we need to define our own global variables that will be used by the menu. Using global goes against oops design but makes sharing data easier.


- Create the menubar object, adding the menu labels and writing menubars.


- Create menu object, adding menu items and writing menus.


- Hiding and displaying the menus and attaching stylesheet.

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

5 5476
Q:

How to identify a given positive decimal number as even/odd without using % or / operator ?

Answer

You may be very good at coding,but if you questioning how on earth you could solve this problem.Then here is a solution. If you remember the good old days of our primary school then the solution is easy,"division is a matter of iterative subtraction".


public class TestEvenOdd {
public static void main(String arg[ ]){
int num=6;
int result=num;
while(result>=2){
result=result-2;
}
if(result==1){
System.out.println("The number is odd");
}else{
System.out.print("The number is even");
}
}
}

Report Error

View answer Workspace Report Error Discuss

Subject: Java

3 5462
Q:

How we get IP address of client,previous reference page etc?

Answer

By using $_SERVER['REMOTE_ADDR'], $_['HTTP_REFERER'] etc.

Report Error

View answer Workspace Report Error Discuss

Subject: PHP

0 5451
Q:

What is the purpose of cluster analysis in Data Warehousing?

Answer

Cluster analysis is used to define the object without giving the class label. It analyzes all the data that is present in the data warehouse and compare the cluster with the cluster that is already running. It performs the task of assigning some set of objects into the groups are also known as clusters. It is used to perform the data mining job using the technique like statistical data analysis. It includes all the information and knowledge around many fields like machine learning, pattern recognition, image analysis and bio-informatics. Cluster analysis performs the iterative process of knowledge discovery and includes trials and failures. It is used with the pre-processing and other parameters as a result to achieve the properties that are desired to be used.

Report Error

View answer Workspace Report Error Discuss

2 5442
Q:

How do you generate Sequence number in Datastage?

Answer

Sequence numbers can be generated in Datastage using certain routines. They are


-KeyMgtGetNextVal


-KeyMgtGetNextValConn

Report Error

View answer Workspace Report Error Discuss

1 5440
Q:

What items are important in every Android project?

Answer

 These are the essential items that are present each time an Android project is created:


- AndroidManifest.xml


- build.xml


- bin/


- src/


- res/


- assets/

Report Error

View answer Workspace Report Error Discuss

7 5436
Q:

Which of the following type casts will convert an Integer variable named amount to a Double type ?

A) (int to double) amount B) int (amount) to double
C) int to double(amount) D) (double) amount
 
Answer & Explanation Answer: D) (double) amount

Explanation:
Report Error

View Answer Report Error Discuss

6 5418