Interface Java Interview Questions – Set 10

Performance of Set interface implementations HashSet The HashSet class offers constant-time [ Big O Notation is O(1) ] performance for the basic operations (add, remove, contains and size), assuming the hash function disperses the elements properly among the buckets. Iterating over this set requires time proportional to the sum of the HashSet instance’s size (the … Read more

MySQL Interview Questions – Set 10

How to change the table name in MySQL? Sometimes our table name is non-meaningful. In that case, we need to change or rename the table name. MySQL provides the following syntax to rename one or more tables in the current database: mysql> RENAME old_table TO new_table; If we want to change more than one table name, use … Read more

Machine Learning Interview Questions – Set 10

What is Kernel Trick in an SVM Algorithm? Kernel Trick is a mathematical function which when applied on data points, can find the region of classification between two different classes. Based on the choice of function, be it linear or radial, which purely depends upon the distribution of data, one can build a classifier. What … Read more

Multi Threading Java Interview Questions – Set 10

Explain different ways of creating a thread Threads can be used by either: Extending the Thread class. Implementing the Runnable interface. Using the Executor framework (this creates a thread pool) By extends: class Counter extends Thread { //method where the thread execution will start public void run(){ //logic to execute in a thread } //let’s see how to start the … Read more

Core Java Interview Questions – Set 10

What methods are used to get and set the text label displayed by a Button object? getLabel() and setLabel(). What is the difference between choice and list? ?– A Choice is displayed in a compact form that requires you to pull it down to see the list of available choices and only one item may be selected … Read more

Data Analytics Interview Questions – Set 09

Mention what are the key skills required for Data Analyst? A data scientist must have the following skills Database knowledge Database management Data blending Querying Data manipulation Predictive Analytics Basic descriptive statistics Predictive modeling Advanced analytics Big Data Knowledge Big data analytics Unstructured data analysis Machine learning Presentation skill Data visualization Insight presentation Report design … Read more

JSP Java Interview Questions – Set 09

What types of comments are available in the JSP? There are two types of comments that are allowed in the JSP. They are hidden and output comments. A hidden comment does not appear in the generated HTML output, while output comments appear in the generated output. Example of hidden comment: < % – – This … Read more

Project Management Interview Questions – Set 09

What, according to you, is an important skill for a project manager to succeed? Well, if you are a project manager you might already be thinking that there can’t be one skill that is enough to be successful. And, you are right. Your answer could be leadership skills, communication skills, or time management skills. What … Read more

Servlet Java Interview Questions – Set 09

In the Servlet 2.4 specification SingleThreadModel has been deprecated, why Because it is not practical to have such model. Whether you set isThreadSafe to true or false, you should take care of concurrent client requests to the JSP page by synchronizing access to any shared objects defined at the page level. Can you give some … Read more

Artificial Intelligence Interview Questions – Set 09

Give an explanation on the difference between strong AI and weak AI? Strong AI makes strong claims that computers can be made to think on a level equal to humans while weak AI simply predicts that some features that are resembling to human intelligence can be incorporated to computer to make it more useful tools. … Read more