Question
Five persons A, B, C, D and E are standing in a
row, in which 3 persons are facing north and remaining are facing south. The persons who are facing south does not stand on the extreme end. C is standing to the immediate right of B, who is standing second to the left of A. E stands at one of the extreme end. A is facing north and his immediate neighbours are facing south whereas A does not stand at the extreme end. Who is standing in the middle of the row?Solution
E stands at one of the extreme end. There will be two cases. E stands either at right or left end of the line. E _____ _____ _____ _____ ………… (I) _____ _____ _____ _____ E ………… (II) A is facing north and his immediate neighbours are facing south whereas A does not stand at the extreme end. C is standing to the immediate right of B, who is standing second to the left of A. We know that A is facing north and also does not stand at the extreme end. Case I will get discarded as The persons who are facing south does not stand on the extreme end. E(N) B(N) C(S) A (N) D(S) ………… (I) B(N) C(S) A(N) D(S) E(N) ………… (II) 
In a depth-first traversal of a tree or graph, what data structure is typically used to keep track of nodes to be visited next?
What is the main advantage of Network Attached Storage (NAS) technology?
Which recovery model in a database allows for point-in-time recovery using transaction logs?
Which command is used to search for a specific pattern in a file in a Unix/Linux system?
What is the decimal equivalent of the binary number 10101?
Β Which number system is commonly used in mathematics and everyday life?
Which cryptographic system uses two different keys for encryption and decryption?
Which data processing technique is commonly used for handling large-scale data in distributed computing environments?
What is the primary design goal of a combinational circuit?
What happens when a program accesses data that is not currently in physical memory (RAM) due to virtual memory management?