Interview Questions

Q:

What is the purpose of canvas in HTML?

Answer

Canvas is an element that is used for the graphics for the web page. It uses JavaScript to bring the graphics functionality live. It allows easy way to draw the graphics and use different types of tools to create drawing on the web page. Canvas is just a rectangular area that controls the pixel of every element that is used in the web page. Canvas uses methods like paths, circles, etc. The canvas element will be used as follows:


<canvas id="can" width="200" height="100"></canvas>


The canvas element includes id, width and height settings and with the javascript it gets used like:


<script type="text/javascript">


var c=document.getElementById("can");


var ctx=c.getContext("2d");


ctx.fillStyle="#FF0000";


ctx.fillRect(0,0,150,75);


</script>

Report Error

View answer Workspace Report Error Discuss

3 2259
Q:

What is Bull Market?

Answer

Bull market is that market where stock value are expected rise and people will have tendency to sell their stock so as to earn profit out of it. Thus sudden push from the suppliers will gradually niutalise the market.


 

Report Error

View answer Workspace Report Error Discuss

Subject: Finance

0 2259
Q:

What procedure you will follow when taking a customer’s call?

Answer

Answer this question around the following steps :


1. Greet customer.


2. Tell your name to the customer.


3. Ask customer how you can be of any assistance to him/her.


4. Listen carefully and patiently to the customers query or requirement.


5. Provide the customer with the best solution or assistance without making him/her wait for long.


6. Inquire if customer is satisfied with the assistance or help provided.


7. Ask the customer if he needs any further assistance.

Report Error

View answer Workspace Report Error Discuss

Subject: Call Center

2 2258
Q:

What are the types of constraints avaialable in oracle?

Answer

Oracle constraints are used to maintain consistent of data and ensure the data is properly maintained. A constraint is more or less a restriction we try to apply on a table.
Types of constraints:
- Check constraints
- NOT NULL constraint
- PRIMARY KEY constraint
- REFERENCES constraint
- UNIQUE constraint

Report Error

View answer Workspace Report Error Discuss

Subject: Oracle

0 2257
Q:

why protected modifier?

Answer

Outside the package if any other class other than JVM calls the finalize method our class then it is not allowed

Report Error

View answer Workspace Report Error Discuss

Subject: Java

0 2256
Q:

What is the difference between a regular bitmap and a nine-patch image?

Answer

In general, a Nine-patch image allows resizing that can be used as background or other image size requirements for the target device. The Nine-patch refers to the way you can resize the image: 4 corners that are unscaled, 4 edges that are scaled in 1 axis, and the middle one that can be scaled into both axes.


 

Report Error

View answer Workspace Report Error Discuss

0 2255
Q:

Define PL/SQL sequences and write syntax for a sequence

Answer

A sequence is a database object that is used to generate sequential number.


CREATE SEQUENCE seqname [increment] [minimum value][maximum value][start][cache][cycle]               Nextval and currval lets us get the next value and current value from the sequence.

Report Error

View answer Workspace Report Error Discuss

Subject: Oracle

0 2255
Q:

Explain how garbage collection deals with circular references?

Answer

The .Net runtime knows about all the references between the objects. It can identify all the circular references that are reachable from the root and hence finalize them to free them all at once if and when needed.

Report Error

View answer Workspace Report Error Discuss

Subject: .NET

0 2252