Have positive attitude in an interview-Interesting Questions[Funny]

think out of the box

These are the few questions asked in HR interview (some of them already known to us)!! The answers are really stunning and inspiring. Thinking out of box! 

A must read…
Question 1: You are driving along in your car on a wild, stormy night, it's raining heavily, when suddenly you pass by a bus stop, and you see three people waiting for a bus: 

  • An old lady who looks as if she is about to die. 
  • An old friend who once saved your life. 
  • The perfect partner you have been dreaming about. 

Which one would you choose to offer a ride to, knowing very well that there could only be one passenger in your car?

Answer:
This is a moral/ethical dilemma that was once actually used as part of a job application. 

* You could pick up the old lady, because she is going to die, and thus you should save her first;
* or you could take the old friend because he once saved your life, and this would be the perfect chance to  pay him back.
* However, you may never be able to find your perfect mate again. 

The candidate who was hired (out of 200 applicants) had no trouble coming up with his answer. Guess what was his answer?
He simply answered: 
"I would give the car keys to my Old friend and let him take the lady to the hospital. I would stay behind and wait for the bus with the partner of my dreams." 

Sometimes, we gain more if we are able to give up our stubborn thought limitations. Never forget to "Think Outside the Box."

Question 2: What will you do if I run away with your sister?"
Answer: The candidate who was selected answered " I will not get a better match for my sister than you sir"

Question 3: Interviewer (to a student girl candidate) – What is one morning you woke up & found that you were pregnant.
Girl – I will be very excited and take an off, to celebrate with my husband.
Normally an unmarried girl will be shocked to hear this, but she managed it well. Why I should think it in the wrong way, she said later when asked

