I am developing a web application using google map api.I
want to update the map inside the div control within update
panel. I got other controls updated but map doesn't get
updated.I do not not want to update map whenever unnecessary
controls are fired at server side.How could it be achieved?
Given a table of the form:
Product Sold on
There are 30 products and 10,000 records of such type. Also
the month period during which sales happened is given to u.
Write the program to display the result as:
Product Month No. of copies
A January 12
A February 15
A March 27
B January 54
B February 15
B March 10
C January 37
Definition of priority queue was given. We have to implement
the priority queue using array of pointers with the
priorities given in the range 1..n.
The array could be accessed using the variable top. The list
corresponding to the array elements contains the items
having the priority as the array index.
Adding an item would require changing the value of top if it
has higher priority than top.
Extracting an item would require deleting the first element
from the corresponding queue.
The following class was given:
void put(int item, int priority); // inserts the item with
the given priority.
int get(int priority); // extract the element with the
int count(); // returns the total elements in the priority
int isEmpty(); // check whether the priority queue is empty
We had to implement all these class functions.
An array of size 5X5 is given to us. The elements from 1 to
25 are to be inserted in the array, such that starting from
a particular position for an element i, the next element
i+1can be inserted only at the mentioned positions (u,v),
and if these all positions are occupied then it returns
giving a count of how many positions have been occupied in
(u,v) = (x+/-3 , y)
(u,v) = (x , y+/-3)
(u,v) = (x+/-2 , y+/-2).
Example: if the starting element is 1 with the given
positions (1,2), then next element 2 can be placed at any
one of the positions marked with *.
_ _ _ _ _
1 _ _ _ *
_ _ _ _ _
_ _ * _ _
* _ _ _ _
You are given any character string. Find the number of sets
of vowels that come in the order of aeiou in the given
string. For eg., let the given string be DIPLOMATIC. The
answer returned must be "The number of sets is 2" and "The
sets are "IO and AI". Vowels that form a singleton set must
be neglected. Try to post the program executable in gcc or
g++ or in java.
How to write QTP script to exit from loop? suppose I am
using parametize functionality and in data table there is 3
password corresponding 3 username and second pasword is
wrong. Now I want to exit after completion of second
iteration and continue with third iteration.
1.What happens to a session object when the browser
associated with it is closed?
2. Explain what happens when a servlet is sent a POST
3. Why does only one copy of a servlet get created?
4. Explain what happens when a browser requests a servlet?
(for the first time)
5.How is information stored in a session object?
A suduco given & u hv 2 check if it is incomplete(blanks
left),or correct or incorrect