This blog is all about puzzles and basic programming concepts.
Juice canes puzzle
Get link
Facebook
X
Pinterest
Email
Other Apps
-
Six Juice canes are in a row. The first three canes are filled with juice and last three are empty. By using only one cane, can you arrange them so that the full and empty canes are alternate ?
Internet explorer and Google chrome both shares same proxy settings. So if we change setting in internet explorer, then it also effects in Google chrome. We can change proxy setting from CMD (command line prompt). Disable proxy setting : @ECHO OFF ECHO Configuring Proxy Settings! please wait... REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxyEnable /t REG_DWORD /d 0 /f Enable proxy setting : @ECHO OFF ECHO Configuring Proxy Settings! please wait... REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxyEnable /t REG_DWORD /d 1 /f REG ADD "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings" /v ProxyServer /t REG_SZ /d address:portNumber /f address: New proxy address portNumber: Port Number Save the commands in a batch file and execute it. It will disable/enable the proxy setting for browser.
Arrange the alphabets 'A' to 'H' in the grid below such that adjacent characters are not in adjacent boxes (horizontally, vertically, or diagonally). (A,B,C,D,E,F,G,H) Note: Multiple solutions are possible.
Three prisoners and five hats (supposedly two black and three white) are involved. The three prisoners are ordered to stand in a straight line facing the front, with C in front and A at the back. They are told that there will be two black hats and three white hats. One hat is then put on each prisoner's head; each prisoner can only see the hats of the people in front of him and not on his own. The first prisoner that is able to announce the color of his hat correctly will be released. No communication between the prisoners is allowed. Who will announce first....? He first asks Prisoner C, "What is the color of the hat on your head?" Prisoner C thinks for a short while and then replies, "I'm sorry, I do not know." He then asks Prisoner B, "What is the color of the hat on your head?" Prisoner B thinks for a short while and then also replies, "I'm sorry, I do not know." He finally asks Prisoner A, "What is the color of t...
Take 2nd glass and pour it into 5th glass
ReplyDelete