Question 4: Interviewer: He ordered a cup of coffee for the candidate.
Coffee arrived kept before the candidate, then he asked what is before you? 
Answer:Candidate: Instantly replied "Tea" 
He got selected. 
You know how and why did he say "TEA" when he knows very well that coffee was kept before. 
(Answer: The question was "What is before you (U – alphabet) 
Reply was "TEA" ( T – alphabet) 
Alphabet "T" was before Alphabet "U"

Question 5: Where Lord Rama would have celebrated his "First Diwali"?
Answer: People will start thinking of Ayodya, Mitila [Janaki's place], Lanka etc… 
But the logic is, Diwali was a celebrated as a mark of Lord Krishna Killing Narakasura.
In Dusavataar, Krishnavathaar comes after Raamavathaar.
So, Lord Rama would not have celebrated the Diwali At all!

Question 6: The interviewer asked to the candidate "This is your last question of the interview. 
Please tell me the exact position of the center of this table where u have kept your files." 
Answer
Candidate confidently put one of his finger at some point at the table and told that this was the central point at the table.
Interviewer asked how did u get to know that this being the central point of this table,
then he answers quickly that sir u r not likely to ask any more question, as it was the last question that u promised to ask….. 
And hence, he was selected as because of his quick-wittedness. ……..

Question 7: A man and his son are in a car crash. The father is killed and the child is taken to hospital gravely injured. When he gets there, the surgeon says, 'I can't operate on this boy – for he is my son!!!' How can this possibly be?
Answer: The surgeon cannot operate on her own son; she is his mother.

Question 8: There are six eggs in the basket. Six people each take one of the eggs. How can it be that one egg is left in the basket?
Answer: The last person took the basket with the last egg still inside.

Question 9: How could a baby fall out of a twenty-story building onto the ground and live?
Answer: The baby fell out of a ground floor window.

Question 10: Acting on an anonymous phone call, the police raid a house to arrest a suspected murderer. They don't know what he looks like but they know his name is John and that he is inside the house. The police bust in on a doctor, an engineer, a lawyer and a fireman all playing poker. Without hesitation or communication of any kind, they immediately arrest the fireman. How do they know they've got their man?
Answer: The fireman is the only man in the room. The rest of the poker players are women.
 

Never forget to "Think Outside the Box." 

Got this in internet, thought its good to share with you readers.
Image Source: teluguone.com

How to hide a file behind a jpeg file

hide folder optionSometimes it may happen that you have to share your computer with your family member. As it happens with me. I have a younger brother and I like to tease him so what I do is whenever he install any new games into my computer I hide the entire folder with the shortcut. When he tries to find it out he got nothing. So let’s work on it. Now I am going to share this tricks with you guys

By this trick, first we create a hidden folder and after that we will hide our important files behind the .jpeg image file. This second trick is very helpful for those people who want to hide some files from their friends; even I did the same thing during my college days. Usually I hide my entire assignment file behind a jpeg image (every time I use an image of donkey).

How to hide a folder?

  1. Right click on the empty area and create a new folder.
  2. Rename the folder. while rename hold the Alt key and press 0160 from your number keypad.(make sure that your number lock is on)
  3. Now press a space bar, Usually it is required to give a name to a folder as you can’t keep it blank, but when you press Alt+ 0160 it will take a ASCII (American Standard Code for Information Interchange) value for the space as new name for the folder. It may possible that it read a pixel value of a blank space from the screen as a new name of a folder.
  4. When you will done with step 3 you will find that your folder got hidden now but still folder icon it visible. Refer the image above shown 🙂
  5. Now right click on the folder go to properties then select customize tab and click on change folder icon. In the change icon wizard you find several icon among them there are some empty spaces, so select that empty space as an icon and click on apply.

    folder propertiesicon option
     

  6. We are done with all the steps. But you have to remember the place on the desktop where you have created a folder. Now place your folder in the corner of the screen. When u selects the area you will find the folder like this.
    hidden folder

How to hide a folder behind a jpg file?

  1. Create a folder in a drive for easy access, e.g. C: (because we have to use this path on a command prompt so mask this path as simple as you can).
  2. Put all the files you want to hide in there, as well as a JPEG image that you would like to hide the files in.

item list option

  1. Select all of the files you want to hide, and create a ZIP or RAR file with them using a program like WinRAR, WinZip, 7Zip, etc.(after archiving delete the file).

item lists

  1. Now you have your entire file in the archive folder.
  2. Go to start then go to run and type cmd and press enter.
  3. Now go to that location where you have your archive folder with the help of cd command.

cmd option

  1. Type the following: copy /b womens-day.JPG + Hide.rar  womens-day.jpg (note : if you have a different image and archive name the you should replace the highlighted words with your specification ).
  2. Once you done with the step 7 you should receive a message 1 file copied on your command prompt. 
    cmd image

     

  1. When you double-click on the file jpg image will get open and when u want to open your hidden file simply right click on the file and open a file into WinRAR (into that application which u have selected earlier for archiving ).

    open with options

winrar options

 

 

Uncategorized

Java as a platform independent language

Did u know why Java is very much popular?  It’s because Java has a platform Independent feature. So let’s discuss why Java is platform independent.

Actually the fact is Java platform independent then but JVM (Java Virtual Machine) is platform dependent.
There are two tools which use for compiling and running Java programs

javac -It is a compiler which converts Java source code to byte code that is a .class file. This byte code is standard for all platforms, machines or operating systems.

Uncategorized

Some facts about java

Hello All ,

Java LogoThis is my second post about java. Everything has its own and very popular history. So when I think about java  the very first question arrived in my mind is how and why java ? Because we have c with us for the core programming and we have c++ for the entire object oriented concept. After going through a long discussion and from the internet I founded some facts which are sufficient for my queries.

So Let' start with my first question

How we got java?

Java was created by a team led by James Gosling for Sun Microsystems, James Gosling, Mike Sheridan, and Patrick Naughton initiated the Java language project in June 1991. Java was originally designed for interactive television, but it was too advanced for the digital cable television industry at the time.

The language was initially called Oak after an oak tree that stood outside Gosling's office; it went by the name Green later, and was later renamed Java, from Java coffee, said to be consumed in large quantities by the language's creators. However, when Java 1.0 was released to the public in 1996, its main focus had shifted to use on the Internet.java language derives much of its syntax from c and c++ but has a simpler object model and fewer low-level facilities.

Java is a fully functional, platform independent, programming language it has powerful set of machine independent libraries, including windowing (GUI) libraries.Java applications are typically compiled to byte code (class file) that can run on any Java Virtual Machine (JVM) regardless of computer architecture.

The most interested thing about java is "write once, run anywhere" (WORA), meaning the code that runs on one platform does not need to be recompiled to run on another.

Why java ?

One characteristic of Java is portability, which means that computer programs written in the Java language must run similarly on any hardware/operating-system platform. This is achieved by compiling the Java language code to an intermediate representation called Java byte code, instead of directly to platform-specific machine code.

Java byte code instructions are analogous to machine code, but are intended to be interpreted by a virtual machine (VM) written specifically for the host hardware. End-users commonly use a Java Runtime Environment (JRE) installed on their own machine for standalone Java applications.

Java is very powerful language but it has its own pros and cons too. so lets discuss some strong and weak points of java.

Pros

  • Free.
  • The syntax is familiar to the programmers that know any other C based language.
  • Java (the platform) has a very large and standard class library, some parts of which are very well written.
  • Java provides a platform for behavioral transfer from one address space to another. This is particularly evident in the dynamic class loading mechanisms of RMI (Remote Method Invocation).
  • Automatic Memory Management implemented by Garbage Collection
  • Explicit Interfaces
  • Improving performance
  • Good portability (certainly better than that of nearly any compiled alternative)
  • Simplified syntax (compared to C++)
  • Language design not committee driven
  • Lots of available code and third-party libraries
  • If you love OOP, the only way to write functions is to make them class methods.
  • Many standard interfaces defined in the standard library, which would have been vendor/OS specific otherwise, helps a lot in achieving portability and ease integration/selection of 3rd party libraries. E.g. JDBC, JMS, JCE, JAI, serial I/O, JAXP, JNDI, etc. Some have correspondence in other languages (e.g. ODBC) but not all.

Cons

  • Performance: Java can be perceived as significantly slower and more memory-consuming than natively compiled languages such as C or C++.
  • Look and feel: The default look and feel of GUI applications written in Java using the Swing toolkit is very different from native applications. It is possible to specify a different look and feel through the pluggable look and feel system of Swing.
  • Single-paradigm language: Java is predominantly a single-paradigm language. However, with the addition of static imports in Java 5.0 the procedural paradigm is better accommodated than in earlier versions of Java.

So , this is all about java from my side. This are some very  basic things about java . I hope it will give all of u a good  start with java.

Source: wikipedia and my own work 🙂

Uncategorized

Java video

Hi All,

As we know java is a most popular and an open source programming language.There are many features of java like

Create Google+ profile without invitation

Google+ Everybody is asking me do you have Google+ account. Are you active there. Can you send me invitation?
I just wondered why invitation? You can create Google+ account without invitation too!

Strange but true. All what you need to do is, you should have Gmail  id of course and you should be logged in into any of the good apps like Gmail, orkut, youtube, blogger, analytics etc.

Then just click on this link and create your profile. https://plus.google.com/u/0/me

Update your profile, link picasa if you wish upload few videos and you are done!. Just wait for 1 or 2 days then You will get mail from Google+ which will be an indication that your Google+ account is active and you can rock and roll there 😛

Enjoy Google+ without invitation 🙂 It's still working but  it may not work in future, If they will find it as a security bug.

Team- Aliencoders

Top 20 funny things programmers say

Jokes- Aliencoders20. That's weird….
19. It's never done that before.
18. It worked yesterday.
17. How is that possible?
16. It must be a hardware problem.
15. What did you type in wrong to get it to crash?
14. There is something funky in your data. OR It's a data problem, not a program problem.
13. I haven't touched that module in weeks!
12. You must have the wrong version.


11. It's just some unlucky coincidence.
10. I can't test everything!
9. THIS can't be the source of THAT.
8. It works, but it hasn't been tested.
7. Somebody must have changed my code.
6. Did you check for a virus on your system?
5. Even though it doesn't work, how does it feel?
4. You can't use that version on your system.
3. Why do you want to do it that way?
2. Where were you when the program blew up?
And the Number One Thing Programmers Say When Their Programs Don't Work:
1. "It works on my machine.."  😉

 

Source: Internet. (emailed by a friend.)

Interesting Alphabets to teach to the IT Kids

Alphabets for IT children 

Smart IT kidI was sitting idle near computer and I was just thinking that how a guy from IT background would teach alphabets to their kid. Something came up in my mind . Si I thought lets share it with you people. Although its funny but interesting too!. 

A : Algorithm/AJAX/Apple
B:  Binary
C:  CD/CPU/comment/C++
D: Disc/Decimal/Delphi
E:  External/exe/emacs/EOF
F:  File/font/Framework/FTP

G: Graph,GNU
H: HTML/ Hard Disk
I:  Internet/ISO/IC/IEEE
J:  Java/J2EE/JRE/JSP/JavaScript/jQuery
K: Kernel/Kbps/KBps/Key board/komodo
L:  logo/LCD/LED
M: Monitor/Memory/MySQL/Microsoft/Mouse/Mac
N:  Network/NTFS
O: OOPs/OS
P: PHP/Perl/Python/PC/Push/Pop/Photoshop/PDF
Q: Quick sort/Query
R: RAM/ROM/Redo/
S:  System/source/Screen/SEO/SDK/sed/struts/spring
T:  text/(TCP/IP)/TeLnet
U: Unary/url/UML
V: Virtual/VB/VOIP/vim
W: Wireless/Wi-Fi/Website/www/WLAN/Windows
X:  XP/XML
Y:  Yacc/Y2K
Z: Zero/Zombie

If you get something interesting , add it here yes