Pre-Employment tests: Difference between revisions

From My Limbic Wiki
Line 44: Line 44:
* Biometric datas
* Biometric datas
=Standard Traps (in Java)=
=Standard Traps (in Java)=
===Equality Test - Strings & Integers ===
==Equality Test - Strings & Integers==
     public class EqualityTest{
     public class EqualityTest{
         /**
         /**
Line 89: Line 89:
         }
         }
     }
     }
==Inheritance Test ==
==Inheritance Test ==
===Invalid Code===
===Invalid Code===

Revision as of 22:14, 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)

Equality Test - Strings & Integers

   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)); 
            
        }
   }

Inheritance Test

Invalid Code

   public class A{
       /**
        * error: incompatible types: A cannot be converted to B
        **/
        public static void main(String []args){
            B b = new A();
        }
   }
   class B extends A{}

Valid Code

   /**
    * This sample is compiling, OK
    **/
   public class A{ 
       /** 
        * In this case, "main" method is required here, if not it is generating the following error:
        * Error: Main method not found in class A, please define the main method as
        **/
        public static void main(String []args){ }
   }
   class B extends A{
        public static void main(String []args){
            A a = new B();
        }
   }