logo

Crowdly

Browser

Add to Chrome

II.1102 – Algorithmique et Programmation

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!

Comment s’appelle-t-on dans le cas où l’objet d’une classe mère est détruit donc l’objet d’une classe fille sera détruit également?

in OOP, what do we call if the object of a parent class is destroyed, so the object of a child class will also be destroyed?

0%
0%
0%
0%
View this question

Considérez le programme suivant et prédisez le résultat :

Consider the following program and predict the result:

public class Test {

public static void main(String[] args)

{

String s = new String("5"

);

System.out.

println(1 + 10 + s + 1 + 10

);

}

}

0%
0%
0%
0%
View this question

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 n) {

return n * n;

}

0%
0%
0%
0%
View this question

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 n) {

if (n > 0) {

int i = 2 * n;

int j = i + 1;

System.out.println(j);

} else {

System.out.println(n);

}

}

0%
0%
0%
0%
View this question

Quel sera le résultat des déclarations ci-dessous ?

What will be the result of the statements below?

String s = "Java String Quiz"

;

System.out.

println(s.charAt(s.toUpperCase().length()));

 

0%
0%
0%
0%
View this question

Laquelle de ces méthodes de classe String est utilisée pour obtenir un caractère à l’index spécifié ?

Which of these String class methods is used to get a character at the specified index?

0%
0%
0%
0%
View this question

Lequel des énoncés suivants est une déclaration valide d’un objet qui appartient à la classe « MaClass »?

Which of the following statements is a valid declaration of an object belonging to the “MyClass” class?

0%
0%
0%
0%
View this question

Quelle est la sortie de ce programme?

What is the output of this program?

class Main

{

public static void main(String args[])

{

int x = 3;

if (x == 3)

{

int x = 4;

System.out.println(x);

}

}

}

0%
0%
0%
0%
View this question

Quelle expression régulière correspond à la chaîne de caractères suivant : 

01 49 54 52 00

Which regular expression matches the following string : 

01 49 54 52 00

0%
0%
0%
0%
View this question

Trouver la valeur de A[1] après l’exécution du programme suivant.

Find the value of A[1] after running the following program.

int[] A = {0,2,4,1,3};

 for(int i = 0; i < a.length; i++)

 a[i] = a[(a[i] + 3) % a.length];

 }

0%
0%
0%
0%
View this question

Want instant access to all verified answers on moodle-ovh.isep.fr?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!

Browser

Add to Chrome