| Other Programming Languages AllOther Interview Questions |
| |
| Question | Asked @ | Answers |
| |
| There is a table which contains all the employee details,
unfortunately there is mistake occured while entering the
data.
ex:
-------------------------------
empid empname gender address
-------------------------------
1 abcd f address1
2 defg m address2
3 ghth m address3
4 jkil f address4
write a update query that will change gender 'm' to 'f'
and 'f' to 'm' | | 2 |
| preorder of A*(B+C)/D-G | BFL | 3 |
| why Java is not purely object oriented? | Persistent | 7 |
| This is a puzzle question ....
The warden meets with 23 new prisoners when they arrive. He
tells them, "You may meet today and plan a strategy. But
after today, you will be in isolated cells and will have no
communication with one another.
"In the prison is a switch room, which contains two light
switches labeled A and B, each of which can be in either the
'on' or the 'off' position. I am not telling you their
present positions. The switches are not connected to anything.
"After today, from time to time whenever I feel so inclined,
I will select one prisoner at random and escort him to the
switch room. This prisoner will select one of the two
switches and reverse its position. He must move one, but
only one of the switches. He can't move both but he can't
move none either. Then he'll be led back to his cell.
"No one else will enter the switch room until I lead the
next prisoner there, and he'll be instructed to do the same
thing. I'm going to choose prisoners at random. I may choose
the same guy three times in a row, or I may jump around and
come back.
"But, given enough time, everyone will eventually visit the
switch room as many times as everyone else. At any time
anyone of you may declare to me, 'We have all visited the
switch room.' and be 100% sure.
"If it is true, then you will all be set free. If it is
false, and somebody has not yet visited the switch room, you
will be fed to the alligators."
What is the strategy they come up with so that they can be free?
| | 2 |
| Describe the difference between Interface-oriented,
Object-oriented and Aspect-oriented programming | | 1 |
| how to invoke the macro in another macro? | Accenture | 1 |
| what is the difference between a namespace and assembly ? | Innominds | 1 |
| what is lazy loading in hibernate?Explain in detailed manner? | | 1 |
| Given a arbitrary pointer to an element in a singly linked
list?what is the time complexity for its deletion .
| Hughes | 1 |
| Write a shell program. Enter basic pay of an employee and
calculate DA, HRA, Deduction, Gross pay and Net pay as follows:
DA = 75 % of BASIC
HRA = 10 % of BASIC
DEDUCTION = 15 % of BASIC
GROSS PAY = BASIC+DA+HRA
NET PAY = GROSS PAY-DEDUCTION.
| | 1 |
| What is meant by spooling | Qiscet | 1 |
| how to run servlets in eclipse 3.3.2....if we choose
file->new->servlet then after that it is showing
javax.servlet.* ...cannot be resolved.......to avoid this
error any external jar file is to be added?
please help me regarding this issue........thank u | IBM | 2 |
| what is delegats ? | | 2 |
| what is mutex? | SQL-Star | 1 |
| Fortran cannot have value by reference True or False? | Geometric-Software | 2 |
| I was try to insert 120000 records into the orcle table
using the stroed proceeder. But it was stop the 9999. What
can I do insert all the records. | | 1 |
| given a height balanced tree. If we add one more node , how
many nodes gets unbalanced ?
| Hughes | 2 |
| what is difference between VB5 AND VB6.0 | Satyam | 2 |
| What function would you use to extract characters from a
given string?
| | 1 |
| what do you man by firmware | | 3 |
| |
| For more Programming Languages AllOther Interview Questions Click Here |