Skip to Content, PHP, MySQL, Javascript, Ajax, Htacces

Microsoft Placement paper For Freshers

Be First!

micrososftRiddles and puzzles

1.You have a bucket of jelly beans. Some are red, some are blue, and some green. With your eyes closed, pick out 2 of a like color. How many do you have to grab to be sure you have 2 of the same?

2.You’ve got someone working for you for seven days and a gold bar to pay them. The gold bar is segmented into seven connected pieces. You must give them a piece of gold at the end of every day. If you are only allowed to make two breaks in the gold bar, how do you pay your worker?

Every man in a village of 100 married couples has cheated on his wife. Every wife in the village instantly knows when a man other than her husband has cheated, but does not know when her own husband has. The village has a law that does not allow for adultery. Any wife who can prove that her husband is unfaithful must kill him that very day. The women of the village would never disobey this law. One day, the queen of the village visits and annoces that at least one husband has benn unfaithful. What happens?
everyone dies (not sure)

3.Which number replaces the question mark?

A.  R
B. Q
C.  M
D. W

4.Where should the minute hand be put on the bottom clock?

A. Hand pointing to 4                         C. Hand pointing to 5

B. hand pointing to 7                          D. Hand pointing to 12

5.Which letter replaces the question mark?

A.O                                         C. S

B.P                                          D.L


1.An Enterprise Resource Planning application is an example of a(n) ________ .

A. single-user database application
B. multiuser database application
C. e-commerce database application
D. data mining database application

2.Which type of entity represents a logical generalization whose actual occurrence is represented by a second, associated entity?
A. Supertype entity
B. Subtype entity
C. Archetype entity
D. Instance entity

3.What is an advantage of placing computations in SQL views?
A. To save users from having to write an expression.
B. To ensure that the results are consistent.
C. To accomplish both of the above.
D. None of the above is correct – computations cannot be placed in a view.

4.The XSLT processor copies the elements of the stylesheet until it finds a command in the format:
B. {item, action}.
C. {for-each select}.
D. <HTML>…<\HTML>.

5.How can we delete records in a table using update table?

update table employee
set emp_name = null
where emp_id=10



Leave a Reply