Looking for II.1102 – Algorithmique et Programmation test answers and solutions? Browse our comprehensive collection of verified answers for II.1102 – Algorithmique et Programmation at moodle-ovh.isep.fr.
Get instant access to accurate answers and detailed explanations for your course questions. Our community-driven platform helps students succeed!
Parmi les affirmations suivantes, laquelle est incorrecte ?
Which of the following statements is incorrect?
Quelle est la complexité algorithmique en temps de la fonction suivante ?What is the algorithmic time complexity of the following function?
public void fonction(int[][] matrice) {
int n = matrice.length;
for (int i = 0; i < n; i++) {
int m = matrice[i].length;
int moyenne;
for (int j = 0; j < m; j++) {
moyenne += matrice[i][j];
}
moyenne = moyenne / m;
System.out.println(moyenne + "\n");
}
}
Quelle expression régulière correspond à la chaîne de caractères suivant :
abcabc
Which regular expression matches the following string :
abcabc
Identifier la restriction correcte sur les méthodes statiques.
1. Ils doivent accéder uniquement aux données statiques
2. Ils ne peuvent appeler que d’autres méthodes statiques.
3. Ils ne peuvent pas faire référence à ceci ou à super.
Identify the correct restriction on static methods.
1. They must only access static data
2. They can only call other static methods.
3. They cannot refer to this or super.
Quelle expression régulière correspond à la chaîne de caractères suivant :
92130
Which regular expression matches the following string :
92130
Laquelle des déclarations de boucle for suivantes n'est pas valide ?
Which of the following for loop statements is invalid?
Laquelle des déclarations suivantes est correcte?
Which of the following statements is correct?
Quel est le modificateur qui ne peut pas être utilisateur avec le constructeur
Which modifier cannot be used with the constructor
Quel est le type primitif permettant de stocker des valeurs entières et dont la valeur maximale est la plus petite ?
Which primitive type can store integer values and whose maximum value is the smallest?
Pour la classe D définie comme suit :For class D defined as follows :
class D { public int x ;
public D() {x=3 ; } ;
public D( int a){this() ; x=x+a ;} ;
public D( int a, int b){this(b) ; x= x-a ;}
}
qu’affichera le code suivant ? what will the following code display?
D a=new D(5,6) ;
System.out.println(a.x) ;