Monday, 11 June 2012

data mining interview questions


Define Genetic algorithm?
Why A-Priori Helps?
Define Association Rule Mining?
What is Time Series Analysis?
 Explain how data mining is used in health care analysis?
 Explain apriori algorithm?
 Explain constraint-based association mining?
How many classes are there in data mining?
Explain the storage models of OLAP?
 Explain data mining applications for Telecommunication industry?
Differentiate between Data Mining and Data warehousing?
What are the different problems that “Data mining” can solve?
What is an index?
 What are the advantages data mining over traditional approaches?
 Expalin the three-tier data warehouse architecture?
 Explain how to use DMX-the data mining query language?
Explain how to work with the data mining algorithms included in SQL Server data mining?
Describe challenges to data mining regarding data mining methodology and user interaction issues?
How does the data mining and data warehousing work together?
Association Rules and Frequent Itemsets Mining?
Define Clustered and Non-Clustered Index?
What is Naive Bayes Algorithm?
 Define constraint-Based Association Mining?
 How the A-Priori Algorithm works?
 What is Spatial data mining?
 Explain how data mining is used in banking industry?
What Caused this Complexity?
 What is built-in function? Explain its type i.e. Rowset, Aggregate and scalar?
 What is Data purging?
 Explain indexing?
What is Na? Bayes Algorithm?
What are white Papers and Other Publications looking at data mining?
Determine when an index is appropriate?

Friday, 8 June 2012

Differences Between Web Services and WCF in ASP.NET


WCF is a programming model and API.WCF is a replacement for all earlier web service technologies from Microsoft. It also does a lot more than what is traditionally considered as "web services".

WCF "web services" is a  part of a much broader spectrum of remote communication enabled through WCF. You can build a Web service using WCF, but you can also build a Web service using other APIs or "stacks".You will get a much higher degree of flexibility and portability doing things in WCF than through traditional ASMX because WCF is designed, from the ground up, to summarize all of the different distributed programming infrastructures offered by Microsoft. An endpoint in WCF can be communicated with just as easily over SOAP/XML as it can over TCP/binary and to change this medium is simply a configuration file mod. In theory, this reduces the amount of new code needed when porting or changing business needs, targets, etc.

ASMX is older than WCF, and anything ASMX can do so can WCF (and more). Basically you can see WCF as trying to logically group together all the different ways of getting two apps to communicate in the world of Microsoft; ASMX was just one of these many ways and so is now grouped under the WCF umbrella of capabilities.

Web Services can be accessed only over HTTP & it works in stateless environment, where WCF is flexible because its services can be hosted in different types of applications. Common scenarios for hosting WCF services are IIS,WAS, Self-hosting, Managed Windows Service.

The major difference is that Web Services Use XmlSerializer. But WCF Uses DataContractSerializer which is better in Performance as compared to XmlSerializer.

1.Hosting:
Web Service: webservice can host in IIS AND OUTSIDE OF IIS also.
Wcf: Wcf service can host in self hosting,IIS,WAS&Managed Windows Services.

2.File Format:
Web Service:  Webservice file extension is .asmx
Wcf :    WCF service file extension is .svc

3. Data Transformation:
Web Service: XML serializer
Wcf : Data contract serializer

4.Binding Or Transport Protocols:
Web Service: Http,Tcp,Custom
Wcf : Http,WS-Http,Tcp,Custom,Msmq,Point To Point





Java Interview Questions


Why we can not override static method?
What is static in java?
How can we write our own arraylist without using collections?
What is the purpose of garbage collection in Java, and when is it used?
Difference between Swing and Awt?
Which class is extended by all other classes?
How will you perform transaction using JDBC
What is the default size of vector and StringBuffer?
What if the main method is declared as private?
What is meant by Object Oriented Programming?
Can we serialize the static variable?
What is meant by Polymorphism?
What is an Iterator?
Meaning - Abstract classes, abstract methods?
Explain Garbage collection mechanism in Java?
What does it mean that a class or member is final?
What is the difference between interface and abstract class ?
Given A = 1, B = 2, C = 3, D = 4 ?? Z = 26, write a java standalone program to encode the word ?TELEPHONE? into numbers.
What is Weak reference and Soft reference in java?
What is the difference between length and length() ?
What are the main differences between Java and C++?
What is internationalisation? How can you achieve in java?
What does the "abstract" keyword mean in front of a method? A class?
What is the difference between instanceof and isInstance?
Is java a fully object oriented programming or not? if not why?
Which Java operator is right associative?
Addition of two numbers using Bitwise operators. Reading An 2D array using single for loop?

