Interview Questions

Q:

How would you automatically transfer your visitors to a new web page?

Answer

- You can do it with the help of meta tag mentioned below: 


<META HTTP-EQUIV="Refresh" CONTENT="2"; URL="https://www.yoursite.com"> 


- Place this tag between <HEAD></HEAD> . 


- It will load yousite.com in 2 seconds.

Report Error

View answer Workspace Report Error Discuss

0 1851
Q:

What are Cursors? Explain Types of cursors in PL/SQL

Answer

Cursors help you manipulate the information retrieved by select statements. This can be done by assigning a name to the cursor.


Example:


CURSOR emp_cur 


IS 


SELECT emp_number from employee_tbl where employee_name = name_in;


Types of Cursors:


Implicit cursors- These cursors are not declared by the programmer. They are issued when the SQL statement is executed. The open, close and fetching is done by itself.


Example:


UPDATE employee SET salary = salary * 2.1;


Here, an implicit cursor is issued to identify the set of rows in the table which would be affected by the update.


 


Explicit cursors- These cursors are defined by programmer. They are used in queries that return multiple rows.


Example:


CURSOR emp_cur 


IS 


SELECT emp_number from employee_tbl where employee_name = name_in;

Report Error

View answer Workspace Report Error Discuss

Subject: Oracle

1 1851
Q:

What is the purpose of pseudo-elements?

Answer

Pseudo elements allow the use of the part of element and not the element itself. They are applied to block level element, which is used for the complete block for which the CSS is being written. This allow the subpart of an element to be styled like paragraphs and headings. For example:


selector:pseudo-element {property:value;}


p: first-line {text-transform: lowercase;}


It adds the style to the first line of the code in the paragraph.

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 1851
Q:

How does a try statement determine which catch clause should be used to handle an exception?

Answer

When an exception is thrown , the catch block of the try statement are examined in the order in which they appear. The first catch block that is capable of handling the exception is executed. The remaining catch blocks are ignored

Report Error

View answer Workspace Report Error Discuss

Subject: Java

0 1848
Q:

Which of the following statements about market segmentation is true?

A) It is a process of identifying and profiling distinct groups of buyers who differ in their needs and wants. B) It is a process of creating an image or identity of the product in the minds of the target market.
C) It is a process of evaluating each segment's attractiveness and selecting one or more to enter. D) It involves changing the identity of a product, relative to the identity of competing products, in the collective minds of the target market.
 
Answer & Explanation Answer: A) It is a process of identifying and profiling distinct groups of buyers who differ in their needs and wants.

Explanation:
Report Error

View Answer Report Error Discuss

Filed Under: Accounts Receivable
Exam Prep: AIEEE , Bank Exams , CAT
Job Role: Analyst , Bank Clerk , Bank PO

1 1847
Q:

What is the difference between creating a thread by extending Thread class and by implementing Runnable interface? Which one should prefer?

Answer

When creating a thread by extending the Thread class, it is not mandatory to override the run method (If we are not overriding the run method , it is useless), because Thread class have already given a default implementation for run method. But if we are implementing Runnable , it is mandatory to override the run method. The preferred way to create a thread is by implementing Runnable interface, because it give loose coupling.

Report Error

View answer Workspace Report Error Discuss

Subject: Java

0 1847
Q:

What is a Web Worker?

Answer

- A web worker is a JavaScript which runs in the background. It exists in external files. 


 - It is independent of other scripts and does not affect the performance of the page. 


 - Web workers are usually used for CPU intensive tasks.

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 1846
Q:

What would be the most important service skill that you would need to have in your day to day business?

Answer



1.Patience:If you deal with clients on a daily basis, be certain to stay patient when they come to you confused and frustrated, but also be clear to take the time to truly find out what they need — they'd rather get good service than be rushed out the door!


2. Attentiveness: The capacity to surely listen to customers is so crucial for presenting extremely good service for a number of reasons.


3.Communication Skills: When it comes to crucial points that you want to relay clearly to customers, keep it easy and leave not anything to doubt.


4.Knowledge of the Product: Not knowing your product from front-to-back, you might not know how to solve customer issues when they run into problems.


5.Willingness to Learn: Those who don't show to enhance skills what they do, whether it's helping customers, marketing businesses, or building products, will get left behind by the people willing to put money into their skills.


6.Ability to Use "Positive Language":


    Without positive language: "I cannot get you that product until next month; it is back-ordered and unavailable presently."


    With positive language: "That brand will be available coming month. I can place the order for you immediately and make sure that it is posted to you as soon as it reaches our war


 


 

Report Error

View answer Workspace Report Error Discuss

0 1845