Pre-Employment tests: Difference between revisions

From My Limbic Wiki
Line 45: Line 45:
=Standard Traps (in Java)=
=Standard Traps (in Java)=
     public class EqualityTest{
     public class EqualityTest{
/**
        /**
* In Java, string equals() method compares the two given strings
        * In Java, string equals() method compares the two given strings
* based on the data/content of the string
        * based on the data/content of the string
**/
        **/
public static void main(String []args){
        public static void main(String []args){
System.out.println("########## Testing Strings ##########");
            System.out.println("########## Testing Strings ##########");
testStrings();
            testStrings();
System.out.println("########## Testing Numbers ##########");
            System.out.println("########## Testing Numbers ##########");
testNumbers();
            testNumbers();
}
        }
       
public static void testStrings(){
        public static void testStrings(){
String a = "test";
            String a = "test";
String b = "test";
            String b = "test";
String objA = new String("test");
            String objA = new String("test");
String objB = new String("test");
            String objB = new String("test");
           
System.out.println(a==b);              //true
            System.out.println(a==b);              //true
System.out.println(objA==objB);        //false
            System.out.println(objA==objB);        //false
System.out.println(a==objA);            //false
            System.out.println(a==objA);            //false
           
System.out.println(a.equals(b));        //true
            System.out.println(a.equals(b));        //true
System.out.println(objA.equals(objB));  //true
            System.out.println(objA.equals(objB));  //true
System.out.println(a.equals(objA));    //true
            System.out.println(a.equals(objA));    //true
           
}
        }
public static void testNumbers(){
        public static void testNumbers(){
int one = 1;
            int one = 1;
int two = 1;
            int two = 1;
int objOne = new Integer(1);
            int objOne = new Integer(1);
int objTwo = new Integer(1);
            int objTwo = new Integer(1);
           
System.out.println(one==two);          //true
            System.out.println(one==two);          //true
System.out.println(objOne==objTwo);    //true
            System.out.println(objOne==objTwo);    //true
System.out.println(one==objOne);        //true
            System.out.println(one==objOne);        //true
           
// error: int cannot be dereferenced
            // error: int cannot be dereferenced
//System.out.println(one.equals(two));     
            //System.out.println(one.equals(two));     
//System.out.println(objOne.equals(objTwo));  
            //System.out.println(objOne.equals(objTwo));  
//System.out.println(one.equals(objOne));  
            //System.out.println(one.equals(objOne));  
           
}
        }
     }
     }

Revision as of 22:06, 23 August 2019

Personality Test

http://www.journaldunet.com/management/0607/0607143-tests-personnalite.shtml

  • L'extraversion,
  • La conscience professionnelle,
  • La stabilité émotionnelle,
  • L'ouverture d'esprit,
  • La convivialité.

MTBI

Ce test permet de positionner le candidat sur quatre échelles bipolaires, codifiées chacune par une lettre :

  • Orientation de l'énergie : E extraversion - I introversion
  • Recueil d'information : S sensation - N intuition
  • Critère de prise de décision : T pensée logique - F sentiments
  • Mode d'action : J jugement - P perception

Cognitive Tests

  • TELUQ - English, French, Mathematics

Emotional Intelligence

Logical Reasoning Test

English Proficiency Tests

Grammary

www.anglaisfacile.com

Irregular Verbs

wikipedia:en: English_irregular_verbs

Sample Job Task Tests

Background Checks and Credit Checks

  • Police Check
  • Biometric datas

Standard Traps (in Java)

   public class EqualityTest{
       /**
        * In Java, string equals() method compares the two given strings
        * based on the data/content of the string
        **/
        public static void main(String []args){
           System.out.println("########## Testing Strings ##########");
           testStrings();
           System.out.println("########## Testing Numbers ##########");
           testNumbers();
        }
        
        public static void testStrings(){
           String a = "test";
           String b = "test";
           String objA = new String("test");
           String objB = new String("test");
           
           System.out.println(a==b);               //true
           System.out.println(objA==objB);         //false
           System.out.println(a==objA);            //false
           
           System.out.println(a.equals(b));        //true
           System.out.println(objA.equals(objB));  //true
           System.out.println(a.equals(objA));     //true
            
        }
        public static void testNumbers(){
           int one = 1;
           int two = 1;
           int objOne = new Integer(1);
           int objTwo = new Integer(1);
           
           System.out.println(one==two);           //true
           System.out.println(objOne==objTwo);     //true
           System.out.println(one==objOne);        //true
           
           // error: int cannot be dereferenced
           //System.out.println(one.equals(two));    
           //System.out.println(objOne.equals(objTwo)); 
           //System.out.println(one.equals(objOne)); 
            
        }
   }