In one room in your game, there's an elevator that AIs will need to use to escape from the player. In order to use the elevator, they have to walk over to a special button on the wall, press it to summon the elevator, then walk into the elevator and press another button to tell it to ascend. How would you design a system to make sure AIs can do all of these things in the proper order? If you have 3 AIs in the room, how would you design the system to make sure they can all escape in the elevator at the same time? What happens if one of them dies while they're trying to do this, and how do you make sure the other AIs don't get stuck waiting for that dead AI?
1494Post New TCS Software Interview Questions
In horses coat color is dependent upon genes as follows: A_B_ results in bay, aaB_ in black, A_bb in chestnut, aabb in liver. In addition, palimino is derived by Dd with chestnut. A palimono stallion (DdAAbb) is crossed with a palimino mare (DdAAbb). What percent of the offspring will be palimino?
How can you access different databases temporarily?
What are the rules which are not rule resolved??
Differentiate the concepts of .js and .min.js?
What will you do if in any condition you do not know how to troubleshoot the error at all and there are no seniors or your co-workers around?
Does unique constraint create index postgres?
How is xml used?
What is the meaning of sap r/3?
Are there namespaces in c?
What are all the Common SQL Function?
Is jdbc a framework?
What is application Object?
Is powershell a bash?
How to write a variable breaks. For example in a manufacturing unit 50 employees are working, all the 50 employees will not take a break at a time, so 25 people will take a break around 11:00 to 11:30 and another 25 people will take a break around 11:30 to 12:00?
What is SYMBOLIC ID?