Saturday 12 November 2011

HR Questions !!!


Think out of the Box.. 6 beautiful HR Questions !!!


Here are some of the typical HR questions asked to find out if the candidates have "out of box" thinking capability 




Question 1:


"What will you do if I run away with your sister?"


The candidate who was selected answered " I will not get a better match for my sister than you, sir."


Question 2:


Interviewer (to a student girl candidate) - What if one morning you woke up & found that you were pregnant ?


I will be very excited and take a day off, to celebrate with my husband. (Normally an unmarried girl will be shocked to hear this, but she managed it well. Why should I think it in the wrong way, she said later when asked.)


Question 3:


Interviewer: He ordered a cup of coffee for the candidate. Coffee arrived and was kept before the candidate, then he asked "What is before you?"


Candidate: Instantly replied "Tea" and got selected.


(You know how and why did he say "TEA" when he knows very well that coffee was kept before him?.
Answer: The question was "What is before you U? (-alphabet). Reply was "TEA" T (- alphabet).


Question 4:


Where Lord Rama would have celebrated his "First Diwali"?


People will start thinking of Ayodya, Mithila [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 5:


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?


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 of the Box."


Question 6:


The interviewer asked 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."


Candidate confidently put one of his finger at some point at the table and said that this was the central point at the table. Interviewer asked "how did you decide that this is the central point of this table?", then he answers quickly that "Sir you are not supposed to ask any more question, as it was the last question as you promised .....


And hence, he was selected as because of his quick-wittedness.


This is what Interviewer expects from the Interviewee. ....


"THINK OUTSIDE OF THE BOX"

Frequently Asked Questions – Aptitude Test



Q What is the Electrical Industry Aptitude Test?
A It is a test instrument that measures an applicant’s ability in Algebra and Functions and Reading Comprehension which are essential to perform well as an electrician. Extensive research and actual Apprentice and Journeyman experience and data was employed into the development and ongoing validation of this test which is sanctioned by the U.S. Department of Labor ETA, OATELS. The Algebra and Functions portion is a test of your ability to solve problems using algebra, the test has 33 questions and you get 46 minutes to complete them. The Reading Comprehension portion is a test to measure your ability to obtain information from written passages. It contains four different passages, the test has 36 questions and you get 51 minutes to complete them.
Q If I do not score well on the test, can I take it again?
A Yes, you may take the aptitude test again after a minimum period of six months (180 days) has elapsed from your most recent test date as scheduled by the JATC. A new application must be filled out to be eligible for another test. See the list of deadline dates for applying in the applicant section of our website.
Q Should I work as fast as I can when taking the test?
A Most applicants will find they have time to complete each of the tests without rushing. You should work steadily and carefully. Do not spend too much time on any one question.
Q Should I study to do better on the test?
A You should review the sample questions in the booklet you received with your application; the information can also be found online at: dddddddhttp://www.njatc.org/training/apprenticeship/sample/sample_test.html
If you find that certain types of questions are difficult for you, you can review material that is similar to those questions. However, there is no need to memorize certain formulas or factual material in order to do well on the tests. The JATC does not provide study material for the aptitude test. Previous knowledge of electrical work is not required.
Q Will I receive a report of my score?
A You will be informed whether or not you received a qualifying score. Exact scores will not be provided, however your math and reading scores will be broken out on an above average, average, below average, and below minimum type basis.
Q What if I become ill or have an emergency on the day of the test?
A Call the JATC immediately if you are still interested, but will not be present at the aptitude test session. Upon review of your situation and application, you will either be
rescheduled by the JATC for the next available test session or will have to reapply. Please note that your test date can only be rescheduled once; if you cannot attend your rescheduled test date, you would need to reapply with the JATC.
Q What should I bring the day of the test?
A You must bring a photo ID to the test session. Pencils and all other materials will be provided. You will not be able to use a calculator for the test.
Q If I have to leave before the test is finished, can I complete the test on another day?
A No. If you do not complete each section, your test will be graded as if you did complete the test and your score will certainly be lower than if you had completed the test. The tests must be completed during your test session. You cannot finish the tests on another day. You will not be able to retake the test for a minimum of six months (180 days).

Friday 11 November 2011

Difference Between C++ and Java


C++ vs Java

Both C++ and Java are high level programming languages which come under 4th Generation languages. Both are Object Oriented Programming Languages. But, They do share some differences between them. Check out the Differences between C++ and Java.

C++

Difference Between C++ and Java
  1. C++ (earliar known as C with Classes) was developed by Bjarne Stroustrup in 1979 at Bell Labs.
  2. C++ make use of Pointers and References
  3. C++ binary is not portable meaning binary cannot be run on different OS Platforms.
  4. C++ supports Multiple Inheretence through usage of Virtual Inheritance.
  5. Dynamic Polymorphism is achieved using Virtual Keyword (use of Virtual Pointer [VPTR] and VTable)
  6. C++ doesn’t support Memory Management. The progammer has to take care of Memory Allocation and Deallocation with the operations like New, Delete, Malloc, Calloc and use of Destructors (virtual destructors in case of virtual inheritance)
  7. C++ uses Collections by using STL (Standard Template Library). Its a third-party API
  8. C++ can have Global functions or Global variables which are outside the class
  9. C++ uses namespaces.

Java

Difference Between C++ and Java
  1. Java was developed by James Gosling in 1995 at Sun Microsystems (now acquired by Oracle Corporation).
  2. Java uses only References. Pointers are eliminated in Java to remove the complexity from the Programmers.
  3. Java code is portable and is achieved using Java Bytecode (.class) file which can be executed by JVM (JVMs differ based on the OS).
  4. Java doesn’t support Multiple Inheretence (because of Daimond Problem), But supportsInterface Inheritance using Interface.
  5. Dynamic Polymorphism is achieved using Method Overiding
  6. Java support Automatic Memory Management using Garbage Collector. The GarbageCollector is a Daemon thread which keeps scanning the memory and clears the objectswhen the memory is low or required.
  7. Java API comes with Collections package.
  8. Java cannot have Global functions or Global variables
  9. Java uses Packages.

Difference Between C and C++


Everybody in the IT world knows about C and C++. Both are Computer LanguagesC and C++. C++ was born after C language, C++ is a super set ofC. Both languages have lots of differences between them. But, I am listing out the 10 Main Difference Between C and C++ languages



Difference Between C and C++

C Language

  1. C Language is not an object oriented language.
  2. C is a procedural programming language.
  3. supports only Structures.
  4. does not have reference variable, only supports pointers.
  5. uses Scanf and Printf for input and output functions.
  6. functions can’t be included in structures.
  7. regarded as a low-level language.
  8. doesn’t support inline functions, instead can be used via #define directive.
  9. uses the top-down approach.
  10. C is function driven.

C++ Language

  1. C Language is a object oriented language (includes 4 OOPs concepts).
  2. C++ is not a procedural programming language.
  3. supports Classes and Objects.
  4. supports both reference and pointer variables.
  5. uses cin>> and cout<< for input and output functions.
  6. functions can be included in structures.
  7. regarded as mix of low-level and high-level language.
  8. supports inline functions.
  9. uses the bottom-up approach.
  10. C++ is Object driven.
admit there can be ‘n’ number of differences, But I have mentioned only the important 

Some links for java Materials

Some Links for C & C++materials