Wednesday, 6 June 2012

Oracle Interview Questions

What is one full life cycle implementation?
What Credit memo / Debit Memo?
What is the command to change the SQL prompt name?
What's the command to see the current user name?
After which stage can not cancel the order
What is a FlexField ? What are Descriptive and Key Flexfields ?
What are context sensitive segments?
What are _ALL tables in Oracle Apps?
Which table stores receipts information?
Explain implicit cursor attributes?
What is the difference between data conversion and data migration?
How do you display the records within a given range?
What is the difference between Organization_id and Org_id ?
What is balancing segment?
What is the difference between Organization_id and Org_id ?
What is invoicing rule?
what is profile options? what are the types of profile options in AR / AP ?
What is profile options? what are the types of profile options in AR / AP ?
How to attach reports in Oracle Applications ?
How will you display message for testing the form you modified?
What is cost center segment?
What are forms customization steps ? 
Invoice Accounting - TDS entry not generated in service bills?
 What are Schema Objects?
 What is Full Backup ?
 What are the type of Synonyms?
 What are the different type of Segments ?


Friday, 1 June 2012

Abinitio Interview Questions FAQS In 2012


             
How will you create a multifile in unix?
  How will you test a dbc file from command prompt ??
How to run the graph without GDE?
  What is m_dump?
        How to create repository in abinitio for stand alone system(LOCAL NT)?
  How to handle if DML changes dynamically in abinitio
Using m_dump command how will you see the data without knowing the dml
  What does layout means in terms of Ab Initio
  What are the different versions and releases of ABinitio (GDE and Co-op version)
Can anyone please explain the environment variables with example?
        What is the function you would use to transfer a string into a decimal?
  How do you connect EME to Abinitio Server?
  Difference between conventional loading and direct loading ? when it is used in real time?
  What is meant by fancing in abinitio ?
  How to Create Surrogate Key using Ab Initio?
  what is difference between file and table in abinitio
  What is the difference between a DB config and a CFG file?
  What does dependency analysis mean in Ab Initio?
  How to get DML using Utilities in UNIX?
  What is the difference between rollup and scan?
What is the difference between a Scan component and a RollUp component?
Why might you create a stored procedure with the 'with recompile' option?
What do you mean by .profile in Abinitio and what does it contains?
How many parallelisms are in Abinitio? Please give a definition of each?
        What is data mapping and data modelling?
  How will you test a dbc file from command prompt ??  
  What is AB_LOCAL expression where do you use it in ab-initio?
 What is the use of aggregation when we have rollup as we know rollup component in abinitio is used to           summirize group of data record. then where we will use aggregation ?
What is the difference between sandbox and EME, can we perform checkin and checkout through sandbox/ Can anybody explain checkin and checkout?
How to Schedule Graphs in AbInitio, like workflow Schedule in Informatica? And where we must is Unix shell scripting in AbInitio?

php function to calculate age from date of birth


This  simple function will calculate  age from a date of birth

<?php

function get_age($birth_date){
 return floor((time() - strtotime($birth_date))/31556926);
 }

echo " I am ".get_age("2000-05-10") ." years old";

?>

Output:I am 12 years old.

How TO Remove the Contents of a Div using JQuery


This  will show how to write a text/content into a div using  jquery and also it will show how to remove text/content.

<html>
 <head>
 <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js" type="text/javascript"></script>
 <script>
 $(document).ready(function() {
 $("#click_me").click(function() {
 $("#write_me").html("Hello..Here I am  using jquery");
 });

$("#clear_me").click(function() {
 $("#write_me").empty();
 });

});
 </script>
 </head>
 <body>
 <div id="write_me"></div>
 <input type="button" id="click_me" name="click_me" value="Write into the div">
 <input type="button" id="clear_me" name="clear_me" value="Clear Me">
 </body>

</html>